V8 Project
unibrow Namespace Reference

Classes

struct  MultiCharacterSpecialCase
 
class  Predicate
 
class  Mapping
 
class  UnicodeData
 
class  Utf16
 
class  Latin1
 
class  Utf8
 
class  Utf8DecoderBase
 
class  Utf8Decoder
 
struct  Uppercase
 
struct  Lowercase
 
struct  Letter
 
struct  Number
 
struct  WhiteSpace
 
struct  LineTerminator
 
struct  CombiningMark
 
struct  ConnectorPunctuation
 
struct  ToLowercase
 
struct  ToUppercase
 
struct  Ecma262Canonicalize
 
struct  Ecma262UnCanonicalize
 
struct  CanonicalizationRange
 

Typedefs

typedef signed short int16_t
 
typedef unsigned short uint16_t
 
typedef int int32_t
 
typedef unsigned int uchar
 
typedef unsigned char byte
 

Functions

template<int D>
static uchar TableGet (const int32_t *table, int index)
 
static uchar GetEntry (int32_t entry)
 
static bool IsStart (int32_t entry)
 
static bool LookupPredicate (const int32_t *table, uint16_t size, uchar chr)
 Look up a character in the unicode table using a mix of binary and interpolation search. More...
 
template<bool ranges_are_linear, int kW>
static int LookupMapping (const int32_t *table, uint16_t size, const MultiCharacterSpecialCase< kW > *multi_chars, uchar chr, uchar next, uchar *result, bool *allow_caching_ptr)
 

Variables

static const int kStartBit = (1 << 30)
 
static const int kChunkBits = (1 << 13)
 
static const uchar kSentinel = static_cast<uchar>(-1)
 
static const uint16_t kUppercaseTable0Size = 450
 
static const int32_t kUppercaseTable0 [450]
 
static const uint16_t kUppercaseTable1Size = 86
 
static const int32_t kUppercaseTable1 [86]
 
static const uint16_t kUppercaseTable5Size = 91
 
static const int32_t kUppercaseTable5 [91]
 
static const uint16_t kUppercaseTable7Size = 2
 
static const int32_t kUppercaseTable7 [2]
 
static const uint16_t kLowercaseTable0Size = 463
 
static const int32_t kLowercaseTable0 [463]
 
static const uint16_t kLowercaseTable1Size = 84
 
static const int32_t kLowercaseTable1 [84]
 
static const uint16_t kLowercaseTable5Size = 93
 
static const int32_t kLowercaseTable5 [93]
 
static const uint16_t kLowercaseTable7Size = 6
 
static const int32_t kLowercaseTable7 [6]
 
static const uint16_t kLetterTable0Size = 435
 
static const int32_t kLetterTable0 [435]
 
static const uint16_t kLetterTable1Size = 87
 
static const int32_t kLetterTable1 [87]
 
static const uint16_t kLetterTable2Size = 4
 
static const int32_t kLetterTable2 [4]
 
static const uint16_t kLetterTable3Size = 2
 
static const int32_t kLetterTable3 [2]
 
static const uint16_t kLetterTable4Size = 2
 
static const int32_t kLetterTable4 [2]
 
static const uint16_t kLetterTable5Size = 88
 
static const int32_t kLetterTable5 [88]
 
static const uint16_t kLetterTable6Size = 6
 
static const int32_t kLetterTable6 [6]
 
static const uint16_t kLetterTable7Size = 48
 
static const int32_t kLetterTable7 [48]
 
static const uint16_t kNumberTable0Size = 56
 
static const int32_t kNumberTable0 [56]
 
static const uint16_t kNumberTable5Size = 12
 
static const int32_t kNumberTable5 [12]
 
static const uint16_t kNumberTable7Size = 2
 
static const int32_t kNumberTable7 [2]
 
static const uint16_t kWhiteSpaceTable0Size = 4
 
static const int32_t kWhiteSpaceTable0 [4]
 
static const uint16_t kWhiteSpaceTable1Size = 5
 
static const int32_t kWhiteSpaceTable1 [5]
 
static const uint16_t kLineTerminatorTable0Size = 2
 
static const int32_t kLineTerminatorTable0 [2]
 
static const uint16_t kLineTerminatorTable1Size = 2
 
static const int32_t kLineTerminatorTable1 [2]
 
static const uint16_t kCombiningMarkTable0Size = 258
 
static const int32_t kCombiningMarkTable0 [258]
 
static const uint16_t kCombiningMarkTable1Size = 14
 
static const int32_t kCombiningMarkTable1 [14]
 
static const uint16_t kCombiningMarkTable5Size = 47
 
static const int32_t kCombiningMarkTable5 [47]
 
static const uint16_t kCombiningMarkTable7Size = 5
 
static const int32_t kCombiningMarkTable7 [5]
 
static const uint16_t kConnectorPunctuationTable0Size = 1
 
static const int32_t kConnectorPunctuationTable0 [1]
 
static const uint16_t kConnectorPunctuationTable1Size = 3
 
static const int32_t kConnectorPunctuationTable1 [3]
 
static const uint16_t kConnectorPunctuationTable7Size = 5
 
static const int32_t kConnectorPunctuationTable7 [5]
 
static const MultiCharacterSpecialCase< 2 > kToLowercaseMultiStrings0 [2]
 
static const uint16_t kToLowercaseTable0Size = 483
 
static const int32_t kToLowercaseTable0 [966]
 
static const uint16_t kToLowercaseMultiStrings0Size = 2
 
static const MultiCharacterSpecialCase< 1 > kToLowercaseMultiStrings1 [1]
 
static const uint16_t kToLowercaseTable1Size = 79
 
static const int32_t kToLowercaseTable1 [158]
 
static const uint16_t kToLowercaseMultiStrings1Size = 1
 
static const MultiCharacterSpecialCase< 1 > kToLowercaseMultiStrings5 [1]
 
static const uint16_t kToLowercaseTable5Size = 91
 
static const int32_t kToLowercaseTable5 [182]
 
static const uint16_t kToLowercaseMultiStrings5Size = 1
 
static const MultiCharacterSpecialCase< 1 > kToLowercaseMultiStrings7 [1]
 
static const uint16_t kToLowercaseTable7Size = 2
 
static const int32_t kToLowercaseTable7 [4]
 
static const uint16_t kToLowercaseMultiStrings7Size = 1
 
static const MultiCharacterSpecialCase< 3 > kToUppercaseMultiStrings0 [62]
 
static const uint16_t kToUppercaseTable0Size = 580
 
static const int32_t kToUppercaseTable0 [1160]
 
static const uint16_t kToUppercaseMultiStrings0Size = 62
 
static const MultiCharacterSpecialCase< 1 > kToUppercaseMultiStrings1 [1]
 
static const uint16_t kToUppercaseTable1Size = 73
 
static const int32_t kToUppercaseTable1 [146]
 
static const uint16_t kToUppercaseMultiStrings1Size = 1
 
static const MultiCharacterSpecialCase< 1 > kToUppercaseMultiStrings5 [1]
 
static const uint16_t kToUppercaseTable5Size = 88
 
static const int32_t kToUppercaseTable5 [176]
 
static const uint16_t kToUppercaseMultiStrings5Size = 1
 
static const MultiCharacterSpecialCase< 3 > kToUppercaseMultiStrings7 [12]
 
static const uint16_t kToUppercaseTable7Size = 14
 
static const int32_t kToUppercaseTable7 [28]
 
static const uint16_t kToUppercaseMultiStrings7Size = 12
 
static const MultiCharacterSpecialCase< 1 > kEcma262CanonicalizeMultiStrings0 [1]
 
static const uint16_t kEcma262CanonicalizeTable0Size = 488
 
static const int32_t kEcma262CanonicalizeTable0 [976]
 
static const uint16_t kEcma262CanonicalizeMultiStrings0Size = 1
 
static const MultiCharacterSpecialCase< 1 > kEcma262CanonicalizeMultiStrings1 [1]
 
static const uint16_t kEcma262CanonicalizeTable1Size = 73
 
static const int32_t kEcma262CanonicalizeTable1 [146]
 
static const uint16_t kEcma262CanonicalizeMultiStrings1Size = 1
 
static const MultiCharacterSpecialCase< 1 > kEcma262CanonicalizeMultiStrings5 [1]
 
static const uint16_t kEcma262CanonicalizeTable5Size = 88
 
static const int32_t kEcma262CanonicalizeTable5 [176]
 
static const uint16_t kEcma262CanonicalizeMultiStrings5Size = 1
 
static const MultiCharacterSpecialCase< 1 > kEcma262CanonicalizeMultiStrings7 [1]
 
static const uint16_t kEcma262CanonicalizeTable7Size = 2
 
static const int32_t kEcma262CanonicalizeTable7 [4]
 
static const uint16_t kEcma262CanonicalizeMultiStrings7Size = 1
 
static const MultiCharacterSpecialCase< 4 > kEcma262UnCanonicalizeMultiStrings0 [497]
 
static const uint16_t kEcma262UnCanonicalizeTable0Size = 990
 
static const int32_t kEcma262UnCanonicalizeTable0 [1980]
 
static const uint16_t kEcma262UnCanonicalizeMultiStrings0Size = 497
 
static const MultiCharacterSpecialCase< 2 > kEcma262UnCanonicalizeMultiStrings1 [83]
 
static const uint16_t kEcma262UnCanonicalizeTable1Size = 149
 
