Home
last modified time | relevance | path

Searched refs:ToUTF8String (Results 1 – 20 of 20) sorted by relevance

/external/libtextclassifier/native/utils/utf8/
Dunilib_test-include.cc86 .ToUTF8String(), in TEST_F()
92 .ToUTF8String(), in TEST_F()
161 .ToUTF8String(), in TEST_F()
171 .ToUTF8String(), in TEST_F()
226 EXPECT_EQ(matcher->Group(0, &status).ToUTF8String(), "0123��"); in TEST_F()
278 EXPECT_EQ(matcher->Group(0, &status).ToUTF8String(), "0123��"); in TEST_F()
280 EXPECT_EQ(matcher->Group(1, &status).ToUTF8String(), "0"); in TEST_F()
282 EXPECT_EQ(matcher->Group(2, &status).ToUTF8String(), "123"); in TEST_F()
297 EXPECT_EQ(matcher->Group(0, &status).ToUTF8String(), "7"); in TEST_F()
299 EXPECT_EQ(matcher->Group(1, &status).ToUTF8String(), "7"); in TEST_F()
[all …]
Dunicodetext_test.cc41 EXPECT_EQ(UnicodeText(text).ToUTF8String(), "1234��hello"); in TEST()
42 EXPECT_EQ(UnicodeText(text, /*do_copy=*/false).ToUTF8String(), "1234��hello"); in TEST()
48 EXPECT_EQ(text.ToUTF8String(), "1234��hello"); in TEST()
63 EXPECT_EQ(text.ToUTF8String(), "1234��hello"); in TEST()
Dunicodetext.h185 std::string ToUTF8String() const;
Dunicodetext.cc229 std::string UnicodeText::ToUTF8String() const { in ToUTF8String() function in libtextclassifier3::UnicodeText
/external/libtextclassifier/native/utils/zlib/
Dzlib_regex.cc55 *result_pattern_text = unicode_regex_pattern.ToUTF8String(); in UncompressMakeRegexPattern()
67 << unicode_regex_pattern.ToUTF8String(); in UncompressMakeRegexPattern()
/external/libtextclassifier/native/utils/
Dregex-match.cc107 std::string text = matcher_->Group(group_id, &status).ToUTF8String(); in GetCapturingGroup()
159 std::string group_text = matcher->Group(group_id, &status).ToUTF8String(); in GetCapturingGroupText()
Dnormalization_test.cc41 .ToUTF8String(); in NormalizeTextCodepointWise()
Dregex-match_test.cc77 EXPECT_TRUE(VerifyMatch(message.ToUTF8String(), matcher.get(), verifier)); in TEST_F()
/external/libtextclassifier/native/actions/
Dgrammar-actions.cc85 group, normalized_match_text.ToUTF8String(), in InstantiateActionsFromMatch()
101 /*message_index=*/message_index, match_text.ToUTF8String(), in InstantiateActionsFromMatch()
Dtflite-sensitive-model.cc44 conversation.messages.front().text = text.ToUTF8String(); in Eval()
Dutils.cc66 suggestion.response_text = match_text.ToUTF8String(); in SuggestTextRepliesFromCapturingMatch()
Dregex-actions.cc231 group, normalized_group_match_text.ToUTF8String(), in SuggestActions()
Dactions-suggestions.cc1229 normalized_annotation_text.ToUTF8String()); in SuggestActionsFromAnnotation()
/external/libtextclassifier/native/annotator/vocab/
Dvocab-annotator-impl.cc108 unilib_.ToLowerText(stripped_token).ToUTF8String(); in ClassifyTextInternal()
/external/libtextclassifier/native/annotator/pod_ner/
Dpod-ner-impl.cc351 text_unicode.ToUTF8String()); in PrepareText()
363 .ToUTF8String() in PrepareText()
/external/libtextclassifier/native/annotator/number/
Dnumber.cc201 if (token_text.ToUTF8String().size() >= max_number_of_digits_) { in TryParseNumber()
/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc187 match_text.ToUTF8String())) { in InstantiateClassificationFromDerivation()
/external/libtextclassifier/native/annotator/duration/
Dduration.cc38 .ToUTF8String(); in ToLowerString()
/external/libtextclassifier/native/annotator/
Dannotator.cc2600 normalized_group_match_text.ToUTF8String())) { in SerializedEntityDataFromRegexMatch()
2650 .ToUTF8String(); in GetMoneyQuantityFromCapturingGroup()
2843 context_unicode.ToUTF8String(), in RegexChunk()
2845 matcher->Group(1, &status).ToUTF8String(), matcher.get())) { in RegexChunk()
Dfeature-processor.cc652 *buffer = stripped_token_value.ToUTF8String(); in StripBoundaryCodepoints()