/third_party/node/deps/v8/src/strings/ |
H A D | unicode.h | 19 using uchar = unsigned int; 33 inline bool get(uchar c); 37 bool CalculateValue(uchar c); 42 inline CacheEntry(uchar code_point, bool value) in CacheEntry() 47 code_point == static_cast<uchar>(-1)); in CacheEntry() 50 uchar code_point() const { return CodePointField::decode(bit_field_); } in code_point() 54 using CodePointField = v8::base::BitField<uchar, 0, 21>; 72 inline int get(uchar c, uchar n, uchar* resul [all...] |
H A D | unicode-inl.h | 16 bool Predicate<T, s>::get(uchar code_point) { in get() 23 bool Predicate<T, s>::CalculateValue(uchar code_point) { in CalculateValue() 30 int Mapping<T, s>::get(uchar c, uchar n, uchar* result) { in get() 45 int Mapping<T, s>::CalculateValue(uchar c, uchar n, uchar* result) { in CalculateValue() 84 uchar Utf8::ValueOfIncremental(const byte** cursor, State* state, in ValueOfIncremental() 93 return static_cast<uchar>(nex in ValueOfIncremental() [all...] |
H A D | unicode.cc | 13 #include "unicode/uchar.h" 23 static const uchar kSentinel = static_cast<uchar>(-1); 37 static inline uchar TableGet(const int32_t* table, int index) { in TableGet() 41 static inline uchar GetEntry(int32_t entry) { return entry & (kStartBit - 1); } in GetEntry() 55 static bool LookupPredicate(const int32_t* table, uint16_t size, uchar chr) { in LookupPredicate() 62 uchar current_value = GetEntry(TableGet<kEntryDist>(table, mid)); in LookupPredicate() 80 uchar entry = GetEntry(field); in LookupPredicate() 88 static const uchar kEndOfEncoding = kSentinel; 89 uchar char [all...] |
H A D | string-hasher-inl.h | 55 using uchar = typename std::make_unsigned<char_t>::type; in HashSequentialString() 56 const uchar* chars = reinterpret_cast<const uchar*>(chars_raw); in HashSequentialString() 86 const uchar* end = &chars[length]; in HashSequentialString() 117 const uchar* end = &chars[length]; in HashSequentialString()
|
H A D | unicode-decoder.cc | 27 unibrow::uchar t = in Utf8Decoder() 36 unibrow::uchar t = unibrow::Utf8::ValueOfIncrementalFinish(&state); in Utf8Decoder() 58 unibrow::uchar t = in Decode() 70 unibrow::uchar t = unibrow::Utf8::ValueOfIncrementalFinish(&state); in Decode()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
H A D | BidiFmwk.java | 199 char uchar; in buildPseudoTables() 248 for (i = 0, uchar = 0x0030; i < 6; i++, uchar++) { in buildPseudoTables() 250 pseudoToUChar[c] = uchar; in buildPseudoTables() 251 UCharToPseudo[uchar & 0x00ff] = c; in buildPseudoTables() 254 for (i = 6, uchar = 0x0666; i < 10; i++, uchar++) { in buildPseudoTables() 256 pseudoToUChar[c] = uchar; in buildPseudoTables() 257 UCharToPseud2[uchar & 0x00ff] = c; in buildPseudoTables() 260 for (i = 10, uchar in buildPseudoTables() [all...] |
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/ |
H A D | BidiFmwk.java | 200 char uchar; in buildPseudoTables() 249 for (i = 0, uchar = 0x0030; i < 6; i++, uchar++) { in buildPseudoTables() 251 pseudoToUChar[c] = uchar; in buildPseudoTables() 252 UCharToPseudo[uchar & 0x00ff] = c; in buildPseudoTables() 255 for (i = 6, uchar = 0x0666; i < 10; i++, uchar++) { in buildPseudoTables() 257 pseudoToUChar[c] = uchar; in buildPseudoTables() 258 UCharToPseud2[uchar & 0x00ff] = c; in buildPseudoTables() 261 for (i = 10, uchar in buildPseudoTables() [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | ucharstrie.cpp | 62 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext() argument 71 if(uchar<*pos++) { in branchNext() 83 if(uchar==*pos++) { in branchNext() 113 if(uchar==*pos++) { in branchNext() 124 UCharsTrie::nextImpl(const UChar *pos, int32_t uchar) { in nextImpl() argument 128 return branchNext(pos, node, uchar); in nextImpl() 132 if(uchar==*pos++) { in nextImpl() 155 UCharsTrie::next(int32_t uchar) { in next() argument 163 if(uchar==*pos++) { in next() 174 return nextImpl(pos, uchar); in next() 192 int32_t uchar; next() local [all...] |
/third_party/node/deps/icu-small/source/common/ |
H A D | ucharstrie.cpp | 62 UCharsTrie::branchNext(const char16_t *pos, int32_t length, int32_t uchar) { in branchNext() argument 71 if(uchar<*pos++) { in branchNext() 83 if(uchar==*pos++) { in branchNext() 113 if(uchar==*pos++) { in branchNext() 124 UCharsTrie::nextImpl(const char16_t *pos, int32_t uchar) { in nextImpl() argument 128 return branchNext(pos, node, uchar); in nextImpl() 132 if(uchar==*pos++) { in nextImpl() 155 UCharsTrie::next(int32_t uchar) { in next() argument 163 if(uchar==*pos++) { in next() 174 return nextImpl(pos, uchar); in next() 192 int32_t uchar; next() local [all...] |
/third_party/skia/third_party/externals/icu/source/common/ |
H A D | ucharstrie.cpp | 62 UCharsTrie::branchNext(const UChar *pos, int32_t length, int32_t uchar) { in branchNext() argument 71 if(uchar<*pos++) { in branchNext() 83 if(uchar==*pos++) { in branchNext() 113 if(uchar==*pos++) { in branchNext() 124 UCharsTrie::nextImpl(const UChar *pos, int32_t uchar) { in nextImpl() argument 128 return branchNext(pos, node, uchar); in nextImpl() 132 if(uchar==*pos++) { in nextImpl() 155 UCharsTrie::next(int32_t uchar) { in next() argument 163 if(uchar==*pos++) { in next() 174 return nextImpl(pos, uchar); in next() 192 int32_t uchar; next() local [all...] |
/third_party/icu/icu4c/source/common/unicode/ |
H A D | utf_old.h | 247 #define UTF_IS_SURROGATE(uchar) (((uchar)&0xfffff800)==0xd800) 314 #define UTF8_IS_SINGLE(uchar) (((uchar)&0x80)==0) 316 #define UTF8_IS_LEAD(uchar) ((uint8_t)((uchar)-0xc0)<0x3e) 318 #define UTF8_IS_TRAIL(uchar) (((uchar)&0xc0)==0x80) 533 /** Is uchar a first/lead surrogate? @deprecated ICU 2.4. Renamed to U_IS_LEAD and U16_IS_LEAD, see utf_old.h. */ 534 #define UTF_IS_FIRST_SURROGATE(uchar) (((ucha [all...] |
H A D | ucharstrie.h | 195 * Equivalent to reset().next(uchar). 196 * @param uchar Input char value. Values below 0 and above 0xffff will never match. 200 inline UStringTrieResult first(int32_t uchar) { in first() argument 202 return nextImpl(uchars_, uchar); in first() 217 * @param uchar Input char value. Values below 0 and above 0xffff will never match. 221 UStringTrieResult next(int32_t uchar); 499 // Handles a branch node for both next(uchar) and next(string). 500 UStringTrieResult branchNext(const char16_t *pos, int32_t length, int32_t uchar); 503 UStringTrieResult nextImpl(const char16_t *pos, int32_t uchar);
|
/third_party/node/deps/icu-small/source/common/unicode/ |
H A D | utf_old.h | 247 #define UTF_IS_SURROGATE(uchar) (((uchar)&0xfffff800)==0xd800) 314 #define UTF8_IS_SINGLE(uchar) (((uchar)&0x80)==0) 316 #define UTF8_IS_LEAD(uchar) ((uint8_t)((uchar)-0xc0)<0x3e) 318 #define UTF8_IS_TRAIL(uchar) (((uchar)&0xc0)==0x80) 533 /** Is uchar a first/lead surrogate? @deprecated ICU 2.4. Renamed to U_IS_LEAD and U16_IS_LEAD, see utf_old.h. */ 534 #define UTF_IS_FIRST_SURROGATE(uchar) (((ucha [all...] |
H A D | ucharstrie.h | 195 * Equivalent to reset().next(uchar). 196 * @param uchar Input char value. Values below 0 and above 0xffff will never match. 200 inline UStringTrieResult first(int32_t uchar) { in first() argument 202 return nextImpl(uchars_, uchar); in first() 217 * @param uchar Input char value. Values below 0 and above 0xffff will never match. 221 UStringTrieResult next(int32_t uchar); 499 // Handles a branch node for both next(uchar) and next(string). 500 UStringTrieResult branchNext(const char16_t *pos, int32_t length, int32_t uchar); 503 UStringTrieResult nextImpl(const char16_t *pos, int32_t uchar);
|
/third_party/skia/third_party/externals/icu/source/common/unicode/ |
H A D | utf_old.h | 247 #define UTF_IS_SURROGATE(uchar) (((uchar)&0xfffff800)==0xd800) 314 #define UTF8_IS_SINGLE(uchar) (((uchar)&0x80)==0) 316 #define UTF8_IS_LEAD(uchar) ((uint8_t)((uchar)-0xc0)<0x3e) 318 #define UTF8_IS_TRAIL(uchar) (((uchar)&0xc0)==0x80) 533 /** Is uchar a first/lead surrogate? @deprecated ICU 2.4. Renamed to U_IS_LEAD and U16_IS_LEAD, see utf_old.h. */ 534 #define UTF_IS_FIRST_SURROGATE(uchar) (((ucha [all...] |
H A D | ucharstrie.h | 195 * Equivalent to reset().next(uchar). 196 * @param uchar Input char value. Values below 0 and above 0xffff will never match. 200 inline UStringTrieResult first(int32_t uchar) { in first() argument 202 return nextImpl(uchars_, uchar); in first() 217 * @param uchar Input char value. Values below 0 and above 0xffff will never match. 221 UStringTrieResult next(int32_t uchar); 499 // Handles a branch node for both next(uchar) and next(string). 500 UStringTrieResult branchNext(const char16_t *pos, int32_t length, int32_t uchar); 503 UStringTrieResult nextImpl(const char16_t *pos, int32_t uchar);
|
/third_party/libphonenumber/cpp/src/phonenumbers/utf/ |
H A D | rune.c | 81 c = *(uchar*)str; in charntorune() 96 c1 = *(uchar*)(str+1) ^ Tx; in charntorune() 118 c2 = *(uchar*)(str+2) ^ Tx; in charntorune() 138 c3 = *(uchar*)(str+3) ^ Tx; in charntorune() 179 c = *(uchar*)str; in chartorune() 189 c1 = *(uchar*)(str+1) ^ Tx; in chartorune() 206 c2 = *(uchar*)(str+2) ^ Tx; in chartorune() 223 c3 = *(uchar*)(str+3) ^ Tx; in chartorune() 345 int c = *(uchar*)str; in fullrune()
|
H A D | utfdef.h | 15 #define uchar _utfuchar macro 22 typedef unsigned char uchar; typedef
|
/third_party/skia/third_party/externals/sfntly/cpp/src/test/ |
H A D | test_utils.cc | 21 #include <unicode/uchar.h> 41 int32_t TestUtils::EncodeOneChar(UConverter* encoder, int16_t uchar) { in EncodeOneChar() argument 46 source[0] = (UChar)uchar; in EncodeOneChar() 56 uchar, u_errorName(status)); in EncodeOneChar()
|
H A D | cmap_test.cc | 145 for (int32_t uchar = GetParam().low_char(); in CompareCMaps() 146 uchar <= GetParam().high_char(); ++uchar) { in CompareCMaps() 147 int32_t c1 = uchar; in CompareCMaps() 149 c1 = TestUtils::EncodeOneChar(encoder1_, (int16_t)uchar); in CompareCMaps() 150 int32_t c2 = uchar; in CompareCMaps() 152 c2 = TestUtils::EncodeOneChar(encoder2_, (int16_t)uchar); in CompareCMaps()
|
/third_party/skia/third_party/externals/sfntly/java/test/com/google/typography/font/sfntly/ |
H A D | GlyphTests.java | 117 for (int uchar = test.lowChar; uchar < test.highChar; uchar++) { in checkTestSet() 118 int encChar = uchar; in checkTestSet() 120 encChar = TestUtils.encodeOneChar(encoder, uchar); in checkTestSet()
|
/third_party/ltp/tools/sparse/sparse-src/validation/backend/ |
H A D | cast.c | 3 typedef unsigned char uchar; typedef 19 DEFINE_CAST(from, uchar) \ 34 DEFINE_CASTS(uchar)
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/ |
H A D | common.h | 140 static inline Short bytesToShort(constant uchar *input, uint offset) in bytesToShort() 149 static inline Int bytesToInt(constant uchar *input, uint offset) in bytesToInt() 160 static inline void shortToBytes(Short val, uint offset, device uchar *output) in shortToBytes() 168 static inline void intToBytes(Int val, uint offset, device uchar *output) in intToBytes() 177 static inline void floatToBytes(float val, uint offset, device uchar *output) in floatToBytes() 182 static inline void int24bitToBytes(uint val, uint offset, device uchar *output) in int24bitToBytes()
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/text/ |
H A D | BidiLine.java | 870 char uchar = bidi.text[logicalIndex]; in getVisualIndex() 872 if (Bidi.IsBidiControlChar(uchar)) { in getVisualIndex() 898 uchar = bidi.text[j]; in getVisualIndex() 899 if (Bidi.IsBidiControlChar(uchar)) { in getVisualIndex() 948 char uchar; in getLogicalIndex() 970 uchar = bidi.text[k]; in getLogicalIndex() 971 if (Bidi.IsBidiControlChar(uchar)) { in getLogicalIndex() 1072 char uchar; in getLogicalMap() 1095 uchar = bidi.text[k]; in getLogicalMap() 1096 if (Bidi.IsBidiControlChar(uchar)) { in getLogicalMap() [all...] |
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/text/ |
H A D | BidiLine.java | 871 char uchar = bidi.text[logicalIndex]; in getVisualIndex() 873 if (Bidi.IsBidiControlChar(uchar)) { in getVisualIndex() 899 uchar = bidi.text[j]; in getVisualIndex() 900 if (Bidi.IsBidiControlChar(uchar)) { in getVisualIndex() 949 char uchar; in getLogicalIndex() 971 uchar = bidi.text[k]; in getLogicalIndex() 972 if (Bidi.IsBidiControlChar(uchar)) { in getLogicalIndex() 1073 char uchar; in getLogicalMap() 1096 uchar = bidi.text[k]; in getLogicalMap() 1097 if (Bidi.IsBidiControlChar(uchar)) { in getLogicalMap() [all...] |