static const int32_t kEcma262UnCanonicalizeTable1 [298]
 
static const uint16_t kEcma262UnCanonicalizeMultiStrings1Size = 83
 
static const MultiCharacterSpecialCase< 2 > kEcma262UnCanonicalizeMultiStrings5 [92]
 
static const uint16_t kEcma262UnCanonicalizeTable5Size = 179
 
static const int32_t kEcma262UnCanonicalizeTable5 [358]
 
static const uint16_t kEcma262UnCanonicalizeMultiStrings5Size = 92
 
static const MultiCharacterSpecialCase< 2 > kEcma262UnCanonicalizeMultiStrings7 [3]
 
static const uint16_t kEcma262UnCanonicalizeTable7Size = 4
 
static const int32_t kEcma262UnCanonicalizeTable7 [8]
 
static const uint16_t kEcma262UnCanonicalizeMultiStrings7Size = 3
 
static const MultiCharacterSpecialCase< 1 > kCanonicalizationRangeMultiStrings0 [1]
 
static const uint16_t kCanonicalizationRangeTable0Size = 70
 
static const int32_t kCanonicalizationRangeTable0 [140]
 
static const uint16_t kCanonicalizationRangeMultiStrings0Size = 1
 
static const MultiCharacterSpecialCase< 1 > kCanonicalizationRangeMultiStrings1 [1]
 
static const uint16_t kCanonicalizationRangeTable1Size = 14
 
static const int32_t kCanonicalizationRangeTable1 [28]
 
static const uint16_t kCanonicalizationRangeMultiStrings1Size = 1
 
static const MultiCharacterSpecialCase< 1 > kCanonicalizationRangeMultiStrings7 [1]
 
static const uint16_t kCanonicalizationRangeTable7Size = 4
 
static const int32_t kCanonicalizationRangeTable7 [8]
 
static const uint16_t kCanonicalizationRangeMultiStrings7Size = 1
 
const int kMaxMappingSize = 4
 The max length of the result of converting the case of a single character. More...
 

Typedef Documentation

◆ byte

typedef unsigned char unibrow::byte

Definition at line 18 of file unicode.h.

◆ int16_t

typedef signed short unibrow::int16_t

Definition at line 22 of file unicode.cc.

◆ int32_t

Definition at line 24 of file unicode.cc.

◆ uchar

typedef unsigned int unibrow::uchar

Definition at line 17 of file unicode.h.

◆ uint16_t

typedef unsigned short unibrow::uint16_t

Definition at line 23 of file unicode.cc.

Function Documentation

◆ GetEntry()

static uchar unibrow::GetEntry ( int32_t  entry)
inlinestatic

Definition at line 33 of file unicode.cc.

33  {
34  return entry & (kStartBit - 1);
35 }
static const int kStartBit
Definition: unicode.cc:13

References kStartBit.

Referenced by LookupMapping(), and LookupPredicate().

+ Here is the caller graph for this function:

◆ IsStart()

static bool unibrow::IsStart ( int32_t  entry)
inlinestatic

Definition at line 38 of file unicode.cc.

38  {
39  return (entry & kStartBit) != 0;
40 }

References kStartBit.

Referenced by LookupMapping(), and LookupPredicate().

+ Here is the caller graph for this function:

◆ LookupMapping()

template<bool ranges_are_linear, int kW>
static int unibrow::LookupMapping ( const int32_t table,
uint16_t  size,
const MultiCharacterSpecialCase< kW > *  multi_chars,
uchar  chr,
uchar  next,
uchar result,
bool allow_caching_ptr 
)
static

Definition at line 102 of file unicode.cc.

108  {
109  static const int kEntryDist = 2;
110  uint16_t key = chr & (kChunkBits - 1);
111  uint16_t chunk_start = chr - key;
112  unsigned int low = 0;
113  unsigned int high = size - 1;
114  while (high != low) {
115  unsigned int mid = low + ((high - low) >> 1);
116  uchar current_value = GetEntry(TableGet<kEntryDist>(table, mid));
117  // If we've found an entry less than or equal to this one, and the next one
118  // is not also less than this one, we've arrived.
119  if ((current_value <= key) &&
120  (mid + 1 == size ||
121  GetEntry(TableGet<kEntryDist>(table, mid + 1)) > key)) {
122  low = mid;
123  break;
124  } else if (current_value < key) {
125  low = mid + 1;
126  } else if (current_value > key) {
127  // If we've just checked the bottom-most value and it's not
128  // the one we're looking for, we're done.
129  if (mid == 0) break;
130  high = mid - 1;
131  }
132  }
133  int32_t field = TableGet<kEntryDist>(table, low);
134  uchar entry = GetEntry(field);
135  bool is_start = IsStart(field);
136  bool found = (entry == key) || (entry < key && is_start);
137  if (found) {
138  int32_t value = table[2 * low + 1];
139  if (value == 0) {
140  // 0 means not present
141  return 0;
142  } else if ((value & 3) == 0) {
143  // Low bits 0 means a constant offset from the given character.
144  if (ranges_are_linear) {
145  result[0] = chr + (value >> 2);
146  } else {
147  result[0] = entry + chunk_start + (value >> 2);
148  }
149  return 1;
150  } else if ((value & 3) == 1) {
151  // Low bits 1 means a special case mapping
152  if (allow_caching_ptr) *allow_caching_ptr = false;
153  const MultiCharacterSpecialCase<kW>& mapping = multi_chars[value >> 2];
154  int length = 0;
155  for (length = 0; length < kW; length++) {
156  uchar mapped = mapping.chars[length];
157  if (mapped == MultiCharacterSpecialCase<kW>::kEndOfEncoding) break;
158  if (ranges_are_linear) {
159  result[length] = mapped + (key - entry);
160  } else {
161  result[length] = mapped;
162  }
163  }
164  return length;
165  } else {
166  // Low bits 2 means a really really special case
167  if (allow_caching_ptr) *allow_caching_ptr = false;
168  // The cases of this switch are defined in unicode.py in the
169  // really_special_cases mapping.
170  switch (value >> 2) {
171  case 1:
172  // Really special case 1: upper case sigma. This letter
173  // converts to two different lower case sigmas depending on
174  // whether or not it occurs at the end of a word.
175  if (next != 0 && Letter::Is(next)) {
176  result[0] = 0x03C3;
177  } else {
178  result[0] = 0x03C2;
179  }
180  return 1;
181  default:
182  return 0;
183  }
184  return -1;
185  }
186  } else {
187  return 0;
188  }
189 }
enable harmony numeric enable harmony object literal extensions Optimize object size
static bool IsStart(int32_t entry)
Definition: unicode.cc:38
unsigned short uint16_t
Definition: unicode.cc:23
unsigned int uchar
Definition: unicode.h:17
int int32_t
Definition: unicode.cc:24
static const int kChunkBits
Definition: unicode.cc:14
static uchar GetEntry(int32_t entry)
Definition: unicode.cc:33
bool Is(Object *obj)

References unibrow::MultiCharacterSpecialCase< kW >::chars, GetEntry(), unibrow::Letter::Is(), IsStart(), kChunkBits, and size.

+ Here is the call graph for this function:

◆ LookupPredicate()

static bool unibrow::LookupPredicate ( const int32_t table,
uint16_t  size,
uchar  chr 
)
static

Look up a character in the unicode table using a mix of binary and interpolation search.

For a uniformly distributed array interpolation search beats binary search by a wide margin. However, in this case interpolation search degenerates because of some very high values in the lower end of the table so this function uses a combination. The average number of steps to look up the information about a character is around 10, slightly higher if there is no information available about the character.

Definition at line 53 of file unicode.cc.

53  {
54  static const int kEntryDist = 1;
55  uint16_t value = chr & (kChunkBits - 1);
56  unsigned int low = 0;
57  unsigned int high = size - 1;
58  while (high != low) {
59  unsigned int mid = low + ((high - low) >> 1);
60  uchar current_value = GetEntry(TableGet<kEntryDist>(table, mid));
61  // If we've found an entry less than or equal to this one, and the
62  // next one is not also less than this one, we've arrived.
63  if ((current_value <= value) &&
64  (mid + 1 == size ||
65  GetEntry(TableGet<kEntryDist>(table, mid + 1)) > value)) {
66  low = mid;
67  break;
68  } else if (current_value < value) {
69  low = mid + 1;
70  } else if (current_value > value) {
71  // If we've just checked the bottom-most value and it's not
72  // the one we're looking for, we're done.
73  if (mid == 0) break;
74  high = mid - 1;
75  }
76  }
77  int32_t field = TableGet<kEntryDist>(table, low);
78  uchar entry = GetEntry(field);
79  bool is_start = IsStart(field);
80  return (entry == value) || (entry < value && is_start);
81 }

References GetEntry(), IsStart(), kChunkBits, and size.

Referenced by unibrow::Uppercase::Is(), unibrow::Lowercase::Is(), unibrow::Letter::Is(), unibrow::Number::Is(), unibrow::WhiteSpace::Is(), unibrow::LineTerminator::Is(), unibrow::CombiningMark::Is(), and unibrow::ConnectorPunctuation::Is().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ TableGet()

template<int D>
static uchar unibrow::TableGet ( const int32_t table,
int  index 
)
inlinestatic

Definition at line 28 of file unicode.cc.

28  {
29  return table[D * index];
30 }

References v8::internal::D.

Variable Documentation

◆ kCanonicalizationRangeMultiStrings0

