Searched refs:ToUTF8String (Results 1 – 17 of 17) sorted by relevance
/external/libtextclassifier/native/utils/zlib/ |
D | zlib_regex.cc | 55 *result_pattern_text = unicode_regex_pattern.ToUTF8String(); in UncompressMakeRegexPattern() 67 << unicode_regex_pattern.ToUTF8String(); in UncompressMakeRegexPattern()
|
/external/libtextclassifier/native/utils/utf8/ |
D | unicodetext_test.cc | 41 EXPECT_EQ(UnicodeText(text).ToUTF8String(), "1234hello"); in TEST() 42 EXPECT_EQ(UnicodeText(text, /*do_copy=*/false).ToUTF8String(), "1234hello"); in TEST() 48 EXPECT_EQ(text.ToUTF8String(), "1234hello"); in TEST() 63 EXPECT_EQ(text.ToUTF8String(), "1234hello"); in TEST()
|
D | unicodetext.h | 177 std::string ToUTF8String() const;
|
D | unicodetext.cc | 212 std::string UnicodeText::ToUTF8String() const { in ToUTF8String() function in libtextclassifier3::UnicodeText
|
/external/libtextclassifier/native/utils/ |
D | regex-match.cc | 107 std::string text = matcher_->Group(group_id, &status).ToUTF8String(); in GetCapturingGroup() 159 std::string group_text = matcher->Group(group_id, &status).ToUTF8String(); in GetCapturingGroupText()
|
D | normalization_test.cc | 41 .ToUTF8String(); in NormalizeTextCodepointWise()
|
D | regex-match_test.cc | 77 EXPECT_TRUE(VerifyMatch(message.ToUTF8String(), matcher.get(), verifier)); in TEST_F()
|
/external/libtextclassifier/native/actions/ |
D | utils.cc | 61 suggestion.response_text = match_text.ToUTF8String(); in SuggestTextRepliesFromCapturingMatch()
|
D | grammar-actions.cc | 148 group, normalized_match_text.ToUTF8String(), in InstantiateActionsFromMatch()
|
D | regex-actions.cc | 228 group, normalized_group_match_text.ToUTF8String(), in SuggestActions()
|
D | actions-suggestions.cc | 1182 normalized_annotation_text.ToUTF8String()); in SuggestActionsFromAnnotation()
|
/external/libtextclassifier/native/annotator/number/ |
D | number.cc | 201 if (token_text.ToUTF8String().size() >= max_number_of_digits_) { in TryParseNumber()
|
/external/libtextclassifier/native/annotator/grammar/dates/ |
D | parser.cc | 495 .ToUTF8String(); in IsBlacklistedDate() 532 const std::string span_text = span.ToUTF8String(); in AreDateMatchesAdjacentAndMergeable()
|
/external/libtextclassifier/native/annotator/duration/ |
D | duration.cc | 37 .ToUTF8String(); in ToLowerString()
|
/external/libtextclassifier/native/annotator/grammar/ |
D | grammar-annotator.cc | 329 normalized_group_text.ToUTF8String())) { in InstantiateClassificationInterpretation()
|
/external/libtextclassifier/native/annotator/ |
D | annotator.cc | 2465 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()
|
D | feature-processor.cc | 693 *buffer = stripped_token_value.ToUTF8String(); in StripBoundaryCodepoints()
|