Home
last modified time | relevance | path

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

/external/chromium/chrome/browser/history/
Din_memory_url_index.cc226 char_word_map_.clear(); in ClearPrivateData()
265 UMA_HISTOGRAM_COUNTS_10000("History.InMemoryURLChars", char_word_map_.size()); in RestoreFromCacheFile()
561 CharWordIDMap::iterator char_iter = char_word_map_.find(uni_char); in AddWordHistory()
562 if (char_iter != char_word_map_.end()) { in AddWordHistory()
570 char_word_map_[uni_char] = word_id_set; in AddWordHistory()
598 CharWordIDMap::iterator char_iter = char_word_map_.find(uni_char); in WordIDSetForTermChars()
599 if (char_iter == char_word_map_.end()) { in WordIDSetForTermChars()
941 if (char_word_map_.empty()) in SaveCharWordMap()
944 map_item->set_item_count(char_word_map_.size()); in SaveCharWordMap()
945 for (CharWordIDMap::const_iterator iter = char_word_map_.begin(); in SaveCharWordMap()
[all …]
Din_memory_url_index_unittest.cc181 EXPECT_EQ(36U, url_index_->char_word_map_.size()); in TEST_F()
546 InMemoryURLIndex::CharWordIDMap char_word_map(url_index.char_word_map_); in TEST_F()
556 EXPECT_FALSE(url_index.char_word_map_.empty()); in TEST_F()
565 EXPECT_TRUE(url_index.char_word_map_.empty()); in TEST_F()
576 EXPECT_EQ(char_word_map.size(), url_index.char_word_map_.size()); in TEST_F()
586 url_index.char_word_map_.find(expected->first); in TEST_F()
587 ASSERT_TRUE(url_index.char_word_map_.end() != actual); in TEST_F()
Din_memory_url_index.h399 CharWordIDMap char_word_map_; variable