Searched refs:ConvertIndicesBMPToUTF8 (Results 1 – 3 of 3) sorted by relevance
/external/libtextclassifier/annotator/ |
D | annotator_jni_test.cc | 27 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(" HelloWorld.", {3, 8}), in TEST() 71 EXPECT_EQ(ConvertIndicesBMPToUTF8(" HellWorld.", {3, 9}), in TEST()
|
D | annotator_jni.cc | 347 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()
|
D | annotator_jni.h | 108 libtextclassifier3::CodepointSpan ConvertIndicesBMPToUTF8(
|