Home
last modified time | relevance | path

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

/external/libtextclassifier/annotator/
Dannotator_jni_test.cc28 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("�� Hello��World.", {2, 7}), in TEST()
74 EXPECT_EQ(ConvertIndicesUTF8ToBMP("�� Hell����World.", {2, 7}), in TEST()
Dannotator_jni.cc352 CodepointSpan ConvertIndicesUTF8ToBMP(const std::string& utf8_str, in ConvertIndicesUTF8ToBMP() function
399 using libtextclassifier3::ConvertIndicesUTF8ToBMP;
534 selection = ConvertIndicesUTF8ToBMP(context_utf8, selection); in TC3_JNI_METHOD()
602 ConvertIndicesUTF8ToBMP(context_utf8, annotations[i].span); in TC3_JNI_METHOD()
Dannotator_jni.h113 libtextclassifier3::CodepointSpan ConvertIndicesUTF8ToBMP(