Home
last modified time | relevance | path

Searched refs:IsAlphabeticAt (Results 1 – 4 of 4) sorted by relevance

/external/icing/icing/util/
Di18n-utils_test.cc43 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()
Di18n-utils.h92 bool IsAlphabeticAt(std::string_view input, int position);
Di18n-utils.cc147 bool IsAlphabeticAt(std::string_view input, int position) { in IsAlphabeticAt() function
/external/icing/icing/tokenization/reverse_jni/
Dreverse-jni-language-segmenter.cc296 if (i18n_utils::IsAlphabeticAt(text_, term_start_.utf8_index())) { in IsValidTerm()