Home
last modified time | relevance | path

Searched refs:uni_chars (Results 1 – 3 of 3) sorted by relevance

/external/chromium/chrome/browser/history/
Din_memory_url_index_unittest.cc410 InMemoryURLIndex::Char16Vector uni_chars = in TEST_F() local
412 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() local
420 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() local
429 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 …]
Din_memory_url_index.cc442 Char16Vector uni_chars = Char16VectorFromString16(uni_word); in HistoryIDsForTerm() local
443 WordIDSet word_id_set(WordIDSetForTermChars(uni_chars)); in HistoryIDsForTerm()
576 const InMemoryURLIndex::Char16Vector& uni_chars) { in WordIDSetForTermChars() argument
577 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() argument
634 for (Char16Vector::const_iterator c_iter = uni_chars.begin(); in CachedResultsIndexForTerm()
635 (c_iter != uni_chars.end()) && in CachedResultsIndexForTerm()
Din_memory_url_index.h265 WordIDSet WordIDSetForTermChars(const Char16Vector& uni_chars);
273 size_t CachedResultsIndexForTerm(const Char16Vector& uni_chars);