Home
last modified time | relevance | path

Searched refs:ConvertIndicesBMPToUTF8 (Results 1 – 3 of 3) sorted by relevance

/external/libtextclassifier/tests/
Dtextclassifier_jni_test.cc27 EXPECT_EQ(ConvertIndicesBMPToUTF8("hello", {0, 5}), std::make_pair(0, 5)); in TEST()
30 EXPECT_EQ(ConvertIndicesBMPToUTF8("hello world", {0, 5}), in TEST()
34 EXPECT_EQ(ConvertIndicesBMPToUTF8("��ello world", {0, 6}), in TEST()
39 EXPECT_EQ(ConvertIndicesBMPToUTF8("hello world", {6, 11}), in TEST()
43 EXPECT_EQ(ConvertIndicesBMPToUTF8("hello worl��", {6, 12}), in TEST()
50 EXPECT_EQ(ConvertIndicesBMPToUTF8("�� Hello World.", {3, 8}), in TEST()
57 EXPECT_EQ(ConvertIndicesBMPToUTF8("�� Hell�� World.", {3, 9}), in TEST()
64 EXPECT_EQ(ConvertIndicesBMPToUTF8("�� Hello��World.", {3, 8}), in TEST()
71 EXPECT_EQ(ConvertIndicesBMPToUTF8("�� Hell����World.", {3, 9}), in TEST()
/external/libtextclassifier/
Dtextclassifier_jni.cc146 CodepointSpan ConvertIndicesBMPToUTF8(const std::string& utf8_str, in ConvertIndicesBMPToUTF8() function
159 using libtextclassifier::ConvertIndicesBMPToUTF8;
179 ConvertIndicesBMPToUTF8(context_utf8, {selection_begin, selection_end}); in Java_android_view_textclassifier_SmartSelection_nativeSuggest()
Dtextclassifier_jni.h84 libtextclassifier::CodepointSpan ConvertIndicesBMPToUTF8(