Searched refs:size_codepoints (Results 1 – 11 of 11) sorted by relevance
/external/libtextclassifier/native/utils/utf8/ |
D | unilib-common.h | 61 (std::is_same<T, int32>::value && text.size_codepoints() > 10) || in PassesIntPreChesks() 62 (std::is_same<T, int64>::value && text.size_codepoints() > 19)) { in PassesIntPreChesks()
|
D | unicodetext_test.cc | 49 EXPECT_EQ(text.size_codepoints(), 10); in TEST() 64 EXPECT_EQ(text.size_codepoints(), 10); in TEST()
|
D | unilib.h | 174 if (icu_length.ValueOrDie() != text.size_codepoints()) { in IsValidUtf8()
|
D | unicodetext.h | 158 int size_codepoints() const;
|
D | unicodetext.cc | 196 int UnicodeText::size_codepoints() const { in size_codepoints() function in libtextclassifier3::UnicodeText
|
D | unilib_test-include.cc | 190 TC3_LOG(INFO) << matcher->Group(0, &status).size_codepoints(); in TEST_F()
|
/external/libtextclassifier/native/annotator/translate/ |
D | translate.cc | 170 const int text_size_codepoints = text.size_codepoints(); in TokenAlignedSubstringAroundSpan()
|
/external/libtextclassifier/native/utils/ |
D | tokenizer.cc | 241 const int context_unicode_size = context_unicode.size_codepoints(); in ICUTokenize()
|
/external/libtextclassifier/native/annotator/pod_ner/ |
D | pod-ner-impl.cc | 392 return AnnotateAroundSpanOfInterest(context, {0, context.size_codepoints()}, in Annotate()
|
/external/libtextclassifier/native/annotator/ |
D | annotator.cc | 117 span.second <= context.size_codepoints()); in IsValidSpanInput() 2722 const int amount_codepoints_size = amount.size_codepoints(); in ParseAndFillInMoneyAmount() 2733 pow(10, 9 - decimal_part.size_codepoints()); in ParseAndFillInMoneyAmount()
|
D | feature-processor.cc | 644 const CodepointSpan initial_span{0, value_unicode.size_codepoints()}; in StripBoundaryCodepoints()
|