Searched refs:uni_chars (Results 1 – 3 of 3) sorted by relevance
410 InMemoryURLIndex::Char16Vector uni_chars = in TEST_F() local412 EXPECT_EQ(uni_chars.size(), 7U); // Equivalent to 'degopru' in TEST_F()413 EXPECT_EQ(6U, url_index_->CachedResultsIndexForTerm(uni_chars)); in TEST_F()418 InMemoryURLIndex::Char16Vector uni_chars = in TEST_F() local420 EXPECT_EQ(6U, uni_chars.size()); // Equivalent to 'degpru' in TEST_F()421 EXPECT_EQ(5U, url_index_->CachedResultsIndexForTerm(uni_chars)); in TEST_F()426 InMemoryURLIndex::Char16Vector uni_chars = in TEST_F() local429 EXPECT_EQ(9U, uni_chars.size()); // Equivalent to 'adegoprtu' in TEST_F()430 EXPECT_EQ(6U, url_index_->CachedResultsIndexForTerm(uni_chars)); in TEST_F()435 InMemoryURLIndex::Char16Vector uni_chars = in TEST_F() local[all …]
442 Char16Vector uni_chars = Char16VectorFromString16(uni_word); in HistoryIDsForTerm() local443 WordIDSet word_id_set(WordIDSetForTermChars(uni_chars)); in HistoryIDsForTerm()576 const InMemoryURLIndex::Char16Vector& uni_chars) { in WordIDSetForTermChars() argument577 size_t index = CachedResultsIndexForTerm(uni_chars); in WordIDSetForTermChars()582 if (index != kNoCachedResultForTerm && index == uni_chars.size() - 1) in WordIDSetForTermChars()590 Char16Vector::const_iterator c_iter = uni_chars.begin(); in WordIDSetForTermChars()596 for (; c_iter != uni_chars.end(); ++c_iter) { in WordIDSetForTermChars()632 const InMemoryURLIndex::Char16Vector& uni_chars) { in CachedResultsIndexForTerm() argument634 for (Char16Vector::const_iterator c_iter = uni_chars.begin(); in CachedResultsIndexForTerm()635 (c_iter != uni_chars.end()) && in CachedResultsIndexForTerm()
265 WordIDSet WordIDSetForTermChars(const Char16Vector& uni_chars);273 size_t CachedResultsIndexForTerm(const Char16Vector& uni_chars);