Searched refs:IsAscii (Results 1 – 13 of 13) sorted by relevance
115 bool IsAscii(char c) { return U8_IS_SINGLE((uint8_t)c); } in IsAscii() function117 bool IsAscii(UChar32 c) { return U8_LENGTH(c) == 1; } in IsAscii() function125 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()
65 bool IsAscii(char c);68 bool IsAscii(UChar32 c);
12 TEST(StringUtilTest, IsAscii) { in TEST() argument13 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()
135 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()
18 NET_EXPORT_PRIVATE bool IsAscii(std::string_view str);
16 bool IsAscii(std::string_view str) { in IsAscii() function
829 if (!net::string_util::IsAscii(uri)) in ParseAuthorityInfoAccessURIs()
60 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()
70 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()
388 bool IsAscii() const in IsAscii() function630 bool IsAscii() const in IsAscii() function
489 if (!temp.IsAscii()) in ParseMethodFromString()
355 } else if (i18n_utils::IsAscii(text[pos])) { in GetContentTermType()
1938 if (!i18n_utils::IsAscii(cur_[cur_len_ - 1])) { in LeftBranchToUtf8End()