Home
last modified time | relevance | path

Searched refs:IsSlash (Results 1 – 5 of 5) sorted by relevance

/external/libtextclassifier/native/utils/utf8/
Dunilib.h92 bool IsSlash(char32 codepoint) const { in IsSlash() function
93 return libtextclassifier3::IsSlash(codepoint); in IsSlash()
Dunilib-common.h34 bool IsSlash(char32 codepoint);
Dunilib_test-include.cc49 EXPECT_TRUE(unilib_->IsSlash('/')); in TEST_F()
50 EXPECT_TRUE(unilib_->IsSlash(u'/')); in TEST_F()
129 EXPECT_TRUE(unilib_->IsSlash(0x002F)); // SOLIDUS in TEST_F()
130 EXPECT_TRUE(unilib_->IsSlash(0xFF0F)); // FULLWIDTH SOLIDUS in TEST_F()
Dunilib-common.cc579 bool IsSlash(char32 codepoint) { in IsSlash() function
/external/libtextclassifier/native/annotator/number/
Dnumber.cc104 if (token_length == 1 && unilib_->IsSlash(*prefix_begin_it) && in TokensAreValidNumberPrefix()
161 if (token_length == 1 && unilib_->IsSlash(*suffix_begin_it) && in TokensAreValidNumberSuffix()