Searched refs:utf8_str (Results 1 – 3 of 3) sorted by relevance
/external/libtextclassifier/ |
D | textclassifier_jni.cc | 99 CodepointSpan ConvertIndicesBMPUTF8(const std::string& utf8_str, in ConvertIndicesBMPUTF8() argument 103 libtextclassifier::UTF8ToUnicodeText(utf8_str, /*do_copy=*/false); in ConvertIndicesBMPUTF8() 146 CodepointSpan ConvertIndicesBMPToUTF8(const std::string& utf8_str, in ConvertIndicesBMPToUTF8() argument 148 return ConvertIndicesBMPUTF8(utf8_str, orig_indices, /*from_utf8=*/false); in ConvertIndicesBMPToUTF8() 151 CodepointSpan ConvertIndicesUTF8ToBMP(const std::string& utf8_str, in ConvertIndicesUTF8ToBMP() argument 153 return ConvertIndicesBMPUTF8(utf8_str, orig_indices, /*from_utf8=*/true); in ConvertIndicesUTF8ToBMP()
|
D | textclassifier_jni.h | 85 const std::string& utf8_str, libtextclassifier::CodepointSpan bmp_indices); 90 const std::string& utf8_str, libtextclassifier::CodepointSpan utf8_indices);
|
/external/libtextclassifier/smartselect/ |
D | token-feature-extractor.cc | 69 std::string utf8_str; in RemapTokenUnicode() local 70 icu_string.toUTF8String(utf8_str); in RemapTokenUnicode() 71 remapped->CopyUTF8(utf8_str.data(), utf8_str.length()); in RemapTokenUnicode()
|