Lines Matching refs:cell_index
60 int bucket_index, cell_index, bit_index; in Insert() local
61 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Insert()
75 if ((LoadCell<access_mode>(&bucket[cell_index]) & mask) == 0) { in Insert()
76 SetCellBits<access_mode>(&bucket[cell_index], mask); in Insert()
83 int bucket_index, cell_index, bit_index; in Contains() local
84 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Contains()
87 return (LoadCell(&bucket[cell_index]) & (1u << bit_index)) != 0; in Contains()
92 int bucket_index, cell_index, bit_index; in Remove() local
93 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Remove()
96 uint32_t cell = LoadCell(&bucket[cell_index]); in Remove()
99 ClearCellBits(&bucket[cell_index], bit_mask); in Remove()
172 int bucket_index, cell_index, bit_index; in Lookup() local
173 SlotToIndices(slot_offset, &bucket_index, &cell_index, &bit_index); in Lookup()
176 return (LoadCell(&bucket[cell_index]) & (1u << bit_index)) != 0; in Lookup()
371 void SlotToIndices(int slot_offset, int* bucket_index, int* cell_index, in SlotToIndices() argument
377 *cell_index = (slot >> kBitsPerCellLog2) & (kCellsPerBucket - 1); in SlotToIndices()