Home
last modified time | relevance | path

Searched refs:GetEntrySize (Results 1 – 4 of 4) sorted by relevance

/external/chromium_org/net/disk_cache/simple/
Dsimple_index_unittest.cc47 EXPECT_EQ(kTestEntrySize, entry_metadata.GetEntrySize()); in CheckEntryMetadataValues()
174 EXPECT_EQ(0, entry_metadata.GetEntrySize()); in TEST_F()
234 EXPECT_EQ(0, metadata.GetEntrySize()); in TEST_F()
242 EXPECT_EQ(0, metadata.GetEntrySize()); in TEST_F()
249 EXPECT_EQ(0, metadata.GetEntrySize()); in TEST_F()
333 EXPECT_EQ(475, metadata.GetEntrySize()); in TEST_F()
337 EXPECT_EQ(600, metadata.GetEntrySize()); in TEST_F()
386 EXPECT_EQ(10, metadata.GetEntrySize()); in TEST_F()
394 EXPECT_EQ(100, metadata.GetEntrySize()); in TEST_F()
426 EXPECT_EQ(0, metadata.GetEntrySize()); in TEST_F()
[all …]
Dsimple_index.cc317 uint64 to_evict_size = found_meta->second.GetEntrySize(); in StartEvictionIfNeeded()
386 DCHECK_GE(cache_size_, implicit_cast<uint64>((*it)->second.GetEntrySize())); in UpdateEntryIteratorSize()
387 cache_size_ -= (*it)->second.GetEntrySize(); in UpdateEntryIteratorSize()
418 merged_cache_size += it->second.GetEntrySize(); in MergeInitializingSet()
Dsimple_index.h48 int GetEntrySize() const { return entry_size_; } in GetEntrySize() function
Dsimple_index_file.cc121 it->second.SetEntrySize(it->second.GetEntrySize() + file_size); in ProcessEntryFile()