Searched refs:GetTerm (Results 1 – 9 of 9) sorted by relevance
/external/icing/icing/tokenization/reverse_jni/ |
D | reverse-jni-language-segmenter_test.cc | 54 terms.push_back(itr->GetTerm()); in GetAllTermsAdvance() 69 terms.push_back(itr->GetTerm()); in GetAllTermsResetAfterUtf32() 86 terms.push_back(itr->GetTerm()); in GetAllTermsAdvanceAndResetAfterUtf32() 109 terms.push_back(itr->GetTerm()); in GetAllTermsResetBeforeUtf32() 390 terms.push_back(itr->GetTerm()); in TEST_P() 393 EXPECT_THAT(itr->GetTerm(), IsEmpty()); in TEST_P() 491 ASSERT_THAT(itr->GetTerm(), Eq("com:google:android")); in TEST_P() 507 EXPECT_THAT(itr->GetTerm(), Eq("How")); in TEST_P() 524 EXPECT_THAT(itr->GetTerm(), Eq("How")); in TEST_P() 545 EXPECT_THAT(itr->GetTerm(), Eq("How")); in TEST_P() [all …]
|
D | reverse-jni-language-segmenter.cc | 89 std::string_view GetTerm() const override { in GetTerm() function in icing::lib::ReverseJniLanguageSegmenterIterator 331 terms.push_back(iterator->GetTerm()); in GetAllTerms()
|
/external/icing/icing/tokenization/icu/ |
D | icu-language-segmenter_test.cc | 53 terms.push_back(itr->GetTerm()); in GetAllTermsAdvance() 68 terms.push_back(itr->GetTerm()); in GetAllTermsResetAfterUtf32() 85 terms.push_back(itr->GetTerm()); in GetAllTermsAdvanceAndResetAfterUtf32() 108 terms.push_back(itr->GetTerm()); in GetAllTermsResetBeforeUtf32() 396 terms.push_back(itr->GetTerm()); in TEST_P() 399 EXPECT_THAT(itr->GetTerm(), IsEmpty()); in TEST_P() 497 ASSERT_THAT(itr->GetTerm(), Eq("com:google:android")); in TEST_P() 513 EXPECT_THAT(itr->GetTerm(), Eq("How")); in TEST_P() 531 EXPECT_THAT(itr->GetTerm(), Eq("How")); in TEST_P() 552 EXPECT_THAT(itr->GetTerm(), Eq("How")); in TEST_P() [all …]
|
D | icu-language-segmenter.cc | 94 std::string_view GetTerm() const override { in GetTerm() function in icing::lib::IcuLanguageSegmenterIterator 356 terms.push_back(iterator->GetTerm()); in GetAllTerms()
|
/external/icing/icing/tokenization/ |
D | plain-tokenizer.cc | 61 current_term_ = base_iterator_->GetTerm(); in Advance() 88 current_term_ = base_iterator_->GetTerm(); in ResetToTokenAfter() 99 current_term_ = base_iterator_->GetTerm(); in ResetToTokenBefore() 105 current_term_ = base_iterator_->GetTerm(); in ResetToTokenBefore() 114 current_term_ = base_iterator_->GetTerm(); in ResetToStart()
|
D | language-segmenter-iterator_test.cc | 61 EXPECT_THAT(iterator->GetTerm(), Eq("foo")); in TEST_F() 64 EXPECT_THAT(iterator->GetTerm(), Eq(" ")); in TEST_F() 67 EXPECT_THAT(iterator->GetTerm(), Eq("bar")); in TEST_F() 105 EXPECT_THAT(iterator->GetTerm(), Eq("foo")); in TEST_F()
|
D | language-segmenter_benchmark.cc | 73 iterator->GetTerm(); in BM_SegmentNoSpace() 113 iterator->GetTerm(); in BM_SegmentWithSpaces() 153 iterator->GetTerm(); in BM_SegmentCJK()
|
D | language-segmenter.h | 59 virtual std::string_view GetTerm() const = 0;
|
D | raw-query-tokenizer.cc | 395 std::pair<TermType, std::string_view> GetTerm(std::string_view text, in GetTerm() function 676 std::pair<TermType, std::string_view> term_pair = GetTerm(text, pos); in TokenizeAll()
|