Lines Matching refs:EntryCell

231 void UpdateIterator(const disk_cache::EntryCell& cell,
262 EntryCell::~EntryCell() {
265 bool EntryCell::IsValid() const {
273 Addr EntryCell::GetAddress() const {
287 EntryState EntryCell::GetState() const {
291 EntryGroup EntryCell::GetGroup() const {
295 int EntryCell::GetReuse() const {
299 int EntryCell::GetTimestamp() const {
303 void EntryCell::SetState(EntryState state) {
307 void EntryCell::SetGroup(EntryGroup group) {
311 void EntryCell::SetReuse(int count) {
315 void EntryCell::SetTimestamp(int timestamp) {
320 EntryCell EntryCell::GetEntryCellForTest(int32 cell_num,
326 EntryCell entry_cell(cell_num, hash, *cell, small_table);
330 return EntryCell(cell_num, hash, address, small_table);
333 void EntryCell::SerializaForTest(IndexCell* destination) {
338 EntryCell::EntryCell() : cell_num_(0), hash_(0), small_table_(false) {
342 EntryCell::EntryCell(int32 cell_num,
366 EntryCell::EntryCell(int32 cell_num,
376 void EntryCell::FixSum() {
380 uint32 EntryCell::GetLocation() const {
387 uint32 EntryCell::RecomputeHash() {
399 void EntryCell::Serialize(IndexCell* destination) const {
599 EntryCell entry_cell(cell_num, hash, *current_cell, small_table_);
614 EntryCell IndexTable::CreateEntryCell(uint32 hash, Addr address) {
651 EntryCell entry_cell(cell_num, hash, address, small_table_);
668 EntryCell IndexTable::FindEntryCell(uint32 hash, Addr address) {
683 EntryCell cell = FindEntryCellImpl(hash, address, state == ENTRY_FREE);
731 EntryCell cell = FindEntryCell(hash, address);
753 void IndexTable::Save(EntryCell* cell) {
795 EntryCell IndexTable::FindEntryCellImpl(uint32 hash, Addr address,
808 EntryCell entry_cell(cell_num, hash, *current_cell, small_table_);
821 return EntryCell();
824 void IndexTable::CheckState(const EntryCell& cell) {
836 EntryCell bad_cell(cell);
847 void IndexTable::Write(const EntryCell& cell) {
921 EntryCell entry_cell(0, GetFullHash(current_cell, bucket_hash),
1020 EntryCell old_cell(cell_num, hash, *current_cell, small_table_);
1030 EntryCell new_cell = CreateEntryCell(hash, old_cell.GetAddress());
1096 EntryCell cell(cell_num, GetFullHash(*current_cell, bucket_hash),