Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/
Dannotator_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()
Dannotator_jni.cc347 CodepointSpan ConvertIndicesBMPToUTF8(const std::string& utf8_str, in ConvertIndicesBMPToUTF8() function
398 using libtextclassifier3::ConvertIndicesBMPToUTF8;
531 ConvertIndicesBMPToUTF8(context_utf8, {selection_begin, selection_end}); in TC3_JNI_METHOD()
554 ConvertIndicesBMPToUTF8(context_utf8, {selection_begin, selection_end}); in TC3_JNI_METHOD()
Dannotator_jni.h108 libtextclassifier3::CodepointSpan ConvertIndicesBMPToUTF8(