Searched refs:ResetToTermStartingAfterUtf32 (Results 1 – 7 of 7) sorted by relevance
/external/icing/icing/tokenization/reverse_jni/ |
D | reverse-jni-language-segmenter_test.cc | 67 bool is_ok = itr->ResetToTermStartingAfterUtf32(-1).ok(); in GetAllTermsResetAfterUtf32() 73 is_ok = itr->ResetToTermStartingAfterUtf32(char_itr.utf32_index()).ok(); in GetAllTermsResetAfterUtf32() 94 is_ok = itr->ResetToTermStartingAfterUtf32(char_itr.utf32_index()).ok(); in GetAllTermsAdvanceAndResetAfterUtf32() 579 auto position_or = itr->ResetToTermStartingAfterUtf32(8); in TEST_P() 584 position_or = itr->ResetToTermStartingAfterUtf32(7); in TEST_P() 602 ASSERT_THAT(itr->ResetToTermStartingAfterUtf32(7), IsOkAndHolds(Eq(8))); in TEST_P() 605 EXPECT_THAT(itr->ResetToTermStartingAfterUtf32(-1), IsOk()); in TEST_P() 608 EXPECT_THAT(itr->ResetToTermStartingAfterUtf32(21), in TEST_P() 770 EXPECT_THAT(itr->ResetToTermStartingAfterUtf32(2), IsOkAndHolds(Eq(3))); in TEST_P() 773 EXPECT_THAT(itr->ResetToTermStartingAfterUtf32(10), IsOkAndHolds(Eq(11))); in TEST_P() [all …]
|
D | reverse-jni-language-segmenter.cc | 123 libtextclassifier3::StatusOr<int32_t> ResetToTermStartingAfterUtf32( in ResetToTermStartingAfterUtf32() function in icing::lib::ReverseJniLanguageSegmenterIterator
|
/external/icing/icing/tokenization/icu/ |
D | icu-language-segmenter_test.cc | 66 bool is_ok = itr->ResetToTermStartingAfterUtf32(-1).ok(); in GetAllTermsResetAfterUtf32() 72 is_ok = itr->ResetToTermStartingAfterUtf32(char_itr.utf32_index()).ok(); in GetAllTermsResetAfterUtf32() 93 is_ok = itr->ResetToTermStartingAfterUtf32(char_itr.utf32_index()).ok(); in GetAllTermsAdvanceAndResetAfterUtf32() 586 auto position_or = itr->ResetToTermStartingAfterUtf32(8); in TEST_P() 591 position_or = itr->ResetToTermStartingAfterUtf32(7); in TEST_P() 609 ASSERT_THAT(itr->ResetToTermStartingAfterUtf32(7), IsOkAndHolds(Eq(8))); in TEST_P() 612 EXPECT_THAT(itr->ResetToTermStartingAfterUtf32(-1), IsOk()); in TEST_P() 615 EXPECT_THAT(itr->ResetToTermStartingAfterUtf32(21), in TEST_P() 778 EXPECT_THAT(itr->ResetToTermStartingAfterUtf32(2), IsOkAndHolds(Eq(3))); in TEST_P() 781 EXPECT_THAT(itr->ResetToTermStartingAfterUtf32(10), IsOkAndHolds(Eq(11))); in TEST_P() [all …]
|
D | icu-language-segmenter.cc | 123 libtextclassifier3::StatusOr<int32_t> ResetToTermStartingAfterUtf32( in ResetToTermStartingAfterUtf32() function in icing::lib::IcuLanguageSegmenterIterator
|
/external/icing/icing/tokenization/ |
D | language-segmenter-iterator_test.cc | 82 EXPECT_THAT(iterator->ResetToTermStartingAfterUtf32(/*offset=*/0), in TEST_F() 84 EXPECT_THAT(iterator->ResetToTermStartingAfterUtf32(/*offset=*/3), in TEST_F() 86 EXPECT_THAT(iterator->ResetToTermStartingAfterUtf32(/*offset=*/4), in TEST_F() 100 EXPECT_THAT(iterator->ResetToTermStartingAfterUtf32(/*offset=*/-1), IsOk()); in TEST_F() 102 EXPECT_THAT(iterator->ResetToTermStartingAfterUtf32(/*offset=*/-100), IsOk()); in TEST_F() 118 EXPECT_THAT(iterator->ResetToTermStartingAfterUtf32(/*offset=*/text.length()), in TEST_F() 132 EXPECT_THAT(iterator->ResetToTermStartingAfterUtf32(/*offset=*/100), in TEST_F()
|
D | language-segmenter.h | 104 virtual libtextclassifier3::StatusOr<int32_t> ResetToTermStartingAfterUtf32( in ResetToTermStartingAfterUtf32() function
|
D | plain-tokenizer.cc | 85 if (!base_iterator_->ResetToTermStartingAfterUtf32(offset).ok()) { in ResetToTokenAfter()
|