Home
last modified time | relevance | path

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

/external/chromium_org/net/disk_cache/blockfile/
Dindex_table_v3.h51 class NET_EXPORT_PRIVATE EntryCell {
53 ~EntryCell();
71 static EntryCell GetEntryCellForTest(int32 cell_num,
82 EntryCell();
83 EntryCell(int32 cell_num, uint32 hash, Addr address, bool small_table);
84 EntryCell(int32 cell_num,
114 std::vector<EntryCell> cells;
149 virtual void DeleteCell(EntryCell cell) = 0;
150 virtual void FixCell(EntryCell cell) = 0;
188 EntryCell CreateEntryCell(uint32 hash, Addr address);
[all …]
Dindex_table_v3.cc231 void UpdateIterator(const disk_cache::EntryCell& cell, in UpdateIterator()
262 EntryCell::~EntryCell() { in ~EntryCell()
265 bool EntryCell::IsValid() const { in IsValid()
273 Addr EntryCell::GetAddress() const { in GetAddress()
287 EntryState EntryCell::GetState() const { in GetState()
291 EntryGroup EntryCell::GetGroup() const { in GetGroup()
295 int EntryCell::GetReuse() const { in GetReuse()
299 int EntryCell::GetTimestamp() const { in GetTimestamp()
303 void EntryCell::SetState(EntryState state) { in SetState()
307 void EntryCell::SetGroup(EntryGroup group) { in SetGroup()
[all …]
Dindex_table_v3_unittest.cc12 using disk_cache::EntryCell;
23 EntryCell entry = EntryCell::GetEntryCellForTest(0, 0, addr, cell, false); in GetChecksum()
42 virtual void DeleteCell(EntryCell cell) OVERRIDE {} in DeleteCell()
43 virtual void FixCell(EntryCell cell) OVERRIDE {} in FixCell()
148 TEST(DiskCacheIndexTable, EntryCell) { in TEST() argument
160 EntryCell entry = EntryCell::GetEntryCellForTest(cell_num, hash, addr, NULL, in TEST()
184 EntryCell entry2 = EntryCell::GetEntryCellForTest(cell_num, hash, addr, in TEST()
280 EntryCell entry = index.CreateEntryCell(hash, addr); in TEST()
299 EntryCell entry = index.FindEntryCell(hash, addr); in TEST()
341 EntryCell entry = index.CreateEntryCell(hash, addr); in TEST()
[all …]