Home
last modified time | relevance | path

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

/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/utf8/
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.h177 std::string ToUTF8String() const;
Dunicodetext.cc212 std::string UnicodeText::ToUTF8String() const { in ToUTF8String() function in libtextclassifier3::UnicodeText
/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/
Dutils.cc61 suggestion.response_text = match_text.ToUTF8String(); in SuggestTextRepliesFromCapturingMatch()
Dgrammar-actions.cc148 group, normalized_match_text.ToUTF8String(), in InstantiateActionsFromMatch()
Dregex-actions.cc228 group, normalized_group_match_text.ToUTF8String(), in SuggestActions()
Dactions-suggestions.cc1182 normalized_annotation_text.ToUTF8String()); in SuggestActionsFromAnnotation()
/external/libtextclassifier/native/annotator/number/
Dnumber.cc201 if (token_text.ToUTF8String().size() >= max_number_of_digits_) { in TryParseNumber()
/external/libtextclassifier/native/annotator/grammar/dates/
Dparser.cc495 .ToUTF8String(); in IsBlacklistedDate()
532 const std::string span_text = span.ToUTF8String(); in AreDateMatchesAdjacentAndMergeable()
/external/libtextclassifier/native/annotator/duration/
Dduration.cc37 .ToUTF8String(); in ToLowerString()
/external/libtextclassifier/native/annotator/grammar/
Dgrammar-annotator.cc329 normalized_group_text.ToUTF8String())) { in InstantiateClassificationInterpretation()
/external/libtextclassifier/native/annotator/
Dannotator.cc2465 normalized_group_match_text.ToUTF8String())) { in SerializedEntityDataFromRegexMatch()
2584 context_unicode.ToUTF8String(), in RegexChunk()
2586 matcher->Group(1, &status).ToUTF8String(), matcher.get())) { in RegexChunk()
2891 context_unicode.ToUTF8String(), in DatetimeChunk()
Dfeature-processor.cc693 *buffer = stripped_token_value.ToUTF8String(); in StripBoundaryCodepoints()