Home
last modified time | relevance | path

Searched refs:IsAscii (Results 1 – 13 of 13) sorted by relevance

/external/icing/icing/util/
Di18n-utils.cc115 bool IsAscii(char c) { return U8_IS_SINGLE((uint8_t)c); } in IsAscii() function
117 bool IsAscii(UChar32 c) { return U8_LENGTH(c) == 1; } in IsAscii() function
125 bool IsLeadUtf8Byte(char c) { return IsAscii(c) || U8_IS_LEAD((uint8_t)c); } in IsLeadUtf8Byte()
128 if (IsAscii(input[position])) { in IsPunctuationAt()
142 if (IsAscii(input[position])) { in IsWhitespaceAt()
150 if (IsAscii(input[position])) { in IsAlphabeticAt()
Di18n-utils.h65 bool IsAscii(char c);
68 bool IsAscii(UChar32 c);
/external/cronet/net/cert/pki/
Dstring_util_unittest.cc12 TEST(StringUtilTest, IsAscii) { in TEST() argument
13 EXPECT_TRUE(net::string_util::IsAscii("")); in TEST()
14 EXPECT_TRUE(net::string_util::IsAscii("mail.google.com")); in TEST()
15 EXPECT_TRUE(net::string_util::IsAscii("mail.google.com\x7F")); in TEST()
16 EXPECT_FALSE(net::string_util::IsAscii("mail.google.com\x80")); in TEST()
17 EXPECT_FALSE(net::string_util::IsAscii("mail.google.com\xFF")); in TEST()
Dgeneral_names.cc135 if (!net::string_util::IsAscii(s)) { in ParseGeneralName()
144 if (!net::string_util::IsAscii(s)) { in ParseGeneralName()
172 if (!net::string_util::IsAscii(s)) { in ParseGeneralName()
Dstring_util.h18 NET_EXPORT_PRIVATE bool IsAscii(std::string_view str);
Dstring_util.cc16 bool IsAscii(std::string_view str) { in IsAscii() function
Dparse_certificate.cc829 if (!net::string_util::IsAscii(uri)) in ParseAuthorityInfoAccessURIs()
/external/icing/icing/transform/map/
Dmap-normalizer.cc60 if (i18n_utils::IsAscii(iterator->second)) { in NormalizeChar()
77 if (i18n_utils::IsAscii(term[current_pos])) { in NormalizeTerm()
90 if (i18n_utils::IsAscii(normalized_char32)) { in NormalizeTerm()
114 if (i18n_utils::IsAscii(c)) { in FindNormalizedMatchEndPosition()
/external/icing/icing/transform/icu/
Dicu-normalizer.cc70 if (i18n_utils::IsAscii(uchar32_in)) { in DiacriticCharToAscii()
91 !U_FAILURE(status) && i18n_utils::IsAscii(decomposition_buffer[0])) { in DiacriticCharToAscii()
167 if (i18n_utils::IsAscii(c)) { in NormalizeLatin()
272 if (i18n_utils::IsAscii(c)) { in FindNormalizedLatinMatchEndPosition()
/external/lzma/CPP/Common/
DMyString.h388 bool IsAscii() const in IsAscii() function
630 bool IsAscii() const in IsAscii() function
/external/lzma/CPP/7zip/Common/
DMethodProps.cpp489 if (!temp.IsAscii()) in ParseMethodFromString()
/external/icing/icing/tokenization/
Draw-query-tokenizer.cc355 } else if (i18n_utils::IsAscii(text[pos])) { in GetContentTermType()
/external/icing/icing/legacy/index/
Dicing-dynamic-trie.cc1938 if (!i18n_utils::IsAscii(cur_[cur_len_ - 1])) { in LeftBranchToUtf8End()