Searched refs:ConvertIndicesUTF8ToBMP (Results 1 – 3 of 3) sorted by relevance
/external/libtextclassifier/tests/ |
D | textclassifier_jni_test.cc | 28 EXPECT_EQ(ConvertIndicesUTF8ToBMP("hello", {0, 5}), std::make_pair(0, 5)); in TEST() 32 EXPECT_EQ(ConvertIndicesUTF8ToBMP("hello world", {0, 5}), in TEST() 36 EXPECT_EQ(ConvertIndicesUTF8ToBMP("ello world", {0, 5}), in TEST() 41 EXPECT_EQ(ConvertIndicesUTF8ToBMP("hello world", {6, 11}), in TEST() 45 EXPECT_EQ(ConvertIndicesUTF8ToBMP("hello worl", {6, 11}), in TEST() 53 EXPECT_EQ(ConvertIndicesUTF8ToBMP(" Hello World.", {2, 7}), in TEST() 60 EXPECT_EQ(ConvertIndicesUTF8ToBMP(" Hell World.", {2, 7}), in TEST() 67 EXPECT_EQ(ConvertIndicesUTF8ToBMP(" HelloWorld.", {2, 7}), in TEST() 74 EXPECT_EQ(ConvertIndicesUTF8ToBMP(" HellWorld.", {2, 7}), in TEST()
|
/external/libtextclassifier/ |
D | textclassifier_jni.cc | 151 CodepointSpan ConvertIndicesUTF8ToBMP(const std::string& utf8_str, in ConvertIndicesUTF8ToBMP() function 158 using libtextclassifier::ConvertIndicesUTF8ToBMP; 182 selection = ConvertIndicesUTF8ToBMP(context_utf8, selection); in Java_android_view_textclassifier_SmartSelection_nativeSuggest()
|
D | textclassifier_jni.h | 89 libtextclassifier::CodepointSpan ConvertIndicesUTF8ToBMP(
|