Searched refs:IsAlphabeticAt (Results 1 – 4 of 4) sorted by relevance
/external/icing/icing/util/ |
D | i18n-utils_test.cc | 43 TEST(IcuI18nUtilsTest, IsAlphabeticAt) { in TEST() argument 46 EXPECT_TRUE(i18n_utils::IsAlphabeticAt(kSomeAscii, /*position=*/0)); // 'i' in TEST() 47 EXPECT_TRUE(i18n_utils::IsAlphabeticAt(kSomeAscii, /*position=*/1)); // 'J' in TEST() 48 EXPECT_FALSE(i18n_utils::IsAlphabeticAt(kSomeAscii, /*position=*/2)); // '?' in TEST() 49 EXPECT_FALSE(i18n_utils::IsAlphabeticAt(kSomeAscii, /*position=*/3)); // '9' in TEST() 53 i18n_utils::IsAlphabeticAt(kSomeNonAscii, /*position=*/0)); // '' in TEST() 58 i18n_utils::IsAlphabeticAt(kSomeNonAscii, /*position=*/4)); // 'ñ' in TEST() 63 i18n_utils::IsAlphabeticAt(kSomeNonAscii, /*position=*/6)); // '①' in TEST() 68 i18n_utils::IsAlphabeticAt(kSomeNonAscii, /*position=*/9)); // 'カ' in TEST()
|
D | i18n-utils.h | 92 bool IsAlphabeticAt(std::string_view input, int position);
|
D | i18n-utils.cc | 147 bool IsAlphabeticAt(std::string_view input, int position) { in IsAlphabeticAt() function
|
/external/icing/icing/tokenization/reverse_jni/ |
D | reverse-jni-language-segmenter.cc | 296 if (i18n_utils::IsAlphabeticAt(text_, term_start_.utf8_index())) { in IsValidTerm()
|