Home
last modified time | relevance | path

Searched refs:uchar32 (Results 1 – 8 of 8) sorted by relevance

/external/icing/icing/util/
Dcharacter-iterator.cc45 UChar32 uchar32 = in AdvanceToUtf8() local
47 if (uchar32 == i18n_utils::kInvalidUChar32) { in AdvanceToUtf8()
51 int utf8_length = i18n_utils::GetUtf8Length(uchar32); in AdvanceToUtf8()
57 utf16_index_ += i18n_utils::GetUtf16Length(uchar32); in AdvanceToUtf8()
78 UChar32 uchar32 = in RewindToUtf8() local
80 if (uchar32 == i18n_utils::kInvalidUChar32) { in RewindToUtf8()
84 utf16_index_ -= i18n_utils::GetUtf16Length(uchar32); in RewindToUtf8()
98 UChar32 uchar32 = in AdvanceToUtf16() local
100 if (uchar32 == i18n_utils::kInvalidUChar32) { in AdvanceToUtf16()
104 int utf16_length = i18n_utils::GetUtf16Length(uchar32); in AdvanceToUtf16()
[all …]
Di18n-utils.cc92 UChar32 uchar32; in GetUChar32At() local
93 U8_NEXT_OR_FFFD(data, position, length, uchar32); in GetUChar32At()
94 return uchar32; in GetUChar32At()
/external/icing/icing/transform/map/
Dmap-normalizer.cc42 UChar32 uchar32 = i18n_utils::GetUChar32At(term.data(), term.length(), i); in NormalizeTerm() local
43 if (uchar32 == i18n_utils::kInvalidUChar32) { in NormalizeTerm()
48 int utf8_length = i18n_utils::GetUtf8Length(uchar32); in NormalizeTerm()
49 if (i18n_utils::GetUtf16Length(uchar32) > 1) { in NormalizeTerm()
59 auto iterator = normalization_map.find(static_cast<char16_t>(uchar32)); in NormalizeTerm()
/external/icing/icing/transform/icu/
Dicu-normalizer.cc164 UChar32 uchar32 = i18n_utils::GetUChar32At(term.data(), term.length(), i); in NormalizeLatin() local
165 if (uchar32 == i18n_utils::kInvalidUChar32) { in NormalizeLatin()
171 if (DiacriticCharToAscii(normalizer2, uchar32, &ascii_char)) { in NormalizeLatin()
179 int utf8_length = i18n_utils::GetUtf8Length(uchar32); in NormalizeLatin()
/external/clang/test/Sema/
Dtypes.c81 typedef __attribute__ ((ext_vector_type(32),__aligned__(32))) unsigned char uchar32; typedef
84 uchar32 r = 0; in convert()
/external/llvm-project/clang/test/Sema/
Dtypes.c88 typedef __attribute__ ((ext_vector_type(32),__aligned__(32))) unsigned char uchar32; typedef
91 uchar32 r = 0; in convert()
/external/icing/icing/tokenization/icu/
Dicu-language-segmenter.cc301 UChar32 uchar32 = i18n_utils::GetUChar32At(text_.data(), text_.length(), in IsValidSegment() local
305 if (u_isUAlphabetic(uchar32)) { in IsValidSegment()
/external/icing/icing/legacy/index/
Dicing-dynamic-trie.cc1976 UChar32 uchar32 = i18n_utils::GetUChar32At(cur_, cur_len_, 0); in LeftBranchToUtf8End() local
1977 if (uchar32 == i18n_utils::kInvalidUChar32 && in LeftBranchToUtf8End()