Home
last modified time | relevance | path

Searched refs:GetTerm (Results 1 – 9 of 9) sorted by relevance

/external/icing/icing/tokenization/reverse_jni/
Dreverse-jni-language-segmenter_test.cc54 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 …]
Dreverse-jni-language-segmenter.cc89 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/
Dicu-language-segmenter_test.cc53 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 …]
Dicu-language-segmenter.cc94 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/
Dplain-tokenizer.cc61 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()
Dlanguage-segmenter-iterator_test.cc61 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()
Dlanguage-segmenter_benchmark.cc73 iterator->GetTerm(); in BM_SegmentNoSpace()
113 iterator->GetTerm(); in BM_SegmentWithSpaces()
153 iterator->GetTerm(); in BM_SegmentCJK()
Dlanguage-segmenter.h59 virtual std::string_view GetTerm() const = 0;
Draw-query-tokenizer.cc395 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()