Searched refs:ConvertIndicesUTF8ToBMP (Results 1 – 3 of 3) sorted by relevance
/external/libtextclassifier/native/annotator/ |
D | annotator_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()
|
D | annotator_jni.cc | 433 std::pair<int, int> ConvertIndicesUTF8ToBMP(const std::string& utf8_str, in ConvertIndicesUTF8ToBMP() function 485 using libtextclassifier3::ConvertIndicesUTF8ToBMP; 641 ConvertIndicesUTF8ToBMP(context_utf8, selection); in TC3_JNI_METHOD() 724 ConvertIndicesUTF8ToBMP(context_utf8, annotations[i].span); in TC3_JNI_METHOD() 824 const std::pair<int, int> span_bmp = ConvertIndicesUTF8ToBMP( in TC3_JNI_METHOD()
|
D | annotator_jni.h | 120 std::pair<int, int> ConvertIndicesUTF8ToBMP(
|