const MultiCharacterSpecialCase<1> unibrow::kCanonicalizationRangeMultiStrings0[1]
static
Initial value:
= {
{{kSentinel}} }
static const uchar kSentinel
Definition: unicode.cc:15

Definition at line 1713 of file unicode.cc.

Referenced by unibrow::CanonicalizationRange::Convert().

◆ kCanonicalizationRangeMultiStrings0Size

const uint16_t unibrow::kCanonicalizationRangeMultiStrings0Size = 1
static

Definition at line 1726 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kCanonicalizationRangeMultiStrings1

const MultiCharacterSpecialCase<1> unibrow::kCanonicalizationRangeMultiStrings1[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 1727 of file unicode.cc.

Referenced by unibrow::CanonicalizationRange::Convert().

◆ kCanonicalizationRangeMultiStrings1Size

const uint16_t unibrow::kCanonicalizationRangeMultiStrings1Size = 1
static

Definition at line 1733 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kCanonicalizationRangeMultiStrings7

const MultiCharacterSpecialCase<1> unibrow::kCanonicalizationRangeMultiStrings7[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 1734 of file unicode.cc.

Referenced by unibrow::CanonicalizationRange::Convert().

◆ kCanonicalizationRangeMultiStrings7Size

const uint16_t unibrow::kCanonicalizationRangeMultiStrings7Size = 1
static

Definition at line 1739 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kCanonicalizationRangeTable0

const int32_t unibrow::kCanonicalizationRangeTable0[140]
static
Initial value:
= {
1073741889, 100, 90, 0, 1073741921, 100, 122, 0, 1073742016, 88, 214, 0, 1073742040, 24, 222, 0,
1073742048, 88, 246, 0, 1073742072, 24, 254, 0, 1073742715, 8, 893, 0, 1073742728, 8, 906, 0,
1073742749, 8, 927, 0, 1073742759, 16, 939, 0, 1073742765, 8, 943, 0, 1073742781, 8, 959, 0,
1073742791, 16, 971, 0, 1073742845, 8, 1023, 0, 1073742848, 60, 1039, 0, 1073742864, 124, 1071, 0,
1073742896, 124, 1103, 0, 1073742928, 60, 1119, 0, 1073743153, 148, 1366, 0, 1073743201, 148, 1414, 0,
1073746080, 148, 4293, 0, 1073749760, 28, 7943, 0, 1073749768, 28, 7951, 0, 1073749776, 20, 7957, 0,
1073749784, 20, 7965, 0, 1073749792, 28, 7975, 0, 1073749800, 28, 7983, 0, 1073749808, 28, 7991, 0,
1073749816, 28, 7999, 0, 1073749824, 20, 8005, 0, 1073749832, 20, 8013, 0, 1073749856, 28, 8039, 0,
1073749864, 28, 8047, 0, 1073749874, 12, 8053, 0, 1073749960, 12, 8139, 0 }

Definition at line 1716 of file unicode.cc.

Referenced by unibrow::CanonicalizationRange::Convert().

◆ kCanonicalizationRangeTable0Size

const uint16_t unibrow::kCanonicalizationRangeTable0Size = 70
static

Definition at line 1715 of file unicode.cc.

Referenced by unibrow::CanonicalizationRange::Convert().

◆ kCanonicalizationRangeTable1

const int32_t unibrow::kCanonicalizationRangeTable1[28]
static
Initial value:
= {
1073742176, 60, 367, 0, 1073742192, 60, 383, 0, 1073743030, 100, 1231, 0, 1073743056, 100, 1257, 0,
1073744896, 184, 3118, 0, 1073744944, 184, 3166, 0, 1073745152, 148, 3365, 0 }

Definition at line 1730 of file unicode.cc.

Referenced by unibrow::CanonicalizationRange::Convert().

◆ kCanonicalizationRangeTable1Size

const uint16_t unibrow::kCanonicalizationRangeTable1Size = 14
static

Definition at line 1729 of file unicode.cc.

Referenced by unibrow::CanonicalizationRange::Convert().

◆ kCanonicalizationRangeTable7

const int32_t unibrow::kCanonicalizationRangeTable7[8]
static
Initial value:
= {
1073749793, 100, 7994, 0, 1073749825, 100, 8026, 0 }

Definition at line 1737 of file unicode.cc.

Referenced by unibrow::CanonicalizationRange::Convert().

◆ kCanonicalizationRangeTable7Size

const uint16_t unibrow::kCanonicalizationRangeTable7Size = 4
static

Definition at line 1736 of file unicode.cc.

Referenced by unibrow::CanonicalizationRange::Convert().

◆ kChunkBits

const int unibrow::kChunkBits = (1 << 13)
static

Definition at line 14 of file unicode.cc.

Referenced by LookupMapping(), and LookupPredicate().

◆ kCombiningMarkTable0

const int32_t unibrow::kCombiningMarkTable0[258]
static

Definition at line 772 of file unicode.cc.

Referenced by unibrow::CombiningMark::Is().

◆ kCombiningMarkTable0Size

const uint16_t unibrow::kCombiningMarkTable0Size = 258
static

Definition at line 771 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::CombiningMark::Is().

◆ kCombiningMarkTable1

const int32_t unibrow::kCombiningMarkTable1[14]
static
Initial value:
= {
1073742032, 220, 225, 1073742053, 240, 1073745135, 3313, 3455,
1073745376, 3583, 1073745962, 4143, 1073746073, 4250 }

Definition at line 807 of file unicode.cc.

Referenced by unibrow::CombiningMark::Is().

◆ kCombiningMarkTable1Size

const uint16_t unibrow::kCombiningMarkTable1Size = 14
static

Definition at line 806 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::CombiningMark::Is().

◆ kCombiningMarkTable5

const int32_t unibrow::kCombiningMarkTable5[47]
static
Initial value:
= {
1647, 1073743476, 1661, 1695, 1073743600, 1777, 2050, 2054,
2059, 1073743907, 2087, 1073744000, 2177, 1073744052, 2244, 1073744096,
2289, 1073744166, 2349, 1073744199, 2387, 1073744256, 2435, 1073744307,
2496, 1073744425, 2614, 2627, 1073744460, 2637, 2683, 2736,
1073744562, 2740, 1073744567, 2744, 1073744574, 2751, 2753, 1073744619,
2799, 1073744629, 2806, 1073744867, 3050, 1073744876, 3053 }

Definition at line 811 of file unicode.cc.

Referenced by unibrow::CombiningMark::Is().

◆ kCombiningMarkTable5Size

const uint16_t unibrow::kCombiningMarkTable5Size = 47
static

Definition at line 810 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::CombiningMark::Is().

◆ kCombiningMarkTable7

const int32_t unibrow::kCombiningMarkTable7[5]
static
Initial value:
= {
6942, 1073749504, 7695, 1073749536, 7718 }

Definition at line 819 of file unicode.cc.

Referenced by unibrow::CombiningMark::Is().

◆ kCombiningMarkTable7Size

const uint16_t unibrow::kCombiningMarkTable7Size = 5
static

Definition at line 818 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::CombiningMark::Is().

◆ kConnectorPunctuationTable0

const int32_t unibrow::kConnectorPunctuationTable0[1]
static
Initial value:
= {
95 }

Definition at line 844 of file unicode.cc.

Referenced by unibrow::ConnectorPunctuation::Is().

◆ kConnectorPunctuationTable0Size

const uint16_t unibrow::kConnectorPunctuationTable0Size = 1
static

◆ kConnectorPunctuationTable1

const int32_t unibrow::kConnectorPunctuationTable1[3]
static
Initial value:
= {
1073741887, 64, 84 }

Definition at line 847 of file unicode.cc.

Referenced by unibrow::ConnectorPunctuation::Is().

◆ kConnectorPunctuationTable1Size

const uint16_t unibrow::kConnectorPunctuationTable1Size = 3
static

◆ kConnectorPunctuationTable7

const int32_t unibrow::kConnectorPunctuationTable7[5]
static
Initial value:
= {
1073749555, 7732, 1073749581, 7759, 7999 }

Definition at line 850 of file unicode.cc.

Referenced by unibrow::ConnectorPunctuation::Is().

◆ kConnectorPunctuationTable7Size

const uint16_t unibrow::kConnectorPunctuationTable7Size = 5
static

◆ kEcma262CanonicalizeMultiStrings0

const MultiCharacterSpecialCase<1> unibrow::kEcma262CanonicalizeMultiStrings0[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 1181 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeMultiStrings0Size

const uint16_t unibrow::kEcma262CanonicalizeMultiStrings0Size = 1
static

Definition at line 1246 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kEcma262CanonicalizeMultiStrings1

const MultiCharacterSpecialCase<1> unibrow::kEcma262CanonicalizeMultiStrings1[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 1247 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeMultiStrings1Size

const uint16_t unibrow::kEcma262CanonicalizeMultiStrings1Size = 1
static

Definition at line 1261 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kEcma262CanonicalizeMultiStrings5

const MultiCharacterSpecialCase<1> unibrow::kEcma262CanonicalizeMultiStrings5[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 1262 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeMultiStrings5Size

const uint16_t unibrow::kEcma262CanonicalizeMultiStrings5Size = 1
static

Definition at line 1277 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kEcma262CanonicalizeMultiStrings7

const MultiCharacterSpecialCase<1> unibrow::kEcma262CanonicalizeMultiStrings7[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 1278 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeMultiStrings7Size

const uint16_t unibrow::kEcma262CanonicalizeMultiStrings7Size = 1
static

Definition at line 1283 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kEcma262CanonicalizeTable0

const int32_t unibrow::kEcma262CanonicalizeTable0[976]
static

Definition at line 1184 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeTable0Size

const uint16_t unibrow::kEcma262CanonicalizeTable0Size = 488
static

Definition at line 1183 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeTable1

const int32_t unibrow::kEcma262CanonicalizeTable1[146]
static
Initial value:
= {
334, -112, 1073742192, -64, 383, -64, 388, -4, 1073743056, -104, 1257, -104, 1073744944, -192, 3166, -192,
3169, -4, 3173, -43180, 3174, -43168, 3176, -4, 3178, -4, 3180, -4, 3187, -4, 3190, -4,
3201, -4, 3203, -4, 3205, -4, 3207, -4, 3209, -4, 3211, -4, 3213, -4, 3215, -4,
3217, -4, 3219, -4, 3221, -4, 3223, -4, 3225, -4, 3227, -4, 3229, -4, 3231, -4,
3233, -4, 3235, -4, 3237, -4, 3239, -4, 3241, -4, 3243, -4, 3245, -4, 3247, -4,
3249, -4, 3251, -4, 3253, -4, 3255, -4, 3257, -4, 3259, -4, 3261, -4, 3263, -4,
3265, -4, 3267, -4, 3269, -4, 3271, -4, 3273, -4, 3275, -4, 3277, -4, 3279, -4,
3281, -4, 3283, -4, 3285, -4, 3287, -4, 3289, -4, 3291, -4, 3293, -4, 3295, -4,
3297, -4, 3299, -4, 3308, -4, 3310, -4, 3315, -4, 1073745152, -29056, 3365, -29056, 3367, -29056,
3373, -29056 }

Definition at line 1250 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeTable1Size

const uint16_t unibrow::kEcma262CanonicalizeTable1Size = 73
static

Definition at line 1249 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeTable5

const int32_t unibrow::kEcma262CanonicalizeTable5[176]
static
Initial value:
= {
1601, -4, 1603, -4, 1605, -4, 1607, -4, 1609, -4, 1611, -4, 1613, -4, 1615, -4,
1617, -4, 1619, -4, 1621, -4, 1623, -4, 1625, -4, 1627, -4, 1629, -4, 1631, -4,
1633, -4, 1635, -4, 1637, -4, 1639, -4, 1641, -4, 1643, -4, 1645, -4, 1665, -4,
1667, -4, 1669, -4, 1671, -4, 1673, -4, 1675, -4, 1677, -4, 1679, -4, 1681, -4,
1683, -4, 1685, -4, 1687, -4, 1827, -4, 1829, -4, 1831, -4, 1833, -4, 1835, -4,
1837, -4, 1839, -4, 1843, -4, 1845, -4, 1847, -4, 1849, -4, 1851, -4, 1853, -4,
1855, -4, 1857, -4, 1859, -4, 1861, -4, 1863, -4, 1865, -4, 1867, -4, 1869, -4,
1871, -4, 1873, -4, 1875, -4, 1877, -4, 1879, -4, 1881, -4, 1883, -4, 1885, -4,
1887, -4, 1889, -4, 1891, -4, 1893, -4, 1895, -4, 1897, -4, 1899, -4, 1901, -4,
1903, -4, 1914, -4, 1916, -4, 1919, -4, 1921, -4, 1923, -4, 1925, -4, 1927, -4,
1932, -4, 1937, -4, 1939, -4, 1953, -4, 1955, -4, 1957, -4, 1959, -4, 1961, -4 }

Definition at line 1265 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeTable5Size

const uint16_t unibrow::kEcma262CanonicalizeTable5Size = 88
static

Definition at line 1264 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeTable7

const int32_t unibrow::kEcma262CanonicalizeTable7[4]
static
Initial value:
= {
1073749825, -128, 8026, -128 }

Definition at line 1281 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262CanonicalizeTable7Size

const uint16_t unibrow::kEcma262CanonicalizeTable7Size = 2
static

Definition at line 1280 of file unicode.cc.

Referenced by unibrow::Ecma262Canonicalize::Convert().

◆ kEcma262UnCanonicalizeMultiStrings0

const MultiCharacterSpecialCase<4> unibrow::kEcma262UnCanonicalizeMultiStrings0[497]
static

Definition at line 1322 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeMultiStrings0Size

const uint16_t unibrow::kEcma262UnCanonicalizeMultiStrings0Size = 497
static

Definition at line 1574 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kEcma262UnCanonicalizeMultiStrings1

const MultiCharacterSpecialCase<2> unibrow::kEcma262UnCanonicalizeMultiStrings1[83]
static
Initial value:
= {
{{8498, 8526}}, {{8544, 8560}}, {{8559, 8575}}, {{8579, 8580}},
{{9398, 9424}}, {{9423, 9449}}, {{11264, 11312}}, {{11310, 11358}},
{{11360, 11361}}, {{619, 11362}}, {{7549, 11363}}, {{637, 11364}},
{{570, 11365}}, {{574, 11366}}, {{11367, 11368}}, {{11369, 11370}},
{{11371, 11372}}, {{593, 11373}}, {{625, 11374}}, {{592, 11375}},
{{594, 11376}}, {{11378, 11379}}, {{11381, 11382}}, {{575, 11390}},
{{576, 11391}}, {{11392, 11393}}, {{11394, 11395}}, {{11396, 11397}},
{{11398, 11399}}, {{11400, 11401}}, {{11402, 11403}}, {{11404, 11405}},
{{11406, 11407}}, {{11408, 11409}}, {{11410, 11411}}, {{11412, 11413}},
{{11414, 11415}}, {{11416, 11417}}, {{11418, 11419}}, {{11420, 11421}},
{{11422, 11423}}, {{11424, 11425}}, {{11426, 11427}}, {{11428, 11429}},
{{11430, 11431}}, {{11432, 11433}}, {{11434, 11435}}, {{11436, 11437}},
{{11438, 11439}}, {{11440, 11441}}, {{11442, 11443}}, {{11444, 11445}},
{{11446, 11447}}, {{11448, 11449}}, {{11450, 11451}}, {{11452, 11453}},
{{11454, 11455}}, {{11456, 11457}}, {{11458, 11459}}, {{11460, 11461}},
{{11462, 11463}}, {{11464, 11465}}, {{11466, 11467}}, {{11468, 11469}},
{{11470, 11471}}, {{11472, 11473}}, {{11474, 11475}}, {{11476, 11477}},
{{11478, 11479}}, {{11480, 11481}}, {{11482, 11483}}, {{11484, 11485}},
{{11486, 11487}}, {{11488, 11489}}, {{11490, 11491}}, {{11499, 11500}},
{{11501, 11502}}, {{11506, 11507}}, {{4256, 11520}}, {{4293, 11557}},
{{4295, 11559}}, {{4301, 11565}}, {{kSentinel}} }

Definition at line 1575 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeMultiStrings1Size

const uint16_t unibrow::kEcma262UnCanonicalizeMultiStrings1Size = 83
static

Definition at line 1618 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kEcma262UnCanonicalizeMultiStrings5

const MultiCharacterSpecialCase<2> unibrow::kEcma262UnCanonicalizeMultiStrings5[92]
static
Initial value:
= {
{{42560, 42561}}, {{42562, 42563}}, {{42564, 42565}}, {{42566, 42567}},
{{42568, 42569}}, {{42570, 42571}}, {{42572, 42573}}, {{42574, 42575}},
{{42576, 42577}}, {{42578, 42579}}, {{42580, 42581}}, {{42582, 42583}},
{{42584, 42585}}, {{42586, 42587}}, {{42588, 42589}}, {{42590, 42591}},
{{42592, 42593}}, {{42594, 42595}}, {{42596, 42597}}, {{42598, 42599}},
{{42600, 42601}}, {{42602, 42603}}, {{42604, 42605}}, {{42624, 42625}},
{{42626, 42627}}, {{42628, 42629}}, {{42630, 42631}}, {{42632, 42633}},
{{42634, 42635}}, {{42636, 42637}}, {{42638, 42639}}, {{42640, 42641}},
{{42642, 42643}}, {{42644, 42645}}, {{42646, 42647}}, {{42786, 42787}},
{{42788, 42789}}, {{42790, 42791}}, {{42792, 42793}}, {{42794, 42795}},
{{42796, 42797}}, {{42798, 42799}}, {{42802, 42803}}, {{42804, 42805}},
{{42806, 42807}}, {{42808, 42809}}, {{42810, 42811}}, {{42812, 42813}},
{{42814, 42815}}, {{42816, 42817}}, {{42818, 42819}}, {{42820, 42821}},
{{42822, 42823}}, {{42824, 42825}}, {{42826, 42827}}, {{42828, 42829}},
{{42830, 42831}}, {{42832, 42833}}, {{42834, 42835}}, {{42836, 42837}},
{{42838, 42839}}, {{42840, 42841}}, {{42842, 42843}}, {{42844, 42845}},
{{42846, 42847}}, {{42848, 42849}}, {{42850, 42851}}, {{42852, 42853}},
{{42854, 42855}}, {{42856, 42857}}, {{42858, 42859}}, {{42860, 42861}},
{{42862, 42863}}, {{42873, 42874}}, {{42875, 42876}}, {{7545, 42877}},
{{42878, 42879}}, {{42880, 42881}}, {{42882, 42883}}, {{42884, 42885}},
{{42886, 42887}}, {{42891, 42892}}, {{613, 42893}}, {{42896, 42897}},
{{42898, 42899}}, {{42912, 42913}}, {{42914, 42915}}, {{42916, 42917}},
{{42918, 42919}}, {{42920, 42921}}, {{614, 42922}}, {{kSentinel}} }

Definition at line 1619 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeMultiStrings5Size

const uint16_t unibrow::kEcma262UnCanonicalizeMultiStrings5Size = 92
static

Definition at line 1668 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kEcma262UnCanonicalizeMultiStrings7

const MultiCharacterSpecialCase<2> unibrow::kEcma262UnCanonicalizeMultiStrings7[3]
static
Initial value:
= {
{{65313, 65345}}, {{65338, 65370}}, {{kSentinel}} }

Definition at line 1669 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeMultiStrings7Size

const uint16_t unibrow::kEcma262UnCanonicalizeMultiStrings7Size = 3
static

Definition at line 1674 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kEcma262UnCanonicalizeTable0

const int32_t unibrow::kEcma262UnCanonicalizeTable0[1980]
static

Definition at line 1449 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeTable0Size

const uint16_t unibrow::kEcma262UnCanonicalizeTable0Size = 990
static

Definition at line 1448 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeTable1

const int32_t unibrow::kEcma262UnCanonicalizeTable1[298]
static
Initial value:
= {
306, 1, 334, 1, 1073742176, 5, 367, 9, 1073742192, 5, 383, 9, 387, 13, 388, 13,
1073743030, 17, 1231, 21, 1073743056, 17, 1257, 21, 1073744896, 25, 3118, 29, 1073744944, 25, 3166, 29,
3168, 33, 3169, 33, 3170, 37, 3171, 41, 3172, 45, 3173, 49, 3174, 53, 3175, 57,
3176, 57, 3177, 61, 3178, 61, 3179, 65, 3180, 65, 3181, 69, 3182, 73, 3183, 77,
3184, 81, 3186, 85, 3187, 85, 3189, 89, 3190, 89, 1073745022, 93, 3199, 97, 3200, 101,
3201, 101, 3202, 105, 3203, 105, 3204, 109, 3205, 109, 3206, 113, 3207, 113, 3208, 117,
3209, 117, 3210, 121, 3211, 121, 3212, 125, 3213, 125, 3214, 129, 3215, 129, 3216, 133,
3217, 133, 3218, 137, 3219, 137, 3220, 141, 3221, 141, 3222, 145, 3223, 145, 3224, 149,
3225, 149, 3226, 153, 3227, 153, 3228, 157, 3229, 157, 3230, 161, 3231, 161, 3232, 165,
3233, 165, 3234, 169, 3235, 169, 3236, 173, 3237, 173, 3238, 177, 3239, 177, 3240, 181,
3241, 181, 3242, 185, 3243, 185, 3244, 189, 3245, 189, 3246, 193, 3247, 193, 3248, 197,
3249, 197, 3250, 201, 3251, 201, 3252, 205, 3253, 205, 3254, 209, 3255, 209, 3256, 213,
3257, 213, 3258, 217, 3259, 217, 3260, 221, 3261, 221, 3262, 225, 3263, 225, 3264, 229,
3265, 229, 3266, 233, 3267, 233, 3268, 237, 3269, 237, 3270, 241, 3271, 241, 3272, 245,
3273, 245, 3274, 249, 3275, 249, 3276, 253, 3277, 253, 3278, 257, 3279, 257, 3280, 261,
3281, 261, 3282, 265, 3283, 265, 3284, 269, 3285, 269, 3286, 273, 3287, 273, 3288, 277,
3289, 277, 3290, 281, 3291, 281, 3292, 285, 3293, 285, 3294, 289, 3295, 289, 3296, 293,
3297, 293, 3298, 297, 3299, 297, 3307, 301, 3308, 301, 3309, 305, 3310, 305, 3314, 309,
3315, 309, 1073745152, 313, 3365, 317, 3367, 321, 3373, 325 }

Definition at line 1598 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeTable1Size

const uint16_t unibrow::kEcma262UnCanonicalizeTable1Size = 149
static

Definition at line 1597 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeTable5

const int32_t unibrow::kEcma262UnCanonicalizeTable5[358]
static
Initial value:
= {
1600, 1, 1601, 1, 1602, 5, 1603, 5, 1604, 9, 1605, 9, 1606, 13, 1607, 13,
1608, 17, 1609, 17, 1610, 21, 1611, 21, 1612, 25, 1613, 25, 1614, 29, 1615, 29,
1616, 33, 1617, 33, 1618, 37, 1619, 37, 1620, 41, 1621, 41, 1622, 45, 1623, 45,
1624, 49, 1625, 49, 1626, 53, 1627, 53, 1628, 57, 1629, 57, 1630, 61, 1631, 61,
1632, 65, 1633, 65, 1634, 69, 1635, 69, 1636, 73, 1637, 73, 1638, 77, 1639, 77,
1640, 81, 1641, 81, 1642, 85, 1643, 85, 1644, 89, 1645, 89, 1664, 93, 1665, 93,
1666, 97, 1667, 97, 1668, 101, 1669, 101, 1670, 105, 1671, 105, 1672, 109, 1673, 109,
1674, 113, 1675, 113, 1676, 117, 1677, 117, 1678, 121, 1679, 121, 1680, 125, 1681, 125,
1682, 129, 1683, 129, 1684, 133, 1685, 133, 1686, 137, 1687, 137, 1826, 141, 1827, 141,
1828, 145, 1829, 145, 1830, 149, 1831, 149, 1832, 153, 1833, 153, 1834, 157, 1835, 157,
1836, 161, 1837, 161, 1838, 165, 1839, 165, 1842, 169, 1843, 169, 1844, 173, 1845, 173,
1846, 177, 1847, 177, 1848, 181, 1849, 181, 1850, 185, 1851, 185, 1852, 189, 1853, 189,
1854, 193, 1855, 193, 1856, 197, 1857, 197, 1858, 201, 1859, 201, 1860, 205, 1861, 205,
1862, 209, 1863, 209, 1864, 213, 1865, 213, 1866, 217, 1867, 217, 1868, 221, 1869, 221,
1870, 225, 1871, 225, 1872, 229, 1873, 229, 1874, 233, 1875, 233, 1876, 237, 1877, 237,
1878, 241, 1879, 241, 1880, 245, 1881, 245, 1882, 249, 1883, 249, 1884, 253, 1885, 253,
1886, 257, 1887, 257, 1888, 261, 1889, 261, 1890, 265, 1891, 265, 1892, 269, 1893, 269,
1894, 273, 1895, 273, 1896, 277, 1897, 277, 1898, 281, 1899, 281, 1900, 285, 1901, 285,
1902, 289, 1903, 289, 1913, 293, 1914, 293, 1915, 297, 1916, 297, 1917, 301, 1918, 305,
1919, 305, 1920, 309, 1921, 309, 1922, 313, 1923, 313, 1924, 317, 1925, 317, 1926, 321,
1927, 321, 1931, 325, 1932, 325, 1933, 329, 1936, 333, 1937, 333, 1938, 337, 1939, 337,
1952, 341, 1953, 341, 1954, 345, 1955, 345, 1956, 349, 1957, 349, 1958, 353, 1959, 353,
1960, 357, 1961, 357, 1962, 361 }

Definition at line 1644 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeTable5Size

const uint16_t unibrow::kEcma262UnCanonicalizeTable5Size = 179
static

Definition at line 1643 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeTable7

const int32_t unibrow::kEcma262UnCanonicalizeTable7[8]
static
Initial value:
= {
1073749793, 1, 7994, 5, 1073749825, 1, 8026, 5 }

Definition at line 1672 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kEcma262UnCanonicalizeTable7Size

const uint16_t unibrow::kEcma262UnCanonicalizeTable7Size = 4
static

Definition at line 1671 of file unicode.cc.

Referenced by unibrow::Ecma262UnCanonicalize::Convert().

◆ kLetterTable0

const int32_t unibrow::kLetterTable0[435]
static

Definition at line 556 of file unicode.cc.

Referenced by unibrow::Letter::Is().

◆ kLetterTable0Size

const uint16_t unibrow::kLetterTable0Size = 435
static

Definition at line 555 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Letter::Is().

◆ kLetterTable1

const int32_t unibrow::kLetterTable1[87]
static
Initial value:
= {
113, 127, 1073741968, 156, 258, 263, 1073742090, 275,
277, 1073742105, 285, 292, 294, 296, 1073742122, 301,
1073742127, 313, 1073742140, 319, 1073742149, 329, 334, 1073742176,
392, 1073744896, 3118, 1073744944, 3166, 1073744992, 3300, 1073745131,
3310, 1073745138, 3315, 1073745152, 3365, 3367, 3373, 1073745200,
3431, 3439, 1073745280, 3478, 1073745312, 3494, 1073745320, 3502,
1073745328, 3510, 1073745336, 3518, 1073745344, 3526, 1073745352, 3534,
1073745360, 3542, 1073745368, 3550, 3631, 1073745925, 4103, 1073745953,
4137, 1073745969, 4149, 1073745976, 4156, 1073745985, 4246, 1073746077,
4255, 1073746081, 4346, 1073746172, 4351, 1073746181, 4397, 1073746225,
4494, 1073746336, 4538, 1073746416, 4607, 1073746944, 8191 }

Definition at line 613 of file unicode.cc.

Referenced by unibrow::Letter::Is().

◆ kLetterTable1Size

const uint16_t unibrow::kLetterTable1Size = 87
static

Definition at line 612 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Letter::Is().

◆ kLetterTable2

const int32_t unibrow::kLetterTable2[4]
static
Initial value:
= {
1073741824, 3509, 1073745408, 8191 }

Definition at line 626 of file unicode.cc.

Referenced by unibrow::Letter::Is().

◆ kLetterTable2Size

const uint16_t unibrow::kLetterTable2Size = 4
static

Definition at line 625 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Letter::Is().

◆ kLetterTable3

const int32_t unibrow::kLetterTable3[2]
static
Initial value:
= {
1073741824, 8191 }

Definition at line 629 of file unicode.cc.

Referenced by unibrow::Letter::Is().

◆ kLetterTable3Size

const uint16_t unibrow::kLetterTable3Size = 2
static

Definition at line 628 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Letter::Is().

◆ kLetterTable4

const int32_t unibrow::kLetterTable4[2]
static
Initial value:
= {
1073741824, 8140 }

Definition at line 632 of file unicode.cc.

Referenced by unibrow::Letter::Is().

◆ kLetterTable4Size

const uint16_t unibrow::kLetterTable4Size = 2
static

Definition at line 631 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Letter::Is().

◆ kLetterTable5

const int32_t unibrow::kLetterTable5[88]
static
Initial value:
= {
1073741824, 1164, 1073743056, 1277, 1073743104, 1548, 1073743376, 1567,
1073743402, 1579, 1073743424, 1646, 1073743487, 1687, 1073743520, 1775,
1073743639, 1823, 1073743650, 1928, 1073743755, 1934, 1073743760, 1939,
1073743776, 1962, 1073743864, 2049, 1073743875, 2053, 1073743879, 2058,
1073743884, 2082, 1073743936, 2163, 1073744002, 2227, 1073744114, 2295,
2299, 1073744138, 2341, 1073744176, 2374, 1073744224, 2428, 1073744260,
2482, 2511, 1073744384, 2600, 1073744448, 2626, 1073744452, 2635,
1073744480, 2678, 2682, 1073744512, 2735, 2737, 1073744565, 2742,
1073744569, 2749, 2752, 2754, 1073744603, 2781, 1073744608, 2794,
1073744626, 2804, 1073744641, 2822, 1073744649, 2830, 1073744657, 2838,
1073744672, 2854, 1073744680, 2862, 1073744832, 3042, 1073744896, 8191 }

Definition at line 635 of file unicode.cc.

Referenced by unibrow::Letter::Is().

◆ kLetterTable5Size

const uint16_t unibrow::kLetterTable5Size = 88
static

Definition at line 634 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Letter::Is().

◆ kLetterTable6

const int32_t unibrow::kLetterTable6[6]
static
Initial value:
= {
1073741824, 6051, 1073747888, 6086, 1073747915, 6139 }

Definition at line 648 of file unicode.cc.

Referenced by unibrow::Letter::Is().

◆ kLetterTable6Size

const uint16_t unibrow::kLetterTable6Size = 6
static

Definition at line 647 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Letter::Is().

◆ kLetterTable7

const int32_t unibrow::kLetterTable7[48]
static
Initial value:
= {
1073748224, 6765, 1073748592, 6873, 1073748736, 6918, 1073748755, 6935,
6941, 1073748767, 6952, 1073748778, 6966, 1073748792, 6972, 6974,
1073748800, 6977, 1073748803, 6980, 1073748806, 7089, 1073748947, 7485,
1073749328, 7567, 1073749394, 7623, 1073749488, 7675, 1073749616, 7796,
1073749622, 7932, 1073749793, 7994, 1073749825, 8026, 1073749862, 8126,
1073749954, 8135, 1073749962, 8143, 1073749970, 8151, 1073749978, 8156 }

Definition at line 651 of file unicode.cc.

Referenced by unibrow::Letter::Is().

◆ kLetterTable7Size

const uint16_t unibrow::kLetterTable7Size = 48
static

Definition at line 650 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Letter::Is().

◆ kLineTerminatorTable0

const int32_t unibrow::kLineTerminatorTable0[2]
static
Initial value:
= {
10, 13 }

Definition at line 750 of file unicode.cc.

Referenced by unibrow::LineTerminator::Is().

◆ kLineTerminatorTable0Size

const uint16_t unibrow::kLineTerminatorTable0Size = 2
static

Definition at line 749 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::LineTerminator::Is().

◆ kLineTerminatorTable1

const int32_t unibrow::kLineTerminatorTable1[2]
static
Initial value:
= {
1073741864, 41 }

Definition at line 753 of file unicode.cc.

Referenced by unibrow::LineTerminator::Is().

◆ kLineTerminatorTable1Size

const uint16_t unibrow::kLineTerminatorTable1Size = 2
static

Definition at line 752 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::LineTerminator::Is().

◆ kLowercaseTable0

const int32_t unibrow::kLowercaseTable0[463]
static

Definition at line 444 of file unicode.cc.

Referenced by unibrow::Lowercase::Is().

◆ kLowercaseTable0Size

const uint16_t unibrow::kLowercaseTable0Size = 463
static

Definition at line 443 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Lowercase::Is().

◆ kLowercaseTable1

const int32_t unibrow::kLowercaseTable1[84]
static
Initial value:
= {
266, 1073742094, 271, 275, 303, 308, 313, 1073742140,
317, 1073742150, 329, 334, 388, 1073744944, 3166, 3169,
1073744997, 3174, 3176, 3178, 3180, 3185, 1073745011, 3188,
1073745014, 3195, 3201, 3203, 3205, 3207, 3209, 3211,
3213, 3215, 3217, 3219, 3221, 3223, 3225, 3227,
3229, 3231, 3233, 3235, 3237, 3239, 3241, 3243,
3245, 3247, 3249, 3251, 3253, 3255, 3257, 3259,
3261, 3263, 3265, 3267, 3269, 3271, 3273, 3275,
3277, 3279, 3281, 3283, 3285, 3287, 3289, 3291,
3293, 3295, 3297, 1073745123, 3300, 3308, 3310, 3315,
1073745152, 3365, 3367, 3373 }

Definition at line 504 of file unicode.cc.

Referenced by unibrow::Lowercase::Is().

◆ kLowercaseTable1Size

const uint16_t unibrow::kLowercaseTable1Size = 84
static

Definition at line 503 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Lowercase::Is().

◆ kLowercaseTable5

const int32_t unibrow::kLowercaseTable5[93]
static
Initial value:
= {
1601, 1603, 1605, 1607, 1609, 1611, 1613, 1615,
1617, 1619, 1621, 1623, 1625, 1627, 1629, 1631,
1633, 1635, 1637, 1639, 1641, 1643, 1645, 1665,
1667, 1669, 1671, 1673, 1675, 1677, 1679, 1681,
1683, 1685, 1687, 1827, 1829, 1831, 1833, 1835,
1837, 1073743663, 1841, 1843, 1845, 1847, 1849, 1851,
1853, 1855, 1857, 1859, 1861, 1863, 1865, 1867,
1869, 1871, 1873, 1875, 1877, 1879, 1881, 1883,
1885, 1887, 1889, 1891, 1893, 1895, 1897, 1899,
1901, 1903, 1073743729, 1912, 1914, 1916, 1919, 1921,
1923, 1925, 1927, 1932, 1934, 1937, 1939, 1953,
1955, 1957, 1959, 1961, 2042 }

Definition at line 517 of file unicode.cc.

Referenced by unibrow::Lowercase::Is().

◆ kLowercaseTable5Size

const uint16_t unibrow::kLowercaseTable5Size = 93
static

Definition at line 516 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Lowercase::Is().

◆ kLowercaseTable7

const int32_t unibrow::kLowercaseTable7[6]
static
Initial value:
= {
1073748736, 6918, 1073748755, 6935, 1073749825, 8026 }

Definition at line 531 of file unicode.cc.

Referenced by unibrow::Lowercase::Is().

◆ kLowercaseTable7Size

const uint16_t unibrow::kLowercaseTable7Size = 6
static

Definition at line 530 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Lowercase::Is().

◆ kMaxMappingSize

const int unibrow::kMaxMappingSize = 4

The max length of the result of converting the case of a single character.

Definition at line 24 of file unicode.h.

◆ kNumberTable0

const int32_t unibrow::kNumberTable0[56]
static
Initial value:
= {
1073741872, 57, 1073743456, 1641, 1073743600, 1785, 1073743808, 1993,
1073744230, 2415, 1073744358, 2543, 1073744486, 2671, 1073744614, 2799,
1073744742, 2927, 1073744870, 3055, 1073744998, 3183, 1073745126, 3311,
1073745254, 3439, 1073745488, 3673, 1073745616, 3801, 1073745696, 3881,
1073745984, 4169, 1073746064, 4249, 1073747936, 6121, 1073747984, 6169,
1073748294, 6479, 1073748432, 6617, 1073748608, 6793, 1073748624, 6809,
1073748816, 7001, 1073748912, 7097, 1073749056, 7241, 1073749072, 7257 }

Definition at line 693 of file unicode.cc.

Referenced by unibrow::Number::Is().

◆ kNumberTable0Size

const uint16_t unibrow::kNumberTable0Size = 56
static

Definition at line 692 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Number::Is().

◆ kNumberTable5

const int32_t unibrow::kNumberTable5[12]
static
Initial value:
= {
1073743392, 1577, 1073744080, 2265, 1073744128, 2313, 1073744336, 2521,
1073744464, 2649, 1073744880, 3065 }

Definition at line 702 of file unicode.cc.

Referenced by unibrow::Number::Is().

◆ kNumberTable5Size

const uint16_t unibrow::kNumberTable5Size = 12
static

Definition at line 701 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Number::Is().

◆ kNumberTable7

const int32_t unibrow::kNumberTable7[2]
static
Initial value:
= {
1073749776, 7961 }

Definition at line 706 of file unicode.cc.

Referenced by unibrow::Number::Is().

◆ kNumberTable7Size

const uint16_t unibrow::kNumberTable7Size = 2
static

Definition at line 705 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Number::Is().

◆ kSentinel

const uchar unibrow::kSentinel = static_cast<uchar>(-1)
static

Definition at line 15 of file unicode.cc.

◆ kStartBit

const int unibrow::kStartBit = (1 << 30)
static

Definition at line 13 of file unicode.cc.

Referenced by GetEntry(), and IsStart().

◆ kToLowercaseMultiStrings0

const MultiCharacterSpecialCase<2> unibrow::kToLowercaseMultiStrings0[2]
static
Initial value:
= {
{{105, 775}}, {{kSentinel}} }

Definition at line 868 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseMultiStrings0Size

const uint16_t unibrow::kToLowercaseMultiStrings0Size = 2
static

Definition at line 933 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kToLowercaseMultiStrings1

const MultiCharacterSpecialCase<1> unibrow::kToLowercaseMultiStrings1[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 934 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseMultiStrings1Size

const uint16_t unibrow::kToLowercaseMultiStrings1Size = 1
static

Definition at line 948 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kToLowercaseMultiStrings5

const MultiCharacterSpecialCase<1> unibrow::kToLowercaseMultiStrings5[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 949 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseMultiStrings5Size

const uint16_t unibrow::kToLowercaseMultiStrings5Size = 1
static

Definition at line 965 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kToLowercaseMultiStrings7

const MultiCharacterSpecialCase<1> unibrow::kToLowercaseMultiStrings7[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 966 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseMultiStrings7Size

const uint16_t unibrow::kToLowercaseMultiStrings7Size = 1
static

Definition at line 971 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kToLowercaseTable0

const int32_t unibrow::kToLowercaseTable0[966]
static

Definition at line 871 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseTable0Size

const uint16_t unibrow::kToLowercaseTable0Size = 483
static

Definition at line 870 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseTable1

const int32_t unibrow::kToLowercaseTable1[158]
static
Initial value:
= {
294, -30068, 298, -33532, 299, -33048, 306, 112, 1073742176, 64, 367, 64, 387, 4, 1073743030, 104,
1231, 104, 1073744896, 192, 3118, 192, 3168, 4, 3170, -42972, 3171, -15256, 3172, -42908, 3175, 4,
3177, 4, 3179, 4, 3181, -43120, 3182, -42996, 3183, -43132, 3184, -43128, 3186, 4, 3189, 4,
1073745022, -43260, 3199, -43260, 3200, 4, 3202, 4, 3204, 4, 3206, 4, 3208, 4, 3210, 4,
3212, 4, 3214, 4, 3216, 4, 3218, 4, 3220, 4, 3222, 4, 3224, 4, 3226, 4,
3228, 4, 3230, 4, 3232, 4, 3234, 4, 3236, 4, 3238, 4, 3240, 4, 3242, 4,
3244, 4, 3246, 4, 3248, 4, 3250, 4, 3252, 4, 3254, 4, 3256, 4, 3258, 4,
3260, 4, 3262, 4, 3264, 4, 3266, 4, 3268, 4, 3270, 4, 3272, 4, 3274, 4,
3276, 4, 3278, 4, 3280, 4, 3282, 4, 3284, 4, 3286, 4, 3288, 4, 3290, 4,
3292, 4, 3294, 4, 3296, 4, 3298, 4, 3307, 4, 3309, 4, 3314, 4 }

Definition at line 937 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseTable1Size

const uint16_t unibrow::kToLowercaseTable1Size = 79
static

Definition at line 936 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseTable5

const int32_t unibrow::kToLowercaseTable5[182]
static
Initial value:
= {
1600, 4, 1602, 4, 1604, 4, 1606, 4, 1608, 4, 1610, 4, 1612, 4, 1614, 4,
1616, 4, 1618, 4, 1620, 4, 1622, 4, 1624, 4, 1626, 4, 1628, 4, 1630, 4,
1632, 4, 1634, 4, 1636, 4, 1638, 4, 1640, 4, 1642, 4, 1644, 4, 1664, 4,
1666, 4, 1668, 4, 1670, 4, 1672, 4, 1674, 4, 1676, 4, 1678, 4, 1680, 4,
1682, 4, 1684, 4, 1686, 4, 1826, 4, 1828, 4, 1830, 4, 1832, 4, 1834, 4,
1836, 4, 1838, 4, 1842, 4, 1844, 4, 1846, 4, 1848, 4, 1850, 4, 1852, 4,
1854, 4, 1856, 4, 1858, 4, 1860, 4, 1862, 4, 1864, 4, 1866, 4, 1868, 4,
1870, 4, 1872, 4, 1874, 4, 1876, 4, 1878, 4, 1880, 4, 1882, 4, 1884, 4,
1886, 4, 1888, 4, 1890, 4, 1892, 4, 1894, 4, 1896, 4, 1898, 4, 1900, 4,
1902, 4, 1913, 4, 1915, 4, 1917, -141328, 1918, 4, 1920, 4, 1922, 4, 1924, 4,
1926, 4, 1931, 4, 1933, -169120, 1936, 4, 1938, 4, 1952, 4, 1954, 4, 1956, 4,
1958, 4, 1960, 4, 1962, -169232 }

Definition at line 952 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseTable5Size

const uint16_t unibrow::kToLowercaseTable5Size = 91
static

Definition at line 951 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseTable7

const int32_t unibrow::kToLowercaseTable7[4]
static
Initial value:
= {
1073749793, 128, 7994, 128 }

Definition at line 969 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToLowercaseTable7Size

const uint16_t unibrow::kToLowercaseTable7Size = 2
static

Definition at line 968 of file unicode.cc.

Referenced by unibrow::ToLowercase::Convert().

◆ kToUppercaseMultiStrings0

const MultiCharacterSpecialCase<3> unibrow::kToUppercaseMultiStrings0[62]
static
Initial value:
= {
{{83, 83, kSentinel}}, {{700, 78, kSentinel}}, {{74, 780, kSentinel}}, {{921, 776, 769}},
{{933, 776, 769}}, {{1333, 1362, kSentinel}}, {{72, 817, kSentinel}}, {{84, 776, kSentinel}},
{{87, 778, kSentinel}}, {{89, 778, kSentinel}}, {{65, 702, kSentinel}}, {{933, 787, kSentinel}},
{{933, 787, 768}}, {{933, 787, 769}}, {{933, 787, 834}}, {{7944, 921, kSentinel}},
{{7945, 921, kSentinel}}, {{7946, 921, kSentinel}}, {{7947, 921, kSentinel}}, {{7948, 921, kSentinel}},
{{7949, 921, kSentinel}}, {{7950, 921, kSentinel}}, {{7951, 921, kSentinel}}, {{7976, 921, kSentinel}},
{{7977, 921, kSentinel}}, {{7978, 921, kSentinel}}, {{7979, 921, kSentinel}}, {{7980, 921, kSentinel}},
{{7981, 921, kSentinel}}, {{7982, 921, kSentinel}}, {{7983, 921, kSentinel}}, {{8040, 921, kSentinel}},
{{8041, 921, kSentinel}}, {{8042, 921, kSentinel}}, {{8043, 921, kSentinel}}, {{8044, 921, kSentinel}},
{{8045, 921, kSentinel}}, {{8046, 921, kSentinel}}, {{8047, 921, kSentinel}}, {{8122, 921, kSentinel}},
{{913, 921, kSentinel}}, {{902, 921, kSentinel}}, {{913, 834, kSentinel}}, {{913, 834, 921}},
{{8138, 921, kSentinel}}, {{919, 921, kSentinel}}, {{905, 921, kSentinel}}, {{919, 834, kSentinel}},
{{919, 834, 921}}, {{921, 776, 768}}, {{921, 834, kSentinel}}, {{921, 776, 834}},
{{933, 776, 768}}, {{929, 787, kSentinel}}, {{933, 834, kSentinel}}, {{933, 776, 834}},
{{8186, 921, kSentinel}}, {{937, 921, kSentinel}}, {{911, 921, kSentinel}}, {{937, 834, kSentinel}},
{{937, 834, 921}}, {{kSentinel}} }

Definition at line 1010 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseMultiStrings0Size

const uint16_t unibrow::kToUppercaseMultiStrings0Size = 62
static

Definition at line 1102 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kToUppercaseMultiStrings1

const MultiCharacterSpecialCase<1> unibrow::kToUppercaseMultiStrings1[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 1103 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseMultiStrings1Size

const uint16_t unibrow::kToUppercaseMultiStrings1Size = 1
static

Definition at line 1117 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kToUppercaseMultiStrings5

const MultiCharacterSpecialCase<1> unibrow::kToUppercaseMultiStrings5[1]
static
Initial value:
= {
{{kSentinel}} }

Definition at line 1118 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseMultiStrings5Size

const uint16_t unibrow::kToUppercaseMultiStrings5Size = 1
static

Definition at line 1133 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kToUppercaseMultiStrings7

const MultiCharacterSpecialCase<3> unibrow::kToUppercaseMultiStrings7[12]
static
Initial value:
= {
{{70, 70, kSentinel}}, {{70, 73, kSentinel}}, {{70, 76, kSentinel}}, {{70, 70, 73}},
{{70, 70, 76}}, {{83, 84, kSentinel}}, {{1348, 1350, kSentinel}}, {{1348, 1333, kSentinel}},
{{1348, 1339, kSentinel}}, {{1358, 1350, kSentinel}}, {{1348, 1341, kSentinel}}, {{kSentinel}} }

Definition at line 1134 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseMultiStrings7Size

const uint16_t unibrow::kToUppercaseMultiStrings7Size = 12
static

Definition at line 1142 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount().

◆ kToUppercaseTable0

const int32_t unibrow::kToUppercaseTable0[1160]
static

Definition at line 1028 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseTable0Size

const uint16_t unibrow::kToUppercaseTable0Size = 580
static

Definition at line 1027 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseTable1

const int32_t unibrow::kToUppercaseTable1[146]
static
Initial value:
= {
334, -112, 1073742192, -64, 383, -64, 388, -4, 1073743056, -104, 1257, -104, 1073744944, -192, 3166, -192,
3169, -4, 3173, -43180, 3174, -43168, 3176, -4, 3178, -4, 3180, -4, 3187, -4, 3190, -4,
3201, -4, 3203, -4, 3205, -4, 3207, -4, 3209, -4, 3211, -4, 3213, -4, 3215, -4,
3217, -4, 3219, -4, 3221, -4, 3223, -4, 3225, -4, 3227, -4, 3229, -4, 3231, -4,
3233, -4, 3235, -4, 3237, -4, 3239, -4, 3241, -4, 3243, -4, 3245, -4, 3247, -4,
3249, -4, 3251, -4, 3253, -4, 3255, -4, 3257, -4, 3259, -4, 3261, -4, 3263, -4,
3265, -4, 3267, -4, 3269, -4, 3271, -4, 3273, -4, 3275, -4, 3277, -4, 3279, -4,
3281, -4, 3283, -4, 3285, -4, 3287, -4, 3289, -4, 3291, -4, 3293, -4, 3295, -4,
3297, -4, 3299, -4, 3308, -4, 3310, -4, 3315, -4, 1073745152, -29056, 3365, -29056, 3367, -29056,
3373, -29056 }

Definition at line 1106 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseTable1Size

const uint16_t unibrow::kToUppercaseTable1Size = 73
static

Definition at line 1105 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseTable5

const int32_t unibrow::kToUppercaseTable5[176]
static
Initial value:
= {
1601, -4, 1603, -4, 1605, -4, 1607, -4, 1609, -4, 1611, -4, 1613, -4, 1615, -4,
1617, -4, 1619, -4, 1621, -4, 1623, -4, 1625, -4, 1627, -4, 1629, -4, 1631, -4,
1633, -4, 1635, -4, 1637, -4, 1639, -4, 1641, -4, 1643, -4, 1645, -4, 1665, -4,
1667, -4, 1669, -4, 1671, -4, 1673, -4, 1675, -4, 1677, -4, 1679, -4, 1681, -4,
1683, -4, 1685, -4, 1687, -4, 1827, -4, 1829, -4, 1831, -4, 1833, -4, 1835, -4,
1837, -4, 1839, -4, 1843, -4, 1845, -4, 1847, -4, 1849, -4, 1851, -4, 1853, -4,
1855, -4, 1857, -4, 1859, -4, 1861, -4, 1863, -4, 1865, -4, 1867, -4, 1869, -4,
1871, -4, 1873, -4, 1875, -4, 1877, -4, 1879, -4, 1881, -4, 1883, -4, 1885, -4,
1887, -4, 1889, -4, 1891, -4, 1893, -4, 1895, -4, 1897, -4, 1899, -4, 1901, -4,
1903, -4, 1914, -4, 1916, -4, 1919, -4, 1921, -4, 1923, -4, 1925, -4, 1927, -4,
1932, -4, 1937, -4, 1939, -4, 1953, -4, 1955, -4, 1957, -4, 1959, -4, 1961, -4 }

Definition at line 1121 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseTable5Size

const uint16_t unibrow::kToUppercaseTable5Size = 88
static

Definition at line 1120 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseTable7

const int32_t unibrow::kToUppercaseTable7[28]
static
Initial value:
= {
6912, 1, 6913, 5, 6914, 9, 6915, 13, 6916, 17, 6917, 21, 6918, 21, 6931, 25,
6932, 29, 6933, 33, 6934, 37, 6935, 41, 1073749825, -128, 8026, -128 }

Definition at line 1139 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kToUppercaseTable7Size

const uint16_t unibrow::kToUppercaseTable7Size = 14
static

Definition at line 1138 of file unicode.cc.

Referenced by unibrow::ToUppercase::Convert().

◆ kUppercaseTable0

const int32_t unibrow::kUppercaseTable0[450]
static

Definition at line 333 of file unicode.cc.

Referenced by unibrow::Uppercase::Is().

◆ kUppercaseTable0Size

const uint16_t unibrow::kUppercaseTable0Size = 450
static

Definition at line 332 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Uppercase::Is().

◆ kUppercaseTable1

const int32_t unibrow::kUppercaseTable1[86]
static
Initial value:
= {
258, 263, 1073742091, 269, 1073742096, 274, 277, 1073742105,
285, 292, 294, 296, 1073742122, 301, 1073742128, 307,
1073742142, 319, 325, 387, 1073744896, 3118, 3168, 1073744994,
3172, 3175, 3177, 3179, 1073745005, 3184, 3186, 3189,
1073745022, 3200, 3202, 3204, 3206, 3208, 3210, 3212,
3214, 3216, 3218, 3220, 3222, 3224, 3226, 3228,
3230, 3232, 3234, 3236, 3238, 3240, 3242, 3244,
3246, 3248, 3250, 3252, 3254, 3256, 3258, 3260,
3262, 3264, 3266, 3268, 3270, 3272, 3274, 3276,
3278, 3280, 3282, 3284, 3286, 3288, 3290, 3292,
3294, 3296, 3298, 3307, 3309, 3314 }

Definition at line 392 of file unicode.cc.

Referenced by unibrow::Uppercase::Is().

◆ kUppercaseTable1Size

const uint16_t unibrow::kUppercaseTable1Size = 86
static

Definition at line 391 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Uppercase::Is().

◆ kUppercaseTable5

const int32_t unibrow::kUppercaseTable5[91]
static
Initial value:
= {
1600, 1602, 1604, 1606, 1608, 1610, 1612, 1614,
1616, 1618, 1620, 1622, 1624, 1626, 1628, 1630,
1632, 1634, 1636, 1638, 1640, 1642, 1644, 1664,
1666, 1668, 1670, 1672, 1674, 1676, 1678, 1680,
1682, 1684, 1686, 1826, 1828, 1830, 1832, 1834,
1836, 1838, 1842, 1844, 1846, 1848, 1850, 1852,
1854, 1856, 1858, 1860, 1862, 1864, 1866, 1868,
1870, 1872, 1874, 1876, 1878, 1880, 1882, 1884,
1886, 1888, 1890, 1892, 1894, 1896, 1898, 1900,
1902, 1913, 1915, 1073743741, 1918, 1920, 1922, 1924,
1926, 1931, 1933, 1936, 1938, 1952, 1954, 1956,
1958, 1960, 1962 }

Definition at line 405 of file unicode.cc.

Referenced by unibrow::Uppercase::Is().

◆ kUppercaseTable5Size

const uint16_t unibrow::kUppercaseTable5Size = 91
static

Definition at line 404 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Uppercase::Is().

◆ kUppercaseTable7

const int32_t unibrow::kUppercaseTable7[2]
static
Initial value:
= {
1073749793, 7994 }

Definition at line 419 of file unicode.cc.

Referenced by unibrow::Uppercase::Is().

◆ kUppercaseTable7Size

const uint16_t unibrow::kUppercaseTable7Size = 2
static

Definition at line 418 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::Uppercase::Is().

◆ kWhiteSpaceTable0

const int32_t unibrow::kWhiteSpaceTable0[4]
static
Initial value:
= {
32, 160, 5760, 6158 }

Definition at line 728 of file unicode.cc.

Referenced by unibrow::WhiteSpace::Is().

◆ kWhiteSpaceTable0Size

const uint16_t unibrow::kWhiteSpaceTable0Size = 4
static

Definition at line 727 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::WhiteSpace::Is().

◆ kWhiteSpaceTable1

const int32_t unibrow::kWhiteSpaceTable1[5]
static
Initial value:
= {
1073741824, 10, 47, 95, 4096 }

Definition at line 731 of file unicode.cc.

Referenced by unibrow::WhiteSpace::Is().

◆ kWhiteSpaceTable1Size

const uint16_t unibrow::kWhiteSpaceTable1Size = 5
static

Definition at line 730 of file unicode.cc.

Referenced by unibrow::UnicodeData::GetByteCount(), and unibrow::WhiteSpace::Is().