Home
last modified time | relevance | path

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

/external/libtextclassifier/native/annotator/
Dannotator_jni_test.cc27 EXPECT_EQ(ConvertIndicesBMPToUTF8("hello", {0, 5}), CodepointSpan(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()
Dannotator_jni.h115 libtextclassifier3::CodepointSpan ConvertIndicesBMPToUTF8(
Dannotator_jni.cc427 CodepointSpan ConvertIndicesBMPToUTF8(const std::string& utf8_str, in ConvertIndicesBMPToUTF8() function
485 using libtextclassifier3::ConvertIndicesBMPToUTF8;
635 ConvertIndicesBMPToUTF8(context_utf8, {selection_begin, selection_end}); in TC3_JNI_METHOD()
666 ConvertIndicesBMPToUTF8(context_utf8, {selection_begin, selection_end}); in TC3_JNI_METHOD()