Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(67)

Side by Side Diff: src/unicode.cc

Issue 5993006: Changed uncast -1 in unsigned context to use constant kSentinel. (Closed)
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2007-2008 the V8 project authors. All rights reserved. 1 // Copyright 2007-2008 the V8 project authors. All rights reserved.
2 // Redistribution and use in source and binary forms, with or without 2 // Redistribution and use in source and binary forms, with or without
3 // modification, are permitted provided that the following conditions are 3 // modification, are permitted provided that the following conditions are
4 // met: 4 // met:
5 // 5 //
6 // * Redistributions of source code must retain the above copyright 6 // * Redistributions of source code must retain the above copyright
7 // notice, this list of conditions and the following disclaimer. 7 // notice, this list of conditions and the following disclaimer.
8 // * Redistributions in binary form must reproduce the above 8 // * Redistributions in binary form must reproduce the above
9 // copyright notice, this list of conditions and the following 9 // copyright notice, this list of conditions and the following
10 // disclaimer in the documentation and/or other materials provided 10 // disclaimer in the documentation and/or other materials provided
11 // with the distribution. 11 // with the distribution.
12 // * Neither the name of Google Inc. nor the names of its 12 // * Neither the name of Google Inc. nor the names of its
13 // contributors may be used to endorse or promote products derived 13 // contributors may be used to endorse or promote products derived
14 // from this software without specific prior written permission. 14 // from this software without specific prior written permission.
15 // 15 //
16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 16 // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
17 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 17 // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
18 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 18 // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
19 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 19 // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
20 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 20 // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
21 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 21 // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 22 // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 24 // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 25 // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 26 // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27 // 27 //
28 // This file was generated at 2010-07-30 14:07:24.988557 28 // This file was generated at 2011-01-03 10:57:02.088925
29 29
30 #include "unicode-inl.h" 30 #include "unicode-inl.h"
31 #include <stdlib.h> 31 #include <stdlib.h>
32 #include <stdio.h> 32 #include <stdio.h>
33 33
34 namespace unibrow { 34 namespace unibrow {
35 35
36 static const int kStartBit = (1 << 30); 36 static const int kStartBit = (1 << 30);
37 static const int kChunkBits = (1 << 13); 37 static const int kChunkBits = (1 << 13);
38 38 static const uchar kSentinel = static_cast<uchar>(-1);
39 /** 39 /**
40 * \file 40 * \file
41 * Implementations of functions for working with unicode. 41 * Implementations of functions for working with unicode.
42 */ 42 */
43 43
44 typedef signed short int16_t; // NOLINT 44 typedef signed short int16_t; // NOLINT
45 typedef unsigned short uint16_t; // NOLINT 45 typedef unsigned short uint16_t; // NOLINT
46 typedef int int32_t; // NOLINT 46 typedef int int32_t; // NOLINT
47 47
48 // All access to the character table should go through this function. 48 // All access to the character table should go through this function.
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 } else if (current_value > value) { 89 } else if (current_value > value) {
90 // If we've just checked the bottom-most value and it's not 90 // If we've just checked the bottom-most value and it's not
91 // the one we're looking for, we're done. 91 // the one we're looking for, we're done.
92 if (mid == 0) break; 92 if (mid == 0) break;
93 high = mid - 1; 93 high = mid - 1;
94 } 94 }
95 } 95 }
96 int32_t field = TableGet<kEntryDist>(table, low); 96 int32_t field = TableGet<kEntryDist>(table, low);
97 uchar entry = GetEntry(field); 97 uchar entry = GetEntry(field);
98 bool is_start = IsStart(field); 98 bool is_start = IsStart(field);
99 return (entry == value) || 99 return (entry == value) || (entry < value && is_start);
100 (entry < value && is_start);
101 } 100 }
102 101
103 template <int kW> 102 template <int kW>
104 struct MultiCharacterSpecialCase { 103 struct MultiCharacterSpecialCase {
104 static const uchar kEndOfEncoding = kSentinel;
105 uchar chars[kW]; 105 uchar chars[kW];
106 }; 106 };
107 107
108 // Look up the mapping for the given character in the specified table, 108 // Look up the mapping for the given character in the specified table,
109 // which is of the specified length and uses the specified special case 109 // which is of the specified length and uses the specified special case
110 // mapping for multi-char mappings. The next parameter is the character 110 // mapping for multi-char mappings. The next parameter is the character
111 // following the one to map. The result will be written in to the result 111 // following the one to map. The result will be written in to the result
112 // buffer and the number of characters written will be returned. Finally, 112 // buffer and the number of characters written will be returned. Finally,
113 // if the allow_caching_ptr is non-null then false will be stored in 113 // if the allow_caching_ptr is non-null then false will be stored in
114 // it if the result contains multiple characters or depends on the 114 // it if the result contains multiple characters or depends on the
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 result[0] = entry + chunk_start + (value >> 2); 165 result[0] = entry + chunk_start + (value >> 2);
166 } 166 }
167 return 1; 167 return 1;
168 } else if ((value & 3) == 1) { 168 } else if ((value & 3) == 1) {
169 // Low bits 1 means a special case mapping 169 // Low bits 1 means a special case mapping
170 if (allow_caching_ptr) *allow_caching_ptr = false; 170 if (allow_caching_ptr) *allow_caching_ptr = false;
171 const MultiCharacterSpecialCase<kW>& mapping = multi_chars[value >> 2]; 171 const MultiCharacterSpecialCase<kW>& mapping = multi_chars[value >> 2];
172 int length = 0; 172 int length = 0;
173 for (length = 0; length < kW; length++) { 173 for (length = 0; length < kW; length++) {
174 uchar mapped = mapping.chars[length]; 174 uchar mapped = mapping.chars[length];
175 if (mapped == static_cast<uchar>(-1)) break; 175 if (mapped == MultiCharacterSpecialCase<kW>::kEndOfEncoding) break;
176 if (ranges_are_linear) { 176 if (ranges_are_linear) {
177 result[length] = mapped + (key - entry); 177 result[length] = mapped + (key - entry);
178 } else { 178 } else {
179 result[length] = mapped; 179 result[length] = mapped;
180 } 180 }
181 } 181 }
182 return length; 182 return length;
183 } else { 183 } else {
184 // Low bits 2 means a really really special case 184 // Low bits 2 means a really really special case
185 if (allow_caching_ptr) *allow_caching_ptr = false; 185 if (allow_caching_ptr) *allow_caching_ptr = false;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
218 byte second = str[1] ^ 0x80; 218 byte second = str[1] ^ 0x80;
219 if (second & 0xC0) { 219 if (second & 0xC0) {
220 *cursor += 1; 220 *cursor += 1;
221 return kBadChar; 221 return kBadChar;
222 } 222 }
223 if (first < 0xE0) { 223 if (first < 0xE0) {
224 if (first < 0xC0) { 224 if (first < 0xC0) {
225 *cursor += 1; 225 *cursor += 1;
226 return kBadChar; 226 return kBadChar;
227 } 227 }
228 uchar l = ((first << 6) | second) & kMaxTwoByteChar; 228 uchar code_point = ((first << 6) | second) & kMaxTwoByteChar;
229 if (l <= kMaxOneByteChar) { 229 if (code_point <= kMaxOneByteChar) {
230 *cursor += 1; 230 *cursor += 1;
231 return kBadChar; 231 return kBadChar;
232 } 232 }
233 *cursor += 2; 233 *cursor += 2;
234 return l; 234 return code_point;
235 } 235 }
236 if (length == 2) { 236 if (length == 2) {
237 *cursor += 1; 237 *cursor += 1;
238 return kBadChar; 238 return kBadChar;
239 } 239 }
240 byte third = str[2] ^ 0x80; 240 byte third = str[2] ^ 0x80;
241 if (third & 0xC0) { 241 if (third & 0xC0) {
242 *cursor += 1; 242 *cursor += 1;
243 return kBadChar; 243 return kBadChar;
244 } 244 }
245 if (first < 0xF0) { 245 if (first < 0xF0) {
246 uchar l = ((((first << 6) | second) << 6) | third) & kMaxThreeByteChar; 246 uchar code_point = ((((first << 6) | second) << 6) | third)
247 if (l <= kMaxTwoByteChar) { 247 & kMaxThreeByteChar;
248 if (code_point <= kMaxTwoByteChar) {
248 *cursor += 1; 249 *cursor += 1;
249 return kBadChar; 250 return kBadChar;
250 } 251 }
251 *cursor += 3; 252 *cursor += 3;
252 return l; 253 return code_point;
253 } 254 }
254 if (length == 3) { 255 if (length == 3) {
255 *cursor += 1; 256 *cursor += 1;
256 return kBadChar; 257 return kBadChar;
257 } 258 }
258 byte fourth = str[3] ^ 0x80; 259 byte fourth = str[3] ^ 0x80;
259 if (fourth & 0xC0) { 260 if (fourth & 0xC0) {
260 *cursor += 1; 261 *cursor += 1;
261 return kBadChar; 262 return kBadChar;
262 } 263 }
263 if (first < 0xF8) { 264 if (first < 0xF8) {
264 uchar l = (((((first << 6 | second) << 6) | third) << 6) | fourth) & 265 uchar code_point = (((((first << 6 | second) << 6) | third) << 6) | fourth)
265 kMaxFourByteChar; 266 & kMaxFourByteChar;
266 if (l <= kMaxThreeByteChar) { 267 if (code_point <= kMaxThreeByteChar) {
267 *cursor += 1; 268 *cursor += 1;
268 return kBadChar; 269 return kBadChar;
269 } 270 }
270 *cursor += 4; 271 *cursor += 4;
271 return l; 272 return code_point;
272 } 273 }
273 *cursor += 1; 274 *cursor += 1;
274 return kBadChar; 275 return kBadChar;
275 } 276 }
276 277
277 const byte* Utf8::ReadBlock(Buffer<const char*> str, byte* buffer, 278 const byte* Utf8::ReadBlock(Buffer<const char*> str, byte* buffer,
278 unsigned capacity, unsigned* chars_read_ptr, unsigned* offset_ptr) { 279 unsigned capacity, unsigned* chars_read_ptr, unsigned* offset_ptr) {
279 unsigned offset = *offset_ptr; 280 unsigned offset = *offset_ptr;
280 // Bail out early if we've reached the end of the string. 281 // Bail out early if we've reached the end of the string.
281 if (offset == str.length()) { 282 if (offset == str.length()) {
(...skipping 534 matching lines...) Expand 10 before | Expand all | Expand 10 after
816 kConnectorPunctuationTable1Size, 817 kConnectorPunctuationTable1Size,
817 c); 818 c);
818 case 7: return LookupPredicate(kConnectorPunctuationTable7, 819 case 7: return LookupPredicate(kConnectorPunctuationTable7,
819 kConnectorPunctuationTable7Size, 820 kConnectorPunctuationTable7Size,
820 c); 821 c);
821 default: return false; 822 default: return false;
822 } 823 }
823 } 824 }
824 825
825 static const MultiCharacterSpecialCase<2> kToLowercaseMultiStrings0[2] = { // N OLINT 826 static const MultiCharacterSpecialCase<2> kToLowercaseMultiStrings0[2] = { // N OLINT
826 {{105, 775}}, {{-1}} }; // NOLINT 827 {{105, 775}}, {{kSentinel}} }; // NOLINT
827 static const uint16_t kToLowercaseTable0Size = 463; // NOLINT 828 static const uint16_t kToLowercaseTable0Size = 463; // NOLINT
828 static const int32_t kToLowercaseTable0[926] = { 829 static const int32_t kToLowercaseTable0[926] = {
829 1073741889, 128, 90, 128, 1073742016, 128, 214, 128, 1073742040, 128, 222, 128 , 256, 4, 258, 4, // NOLINT 830 1073741889, 128, 90, 128, 1073742016, 128, 214, 128, 1073742040, 128, 222, 128 , 256, 4, 258, 4, // NOLINT
830 260, 4, 262, 4, 264, 4, 266, 4, 268, 4, 270, 4, 272, 4, 274, 4, // NOLINT 831 260, 4, 262, 4, 264, 4, 266, 4, 268, 4, 270, 4, 272, 4, 274, 4, // NOLINT
831 276, 4, 278, 4, 280, 4, 282, 4, 284, 4, 286, 4, 288, 4, 290, 4, // NOLINT 832 276, 4, 278, 4, 280, 4, 282, 4, 284, 4, 286, 4, 288, 4, 290, 4, // NOLINT
832 292, 4, 294, 4, 296, 4, 298, 4, 300, 4, 302, 4, 304, 1, 306, 4, // NOLINT 833 292, 4, 294, 4, 296, 4, 298, 4, 300, 4, 302, 4, 304, 1, 306, 4, // NOLINT
833 308, 4, 310, 4, 313, 4, 315, 4, 317, 4, 319, 4, 321, 4, 323, 4, // NOLINT 834 308, 4, 310, 4, 313, 4, 315, 4, 317, 4, 319, 4, 321, 4, 323, 4, // NOLINT
834 325, 4, 327, 4, 330, 4, 332, 4, 334, 4, 336, 4, 338, 4, 340, 4, // NOLINT 835 325, 4, 327, 4, 330, 4, 332, 4, 334, 4, 336, 4, 338, 4, 340, 4, // NOLINT
835 342, 4, 344, 4, 346, 4, 348, 4, 350, 4, 352, 4, 354, 4, 356, 4, // NOLINT 836 342, 4, 344, 4, 346, 4, 348, 4, 350, 4, 352, 4, 354, 4, 356, 4, // NOLINT
836 358, 4, 360, 4, 362, 4, 364, 4, 366, 4, 368, 4, 370, 4, 372, 4, // NOLINT 837 358, 4, 360, 4, 362, 4, 364, 4, 366, 4, 368, 4, 370, 4, 372, 4, // NOLINT
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
879 7892, 4, 7894, 4, 7896, 4, 7898, 4, 7900, 4, 7902, 4, 7904, 4, 7906, 4, // NO LINT 880 7892, 4, 7894, 4, 7896, 4, 7898, 4, 7900, 4, 7902, 4, 7904, 4, 7906, 4, // NO LINT
880 7908, 4, 7910, 4, 7912, 4, 7914, 4, 7916, 4, 7918, 4, 7920, 4, 7922, 4, // NO LINT 881 7908, 4, 7910, 4, 7912, 4, 7914, 4, 7916, 4, 7918, 4, 7920, 4, 7922, 4, // NO LINT
881 7924, 4, 7926, 4, 7928, 4, 1073749768, -32, 7951, -32, 1073749784, -32, 7965, -32, 1073749800, -32, // NOLINT 882 7924, 4, 7926, 4, 7928, 4, 1073749768, -32, 7951, -32, 1073749784, -32, 7965, -32, 1073749800, -32, // NOLINT
882 7983, -32, 1073749816, -32, 7999, -32, 1073749832, -32, 8013, -32, 8025, -32, 8027, -32, 8029, -32, // NOLINT 883 7983, -32, 1073749816, -32, 7999, -32, 1073749832, -32, 8013, -32, 8025, -32, 8027, -32, 8029, -32, // NOLINT
883 8031, -32, 1073749864, -32, 8047, -32, 1073749896, -32, 8079, -32, 1073749912, -32, 8095, -32, 1073749928, -32, // NOLINT 884 8031, -32, 1073749864, -32, 8047, -32, 1073749896, -32, 8079, -32, 1073749912, -32, 8095, -32, 1073749928, -32, // NOLINT
884 8111, -32, 1073749944, -32, 8121, -32, 1073749946, -296, 8123, -296, 8124, -36 , 1073749960, -344, 8139, -344, // NOLINT 885 8111, -32, 1073749944, -32, 8121, -32, 1073749946, -296, 8123, -296, 8124, -36 , 1073749960, -344, 8139, -344, // NOLINT
885 8140, -36, 1073749976, -32, 8153, -32, 1073749978, -400, 8155, -400, 107374999 2, -32, 8169, -32, 1073749994, -448, // NOLINT 886 8140, -36, 1073749976, -32, 8153, -32, 1073749978, -400, 8155, -400, 107374999 2, -32, 8169, -32, 1073749994, -448, // NOLINT
886 8171, -448, 8172, -28, 1073750008, -512, 8185, -512, 1073750010, -504, 8187, - 504, 8188, -36 }; // NOLINT 887 8171, -448, 8172, -28, 1073750008, -512, 8185, -512, 1073750010, -504, 8187, - 504, 8188, -36 }; // NOLINT
887 static const uint16_t kToLowercaseMultiStrings0Size = 2; // NOLINT 888 static const uint16_t kToLowercaseMultiStrings0Size = 2; // NOLINT
888 static const MultiCharacterSpecialCase<1> kToLowercaseMultiStrings1[1] = { // N OLINT 889 static const MultiCharacterSpecialCase<1> kToLowercaseMultiStrings1[1] = { // N OLINT
889 {{-1}} }; // NOLINT 890 {{kSentinel}} }; // NOLINT
890 static const uint16_t kToLowercaseTable1Size = 69; // NOLINT 891 static const uint16_t kToLowercaseTable1Size = 69; // NOLINT
891 static const int32_t kToLowercaseTable1[138] = { 892 static const int32_t kToLowercaseTable1[138] = {
892 294, -30068, 298, -33532, 299, -33048, 306, 112, 1073742176, 64, 367, 64, 387, 4, 1073743030, 104, // NOLINT 893 294, -30068, 298, -33532, 299, -33048, 306, 112, 1073742176, 64, 367, 64, 387, 4, 1073743030, 104, // NOLINT
893 1231, 104, 1073744896, 192, 3118, 192, 3168, 4, 3170, -42972, 3171, -15256, 31 72, -42908, 3175, 4, // NOLINT 894 1231, 104, 1073744896, 192, 3118, 192, 3168, 4, 3170, -42972, 3171, -15256, 31 72, -42908, 3175, 4, // NOLINT
894 3177, 4, 3179, 4, 3189, 4, 3200, 4, 3202, 4, 3204, 4, 3206, 4, 3208, 4, // NO LINT 895 3177, 4, 3179, 4, 3189, 4, 3200, 4, 3202, 4, 3204, 4, 3206, 4, 3208, 4, // NO LINT
895 3210, 4, 3212, 4, 3214, 4, 3216, 4, 3218, 4, 3220, 4, 3222, 4, 3224, 4, // NO LINT 896 3210, 4, 3212, 4, 3214, 4, 3216, 4, 3218, 4, 3220, 4, 3222, 4, 3224, 4, // NO LINT
896 3226, 4, 3228, 4, 3230, 4, 3232, 4, 3234, 4, 3236, 4, 3238, 4, 3240, 4, // NO LINT 897 3226, 4, 3228, 4, 3230, 4, 3232, 4, 3234, 4, 3236, 4, 3238, 4, 3240, 4, // NO LINT
897 3242, 4, 3244, 4, 3246, 4, 3248, 4, 3250, 4, 3252, 4, 3254, 4, 3256, 4, // NO LINT 898 3242, 4, 3244, 4, 3246, 4, 3248, 4, 3250, 4, 3252, 4, 3254, 4, 3256, 4, // NO LINT
898 3258, 4, 3260, 4, 3262, 4, 3264, 4, 3266, 4, 3268, 4, 3270, 4, 3272, 4, // NO LINT 899 3258, 4, 3260, 4, 3262, 4, 3264, 4, 3266, 4, 3268, 4, 3270, 4, 3272, 4, // NO LINT
899 3274, 4, 3276, 4, 3278, 4, 3280, 4, 3282, 4, 3284, 4, 3286, 4, 3288, 4, // NO LINT 900 3274, 4, 3276, 4, 3278, 4, 3280, 4, 3282, 4, 3284, 4, 3286, 4, 3288, 4, // NO LINT
900 3290, 4, 3292, 4, 3294, 4, 3296, 4, 3298, 4 }; // NOLINT 901 3290, 4, 3292, 4, 3294, 4, 3296, 4, 3298, 4 }; // NOLINT
901 static const uint16_t kToLowercaseMultiStrings1Size = 1; // NOLINT 902 static const uint16_t kToLowercaseMultiStrings1Size = 1; // NOLINT
902 static const MultiCharacterSpecialCase<1> kToLowercaseMultiStrings7[1] = { // N OLINT 903 static const MultiCharacterSpecialCase<1> kToLowercaseMultiStrings7[1] = { // N OLINT
903 {{-1}} }; // NOLINT 904 {{kSentinel}} }; // NOLINT
904 static const uint16_t kToLowercaseTable7Size = 2; // NOLINT 905 static const uint16_t kToLowercaseTable7Size = 2; // NOLINT
905 static const int32_t kToLowercaseTable7[4] = { 906 static const int32_t kToLowercaseTable7[4] = {
906 1073749793, 128, 7994, 128 }; // NOLINT 907 1073749793, 128, 7994, 128 }; // NOLINT
907 static const uint16_t kToLowercaseMultiStrings7Size = 1; // NOLINT 908 static const uint16_t kToLowercaseMultiStrings7Size = 1; // NOLINT
908 int ToLowercase::Convert(uchar c, 909 int ToLowercase::Convert(uchar c,
909 uchar n, 910 uchar n,
910 uchar* result, 911 uchar* result,
911 bool* allow_caching_ptr) { 912 bool* allow_caching_ptr) {
912 int chunk_index = c >> 13; 913 int chunk_index = c >> 13;
913 switch (chunk_index) { 914 switch (chunk_index) {
(...skipping 16 matching lines...) Expand all
930 kToLowercaseMultiStrings7, 931 kToLowercaseMultiStrings7,
931 c, 932 c,
932 n, 933 n,
933 result, 934 result,
934 allow_caching_ptr); 935 allow_caching_ptr);
935 default: return 0; 936 default: return 0;
936 } 937 }
937 } 938 }
938 939
939 static const MultiCharacterSpecialCase<3> kToUppercaseMultiStrings0[62] = { // NOLINT 940 static const MultiCharacterSpecialCase<3> kToUppercaseMultiStrings0[62] = { // NOLINT
940 {{83, 83, -1}}, {{700, 78, -1}}, {{74, 780, -1}}, {{921, 776, 769}}, // NOLIN T 941 {{83, 83, kSentinel}}, {{700, 78, kSentinel}}, {{74, 780, kSentinel}}, {{921, 776, 769}}, // NOLINT
941 {{933, 776, 769}}, {{1333, 1362, -1}}, {{72, 817, -1}}, {{84, 776, -1}}, // N OLINT 942 {{933, 776, 769}}, {{1333, 1362, kSentinel}}, {{72, 817, kSentinel}}, {{84, 77 6, kSentinel}}, // NOLINT
942 {{87, 778, -1}}, {{89, 778, -1}}, {{65, 702, -1}}, {{933, 787, -1}}, // NOLIN T 943 {{87, 778, kSentinel}}, {{89, 778, kSentinel}}, {{65, 702, kSentinel}}, {{933, 787, kSentinel}}, // NOLINT
943 {{933, 787, 768}}, {{933, 787, 769}}, {{933, 787, 834}}, {{7944, 921, -1}}, / / NOLINT 944 {{933, 787, 768}}, {{933, 787, 769}}, {{933, 787, 834}}, {{7944, 921, kSentine l}}, // NOLINT
944 {{7945, 921, -1}}, {{7946, 921, -1}}, {{7947, 921, -1}}, {{7948, 921, -1}}, / / NOLINT 945 {{7945, 921, kSentinel}}, {{7946, 921, kSentinel}}, {{7947, 921, kSentinel}}, {{7948, 921, kSentinel}}, // NOLINT
945 {{7949, 921, -1}}, {{7950, 921, -1}}, {{7951, 921, -1}}, {{7976, 921, -1}}, / / NOLINT 946 {{7949, 921, kSentinel}}, {{7950, 921, kSentinel}}, {{7951, 921, kSentinel}}, {{7976, 921, kSentinel}}, // NOLINT
946 {{7977, 921, -1}}, {{7978, 921, -1}}, {{7979, 921, -1}}, {{7980, 921, -1}}, / / NOLINT 947 {{7977, 921, kSentinel}}, {{7978, 921, kSentinel}}, {{7979, 921, kSentinel}}, {{7980, 921, kSentinel}}, // NOLINT
947 {{7981, 921, -1}}, {{7982, 921, -1}}, {{7983, 921, -1}}, {{8040, 921, -1}}, / / NOLINT 948 {{7981, 921, kSentinel}}, {{7982, 921, kSentinel}}, {{7983, 921, kSentinel}}, {{8040, 921, kSentinel}}, // NOLINT
948 {{8041, 921, -1}}, {{8042, 921, -1}}, {{8043, 921, -1}}, {{8044, 921, -1}}, / / NOLINT 949 {{8041, 921, kSentinel}}, {{8042, 921, kSentinel}}, {{8043, 921, kSentinel}}, {{8044, 921, kSentinel}}, // NOLINT
949 {{8045, 921, -1}}, {{8046, 921, -1}}, {{8047, 921, -1}}, {{8122, 921, -1}}, / / NOLINT 950 {{8045, 921, kSentinel}}, {{8046, 921, kSentinel}}, {{8047, 921, kSentinel}}, {{8122, 921, kSentinel}}, // NOLINT
950 {{913, 921, -1}}, {{902, 921, -1}}, {{913, 834, -1}}, {{913, 834, 921}}, // N OLINT 951 {{913, 921, kSentinel}}, {{902, 921, kSentinel}}, {{913, 834, kSentinel}}, {{9 13, 834, 921}}, // NOLINT
951 {{8138, 921, -1}}, {{919, 921, -1}}, {{905, 921, -1}}, {{919, 834, -1}}, // N OLINT 952 {{8138, 921, kSentinel}}, {{919, 921, kSentinel}}, {{905, 921, kSentinel}}, {{ 919, 834, kSentinel}}, // NOLINT
952 {{919, 834, 921}}, {{921, 776, 768}}, {{921, 834, -1}}, {{921, 776, 834}}, // NOLINT 953 {{919, 834, 921}}, {{921, 776, 768}}, {{921, 834, kSentinel}}, {{921, 776, 834 }}, // NOLINT
953 {{933, 776, 768}}, {{929, 787, -1}}, {{933, 834, -1}}, {{933, 776, 834}}, // NOLINT 954 {{933, 776, 768}}, {{929, 787, kSentinel}}, {{933, 834, kSentinel}}, {{933, 77 6, 834}}, // NOLINT
954 {{8186, 921, -1}}, {{937, 921, -1}}, {{911, 921, -1}}, {{937, 834, -1}}, // N OLINT 955 {{8186, 921, kSentinel}}, {{937, 921, kSentinel}}, {{911, 921, kSentinel}}, {{ 937, 834, kSentinel}}, // NOLINT
955 {{937, 834, 921}}, {{-1}} }; // NOLINT 956 {{937, 834, 921}}, {{kSentinel}} }; // NOLINT
956 static const uint16_t kToUppercaseTable0Size = 554; // NOLINT 957 static const uint16_t kToUppercaseTable0Size = 554; // NOLINT
957 static const int32_t kToUppercaseTable0[1108] = { 958 static const int32_t kToUppercaseTable0[1108] = {
958 1073741921, -128, 122, -128, 181, 2972, 223, 1, 1073742048, -128, 246, -128, 1 073742072, -128, 254, -128, // NOLINT 959 1073741921, -128, 122, -128, 181, 2972, 223, 1, 1073742048, -128, 246, -128, 1 073742072, -128, 254, -128, // NOLINT
959 255, 484, 257, -4, 259, -4, 261, -4, 263, -4, 265, -4, 267, -4, 269, -4, // N OLINT 960 255, 484, 257, -4, 259, -4, 261, -4, 263, -4, 265, -4, 267, -4, 269, -4, // N OLINT
960 271, -4, 273, -4, 275, -4, 277, -4, 279, -4, 281, -4, 283, -4, 285, -4, // NO LINT 961 271, -4, 273, -4, 275, -4, 277, -4, 279, -4, 281, -4, 283, -4, 285, -4, // NO LINT
961 287, -4, 289, -4, 291, -4, 293, -4, 295, -4, 297, -4, 299, -4, 301, -4, // NO LINT 962 287, -4, 289, -4, 291, -4, 293, -4, 295, -4, 297, -4, 299, -4, 301, -4, // NO LINT
962 303, -4, 305, -928, 307, -4, 309, -4, 311, -4, 314, -4, 316, -4, 318, -4, // NOLINT 963 303, -4, 305, -928, 307, -4, 309, -4, 311, -4, 314, -4, 316, -4, 318, -4, // NOLINT
963 320, -4, 322, -4, 324, -4, 326, -4, 328, -4, 329, 5, 331, -4, 333, -4, // NOL INT 964 320, -4, 322, -4, 324, -4, 326, -4, 328, -4, 329, 5, 331, -4, 333, -4, // NOL INT
964 335, -4, 337, -4, 339, -4, 341, -4, 343, -4, 345, -4, 347, -4, 349, -4, // NO LINT 965 335, -4, 337, -4, 339, -4, 341, -4, 343, -4, 345, -4, 347, -4, 349, -4, // NO LINT
965 351, -4, 353, -4, 355, -4, 357, -4, 359, -4, 361, -4, 363, -4, 365, -4, // NO LINT 966 351, -4, 353, -4, 355, -4, 357, -4, 359, -4, 361, -4, 363, -4, 365, -4, // NO LINT
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1020 8089, 97, 8090, 101, 8091, 105, 8092, 109, 8093, 113, 8094, 117, 8095, 121, 80 96, 125, // NOLINT 1021 8089, 97, 8090, 101, 8091, 105, 8092, 109, 8093, 113, 8094, 117, 8095, 121, 80 96, 125, // NOLINT
1021 8097, 129, 8098, 133, 8099, 137, 8100, 141, 8101, 145, 8102, 149, 8103, 153, 8 104, 125, // NOLINT 1022 8097, 129, 8098, 133, 8099, 137, 8100, 141, 8101, 145, 8102, 149, 8103, 153, 8 104, 125, // NOLINT
1022 8105, 129, 8106, 133, 8107, 137, 8108, 141, 8109, 145, 8110, 149, 8111, 153, 1 073749936, 32, // NOLINT 1023 8105, 129, 8106, 133, 8107, 137, 8108, 141, 8109, 145, 8110, 149, 8111, 153, 1 073749936, 32, // NOLINT
1023 8113, 32, 8114, 157, 8115, 161, 8116, 165, 8118, 169, 8119, 173, 8124, 161, 81 26, -28820, // NOLINT 1024 8113, 32, 8114, 157, 8115, 161, 8116, 165, 8118, 169, 8119, 173, 8124, 161, 81 26, -28820, // NOLINT
1024 8130, 177, 8131, 181, 8132, 185, 8134, 189, 8135, 193, 8140, 181, 1073749968, 32, 8145, 32, // NOLINT 1025 8130, 177, 8131, 181, 8132, 185, 8134, 189, 8135, 193, 8140, 181, 1073749968, 32, 8145, 32, // NOLINT
1025 8146, 197, 8147, 13, 8150, 201, 8151, 205, 1073749984, 32, 8161, 32, 8162, 209 , 8163, 17, // NOLINT 1026 8146, 197, 8147, 13, 8150, 201, 8151, 205, 1073749984, 32, 8161, 32, 8162, 209 , 8163, 17, // NOLINT
1026 8164, 213, 8165, 28, 8166, 217, 8167, 221, 8178, 225, 8179, 229, 8180, 233, 81 82, 237, // NOLINT 1027 8164, 213, 8165, 28, 8166, 217, 8167, 221, 8178, 225, 8179, 229, 8180, 233, 81 82, 237, // NOLINT
1027 8183, 241, 8188, 229 }; // NOLINT 1028 8183, 241, 8188, 229 }; // NOLINT
1028 static const uint16_t kToUppercaseMultiStrings0Size = 62; // NOLINT 1029 static const uint16_t kToUppercaseMultiStrings0Size = 62; // NOLINT
1029 static const MultiCharacterSpecialCase<1> kToUppercaseMultiStrings1[1] = { // N OLINT 1030 static const MultiCharacterSpecialCase<1> kToUppercaseMultiStrings1[1] = { // N OLINT
1030 {{-1}} }; // NOLINT 1031 {{kSentinel}} }; // NOLINT
1031 static const uint16_t kToUppercaseTable1Size = 67; // NOLINT 1032 static const uint16_t kToUppercaseTable1Size = 67; // NOLINT
1032 static const int32_t kToUppercaseTable1[134] = { 1033 static const int32_t kToUppercaseTable1[134] = {
1033 334, -112, 1073742192, -64, 383, -64, 388, -4, 1073743056, -104, 1257, -104, 1 073744944, -192, 3166, -192, // NOLINT 1034 334, -112, 1073742192, -64, 383, -64, 388, -4, 1073743056, -104, 1257, -104, 1 073744944, -192, 3166, -192, // NOLINT
1034 3169, -4, 3173, -43180, 3174, -43168, 3176, -4, 3178, -4, 3180, -4, 3190, -4, 3201, -4, // NOLINT 1035 3169, -4, 3173, -43180, 3174, -43168, 3176, -4, 3178, -4, 3180, -4, 3190, -4, 3201, -4, // NOLINT
1035 3203, -4, 3205, -4, 3207, -4, 3209, -4, 3211, -4, 3213, -4, 3215, -4, 3217, -4 , // NOLINT 1036 3203, -4, 3205, -4, 3207, -4, 3209, -4, 3211, -4, 3213, -4, 3215, -4, 3217, -4 , // NOLINT
1036 3219, -4, 3221, -4, 3223, -4, 3225, -4, 3227, -4, 3229, -4, 3231, -4, 3233, -4 , // NOLINT 1037 3219, -4, 3221, -4, 3223, -4, 3225, -4, 3227, -4, 3229, -4, 3231, -4, 3233, -4 , // NOLINT
1037 3235, -4, 3237, -4, 3239, -4, 3241, -4, 3243, -4, 3245, -4, 3247, -4, 3249, -4 , // NOLINT 1038 3235, -4, 3237, -4, 3239, -4, 3241, -4, 3243, -4, 3245, -4, 3247, -4, 3249, -4 , // NOLINT
1038 3251, -4, 3253, -4, 3255, -4, 3257, -4, 3259, -4, 3261, -4, 3263, -4, 3265, -4 , // NOLINT 1039 3251, -4, 3253, -4, 3255, -4, 3257, -4, 3259, -4, 3261, -4, 3263, -4, 3265, -4 , // NOLINT
1039 3267, -4, 3269, -4, 3271, -4, 3273, -4, 3275, -4, 3277, -4, 3279, -4, 3281, -4 , // NOLINT 1040 3267, -4, 3269, -4, 3271, -4, 3273, -4, 3275, -4, 3277, -4, 3279, -4, 3281, -4 , // NOLINT
1040 3283, -4, 3285, -4, 3287, -4, 3289, -4, 3291, -4, 3293, -4, 3295, -4, 3297, -4 , // NOLINT 1041 3283, -4, 3285, -4, 3287, -4, 3289, -4, 3291, -4, 3293, -4, 3295, -4, 3297, -4 , // NOLINT
1041 3299, -4, 1073745152, -29056, 3365, -29056 }; // NOLINT 1042 3299, -4, 1073745152, -29056, 3365, -29056 }; // NOLINT
1042 static const uint16_t kToUppercaseMultiStrings1Size = 1; // NOLINT 1043 static const uint16_t kToUppercaseMultiStrings1Size = 1; // NOLINT
1043 static const MultiCharacterSpecialCase<3> kToUppercaseMultiStrings7[12] = { // NOLINT 1044 static const MultiCharacterSpecialCase<3> kToUppercaseMultiStrings7[12] = { // NOLINT
1044 {{70, 70, -1}}, {{70, 73, -1}}, {{70, 76, -1}}, {{70, 70, 73}}, // NOLINT 1045 {{70, 70, kSentinel}}, {{70, 73, kSentinel}}, {{70, 76, kSentinel}}, {{70, 70, 73}}, // NOLINT
1045 {{70, 70, 76}}, {{83, 84, -1}}, {{1348, 1350, -1}}, {{1348, 1333, -1}}, // NO LINT 1046 {{70, 70, 76}}, {{83, 84, kSentinel}}, {{1348, 1350, kSentinel}}, {{1348, 1333 , kSentinel}}, // NOLINT
1046 {{1348, 1339, -1}}, {{1358, 1350, -1}}, {{1348, 1341, -1}}, {{-1}} }; // NOLIN T 1047 {{1348, 1339, kSentinel}}, {{1358, 1350, kSentinel}}, {{1348, 1341, kSentinel} }, {{kSentinel}} }; // NOLINT
1047 static const uint16_t kToUppercaseTable7Size = 14; // NOLINT 1048 static const uint16_t kToUppercaseTable7Size = 14; // NOLINT
1048 static const int32_t kToUppercaseTable7[28] = { 1049 static const int32_t kToUppercaseTable7[28] = {
1049 6912, 1, 6913, 5, 6914, 9, 6915, 13, 6916, 17, 6917, 21, 6918, 21, 6931, 25, // NOLINT 1050 6912, 1, 6913, 5, 6914, 9, 6915, 13, 6916, 17, 6917, 21, 6918, 21, 6931, 25, // NOLINT
1050 6932, 29, 6933, 33, 6934, 37, 6935, 41, 1073749825, -128, 8026, -128 }; // NO LINT 1051 6932, 29, 6933, 33, 6934, 37, 6935, 41, 1073749825, -128, 8026, -128 }; // NO LINT
1051 static const uint16_t kToUppercaseMultiStrings7Size = 12; // NOLINT 1052 static const uint16_t kToUppercaseMultiStrings7Size = 12; // NOLINT
1052 int ToUppercase::Convert(uchar c, 1053 int ToUppercase::Convert(uchar c,
1053 uchar n, 1054 uchar n,
1054 uchar* result, 1055 uchar* result,
1055 bool* allow_caching_ptr) { 1056 bool* allow_caching_ptr) {
1056 int chunk_index = c >> 13; 1057 int chunk_index = c >> 13;
(...skipping 17 matching lines...) Expand all
1074 kToUppercaseMultiStrings7, 1075 kToUppercaseMultiStrings7,
1075 c, 1076 c,
1076 n, 1077 n,
1077 result, 1078 result,
1078 allow_caching_ptr); 1079 allow_caching_ptr);
1079 default: return 0; 1080 default: return 0;
1080 } 1081 }
1081 } 1082 }
1082 1083
1083 static const MultiCharacterSpecialCase<1> kEcma262CanonicalizeMultiStrings0[1] = { // NOLINT 1084 static const MultiCharacterSpecialCase<1> kEcma262CanonicalizeMultiStrings0[1] = { // NOLINT
1084 {{-1}} }; // NOLINT 1085 {{kSentinel}} }; // NOLINT
1085 static const uint16_t kEcma262CanonicalizeTable0Size = 462; // NOLINT 1086 static const uint16_t kEcma262CanonicalizeTable0Size = 462; // NOLINT
1086 static const int32_t kEcma262CanonicalizeTable0[924] = { 1087 static const int32_t kEcma262CanonicalizeTable0[924] = {
1087 1073741921, -128, 122, -128, 181, 2972, 1073742048, -128, 246, -128, 107374207 2, -128, 254, -128, 255, 484, // NOLINT 1088 1073741921, -128, 122, -128, 181, 2972, 1073742048, -128, 246, -128, 107374207 2, -128, 254, -128, 255, 484, // NOLINT
1088 257, -4, 259, -4, 261, -4, 263, -4, 265, -4, 267, -4, 269, -4, 271, -4, // NO LINT 1089 257, -4, 259, -4, 261, -4, 263, -4, 265, -4, 267, -4, 269, -4, 271, -4, // NO LINT
1089 273, -4, 275, -4, 277, -4, 279, -4, 281, -4, 283, -4, 285, -4, 287, -4, // NO LINT 1090 273, -4, 275, -4, 277, -4, 279, -4, 281, -4, 283, -4, 285, -4, 287, -4, // NO LINT
1090 289, -4, 291, -4, 293, -4, 295, -4, 297, -4, 299, -4, 301, -4, 303, -4, // NO LINT 1091 289, -4, 291, -4, 293, -4, 295, -4, 297, -4, 299, -4, 301, -4, 303, -4, // NO LINT
1091 307, -4, 309, -4, 311, -4, 314, -4, 316, -4, 318, -4, 320, -4, 322, -4, // NO LINT 1092 307, -4, 309, -4, 311, -4, 314, -4, 316, -4, 318, -4, 320, -4, 322, -4, // NO LINT
1092 324, -4, 326, -4, 328, -4, 331, -4, 333, -4, 335, -4, 337, -4, 339, -4, // NO LINT 1093 324, -4, 326, -4, 328, -4, 331, -4, 333, -4, 335, -4, 337, -4, 339, -4, // NO LINT
1093 341, -4, 343, -4, 345, -4, 347, -4, 349, -4, 351, -4, 353, -4, 355, -4, // NO LINT 1094 341, -4, 343, -4, 345, -4, 347, -4, 349, -4, 351, -4, 353, -4, 355, -4, // NO LINT
1094 357, -4, 359, -4, 361, -4, 363, -4, 365, -4, 367, -4, 369, -4, 371, -4, // NO LINT 1095 357, -4, 359, -4, 361, -4, 363, -4, 365, -4, 367, -4, 369, -4, 371, -4, // NO LINT
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
1137 7879, -4, 7881, -4, 7883, -4, 7885, -4, 7887, -4, 7889, -4, 7891, -4, 7893, -4 , // NOLINT 1138 7879, -4, 7881, -4, 7883, -4, 7885, -4, 7887, -4, 7889, -4, 7891, -4, 7893, -4 , // NOLINT
1138 7895, -4, 7897, -4, 7899, -4, 7901, -4, 7903, -4, 7905, -4, 7907, -4, 7909, -4 , // NOLINT 1139 7895, -4, 7897, -4, 7899, -4, 7901, -4, 7903, -4, 7905, -4, 7907, -4, 7909, -4 , // NOLINT
1139 7911, -4, 7913, -4, 7915, -4, 7917, -4, 7919, -4, 7921, -4, 7923, -4, 7925, -4 , // NOLINT 1140 7911, -4, 7913, -4, 7915, -4, 7917, -4, 7919, -4, 7921, -4, 7923, -4, 7925, -4 , // NOLINT
1140 7927, -4, 7929, -4, 1073749760, 32, 7943, 32, 1073749776, 32, 7957, 32, 107374 9792, 32, 7975, 32, // NOLINT 1141 7927, -4, 7929, -4, 1073749760, 32, 7943, 32, 1073749776, 32, 7957, 32, 107374 9792, 32, 7975, 32, // NOLINT
1141 1073749808, 32, 7991, 32, 1073749824, 32, 8005, 32, 8017, 32, 8019, 32, 8021, 32, 8023, 32, // NOLINT 1142 1073749808, 32, 7991, 32, 1073749824, 32, 8005, 32, 8017, 32, 8019, 32, 8021, 32, 8023, 32, // NOLINT
1142 1073749856, 32, 8039, 32, 1073749872, 296, 8049, 296, 1073749874, 344, 8053, 3 44, 1073749878, 400, 8055, 400, // NOLINT 1143 1073749856, 32, 8039, 32, 1073749872, 296, 8049, 296, 1073749874, 344, 8053, 3 44, 1073749878, 400, 8055, 400, // NOLINT
1143 1073749880, 512, 8057, 512, 1073749882, 448, 8059, 448, 1073749884, 504, 8061, 504, 1073749936, 32, 8113, 32, // NOLINT 1144 1073749880, 512, 8057, 512, 1073749882, 448, 8059, 448, 1073749884, 504, 8061, 504, 1073749936, 32, 8113, 32, // NOLINT
1144 8126, -28820, 1073749968, 32, 8145, 32, 1073749984, 32, 8161, 32, 8165, 28 }; // NOLINT 1145 8126, -28820, 1073749968, 32, 8145, 32, 1073749984, 32, 8161, 32, 8165, 28 }; // NOLINT
1145 static const uint16_t kEcma262CanonicalizeMultiStrings0Size = 1; // NOLINT 1146 static const uint16_t kEcma262CanonicalizeMultiStrings0Size = 1; // NOLINT
1146 static const MultiCharacterSpecialCase<1> kEcma262CanonicalizeMultiStrings1[1] = { // NOLINT 1147 static const MultiCharacterSpecialCase<1> kEcma262CanonicalizeMultiStrings1[1] = { // NOLINT
1147 {{-1}} }; // NOLINT 1148 {{kSentinel}} }; // NOLINT
1148 static const uint16_t kEcma262CanonicalizeTable1Size = 67; // NOLINT 1149 static const uint16_t kEcma262CanonicalizeTable1Size = 67; // NOLINT
1149 static const int32_t kEcma262CanonicalizeTable1[134] = { 1150 static const int32_t kEcma262CanonicalizeTable1[134] = {
1150 334, -112, 1073742192, -64, 383, -64, 388, -4, 1073743056, -104, 1257, -104, 1 073744944, -192, 3166, -192, // NOLINT 1151 334, -112, 1073742192, -64, 383, -64, 388, -4, 1073743056, -104, 1257, -104, 1 073744944, -192, 3166, -192, // NOLINT
1151 3169, -4, 3173, -43180, 3174, -43168, 3176, -4, 3178, -4, 3180, -4, 3190, -4, 3201, -4, // NOLINT 1152 3169, -4, 3173, -43180, 3174, -43168, 3176, -4, 3178, -4, 3180, -4, 3190, -4, 3201, -4, // NOLINT
1152 3203, -4, 3205, -4, 3207, -4, 3209, -4, 3211, -4, 3213, -4, 3215, -4, 3217, -4 , // NOLINT 1153 3203, -4, 3205, -4, 3207, -4, 3209, -4, 3211, -4, 3213, -4, 3215, -4, 3217, -4 , // NOLINT
1153 3219, -4, 3221, -4, 3223, -4, 3225, -4, 3227, -4, 3229, -4, 3231, -4, 3233, -4 , // NOLINT 1154 3219, -4, 3221, -4, 3223, -4, 3225, -4, 3227, -4, 3229, -4, 3231, -4, 3233, -4 , // NOLINT
1154 3235, -4, 3237, -4, 3239, -4, 3241, -4, 3243, -4, 3245, -4, 3247, -4, 3249, -4 , // NOLINT 1155 3235, -4, 3237, -4, 3239, -4, 3241, -4, 3243, -4, 3245, -4, 3247, -4, 3249, -4 , // NOLINT
1155 3251, -4, 3253, -4, 3255, -4, 3257, -4, 3259, -4, 3261, -4, 3263, -4, 3265, -4 , // NOLINT 1156 3251, -4, 3253, -4, 3255, -4, 3257, -4, 3259, -4, 3261, -4, 3263, -4, 3265, -4 , // NOLINT
1156 3267, -4, 3269, -4, 3271, -4, 3273, -4, 3275, -4, 3277, -4, 3279, -4, 3281, -4 , // NOLINT 1157 3267, -4, 3269, -4, 3271, -4, 3273, -4, 3275, -4, 3277, -4, 3279, -4, 3281, -4 , // NOLINT
1157 3283, -4, 3285, -4, 3287, -4, 3289, -4, 3291, -4, 3293, -4, 3295, -4, 3297, -4 , // NOLINT 1158 3283, -4, 3285, -4, 3287, -4, 3289, -4, 3291, -4, 3293, -4, 3295, -4, 3297, -4 , // NOLINT
1158 3299, -4, 1073745152, -29056, 3365, -29056 }; // NOLINT 1159 3299, -4, 1073745152, -29056, 3365, -29056 }; // NOLINT
1159 static const uint16_t kEcma262CanonicalizeMultiStrings1Size = 1; // NOLINT 1160 static const uint16_t kEcma262CanonicalizeMultiStrings1Size = 1; // NOLINT
1160 static const MultiCharacterSpecialCase<1> kEcma262CanonicalizeMultiStrings7[1] = { // NOLINT 1161 static const MultiCharacterSpecialCase<1> kEcma262CanonicalizeMultiStrings7[1] = { // NOLINT
1161 {{-1}} }; // NOLINT 1162 {{kSentinel}} }; // NOLINT
1162 static const uint16_t kEcma262CanonicalizeTable7Size = 2; // NOLINT 1163 static const uint16_t kEcma262CanonicalizeTable7Size = 2; // NOLINT
1163 static const int32_t kEcma262CanonicalizeTable7[4] = { 1164 static const int32_t kEcma262CanonicalizeTable7[4] = {
1164 1073749825, -128, 8026, -128 }; // NOLINT 1165 1073749825, -128, 8026, -128 }; // NOLINT
1165 static const uint16_t kEcma262CanonicalizeMultiStrings7Size = 1; // NOLINT 1166 static const uint16_t kEcma262CanonicalizeMultiStrings7Size = 1; // NOLINT
1166 int Ecma262Canonicalize::Convert(uchar c, 1167 int Ecma262Canonicalize::Convert(uchar c,
1167 uchar n, 1168 uchar n,
1168 uchar* result, 1169 uchar* result,
1169 bool* allow_caching_ptr) { 1170 bool* allow_caching_ptr) {
1170 int chunk_index = c >> 13; 1171 int chunk_index = c >> 13;
1171 switch (chunk_index) { 1172 switch (chunk_index) {
(...skipping 16 matching lines...) Expand all
1188 kEcma262CanonicalizeMultiStrings7, 1189 kEcma262CanonicalizeMultiStrings7,
1189 c, 1190 c,
1190 n, 1191 n,
1191 result, 1192 result,
1192 allow_caching_ptr); 1193 allow_caching_ptr);
1193 default: return 0; 1194 default: return 0;
1194 } 1195 }
1195 } 1196 }
1196 1197
1197 static const MultiCharacterSpecialCase<4> kEcma262UnCanonicalizeMultiStrings0[46 9] = { // NOLINT 1198 static const MultiCharacterSpecialCase<4> kEcma262UnCanonicalizeMultiStrings0[46 9] = { // NOLINT
1198 {{65, 97, -1}}, {{90, 122, -1}}, {{181, 924, 956, -1}}, {{192, 224, -1}}, // NOLINT 1199 {{65, 97, kSentinel}}, {{90, 122, kSentinel}}, {{181, 924, 956, kSentinel}}, { {192, 224, kSentinel}}, // NOLINT
1199 {{214, 246, -1}}, {{216, 248, -1}}, {{222, 254, -1}}, {{255, 376, -1}}, // NO LINT 1200 {{214, 246, kSentinel}}, {{216, 248, kSentinel}}, {{222, 254, kSentinel}}, {{2 55, 376, kSentinel}}, // NOLINT
1200 {{256, 257, -1}}, {{258, 259, -1}}, {{260, 261, -1}}, {{262, 263, -1}}, // NO LINT 1201 {{256, 257, kSentinel}}, {{258, 259, kSentinel}}, {{260, 261, kSentinel}}, {{2 62, 263, kSentinel}}, // NOLINT
1201 {{264, 265, -1}}, {{266, 267, -1}}, {{268, 269, -1}}, {{270, 271, -1}}, // NO LINT 1202 {{264, 265, kSentinel}}, {{266, 267, kSentinel}}, {{268, 269, kSentinel}}, {{2 70, 271, kSentinel}}, // NOLINT
1202 {{272, 273, -1}}, {{274, 275, -1}}, {{276, 277, -1}}, {{278, 279, -1}}, // NO LINT 1203 {{272, 273, kSentinel}}, {{274, 275, kSentinel}}, {{276, 277, kSentinel}}, {{2 78, 279, kSentinel}}, // NOLINT
1203 {{280, 281, -1}}, {{282, 283, -1}}, {{284, 285, -1}}, {{286, 287, -1}}, // NO LINT 1204 {{280, 281, kSentinel}}, {{282, 283, kSentinel}}, {{284, 285, kSentinel}}, {{2 86, 287, kSentinel}}, // NOLINT
1204 {{288, 289, -1}}, {{290, 291, -1}}, {{292, 293, -1}}, {{294, 295, -1}}, // NO LINT 1205 {{288, 289, kSentinel}}, {{290, 291, kSentinel}}, {{292, 293, kSentinel}}, {{2 94, 295, kSentinel}}, // NOLINT
1205 {{296, 297, -1}}, {{298, 299, -1}}, {{300, 301, -1}}, {{302, 303, -1}}, // NO LINT 1206 {{296, 297, kSentinel}}, {{298, 299, kSentinel}}, {{300, 301, kSentinel}}, {{3 02, 303, kSentinel}}, // NOLINT
1206 {{306, 307, -1}}, {{308, 309, -1}}, {{310, 311, -1}}, {{313, 314, -1}}, // NO LINT 1207 {{306, 307, kSentinel}}, {{308, 309, kSentinel}}, {{310, 311, kSentinel}}, {{3 13, 314, kSentinel}}, // NOLINT
1207 {{315, 316, -1}}, {{317, 318, -1}}, {{319, 320, -1}}, {{321, 322, -1}}, // NO LINT 1208 {{315, 316, kSentinel}}, {{317, 318, kSentinel}}, {{319, 320, kSentinel}}, {{3 21, 322, kSentinel}}, // NOLINT
1208 {{323, 324, -1}}, {{325, 326, -1}}, {{327, 328, -1}}, {{330, 331, -1}}, // NO LINT 1209 {{323, 324, kSentinel}}, {{325, 326, kSentinel}}, {{327, 328, kSentinel}}, {{3 30, 331, kSentinel}}, // NOLINT
1209 {{332, 333, -1}}, {{334, 335, -1}}, {{336, 337, -1}}, {{338, 339, -1}}, // NO LINT 1210 {{332, 333, kSentinel}}, {{334, 335, kSentinel}}, {{336, 337, kSentinel}}, {{3 38, 339, kSentinel}}, // NOLINT
1210 {{340, 341, -1}}, {{342, 343, -1}}, {{344, 345, -1}}, {{346, 347, -1}}, // NO LINT 1211 {{340, 341, kSentinel}}, {{342, 343, kSentinel}}, {{344, 345, kSentinel}}, {{3 46, 347, kSentinel}}, // NOLINT
1211 {{348, 349, -1}}, {{350, 351, -1}}, {{352, 353, -1}}, {{354, 355, -1}}, // NO LINT 1212 {{348, 349, kSentinel}}, {{350, 351, kSentinel}}, {{352, 353, kSentinel}}, {{3 54, 355, kSentinel}}, // NOLINT
1212 {{356, 357, -1}}, {{358, 359, -1}}, {{360, 361, -1}}, {{362, 363, -1}}, // NO LINT 1213 {{356, 357, kSentinel}}, {{358, 359, kSentinel}}, {{360, 361, kSentinel}}, {{3 62, 363, kSentinel}}, // NOLINT
1213 {{364, 365, -1}}, {{366, 367, -1}}, {{368, 369, -1}}, {{370, 371, -1}}, // NO LINT 1214 {{364, 365, kSentinel}}, {{366, 367, kSentinel}}, {{368, 369, kSentinel}}, {{3 70, 371, kSentinel}}, // NOLINT
1214 {{372, 373, -1}}, {{374, 375, -1}}, {{377, 378, -1}}, {{379, 380, -1}}, // NO LINT 1215 {{372, 373, kSentinel}}, {{374, 375, kSentinel}}, {{377, 378, kSentinel}}, {{3 79, 380, kSentinel}}, // NOLINT
1215 {{381, 382, -1}}, {{384, 579, -1}}, {{385, 595, -1}}, {{386, 387, -1}}, // NO LINT 1216 {{381, 382, kSentinel}}, {{384, 579, kSentinel}}, {{385, 595, kSentinel}}, {{3 86, 387, kSentinel}}, // NOLINT
1216 {{388, 389, -1}}, {{390, 596, -1}}, {{391, 392, -1}}, {{393, 598, -1}}, // NO LINT 1217 {{388, 389, kSentinel}}, {{390, 596, kSentinel}}, {{391, 392, kSentinel}}, {{3 93, 598, kSentinel}}, // NOLINT
1217 {{394, 599, -1}}, {{395, 396, -1}}, {{398, 477, -1}}, {{399, 601, -1}}, // NO LINT 1218 {{394, 599, kSentinel}}, {{395, 396, kSentinel}}, {{398, 477, kSentinel}}, {{3 99, 601, kSentinel}}, // NOLINT
1218 {{400, 603, -1}}, {{401, 402, -1}}, {{403, 608, -1}}, {{404, 611, -1}}, // NO LINT 1219 {{400, 603, kSentinel}}, {{401, 402, kSentinel}}, {{403, 608, kSentinel}}, {{4 04, 611, kSentinel}}, // NOLINT
1219 {{405, 502, -1}}, {{406, 617, -1}}, {{407, 616, -1}}, {{408, 409, -1}}, // NO LINT 1220 {{405, 502, kSentinel}}, {{406, 617, kSentinel}}, {{407, 616, kSentinel}}, {{4 08, 409, kSentinel}}, // NOLINT
1220 {{410, 573, -1}}, {{412, 623, -1}}, {{413, 626, -1}}, {{414, 544, -1}}, // NO LINT 1221 {{410, 573, kSentinel}}, {{412, 623, kSentinel}}, {{413, 626, kSentinel}}, {{4 14, 544, kSentinel}}, // NOLINT
1221 {{415, 629, -1}}, {{416, 417, -1}}, {{418, 419, -1}}, {{420, 421, -1}}, // NO LINT 1222 {{415, 629, kSentinel}}, {{416, 417, kSentinel}}, {{418, 419, kSentinel}}, {{4 20, 421, kSentinel}}, // NOLINT
1222 {{422, 640, -1}}, {{423, 424, -1}}, {{425, 643, -1}}, {{428, 429, -1}}, // NO LINT 1223 {{422, 640, kSentinel}}, {{423, 424, kSentinel}}, {{425, 643, kSentinel}}, {{4 28, 429, kSentinel}}, // NOLINT
1223 {{430, 648, -1}}, {{431, 432, -1}}, {{433, 650, -1}}, {{434, 651, -1}}, // NO LINT 1224 {{430, 648, kSentinel}}, {{431, 432, kSentinel}}, {{433, 650, kSentinel}}, {{4 34, 651, kSentinel}}, // NOLINT
1224 {{435, 436, -1}}, {{437, 438, -1}}, {{439, 658, -1}}, {{440, 441, -1}}, // NO LINT 1225 {{435, 436, kSentinel}}, {{437, 438, kSentinel}}, {{439, 658, kSentinel}}, {{4 40, 441, kSentinel}}, // NOLINT
1225 {{444, 445, -1}}, {{447, 503, -1}}, {{452, 453, 454, -1}}, {{455, 456, 457, -1 }}, // NOLINT 1226 {{444, 445, kSentinel}}, {{447, 503, kSentinel}}, {{452, 453, 454, kSentinel}} , {{455, 456, 457, kSentinel}}, // NOLINT
1226 {{458, 459, 460, -1}}, {{461, 462, -1}}, {{463, 464, -1}}, {{465, 466, -1}}, // NOLINT 1227 {{458, 459, 460, kSentinel}}, {{461, 462, kSentinel}}, {{463, 464, kSentinel}} , {{465, 466, kSentinel}}, // NOLINT
1227 {{467, 468, -1}}, {{469, 470, -1}}, {{471, 472, -1}}, {{473, 474, -1}}, // NO LINT 1228 {{467, 468, kSentinel}}, {{469, 470, kSentinel}}, {{471, 472, kSentinel}}, {{4 73, 474, kSentinel}}, // NOLINT
1228 {{475, 476, -1}}, {{478, 479, -1}}, {{480, 481, -1}}, {{482, 483, -1}}, // NO LINT 1229 {{475, 476, kSentinel}}, {{478, 479, kSentinel}}, {{480, 481, kSentinel}}, {{4 82, 483, kSentinel}}, // NOLINT
1229 {{484, 485, -1}}, {{486, 487, -1}}, {{488, 489, -1}}, {{490, 491, -1}}, // NO LINT 1230 {{484, 485, kSentinel}}, {{486, 487, kSentinel}}, {{488, 489, kSentinel}}, {{4 90, 491, kSentinel}}, // NOLINT
1230 {{492, 493, -1}}, {{494, 495, -1}}, {{497, 498, 499, -1}}, {{500, 501, -1}}, // NOLINT 1231 {{492, 493, kSentinel}}, {{494, 495, kSentinel}}, {{497, 498, 499, kSentinel}} , {{500, 501, kSentinel}}, // NOLINT
1231 {{504, 505, -1}}, {{506, 507, -1}}, {{508, 509, -1}}, {{510, 511, -1}}, // NO LINT 1232 {{504, 505, kSentinel}}, {{506, 507, kSentinel}}, {{508, 509, kSentinel}}, {{5 10, 511, kSentinel}}, // NOLINT
1232 {{512, 513, -1}}, {{514, 515, -1}}, {{516, 517, -1}}, {{518, 519, -1}}, // NO LINT 1233 {{512, 513, kSentinel}}, {{514, 515, kSentinel}}, {{516, 517, kSentinel}}, {{5 18, 519, kSentinel}}, // NOLINT
1233 {{520, 521, -1}}, {{522, 523, -1}}, {{524, 525, -1}}, {{526, 527, -1}}, // NO LINT 1234 {{520, 521, kSentinel}}, {{522, 523, kSentinel}}, {{524, 525, kSentinel}}, {{5 26, 527, kSentinel}}, // NOLINT
1234 {{528, 529, -1}}, {{530, 531, -1}}, {{532, 533, -1}}, {{534, 535, -1}}, // NO LINT 1235 {{528, 529, kSentinel}}, {{530, 531, kSentinel}}, {{532, 533, kSentinel}}, {{5 34, 535, kSentinel}}, // NOLINT
1235 {{536, 537, -1}}, {{538, 539, -1}}, {{540, 541, -1}}, {{542, 543, -1}}, // NO LINT 1236 {{536, 537, kSentinel}}, {{538, 539, kSentinel}}, {{540, 541, kSentinel}}, {{5 42, 543, kSentinel}}, // NOLINT
1236 {{546, 547, -1}}, {{548, 549, -1}}, {{550, 551, -1}}, {{552, 553, -1}}, // NO LINT 1237 {{546, 547, kSentinel}}, {{548, 549, kSentinel}}, {{550, 551, kSentinel}}, {{5 52, 553, kSentinel}}, // NOLINT
1237 {{554, 555, -1}}, {{556, 557, -1}}, {{558, 559, -1}}, {{560, 561, -1}}, // NO LINT 1238 {{554, 555, kSentinel}}, {{556, 557, kSentinel}}, {{558, 559, kSentinel}}, {{5 60, 561, kSentinel}}, // NOLINT
1238 {{562, 563, -1}}, {{570, 11365, -1}}, {{571, 572, -1}}, {{574, 11366, -1}}, / / NOLINT 1239 {{562, 563, kSentinel}}, {{570, 11365, kSentinel}}, {{571, 572, kSentinel}}, { {574, 11366, kSentinel}}, // NOLINT
1239 {{577, 578, -1}}, {{580, 649, -1}}, {{581, 652, -1}}, {{582, 583, -1}}, // NO LINT 1240 {{577, 578, kSentinel}}, {{580, 649, kSentinel}}, {{581, 652, kSentinel}}, {{5 82, 583, kSentinel}}, // NOLINT
1240 {{584, 585, -1}}, {{586, 587, -1}}, {{588, 589, -1}}, {{590, 591, -1}}, // NO LINT 1241 {{584, 585, kSentinel}}, {{586, 587, kSentinel}}, {{588, 589, kSentinel}}, {{5 90, 591, kSentinel}}, // NOLINT
1241 {{619, 11362, -1}}, {{637, 11364, -1}}, {{837, 921, 953, 8126}}, {{891, 1021, -1}}, // NOLINT 1242 {{619, 11362, kSentinel}}, {{637, 11364, kSentinel}}, {{837, 921, 953, 8126}}, {{891, 1021, kSentinel}}, // NOLINT
1242 {{893, 1023, -1}}, {{902, 940, -1}}, {{904, 941, -1}}, {{906, 943, -1}}, // N OLINT 1243 {{893, 1023, kSentinel}}, {{902, 940, kSentinel}}, {{904, 941, kSentinel}}, {{ 906, 943, kSentinel}}, // NOLINT
1243 {{908, 972, -1}}, {{910, 973, -1}}, {{911, 974, -1}}, {{913, 945, -1}}, // NO LINT 1244 {{908, 972, kSentinel}}, {{910, 973, kSentinel}}, {{911, 974, kSentinel}}, {{9 13, 945, kSentinel}}, // NOLINT
1244 {{914, 946, 976, -1}}, {{915, 947, -1}}, {{916, 948, -1}}, {{917, 949, 1013, - 1}}, // NOLINT 1245 {{914, 946, 976, kSentinel}}, {{915, 947, kSentinel}}, {{916, 948, kSentinel}} , {{917, 949, 1013, kSentinel}}, // NOLINT
1245 {{918, 950, -1}}, {{919, 951, -1}}, {{920, 952, 977, -1}}, {{922, 954, 1008, - 1}}, // NOLINT 1246 {{918, 950, kSentinel}}, {{919, 951, kSentinel}}, {{920, 952, 977, kSentinel}} , {{922, 954, 1008, kSentinel}}, // NOLINT
1246 {{923, 955, -1}}, {{925, 957, -1}}, {{927, 959, -1}}, {{928, 960, 982, -1}}, // NOLINT 1247 {{923, 955, kSentinel}}, {{925, 957, kSentinel}}, {{927, 959, kSentinel}}, {{9 28, 960, 982, kSentinel}}, // NOLINT
1247 {{929, 961, 1009, -1}}, {{931, 962, 963, -1}}, {{932, 964, -1}}, {{933, 965, - 1}}, // NOLINT 1248 {{929, 961, 1009, kSentinel}}, {{931, 962, 963, kSentinel}}, {{932, 964, kSent inel}}, {{933, 965, kSentinel}}, // NOLINT
1248 {{934, 966, 981, -1}}, {{935, 967, -1}}, {{939, 971, -1}}, {{984, 985, -1}}, // NOLINT 1249 {{934, 966, 981, kSentinel}}, {{935, 967, kSentinel}}, {{939, 971, kSentinel}} , {{984, 985, kSentinel}}, // NOLINT
1249 {{986, 987, -1}}, {{988, 989, -1}}, {{990, 991, -1}}, {{992, 993, -1}}, // NO LINT 1250 {{986, 987, kSentinel}}, {{988, 989, kSentinel}}, {{990, 991, kSentinel}}, {{9 92, 993, kSentinel}}, // NOLINT
1250 {{994, 995, -1}}, {{996, 997, -1}}, {{998, 999, -1}}, {{1000, 1001, -1}}, // NOLINT 1251 {{994, 995, kSentinel}}, {{996, 997, kSentinel}}, {{998, 999, kSentinel}}, {{1 000, 1001, kSentinel}}, // NOLINT
1251 {{1002, 1003, -1}}, {{1004, 1005, -1}}, {{1006, 1007, -1}}, {{1010, 1017, -1}} , // NOLINT 1252 {{1002, 1003, kSentinel}}, {{1004, 1005, kSentinel}}, {{1006, 1007, kSentinel} }, {{1010, 1017, kSentinel}}, // NOLINT
1252 {{1015, 1016, -1}}, {{1018, 1019, -1}}, {{1024, 1104, -1}}, {{1039, 1119, -1}} , // NOLINT 1253 {{1015, 1016, kSentinel}}, {{1018, 1019, kSentinel}}, {{1024, 1104, kSentinel} }, {{1039, 1119, kSentinel}}, // NOLINT
1253 {{1040, 1072, -1}}, {{1071, 1103, -1}}, {{1120, 1121, -1}}, {{1122, 1123, -1}} , // NOLINT 1254 {{1040, 1072, kSentinel}}, {{1071, 1103, kSentinel}}, {{1120, 1121, kSentinel} }, {{1122, 1123, kSentinel}}, // NOLINT
1254 {{1124, 1125, -1}}, {{1126, 1127, -1}}, {{1128, 1129, -1}}, {{1130, 1131, -1}} , // NOLINT 1255 {{1124, 1125, kSentinel}}, {{1126, 1127, kSentinel}}, {{1128, 1129, kSentinel} }, {{1130, 1131, kSentinel}}, // NOLINT
1255 {{1132, 1133, -1}}, {{1134, 1135, -1}}, {{1136, 1137, -1}}, {{1138, 1139, -1}} , // NOLINT 1256 {{1132, 1133, kSentinel}}, {{1134, 1135, kSentinel}}, {{1136, 1137, kSentinel} }, {{1138, 1139, kSentinel}}, // NOLINT
1256 {{1140, 1141, -1}}, {{1142, 1143, -1}}, {{1144, 1145, -1}}, {{1146, 1147, -1}} , // NOLINT 1257 {{1140, 1141, kSentinel}}, {{1142, 1143, kSentinel}}, {{1144, 1145, kSentinel} }, {{1146, 1147, kSentinel}}, // NOLINT
1257 {{1148, 1149, -1}}, {{1150, 1151, -1}}, {{1152, 1153, -1}}, {{1162, 1163, -1}} , // NOLINT 1258 {{1148, 1149, kSentinel}}, {{1150, 1151, kSentinel}}, {{1152, 1153, kSentinel} }, {{1162, 1163, kSentinel}}, // NOLINT
1258 {{1164, 1165, -1}}, {{1166, 1167, -1}}, {{1168, 1169, -1}}, {{1170, 1171, -1}} , // NOLINT 1259 {{1164, 1165, kSentinel}}, {{1166, 1167, kSentinel}}, {{1168, 1169, kSentinel} }, {{1170, 1171, kSentinel}}, // NOLINT
1259 {{1172, 1173, -1}}, {{1174, 1175, -1}}, {{1176, 1177, -1}}, {{1178, 1179, -1}} , // NOLINT 1260 {{1172, 1173, kSentinel}}, {{1174, 1175, kSentinel}}, {{1176, 1177, kSentinel} }, {{1178, 1179, kSentinel}}, // NOLINT
1260 {{1180, 1181, -1}}, {{1182, 1183, -1}}, {{1184, 1185, -1}}, {{1186, 1187, -1}} , // NOLINT 1261 {{1180, 1181, kSentinel}}, {{1182, 1183, kSentinel}}, {{1184, 1185, kSentinel} }, {{1186, 1187, kSentinel}}, // NOLINT
1261 {{1188, 1189, -1}}, {{1190, 1191, -1}}, {{1192, 1193, -1}}, {{1194, 1195, -1}} , // NOLINT 1262 {{1188, 1189, kSentinel}}, {{1190, 1191, kSentinel}}, {{1192, 1193, kSentinel} }, {{1194, 1195, kSentinel}}, // NOLINT
1262 {{1196, 1197, -1}}, {{1198, 1199, -1}}, {{1200, 1201, -1}}, {{1202, 1203, -1}} , // NOLINT 1263 {{1196, 1197, kSentinel}}, {{1198, 1199, kSentinel}}, {{1200, 1201, kSentinel} }, {{1202, 1203, kSentinel}}, // NOLINT
1263 {{1204, 1205, -1}}, {{1206, 1207, -1}}, {{1208, 1209, -1}}, {{1210, 1211, -1}} , // NOLINT 1264 {{1204, 1205, kSentinel}}, {{1206, 1207, kSentinel}}, {{1208, 1209, kSentinel} }, {{1210, 1211, kSentinel}}, // NOLINT
1264 {{1212, 1213, -1}}, {{1214, 1215, -1}}, {{1216, 1231, -1}}, {{1217, 1218, -1}} , // NOLINT 1265 {{1212, 1213, kSentinel}}, {{1214, 1215, kSentinel}}, {{1216, 1231, kSentinel} }, {{1217, 1218, kSentinel}}, // NOLINT
1265 {{1219, 1220, -1}}, {{1221, 1222, -1}}, {{1223, 1224, -1}}, {{1225, 1226, -1}} , // NOLINT 1266 {{1219, 1220, kSentinel}}, {{1221, 1222, kSentinel}}, {{1223, 1224, kSentinel} }, {{1225, 1226, kSentinel}}, // NOLINT
1266 {{1227, 1228, -1}}, {{1229, 1230, -1}}, {{1232, 1233, -1}}, {{1234, 1235, -1}} , // NOLINT 1267 {{1227, 1228, kSentinel}}, {{1229, 1230, kSentinel}}, {{1232, 1233, kSentinel} }, {{1234, 1235, kSentinel}}, // NOLINT
1267 {{1236, 1237, -1}}, {{1238, 1239, -1}}, {{1240, 1241, -1}}, {{1242, 1243, -1}} , // NOLINT 1268 {{1236, 1237, kSentinel}}, {{1238, 1239, kSentinel}}, {{1240, 1241, kSentinel} }, {{1242, 1243, kSentinel}}, // NOLINT
1268 {{1244, 1245, -1}}, {{1246, 1247, -1}}, {{1248, 1249, -1}}, {{1250, 1251, -1}} , // NOLINT 1269 {{1244, 1245, kSentinel}}, {{1246, 1247, kSentinel}}, {{1248, 1249, kSentinel} }, {{1250, 1251, kSentinel}}, // NOLINT
1269 {{1252, 1253, -1}}, {{1254, 1255, -1}}, {{1256, 1257, -1}}, {{1258, 1259, -1}} , // NOLINT 1270 {{1252, 1253, kSentinel}}, {{1254, 1255, kSentinel}}, {{1256, 1257, kSentinel} }, {{1258, 1259, kSentinel}}, // NOLINT
1270 {{1260, 1261, -1}}, {{1262, 1263, -1}}, {{1264, 1265, -1}}, {{1266, 1267, -1}} , // NOLINT 1271 {{1260, 1261, kSentinel}}, {{1262, 1263, kSentinel}}, {{1264, 1265, kSentinel} }, {{1266, 1267, kSentinel}}, // NOLINT
1271 {{1268, 1269, -1}}, {{1270, 1271, -1}}, {{1272, 1273, -1}}, {{1274, 1275, -1}} , // NOLINT 1272 {{1268, 1269, kSentinel}}, {{1270, 1271, kSentinel}}, {{1272, 1273, kSentinel} }, {{1274, 1275, kSentinel}}, // NOLINT
1272 {{1276, 1277, -1}}, {{1278, 1279, -1}}, {{1280, 1281, -1}}, {{1282, 1283, -1}} , // NOLINT 1273 {{1276, 1277, kSentinel}}, {{1278, 1279, kSentinel}}, {{1280, 1281, kSentinel} }, {{1282, 1283, kSentinel}}, // NOLINT
1273 {{1284, 1285, -1}}, {{1286, 1287, -1}}, {{1288, 1289, -1}}, {{1290, 1291, -1}} , // NOLINT 1274 {{1284, 1285, kSentinel}}, {{1286, 1287, kSentinel}}, {{1288, 1289, kSentinel} }, {{1290, 1291, kSentinel}}, // NOLINT
1274 {{1292, 1293, -1}}, {{1294, 1295, -1}}, {{1296, 1297, -1}}, {{1298, 1299, -1}} , // NOLINT 1275 {{1292, 1293, kSentinel}}, {{1294, 1295, kSentinel}}, {{1296, 1297, kSentinel} }, {{1298, 1299, kSentinel}}, // NOLINT
1275 {{1329, 1377, -1}}, {{1366, 1414, -1}}, {{4256, 11520, -1}}, {{4293, 11557, -1 }}, // NOLINT 1276 {{1329, 1377, kSentinel}}, {{1366, 1414, kSentinel}}, {{4256, 11520, kSentinel }}, {{4293, 11557, kSentinel}}, // NOLINT
1276 {{7549, 11363, -1}}, {{7680, 7681, -1}}, {{7682, 7683, -1}}, {{7684, 7685, -1} }, // NOLINT 1277 {{7549, 11363, kSentinel}}, {{7680, 7681, kSentinel}}, {{7682, 7683, kSentinel }}, {{7684, 7685, kSentinel}}, // NOLINT
1277 {{7686, 7687, -1}}, {{7688, 7689, -1}}, {{7690, 7691, -1}}, {{7692, 7693, -1}} , // NOLINT 1278 {{7686, 7687, kSentinel}}, {{7688, 7689, kSentinel}}, {{7690, 7691, kSentinel} }, {{7692, 7693, kSentinel}}, // NOLINT
1278 {{7694, 7695, -1}}, {{7696, 7697, -1}}, {{7698, 7699, -1}}, {{7700, 7701, -1}} , // NOLINT 1279 {{7694, 7695, kSentinel}}, {{7696, 7697, kSentinel}}, {{7698, 7699, kSentinel} }, {{7700, 7701, kSentinel}}, // NOLINT
1279 {{7702, 7703, -1}}, {{7704, 7705, -1}}, {{7706, 7707, -1}}, {{7708, 7709, -1}} , // NOLINT 1280 {{7702, 7703, kSentinel}}, {{7704, 7705, kSentinel}}, {{7706, 7707, kSentinel} }, {{7708, 7709, kSentinel}}, // NOLINT
1280 {{7710, 7711, -1}}, {{7712, 7713, -1}}, {{7714, 7715, -1}}, {{7716, 7717, -1}} , // NOLINT 1281 {{7710, 7711, kSentinel}}, {{7712, 7713, kSentinel}}, {{7714, 7715, kSentinel} }, {{7716, 7717, kSentinel}}, // NOLINT
1281 {{7718, 7719, -1}}, {{7720, 7721, -1}}, {{7722, 7723, -1}}, {{7724, 7725, -1}} , // NOLINT 1282 {{7718, 7719, kSentinel}}, {{7720, 7721, kSentinel}}, {{7722, 7723, kSentinel} }, {{7724, 7725, kSentinel}}, // NOLINT
1282 {{7726, 7727, -1}}, {{7728, 7729, -1}}, {{7730, 7731, -1}}, {{7732, 7733, -1}} , // NOLINT 1283 {{7726, 7727, kSentinel}}, {{7728, 7729, kSentinel}}, {{7730, 7731, kSentinel} }, {{7732, 7733, kSentinel}}, // NOLINT
1283 {{7734, 7735, -1}}, {{7736, 7737, -1}}, {{7738, 7739, -1}}, {{7740, 7741, -1}} , // NOLINT 1284 {{7734, 7735, kSentinel}}, {{7736, 7737, kSentinel}}, {{7738, 7739, kSentinel} }, {{7740, 7741, kSentinel}}, // NOLINT
1284 {{7742, 7743, -1}}, {{7744, 7745, -1}}, {{7746, 7747, -1}}, {{7748, 7749, -1}} , // NOLINT 1285 {{7742, 7743, kSentinel}}, {{7744, 7745, kSentinel}}, {{7746, 7747, kSentinel} }, {{7748, 7749, kSentinel}}, // NOLINT
1285 {{7750, 7751, -1}}, {{7752, 7753, -1}}, {{7754, 7755, -1}}, {{7756, 7757, -1}} , // NOLINT 1286 {{7750, 7751, kSentinel}}, {{7752, 7753, kSentinel}}, {{7754, 7755, kSentinel} }, {{7756, 7757, kSentinel}}, // NOLINT
1286 {{7758, 7759, -1}}, {{7760, 7761, -1}}, {{7762, 7763, -1}}, {{7764, 7765, -1}} , // NOLINT 1287 {{7758, 7759, kSentinel}}, {{7760, 7761, kSentinel}}, {{7762, 7763, kSentinel} }, {{7764, 7765, kSentinel}}, // NOLINT
1287 {{7766, 7767, -1}}, {{7768, 7769, -1}}, {{7770, 7771, -1}}, {{7772, 7773, -1}} , // NOLINT 1288 {{7766, 7767, kSentinel}}, {{7768, 7769, kSentinel}}, {{7770, 7771, kSentinel} }, {{7772, 7773, kSentinel}}, // NOLINT
1288 {{7774, 7775, -1}}, {{7776, 7777, 7835, -1}}, {{7778, 7779, -1}}, {{7780, 7781 , -1}}, // NOLINT 1289 {{7774, 7775, kSentinel}}, {{7776, 7777, 7835, kSentinel}}, {{7778, 7779, kSen tinel}}, {{7780, 7781, kSentinel}}, // NOLINT
1289 {{7782, 7783, -1}}, {{7784, 7785, -1}}, {{7786, 7787, -1}}, {{7788, 7789, -1}} , // NOLINT 1290 {{7782, 7783, kSentinel}}, {{7784, 7785, kSentinel}}, {{7786, 7787, kSentinel} }, {{7788, 7789, kSentinel}}, // NOLINT
1290 {{7790, 7791, -1}}, {{7792, 7793, -1}}, {{7794, 7795, -1}}, {{7796, 7797, -1}} , // NOLINT 1291 {{7790, 7791, kSentinel}}, {{7792, 7793, kSentinel}}, {{7794, 7795, kSentinel} }, {{7796, 7797, kSentinel}}, // NOLINT
1291 {{7798, 7799, -1}}, {{7800, 7801, -1}}, {{7802, 7803, -1}}, {{7804, 7805, -1}} , // NOLINT 1292 {{7798, 7799, kSentinel}}, {{7800, 7801, kSentinel}}, {{7802, 7803, kSentinel} }, {{7804, 7805, kSentinel}}, // NOLINT
1292 {{7806, 7807, -1}}, {{7808, 7809, -1}}, {{7810, 7811, -1}}, {{7812, 7813, -1}} , // NOLINT 1293 {{7806, 7807, kSentinel}}, {{7808, 7809, kSentinel}}, {{7810, 7811, kSentinel} }, {{7812, 7813, kSentinel}}, // NOLINT
1293 {{7814, 7815, -1}}, {{7816, 7817, -1}}, {{7818, 7819, -1}}, {{7820, 7821, -1}} , // NOLINT 1294 {{7814, 7815, kSentinel}}, {{7816, 7817, kSentinel}}, {{7818, 7819, kSentinel} }, {{7820, 7821, kSentinel}}, // NOLINT
1294 {{7822, 7823, -1}}, {{7824, 7825, -1}}, {{7826, 7827, -1}}, {{7828, 7829, -1}} , // NOLINT 1295 {{7822, 7823, kSentinel}}, {{7824, 7825, kSentinel}}, {{7826, 7827, kSentinel} }, {{7828, 7829, kSentinel}}, // NOLINT
1295 {{7840, 7841, -1}}, {{7842, 7843, -1}}, {{7844, 7845, -1}}, {{7846, 7847, -1}} , // NOLINT 1296 {{7840, 7841, kSentinel}}, {{7842, 7843, kSentinel}}, {{7844, 7845, kSentinel} }, {{7846, 7847, kSentinel}}, // NOLINT
1296 {{7848, 7849, -1}}, {{7850, 7851, -1}}, {{7852, 7853, -1}}, {{7854, 7855, -1}} , // NOLINT 1297 {{7848, 7849, kSentinel}}, {{7850, 7851, kSentinel}}, {{7852, 7853, kSentinel} }, {{7854, 7855, kSentinel}}, // NOLINT
1297 {{7856, 7857, -1}}, {{7858, 7859, -1}}, {{7860, 7861, -1}}, {{7862, 7863, -1}} , // NOLINT 1298 {{7856, 7857, kSentinel}}, {{7858, 7859, kSentinel}}, {{7860, 7861, kSentinel} }, {{7862, 7863, kSentinel}}, // NOLINT
1298 {{7864, 7865, -1}}, {{7866, 7867, -1}}, {{7868, 7869, -1}}, {{7870, 7871, -1}} , // NOLINT 1299 {{7864, 7865, kSentinel}}, {{7866, 7867, kSentinel}}, {{7868, 7869, kSentinel} }, {{7870, 7871, kSentinel}}, // NOLINT
1299 {{7872, 7873, -1}}, {{7874, 7875, -1}}, {{7876, 7877, -1}}, {{7878, 7879, -1}} , // NOLINT 1300 {{7872, 7873, kSentinel}}, {{7874, 7875, kSentinel}}, {{7876, 7877, kSentinel} }, {{7878, 7879, kSentinel}}, // NOLINT
1300 {{7880, 7881, -1}}, {{7882, 7883, -1}}, {{7884, 7885, -1}}, {{7886, 7887, -1}} , // NOLINT 1301 {{7880, 7881, kSentinel}}, {{7882, 7883, kSentinel}}, {{7884, 7885, kSentinel} }, {{7886, 7887, kSentinel}}, // NOLINT
1301 {{7888, 7889, -1}}, {{7890, 7891, -1}}, {{7892, 7893, -1}}, {{7894, 7895, -1}} , // NOLINT 1302 {{7888, 7889, kSentinel}}, {{7890, 7891, kSentinel}}, {{7892, 7893, kSentinel} }, {{7894, 7895, kSentinel}}, // NOLINT
1302 {{7896, 7897, -1}}, {{7898, 7899, -1}}, {{7900, 7901, -1}}, {{7902, 7903, -1}} , // NOLINT 1303 {{7896, 7897, kSentinel}}, {{7898, 7899, kSentinel}}, {{7900, 7901, kSentinel} }, {{7902, 7903, kSentinel}}, // NOLINT
1303 {{7904, 7905, -1}}, {{7906, 7907, -1}}, {{7908, 7909, -1}}, {{7910, 7911, -1}} , // NOLINT 1304 {{7904, 7905, kSentinel}}, {{7906, 7907, kSentinel}}, {{7908, 7909, kSentinel} }, {{7910, 7911, kSentinel}}, // NOLINT
1304 {{7912, 7913, -1}}, {{7914, 7915, -1}}, {{7916, 7917, -1}}, {{7918, 7919, -1}} , // NOLINT 1305 {{7912, 7913, kSentinel}}, {{7914, 7915, kSentinel}}, {{7916, 7917, kSentinel} }, {{7918, 7919, kSentinel}}, // NOLINT
1305 {{7920, 7921, -1}}, {{7922, 7923, -1}}, {{7924, 7925, -1}}, {{7926, 7927, -1}} , // NOLINT 1306 {{7920, 7921, kSentinel}}, {{7922, 7923, kSentinel}}, {{7924, 7925, kSentinel} }, {{7926, 7927, kSentinel}}, // NOLINT
1306 {{7928, 7929, -1}}, {{7936, 7944, -1}}, {{7943, 7951, -1}}, {{7952, 7960, -1}} , // NOLINT 1307 {{7928, 7929, kSentinel}}, {{7936, 7944, kSentinel}}, {{7943, 7951, kSentinel} }, {{7952, 7960, kSentinel}}, // NOLINT
1307 {{7957, 7965, -1}}, {{7968, 7976, -1}}, {{7975, 7983, -1}}, {{7984, 7992, -1}} , // NOLINT 1308 {{7957, 7965, kSentinel}}, {{7968, 7976, kSentinel}}, {{7975, 7983, kSentinel} }, {{7984, 7992, kSentinel}}, // NOLINT
1308 {{7991, 7999, -1}}, {{8000, 8008, -1}}, {{8005, 8013, -1}}, {{8017, 8025, -1}} , // NOLINT 1309 {{7991, 7999, kSentinel}}, {{8000, 8008, kSentinel}}, {{8005, 8013, kSentinel} }, {{8017, 8025, kSentinel}}, // NOLINT
1309 {{8019, 8027, -1}}, {{8021, 8029, -1}}, {{8023, 8031, -1}}, {{8032, 8040, -1}} , // NOLINT 1310 {{8019, 8027, kSentinel}}, {{8021, 8029, kSentinel}}, {{8023, 8031, kSentinel} }, {{8032, 8040, kSentinel}}, // NOLINT
1310 {{8039, 8047, -1}}, {{8048, 8122, -1}}, {{8049, 8123, -1}}, {{8050, 8136, -1}} , // NOLINT 1311 {{8039, 8047, kSentinel}}, {{8048, 8122, kSentinel}}, {{8049, 8123, kSentinel} }, {{8050, 8136, kSentinel}}, // NOLINT
1311 {{8053, 8139, -1}}, {{8054, 8154, -1}}, {{8055, 8155, -1}}, {{8056, 8184, -1}} , // NOLINT 1312 {{8053, 8139, kSentinel}}, {{8054, 8154, kSentinel}}, {{8055, 8155, kSentinel} }, {{8056, 8184, kSentinel}}, // NOLINT
1312 {{8057, 8185, -1}}, {{8058, 8170, -1}}, {{8059, 8171, -1}}, {{8060, 8186, -1}} , // NOLINT 1313 {{8057, 8185, kSentinel}}, {{8058, 8170, kSentinel}}, {{8059, 8171, kSentinel} }, {{8060, 8186, kSentinel}}, // NOLINT
1313 {{8061, 8187, -1}}, {{8112, 8120, -1}}, {{8113, 8121, -1}}, {{8144, 8152, -1}} , // NOLINT 1314 {{8061, 8187, kSentinel}}, {{8112, 8120, kSentinel}}, {{8113, 8121, kSentinel} }, {{8144, 8152, kSentinel}}, // NOLINT
1314 {{8145, 8153, -1}}, {{8160, 8168, -1}}, {{8161, 8169, -1}}, {{8165, 8172, -1}} , // NOLINT 1315 {{8145, 8153, kSentinel}}, {{8160, 8168, kSentinel}}, {{8161, 8169, kSentinel} }, {{8165, 8172, kSentinel}}, // NOLINT
1315 {{-1}} }; // NOLINT 1316 {{kSentinel}} }; // NOLINT
1316 static const uint16_t kEcma262UnCanonicalizeTable0Size = 945; // NOLINT 1317 static const uint16_t kEcma262UnCanonicalizeTable0Size = 945; // NOLINT
1317 static const int32_t kEcma262UnCanonicalizeTable0[1890] = { 1318 static const int32_t kEcma262UnCanonicalizeTable0[1890] = {
1318 1073741889, 1, 90, 5, 1073741921, 1, 122, 5, 181, 9, 1073742016, 13, 214, 17, 1073742040, 21, // NOLINT 1319 1073741889, 1, 90, 5, 1073741921, 1, 122, 5, 181, 9, 1073742016, 13, 214, 17, 1073742040, 21, // NOLINT
1319 222, 25, 1073742048, 13, 246, 17, 1073742072, 21, 254, 25, 255, 29, 256, 33, 2 57, 33, // NOLINT 1320 222, 25, 1073742048, 13, 246, 17, 1073742072, 21, 254, 25, 255, 29, 256, 33, 2 57, 33, // NOLINT
1320 258, 37, 259, 37, 260, 41, 261, 41, 262, 45, 263, 45, 264, 49, 265, 49, // NO LINT 1321 258, 37, 259, 37, 260, 41, 261, 41, 262, 45, 263, 45, 264, 49, 265, 49, // NO LINT
1321 266, 53, 267, 53, 268, 57, 269, 57, 270, 61, 271, 61, 272, 65, 273, 65, // NO LINT 1322 266, 53, 267, 53, 268, 57, 269, 57, 270, 61, 271, 61, 272, 65, 273, 65, // NO LINT
1322 274, 69, 275, 69, 276, 73, 277, 73, 278, 77, 279, 77, 280, 81, 281, 81, // NO LINT 1323 274, 69, 275, 69, 276, 73, 277, 73, 278, 77, 279, 77, 280, 81, 281, 81, // NO LINT
1323 282, 85, 283, 85, 284, 89, 285, 89, 286, 93, 287, 93, 288, 97, 289, 97, // NO LINT 1324 282, 85, 283, 85, 284, 89, 285, 89, 286, 93, 287, 93, 288, 97, 289, 97, // NO LINT
1324 290, 101, 291, 101, 292, 105, 293, 105, 294, 109, 295, 109, 296, 113, 297, 113 , // NOLINT 1325 290, 101, 291, 101, 292, 105, 293, 105, 294, 109, 295, 109, 296, 113, 297, 113 , // NOLINT
1325 298, 117, 299, 117, 300, 121, 301, 121, 302, 125, 303, 125, 306, 129, 307, 129 , // NOLINT 1326 298, 117, 299, 117, 300, 121, 301, 121, 302, 125, 303, 125, 306, 129, 307, 129 , // NOLINT
(...skipping 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
1446 {{11412, 11413}}, {{11414, 11415}}, {{11416, 11417}}, {{11418, 11419}}, // NO LINT 1447 {{11412, 11413}}, {{11414, 11415}}, {{11416, 11417}}, {{11418, 11419}}, // NO LINT
1447 {{11420, 11421}}, {{11422, 11423}}, {{11424, 11425}}, {{11426, 11427}}, // NO LINT 1448 {{11420, 11421}}, {{11422, 11423}}, {{11424, 11425}}, {{11426, 11427}}, // NO LINT
1448 {{11428, 11429}}, {{11430, 11431}}, {{11432, 11433}}, {{11434, 11435}}, // NO LINT 1449 {{11428, 11429}}, {{11430, 11431}}, {{11432, 11433}}, {{11434, 11435}}, // NO LINT
1449 {{11436, 11437}}, {{11438, 11439}}, {{11440, 11441}}, {{11442, 11443}}, // NO LINT 1450 {{11436, 11437}}, {{11438, 11439}}, {{11440, 11441}}, {{11442, 11443}}, // NO LINT
1450 {{11444, 11445}}, {{11446, 11447}}, {{11448, 11449}}, {{11450, 11451}}, // NO LINT 1451 {{11444, 11445}}, {{11446, 11447}}, {{11448, 11449}}, {{11450, 11451}}, // NO LINT
1451 {{11452, 11453}}, {{11454, 11455}}, {{11456, 11457}}, {{11458, 11459}}, // NO LINT 1452 {{11452, 11453}}, {{11454, 11455}}, {{11456, 11457}}, {{11458, 11459}}, // NO LINT
1452 {{11460, 11461}}, {{11462, 11463}}, {{11464, 11465}}, {{11466, 11467}}, // NO LINT 1453 {{11460, 11461}}, {{11462, 11463}}, {{11464, 11465}}, {{11466, 11467}}, // NO LINT
1453 {{11468, 11469}}, {{11470, 11471}}, {{11472, 11473}}, {{11474, 11475}}, // NO LINT 1454 {{11468, 11469}}, {{11470, 11471}}, {{11472, 11473}}, {{11474, 11475}}, // NO LINT
1454 {{11476, 11477}}, {{11478, 11479}}, {{11480, 11481}}, {{11482, 11483}}, // NO LINT 1455 {{11476, 11477}}, {{11478, 11479}}, {{11480, 11481}}, {{11482, 11483}}, // NO LINT
1455 {{11484, 11485}}, {{11486, 11487}}, {{11488, 11489}}, {{11490, 11491}}, // NO LINT 1456 {{11484, 11485}}, {{11486, 11487}}, {{11488, 11489}}, {{11490, 11491}}, // NO LINT
1456 {{4256, 11520}}, {{4293, 11557}}, {{-1}} }; // NOLINT 1457 {{4256, 11520}}, {{4293, 11557}}, {{kSentinel}} }; // NOLINT
1457 static const uint16_t kEcma262UnCanonicalizeTable1Size = 133; // NOLINT 1458 static const uint16_t kEcma262UnCanonicalizeTable1Size = 133; // NOLINT
1458 static const int32_t kEcma262UnCanonicalizeTable1[266] = { 1459 static const int32_t kEcma262UnCanonicalizeTable1[266] = {
1459 306, 1, 334, 1, 1073742176, 5, 367, 9, 1073742192, 5, 383, 9, 387, 13, 388, 13 , // NOLINT 1460 306, 1, 334, 1, 1073742176, 5, 367, 9, 1073742192, 5, 383, 9, 387, 13, 388, 13 , // NOLINT
1460 1073743030, 17, 1231, 21, 1073743056, 17, 1257, 21, 1073744896, 25, 3118, 29, 1073744944, 25, 3166, 29, // NOLINT 1461 1073743030, 17, 1231, 21, 1073743056, 17, 1257, 21, 1073744896, 25, 3118, 29, 1073744944, 25, 3166, 29, // NOLINT
1461 3168, 33, 3169, 33, 3170, 37, 3171, 41, 3172, 45, 3173, 49, 3174, 53, 3175, 57 , // NOLINT 1462 3168, 33, 3169, 33, 3170, 37, 3171, 41, 3172, 45, 3173, 49, 3174, 53, 3175, 57 , // NOLINT
1462 3176, 57, 3177, 61, 3178, 61, 3179, 65, 3180, 65, 3189, 69, 3190, 69, 3200, 73 , // NOLINT 1463 3176, 57, 3177, 61, 3178, 61, 3179, 65, 3180, 65, 3189, 69, 3190, 69, 3200, 73 , // NOLINT
1463 3201, 73, 3202, 77, 3203, 77, 3204, 81, 3205, 81, 3206, 85, 3207, 85, 3208, 89 , // NOLINT 1464 3201, 73, 3202, 77, 3203, 77, 3204, 81, 3205, 81, 3206, 85, 3207, 85, 3208, 89 , // NOLINT
1464 3209, 89, 3210, 93, 3211, 93, 3212, 97, 3213, 97, 3214, 101, 3215, 101, 3216, 105, // NOLINT 1465 3209, 89, 3210, 93, 3211, 93, 3212, 97, 3213, 97, 3214, 101, 3215, 101, 3216, 105, // NOLINT
1465 3217, 105, 3218, 109, 3219, 109, 3220, 113, 3221, 113, 3222, 117, 3223, 117, 3 224, 121, // NOLINT 1466 3217, 105, 3218, 109, 3219, 109, 3220, 113, 3221, 113, 3222, 117, 3223, 117, 3 224, 121, // NOLINT
1466 3225, 121, 3226, 125, 3227, 125, 3228, 129, 3229, 129, 3230, 133, 3231, 133, 3 232, 137, // NOLINT 1467 3225, 121, 3226, 125, 3227, 125, 3228, 129, 3229, 129, 3230, 133, 3231, 133, 3 232, 137, // NOLINT
1467 3233, 137, 3234, 141, 3235, 141, 3236, 145, 3237, 145, 3238, 149, 3239, 149, 3 240, 153, // NOLINT 1468 3233, 137, 3234, 141, 3235, 141, 3236, 145, 3237, 145, 3238, 149, 3239, 149, 3 240, 153, // NOLINT
1468 3241, 153, 3242, 157, 3243, 157, 3244, 161, 3245, 161, 3246, 165, 3247, 165, 3 248, 169, // NOLINT 1469 3241, 153, 3242, 157, 3243, 157, 3244, 161, 3245, 161, 3246, 165, 3247, 165, 3 248, 169, // NOLINT
1469 3249, 169, 3250, 173, 3251, 173, 3252, 177, 3253, 177, 3254, 181, 3255, 181, 3 256, 185, // NOLINT 1470 3249, 169, 3250, 173, 3251, 173, 3252, 177, 3253, 177, 3254, 181, 3255, 181, 3 256, 185, // NOLINT
1470 3257, 185, 3258, 189, 3259, 189, 3260, 193, 3261, 193, 3262, 197, 3263, 197, 3 264, 201, // NOLINT 1471 3257, 185, 3258, 189, 3259, 189, 3260, 193, 3261, 193, 3262, 197, 3263, 197, 3 264, 201, // NOLINT
1471 3265, 201, 3266, 205, 3267, 205, 3268, 209, 3269, 209, 3270, 213, 3271, 213, 3 272, 217, // NOLINT 1472 3265, 201, 3266, 205, 3267, 205, 3268, 209, 3269, 209, 3270, 213, 3271, 213, 3 272, 217, // NOLINT
1472 3273, 217, 3274, 221, 3275, 221, 3276, 225, 3277, 225, 3278, 229, 3279, 229, 3 280, 233, // NOLINT 1473 3273, 217, 3274, 221, 3275, 221, 3276, 225, 3277, 225, 3278, 229, 3279, 229, 3 280, 233, // NOLINT
1473 3281, 233, 3282, 237, 3283, 237, 3284, 241, 3285, 241, 3286, 245, 3287, 245, 3 288, 249, // NOLINT 1474 3281, 233, 3282, 237, 3283, 237, 3284, 241, 3285, 241, 3286, 245, 3287, 245, 3 288, 249, // NOLINT
1474 3289, 249, 3290, 253, 3291, 253, 3292, 257, 3293, 257, 3294, 261, 3295, 261, 3 296, 265, // NOLINT 1475 3289, 249, 3290, 253, 3291, 253, 3292, 257, 3293, 257, 3294, 261, 3295, 261, 3 296, 265, // NOLINT
1475 3297, 265, 3298, 269, 3299, 269, 1073745152, 273, 3365, 277 }; // NOLINT 1476 3297, 265, 3298, 269, 3299, 269, 1073745152, 273, 3365, 277 }; // NOLINT
1476 static const uint16_t kEcma262UnCanonicalizeMultiStrings1Size = 71; // NOLINT 1477 static const uint16_t kEcma262UnCanonicalizeMultiStrings1Size = 71; // NOLINT
1477 static const MultiCharacterSpecialCase<2> kEcma262UnCanonicalizeMultiStrings7[3] = { // NOLINT 1478 static const MultiCharacterSpecialCase<2> kEcma262UnCanonicalizeMultiStrings7[3] = { // NOLINT
1478 {{65313, 65345}}, {{65338, 65370}}, {{-1}} }; // NOLINT 1479 {{65313, 65345}}, {{65338, 65370}}, {{kSentinel}} }; // NOLINT
1479 static const uint16_t kEcma262UnCanonicalizeTable7Size = 4; // NOLINT 1480 static const uint16_t kEcma262UnCanonicalizeTable7Size = 4; // NOLINT
1480 static const int32_t kEcma262UnCanonicalizeTable7[8] = { 1481 static const int32_t kEcma262UnCanonicalizeTable7[8] = {
1481 1073749793, 1, 7994, 5, 1073749825, 1, 8026, 5 }; // NOLINT 1482 1073749793, 1, 7994, 5, 1073749825, 1, 8026, 5 }; // NOLINT
1482 static const uint16_t kEcma262UnCanonicalizeMultiStrings7Size = 3; // NOLINT 1483 static const uint16_t kEcma262UnCanonicalizeMultiStrings7Size = 3; // NOLINT
1483 int Ecma262UnCanonicalize::Convert(uchar c, 1484 int Ecma262UnCanonicalize::Convert(uchar c,
1484 uchar n, 1485 uchar n,
1485 uchar* result, 1486 uchar* result,
1486 bool* allow_caching_ptr) { 1487 bool* allow_caching_ptr) {
1487 int chunk_index = c >> 13; 1488 int chunk_index = c >> 13;
1488 switch (chunk_index) { 1489 switch (chunk_index) {
(...skipping 16 matching lines...) Expand all
1505 kEcma262UnCanonicalizeMultiStrings7, 1506 kEcma262UnCanonicalizeMultiStrings7,
1506 c, 1507 c,
1507 n, 1508 n,
1508 result, 1509 result,
1509 allow_caching_ptr); 1510 allow_caching_ptr);
1510 default: return 0; 1511 default: return 0;
1511 } 1512 }
1512 } 1513 }
1513 1514
1514 static const MultiCharacterSpecialCase<1> kCanonicalizationRangeMultiStrings0[1] = { // NOLINT 1515 static const MultiCharacterSpecialCase<1> kCanonicalizationRangeMultiStrings0[1] = { // NOLINT
1515 {{-1}} }; // NOLINT 1516 {{kSentinel}} }; // NOLINT
1516 static const uint16_t kCanonicalizationRangeTable0Size = 70; // NOLINT 1517 static const uint16_t kCanonicalizationRangeTable0Size = 70; // NOLINT
1517 static const int32_t kCanonicalizationRangeTable0[140] = { 1518 static const int32_t kCanonicalizationRangeTable0[140] = {
1518 1073741889, 100, 90, 0, 1073741921, 100, 122, 0, 1073742016, 88, 214, 0, 10737 42040, 24, 222, 0, // NOLINT 1519 1073741889, 100, 90, 0, 1073741921, 100, 122, 0, 1073742016, 88, 214, 0, 10737 42040, 24, 222, 0, // NOLINT
1519 1073742048, 88, 246, 0, 1073742072, 24, 254, 0, 1073742715, 8, 893, 0, 1073742 728, 8, 906, 0, // NOLINT 1520 1073742048, 88, 246, 0, 1073742072, 24, 254, 0, 1073742715, 8, 893, 0, 1073742 728, 8, 906, 0, // NOLINT
1520 1073742749, 8, 927, 0, 1073742759, 16, 939, 0, 1073742765, 8, 943, 0, 10737427 81, 8, 959, 0, // NOLINT 1521 1073742749, 8, 927, 0, 1073742759, 16, 939, 0, 1073742765, 8, 943, 0, 10737427 81, 8, 959, 0, // NOLINT
1521 1073742791, 16, 971, 0, 1073742845, 8, 1023, 0, 1073742848, 60, 1039, 0, 10737 42864, 124, 1071, 0, // NOLINT 1522 1073742791, 16, 971, 0, 1073742845, 8, 1023, 0, 1073742848, 60, 1039, 0, 10737 42864, 124, 1071, 0, // NOLINT
1522 1073742896, 124, 1103, 0, 1073742928, 60, 1119, 0, 1073743153, 148, 1366, 0, 1 073743201, 148, 1414, 0, // NOLINT 1523 1073742896, 124, 1103, 0, 1073742928, 60, 1119, 0, 1073743153, 148, 1366, 0, 1 073743201, 148, 1414, 0, // NOLINT
1523 1073746080, 148, 4293, 0, 1073749760, 28, 7943, 0, 1073749768, 28, 7951, 0, 10 73749776, 20, 7957, 0, // NOLINT 1524 1073746080, 148, 4293, 0, 1073749760, 28, 7943, 0, 1073749768, 28, 7951, 0, 10 73749776, 20, 7957, 0, // NOLINT
1524 1073749784, 20, 7965, 0, 1073749792, 28, 7975, 0, 1073749800, 28, 7983, 0, 107 3749808, 28, 7991, 0, // NOLINT 1525 1073749784, 20, 7965, 0, 1073749792, 28, 7975, 0, 1073749800, 28, 7983, 0, 107 3749808, 28, 7991, 0, // NOLINT
1525 1073749816, 28, 7999, 0, 1073749824, 20, 8005, 0, 1073749832, 20, 8013, 0, 107 3749856, 28, 8039, 0, // NOLINT 1526 1073749816, 28, 7999, 0, 1073749824, 20, 8005, 0, 1073749832, 20, 8013, 0, 107 3749856, 28, 8039, 0, // NOLINT
1526 1073749864, 28, 8047, 0, 1073749874, 12, 8053, 0, 1073749960, 12, 8139, 0 }; // NOLINT 1527 1073749864, 28, 8047, 0, 1073749874, 12, 8053, 0, 1073749960, 12, 8139, 0 }; // NOLINT
1527 static const uint16_t kCanonicalizationRangeMultiStrings0Size = 1; // NOLINT 1528 static const uint16_t kCanonicalizationRangeMultiStrings0Size = 1; // NOLINT
1528 static const MultiCharacterSpecialCase<1> kCanonicalizationRangeMultiStrings1[1] = { // NOLINT 1529 static const MultiCharacterSpecialCase<1> kCanonicalizationRangeMultiStrings1[1] = { // NOLINT
1529 {{-1}} }; // NOLINT 1530 {{kSentinel}} }; // NOLINT
1530 static const uint16_t kCanonicalizationRangeTable1Size = 14; // NOLINT 1531 static const uint16_t kCanonicalizationRangeTable1Size = 14; // NOLINT
1531 static const int32_t kCanonicalizationRangeTable1[28] = { 1532 static const int32_t kCanonicalizationRangeTable1[28] = {
1532 1073742176, 60, 367, 0, 1073742192, 60, 383, 0, 1073743030, 100, 1231, 0, 1073 743056, 100, 1257, 0, // NOLINT 1533 1073742176, 60, 367, 0, 1073742192, 60, 383, 0, 1073743030, 100, 1231, 0, 1073 743056, 100, 1257, 0, // NOLINT
1533 1073744896, 184, 3118, 0, 1073744944, 184, 3166, 0, 1073745152, 148, 3365, 0 } ; // NOLINT 1534 1073744896, 184, 3118, 0, 1073744944, 184, 3166, 0, 1073745152, 148, 3365, 0 } ; // NOLINT
1534 static const uint16_t kCanonicalizationRangeMultiStrings1Size = 1; // NOLINT 1535 static const uint16_t kCanonicalizationRangeMultiStrings1Size = 1; // NOLINT
1535 static const MultiCharacterSpecialCase<1> kCanonicalizationRangeMultiStrings7[1] = { // NOLINT 1536 static const MultiCharacterSpecialCase<1> kCanonicalizationRangeMultiStrings7[1] = { // NOLINT
1536 {{-1}} }; // NOLINT 1537 {{kSentinel}} }; // NOLINT
1537 static const uint16_t kCanonicalizationRangeTable7Size = 4; // NOLINT 1538 static const uint16_t kCanonicalizationRangeTable7Size = 4; // NOLINT
1538 static const int32_t kCanonicalizationRangeTable7[8] = { 1539 static const int32_t kCanonicalizationRangeTable7[8] = {
1539 1073749793, 100, 7994, 0, 1073749825, 100, 8026, 0 }; // NOLINT 1540 1073749793, 100, 7994, 0, 1073749825, 100, 8026, 0 }; // NOLINT
1540 static const uint16_t kCanonicalizationRangeMultiStrings7Size = 1; // NOLINT 1541 static const uint16_t kCanonicalizationRangeMultiStrings7Size = 1; // NOLINT
1541 int CanonicalizationRange::Convert(uchar c, 1542 int CanonicalizationRange::Convert(uchar c,
1542 uchar n, 1543 uchar n,
1543 uchar* result, 1544 uchar* result,
1544 bool* allow_caching_ptr) { 1545 bool* allow_caching_ptr) {
1545 int chunk_index = c >> 13; 1546 int chunk_index = c >> 13;
1546 switch (chunk_index) { 1547 switch (chunk_index) {
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
1613 + kEcma262CanonicalizeMultiStrings7Size * sizeof(MultiCharacterSpecialCase <1>) // NOLINT 1614 + kEcma262CanonicalizeMultiStrings7Size * sizeof(MultiCharacterSpecialCase <1>) // NOLINT
1614 + kEcma262UnCanonicalizeMultiStrings0Size * sizeof(MultiCharacterSpecialCa se<4>) // NOLINT 1615 + kEcma262UnCanonicalizeMultiStrings0Size * sizeof(MultiCharacterSpecialCa se<4>) // NOLINT
1615 + kEcma262UnCanonicalizeMultiStrings1Size * sizeof(MultiCharacterSpecialCa se<2>) // NOLINT 1616 + kEcma262UnCanonicalizeMultiStrings1Size * sizeof(MultiCharacterSpecialCa se<2>) // NOLINT
1616 + kEcma262UnCanonicalizeMultiStrings7Size * sizeof(MultiCharacterSpecialCa se<2>) // NOLINT 1617 + kEcma262UnCanonicalizeMultiStrings7Size * sizeof(MultiCharacterSpecialCa se<2>) // NOLINT
1617 + kCanonicalizationRangeMultiStrings0Size * sizeof(MultiCharacterSpecialCa se<1>) // NOLINT 1618 + kCanonicalizationRangeMultiStrings0Size * sizeof(MultiCharacterSpecialCa se<1>) // NOLINT
1618 + kCanonicalizationRangeMultiStrings1Size * sizeof(MultiCharacterSpecialCa se<1>) // NOLINT 1619 + kCanonicalizationRangeMultiStrings1Size * sizeof(MultiCharacterSpecialCa se<1>) // NOLINT
1619 + kCanonicalizationRangeMultiStrings7Size * sizeof(MultiCharacterSpecialCa se<1>); // NOLINT 1620 + kCanonicalizationRangeMultiStrings7Size * sizeof(MultiCharacterSpecialCa se<1>); // NOLINT
1620 } 1621 }
1621 1622
1622 } // namespace unicode 1623 } // namespace unicode
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698