Home
last modified time | relevance | path

Searched refs:hash_table_ (Results 1 – 7 of 7) sorted by relevance

/external/chromium/chrome/browser/visitedlink/
Dvisitedlink_master.cc328 memset(hash_table_, 0, this->table_length_ * sizeof(Fingerprint)); in DeleteAllURLs()
386 if (!hash_table_ || table_length_ == 0) { in AddFingerprint()
400 hash_table_[cur_hash] = fingerprint; in AddFingerprint()
440 if (!hash_table_ || table_length_ == 0) { in DeleteFingerprint()
463 if (!hash_table_[next_hash]) in DeleteFingerprint()
475 if (hash_table_[i] != fingerprint) { in DeleteFingerprint()
477 shuffled_fingerprints->push_back(hash_table_[i]); in DeleteFingerprint()
483 hash_table_[i] = null_fingerprint_; in DeleteFingerprint()
533 hash_table_, table_length_ * sizeof(Fingerprint)); in WriteFullTable()
558 hash_table_, num_entries * sizeof(Fingerprint))) { in InitFromFile()
[all …]
Dvisitedlink_unittest.cc225 EXPECT_EQ(kFingerprint3, master_->hash_table_[0]); in TEST_F()
228 EXPECT_EQ(zero_fingerprint, master_->hash_table_[1]); in TEST_F()
229 EXPECT_NE(zero_fingerprint, master_->hash_table_[0]); in TEST_F()
239 EXPECT_EQ(zero_fingerprint, master_->hash_table_[i]) << in TEST_F()
Dvisitedlink_master.h381 if (hash_table_[i]) in DebugValidate()
/external/chromium/chrome/common/
Dvisitedlink_common.h78 *fingerprints = hash_table_; in GetUsageStatistics()
97 if (!hash_table_) in FingerprintAt()
99 return hash_table_[table_offset]; in FingerprintAt()
123 VisitedLinkCommon::Fingerprint* hash_table_; variable
Dvisitedlink_common.cc17 : hash_table_(NULL), in VisitedLinkCommon()
31 if (!hash_table_ || table_length_ == 0) in IsVisited()
/external/chromium/sdch/open-vcdiff/src/
Dblockhash.cc56 if (!hash_table_.empty() || in Init()
71 hash_table_.resize(table_size, -1); in Init()
153 if (hash_table_.empty()) { in AddBlock()
177 const int first_matching_block = hash_table_[hash_table_index]; in AddBlock()
180 hash_table_[hash_table_index] = block_number; in AddBlock()
316 return SkipNonMatchingBlocks(hash_table_[GetHashTableIndex(hash_value)], in FirstMatchingBlockInline()
Dblockhash.h459 std::vector<int> hash_table_; variable