/external/libtextclassifier/native/utils/utf8/ |
D | unilib_test-include.cc | 86 .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 …]
|
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 | 185 std::string ToUTF8String() const;
|
D | unicodetext.cc | 229 std::string UnicodeText::ToUTF8String() const { in ToUTF8String() function in libtextclassifier3::UnicodeText
|
/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/ |
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 | grammar-actions.cc | 85 group, normalized_match_text.ToUTF8String(), in InstantiateActionsFromMatch() 101 /*message_index=*/message_index, match_text.ToUTF8String(), in InstantiateActionsFromMatch()
|
D | tflite-sensitive-model.cc | 44 conversation.messages.front().text = text.ToUTF8String(); in Eval()
|
D | utils.cc | 66 suggestion.response_text = match_text.ToUTF8String(); in SuggestTextRepliesFromCapturingMatch()
|
D | regex-actions.cc | 231 group, normalized_group_match_text.ToUTF8String(), in SuggestActions()
|
D | actions-suggestions.cc | 1229 normalized_annotation_text.ToUTF8String()); in SuggestActionsFromAnnotation()
|
/external/libtextclassifier/native/annotator/vocab/ |
D | vocab-annotator-impl.cc | 108 unilib_.ToLowerText(stripped_token).ToUTF8String(); in ClassifyTextInternal()
|
/external/libtextclassifier/native/annotator/pod_ner/ |
D | pod-ner-impl.cc | 351 text_unicode.ToUTF8String()); in PrepareText() 363 .ToUTF8String() in PrepareText()
|
/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/ |
D | grammar-annotator.cc | 187 match_text.ToUTF8String())) { in InstantiateClassificationFromDerivation()
|
/external/libtextclassifier/native/annotator/duration/ |
D | duration.cc | 38 .ToUTF8String(); in ToLowerString()
|
/external/libtextclassifier/native/annotator/ |
D | annotator.cc | 2600 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()
|
D | feature-processor.cc | 652 *buffer = stripped_token_value.ToUTF8String(); in StripBoundaryCodepoints()
|