Searched refs:ResetToTermEndingBeforeUtf32 (Results 1 – 7 of 7) sorted by relevance
/external/icing/icing/tokenization/ |
D | language-segmenter-iterator_test.cc | 146 EXPECT_THAT(iterator->ResetToTermEndingBeforeUtf32(/*offset=*/6), in TEST_F() 148 EXPECT_THAT(iterator->ResetToTermEndingBeforeUtf32(/*offset=*/3), in TEST_F() 150 EXPECT_THAT(iterator->ResetToTermEndingBeforeUtf32(/*offset=*/2), in TEST_F() 165 EXPECT_THAT(iterator->ResetToTermEndingBeforeUtf32(/*offset=*/0), in TEST_F() 179 EXPECT_THAT(iterator->ResetToTermEndingBeforeUtf32(/*offset=*/-1), in TEST_F() 182 EXPECT_THAT(iterator->ResetToTermEndingBeforeUtf32(/*offset=*/-100), in TEST_F() 196 EXPECT_THAT(iterator->ResetToTermEndingBeforeUtf32(/*offset=*/text.length()), in TEST_F() 200 iterator->ResetToTermEndingBeforeUtf32(/*offset=*/text.length() + 1), in TEST_F()
|
D | plain-tokenizer.cc | 98 offset, base_iterator_->ResetToTermEndingBeforeUtf32(offset), false); in ResetToTokenBefore() 104 offset, base_iterator_->ResetToTermEndingBeforeUtf32(offset), false); in ResetToTokenBefore()
|
D | language-segmenter.h | 132 virtual libtextclassifier3::StatusOr<int32_t> ResetToTermEndingBeforeUtf32( in ResetToTermEndingBeforeUtf32() function
|
/external/icing/icing/tokenization/reverse_jni/ |
D | reverse-jni-language-segmenter_test.cc | 107 bool is_ok = itr->ResetToTermEndingBeforeUtf32(1000).ok(); in GetAllTermsResetBeforeUtf32() 113 is_ok = itr->ResetToTermEndingBeforeUtf32(char_itr.utf32_index()).ok(); in GetAllTermsResetBeforeUtf32() 944 auto position_or = itr->ResetToTermEndingBeforeUtf32(31); in TEST_P() 949 position_or = itr->ResetToTermEndingBeforeUtf32(21); in TEST_P() 967 ASSERT_THAT(itr->ResetToTermEndingBeforeUtf32(7), IsOkAndHolds(Eq(4))); in TEST_P() 970 EXPECT_THAT(itr->ResetToTermEndingBeforeUtf32(-1), in TEST_P() 974 EXPECT_THAT(itr->ResetToTermEndingBeforeUtf32(29), IsOk()); in TEST_P() 1066 EXPECT_THAT(itr->ResetToTermEndingBeforeUtf32(2), in TEST_P() 1070 EXPECT_THAT(itr->ResetToTermEndingBeforeUtf32(10), IsOkAndHolds(Eq(7))); in TEST_P() 1073 EXPECT_THAT(itr->ResetToTermEndingBeforeUtf32(7), IsOkAndHolds(Eq(4))); in TEST_P() [all …]
|
D | reverse-jni-language-segmenter.cc | 193 libtextclassifier3::StatusOr<int32_t> ResetToTermEndingBeforeUtf32( in ResetToTermEndingBeforeUtf32() function in icing::lib::ReverseJniLanguageSegmenterIterator 248 return ResetToTermEndingBeforeUtf32(term_start_.utf32_index()); in ResetToTermEndingBeforeUtf32()
|
/external/icing/icing/tokenization/icu/ |
D | icu-language-segmenter_test.cc | 106 bool is_ok = itr->ResetToTermEndingBeforeUtf32(1000).ok(); in GetAllTermsResetBeforeUtf32() 112 is_ok = itr->ResetToTermEndingBeforeUtf32(char_itr.utf32_index()).ok(); in GetAllTermsResetBeforeUtf32() 953 auto position_or = itr->ResetToTermEndingBeforeUtf32(31); in TEST_P() 958 position_or = itr->ResetToTermEndingBeforeUtf32(21); in TEST_P() 976 ASSERT_THAT(itr->ResetToTermEndingBeforeUtf32(7), IsOkAndHolds(Eq(4))); in TEST_P() 979 EXPECT_THAT(itr->ResetToTermEndingBeforeUtf32(-1), in TEST_P() 983 EXPECT_THAT(itr->ResetToTermEndingBeforeUtf32(29), IsOk()); in TEST_P() 1076 EXPECT_THAT(itr->ResetToTermEndingBeforeUtf32(2), in TEST_P() 1080 EXPECT_THAT(itr->ResetToTermEndingBeforeUtf32(10), IsOkAndHolds(Eq(7))); in TEST_P() 1083 EXPECT_THAT(itr->ResetToTermEndingBeforeUtf32(7), IsOkAndHolds(Eq(4))); in TEST_P() [all …]
|
D | icu-language-segmenter.cc | 175 libtextclassifier3::StatusOr<int32_t> ResetToTermEndingBeforeUtf32( in ResetToTermEndingBeforeUtf32() function in icing::lib::IcuLanguageSegmenterIterator 231 return ResetToTermEndingBeforeUtf32(term_start_iterator.utf32_index()); in ResetToTermEndingBeforeUtf32()
|