1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/browser/components/translation/cld2/internal/generated_entities.cc Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,294 @@ 1.4 +// Copyright 2013 Google Inc. All Rights Reserved. 1.5 +// 1.6 +// Licensed under the Apache License, Version 2.0 (the "License"); 1.7 +// you may not use this file except in compliance with the License. 1.8 +// You may obtain a copy of the License at 1.9 +// 1.10 +// http://www.apache.org/licenses/LICENSE-2.0 1.11 +// 1.12 +// Unless required by applicable law or agreed to in writing, software 1.13 +// distributed under the License is distributed on an "AS IS" BASIS, 1.14 +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1.15 +// See the License for the specific language governing permissions and 1.16 +// limitations under the License. 1.17 + 1.18 +// generated_entities.cc 1.19 +// Machine generated. Do Not Edit. 1.20 +// 1.21 +// Declarations for HTML entities recognized by CLD2 1.22 +// 1.23 +#include "generated_ulscript.h" // for CharIntPair 1.24 + 1.25 +namespace CLD2 { 1.26 + 1.27 +// Alphabetical order for binary search 1.28 +extern const int kNameToEntitySize = 265; 1.29 +extern const CharIntPair kNameToEntity[kNameToEntitySize] = { 1.30 + {"AElig", 198}, 1.31 + {"AMP", 38}, 1.32 + {"Aacute", 193}, 1.33 + {"Acirc", 194}, 1.34 + {"Agrave", 192}, 1.35 + {"Alpha", 913}, 1.36 + {"Aring", 197}, 1.37 + {"Atilde", 195}, 1.38 + {"Auml", 196}, 1.39 + {"Beta", 914}, 1.40 + {"Ccaron", 268}, 1.41 + {"Ccedil", 199}, 1.42 + {"Chi", 935}, 1.43 + {"Dagger", 8225}, 1.44 + {"Delta", 916}, 1.45 + {"ETH", 208}, 1.46 + {"Eacute", 201}, 1.47 + {"Ecaron", 282}, 1.48 + {"Ecirc", 202}, 1.49 + {"Egrave", 200}, 1.50 + {"Epsilon", 917}, 1.51 + {"Eta", 919}, 1.52 + {"Euml", 203}, 1.53 + {"GT", 62}, 1.54 + {"Gamma", 915}, 1.55 + {"Iacute", 205}, 1.56 + {"Icirc", 206}, 1.57 + {"Igrave", 204}, 1.58 + {"Iota", 921}, 1.59 + {"Iuml", 207}, 1.60 + {"Kappa", 922}, 1.61 + {"LT", 60}, 1.62 + {"Lambda", 923}, 1.63 + {"Mu", 924}, 1.64 + {"Ntilde", 209}, 1.65 + {"Nu", 925}, 1.66 + {"OElig", 338}, 1.67 + {"Oacute", 211}, 1.68 + {"Ocirc", 212}, 1.69 + {"Ograve", 210}, 1.70 + {"Omega", 937}, 1.71 + {"Omicron", 927}, 1.72 + {"Oslash", 216}, 1.73 + {"Otilde", 213}, 1.74 + {"Ouml", 214}, 1.75 + {"Phi", 934}, 1.76 + {"Pi", 928}, 1.77 + {"Prime", 8243}, 1.78 + {"Psi", 936}, 1.79 + {"QUOT", 34}, 1.80 + {"Rcaron", 344}, 1.81 + {"Rho", 929}, 1.82 + {"Scaron", 352}, 1.83 + {"Sigma", 931}, 1.84 + {"THORN", 222}, 1.85 + {"Tau", 932}, 1.86 + {"Theta", 920}, 1.87 + {"Uacute", 218}, 1.88 + {"Ucirc", 219}, 1.89 + {"Ugrave", 217}, 1.90 + {"Upsilon", 933}, 1.91 + {"Uuml", 220}, 1.92 + {"Xi", 926}, 1.93 + {"Yacute", 221}, 1.94 + {"Yuml", 376}, 1.95 + {"Zeta", 918}, 1.96 + {"aacute", 225}, 1.97 + {"acirc", 226}, 1.98 + {"acute", 180}, 1.99 + {"aelig", 230}, 1.100 + {"agrave", 224}, 1.101 + {"alefsym", 8501}, 1.102 + {"alpha", 945}, 1.103 + {"amp", 38}, 1.104 + {"and", 8743}, 1.105 + {"ang", 8736}, 1.106 + {"apos", 39}, 1.107 + {"aring", 229}, 1.108 + {"asymp", 8776}, 1.109 + {"atilde", 227}, 1.110 + {"auml", 228}, 1.111 + {"bdquo", 8222}, 1.112 + {"beta", 946}, 1.113 + {"brvbar", 166}, 1.114 + {"bull", 8226}, 1.115 + {"cap", 8745}, 1.116 + {"ccaron", 269}, 1.117 + {"ccedil", 231}, 1.118 + {"cedil", 184}, 1.119 + {"cent", 162}, 1.120 + {"chi", 967}, 1.121 + {"circ", 710}, 1.122 + {"clubs", 9827}, 1.123 + {"cong", 8773}, 1.124 + {"copy", 169}, 1.125 + {"crarr", 8629}, 1.126 + {"cup", 8746}, 1.127 + {"curren", 164}, 1.128 + {"dArr", 8659}, 1.129 + {"dagger", 8224}, 1.130 + {"darr", 8595}, 1.131 + {"deg", 176}, 1.132 + {"delta", 948}, 1.133 + {"diams", 9830}, 1.134 + {"divide", 247}, 1.135 + {"eacute", 233}, 1.136 + {"ecaron", 283}, 1.137 + {"ecirc", 234}, 1.138 + {"egrave", 232}, 1.139 + {"emdash", 8212}, 1.140 + {"empty", 8709}, 1.141 + {"emsp", 8195}, 1.142 + {"endash", 8211}, 1.143 + {"ensp", 8194}, 1.144 + {"epsilon", 949}, 1.145 + {"equiv", 8801}, 1.146 + {"eta", 951}, 1.147 + {"eth", 240}, 1.148 + {"euml", 235}, 1.149 + {"euro", 8364}, 1.150 + {"exist", 8707}, 1.151 + {"fnof", 402}, 1.152 + {"forall", 8704}, 1.153 + {"frac12", 189}, 1.154 + {"frac14", 188}, 1.155 + {"frac34", 190}, 1.156 + {"frasl", 8260}, 1.157 + {"gamma", 947}, 1.158 + {"ge", 8805}, 1.159 + {"gt", 62}, 1.160 + {"hArr", 8660}, 1.161 + {"harr", 8596}, 1.162 + {"hearts", 9829}, 1.163 + {"hellip", 8230}, 1.164 + {"iacute", 237}, 1.165 + {"icirc", 238}, 1.166 + {"iexcl", 161}, 1.167 + {"igrave", 236}, 1.168 + {"image", 8465}, 1.169 + {"infin", 8734}, 1.170 + {"int", 8747}, 1.171 + {"iota", 953}, 1.172 + {"iquest", 191}, 1.173 + {"isin", 8712}, 1.174 + {"iuml", 239}, 1.175 + {"kappa", 954}, 1.176 + {"lArr", 8656}, 1.177 + {"lambda", 955}, 1.178 + {"lang", 9001}, 1.179 + {"laquo", 171}, 1.180 + {"larr", 8592}, 1.181 + {"lceil", 8968}, 1.182 + {"ldquo", 8220}, 1.183 + {"le", 8804}, 1.184 + {"lfloor", 8970}, 1.185 + {"lowast", 8727}, 1.186 + {"loz", 9674}, 1.187 + {"lrm", 8206}, 1.188 + {"lsaquo", 8249}, 1.189 + {"lsquo", 8216}, 1.190 + {"lt", 60}, 1.191 + {"macr", 175}, 1.192 + {"mdash", 8212}, 1.193 + {"micro", 181}, 1.194 + {"middot", 183}, 1.195 + {"minus", 8722}, 1.196 + {"mu", 956}, 1.197 + {"nabla", 8711}, 1.198 + {"nbsp", 160}, 1.199 + {"ndash", 8211}, 1.200 + {"ne", 8800}, 1.201 + {"ni", 8715}, 1.202 + {"not", 172}, 1.203 + {"notin", 8713}, 1.204 + {"nsub", 8836}, 1.205 + {"ntilde", 241}, 1.206 + {"nu", 957}, 1.207 + {"oacute", 243}, 1.208 + {"ocirc", 244}, 1.209 + {"oelig", 339}, 1.210 + {"ograve", 242}, 1.211 + {"oline", 8254}, 1.212 + {"omega", 969}, 1.213 + {"omicron", 959}, 1.214 + {"oplus", 8853}, 1.215 + {"or", 8744}, 1.216 + {"ordf", 170}, 1.217 + {"ordm", 186}, 1.218 + {"oslash", 248}, 1.219 + {"otilde", 245}, 1.220 + {"otimes", 8855}, 1.221 + {"ouml", 246}, 1.222 + {"para", 182}, 1.223 + {"part", 8706}, 1.224 + {"permil", 8240}, 1.225 + {"perp", 8869}, 1.226 + {"phi", 966}, 1.227 + {"pi", 960}, 1.228 + {"piv", 982}, 1.229 + {"plusmn", 177}, 1.230 + {"pound", 163}, 1.231 + {"prime", 8242}, 1.232 + {"prod", 8719}, 1.233 + {"prop", 8733}, 1.234 + {"psi", 968}, 1.235 + {"quot", 34}, 1.236 + {"rArr", 8658}, 1.237 + {"radic", 8730}, 1.238 + {"rang", 9002}, 1.239 + {"raquo", 187}, 1.240 + {"rarr", 8594}, 1.241 + {"rcaron", 345}, 1.242 + {"rceil", 8969}, 1.243 + {"rdquo", 8221}, 1.244 + {"real", 8476}, 1.245 + {"reg", 174}, 1.246 + {"rfloor", 8971}, 1.247 + {"rho", 961}, 1.248 + {"rlm", 8207}, 1.249 + {"rsaquo", 8250}, 1.250 + {"rsquo", 8217}, 1.251 + {"sbquo", 8218}, 1.252 + {"scaron", 353}, 1.253 + {"sdot", 8901}, 1.254 + {"sect", 167}, 1.255 + {"shy", 173}, 1.256 + {"sigma", 963}, 1.257 + {"sigmaf", 962}, 1.258 + {"sim", 8764}, 1.259 + {"spades", 9824}, 1.260 + {"sub", 8834}, 1.261 + {"sube", 8838}, 1.262 + {"sum", 8721}, 1.263 + {"sup", 8835}, 1.264 + {"sup1", 185}, 1.265 + {"sup2", 178}, 1.266 + {"sup3", 179}, 1.267 + {"supe", 8839}, 1.268 + {"szlig", 223}, 1.269 + {"tau", 964}, 1.270 + {"there4", 8756}, 1.271 + {"theta", 952}, 1.272 + {"thetasym", 977}, 1.273 + {"thinsp", 8201}, 1.274 + {"thorn", 254}, 1.275 + {"tilde", 732}, 1.276 + {"times", 215}, 1.277 + {"trade", 8482}, 1.278 + {"uArr", 8657}, 1.279 + {"uacute", 250}, 1.280 + {"uarr", 8593}, 1.281 + {"ucirc", 251}, 1.282 + {"ugrave", 249}, 1.283 + {"uml", 168}, 1.284 + {"upsih", 978}, 1.285 + {"upsilon", 965}, 1.286 + {"uuml", 252}, 1.287 + {"weierp", 8472}, 1.288 + {"xi", 958}, 1.289 + {"yacute", 253}, 1.290 + {"yen", 165}, 1.291 + {"yuml", 255}, 1.292 + {"zeta", 950}, 1.293 + {"zwj", 8205}, 1.294 + {"zwnj", 8204}, 1.295 +}; 1.296 + 1.297 +} // namespace CLD2