Home | History | Annotate | Download | only in heap

Lines Matching full:current_bucket

58     base::AtomicValue<uint32_t>* current_bucket = bucket[bucket_index].Value();
59 if (current_bucket == nullptr) {
60 current_bucket = AllocateBucket();
61 bucket[bucket_index].SetValue(current_bucket);
63 if (!(current_bucket[cell_index].Value() & (1u << bit_index))) {
64 current_bucket[cell_index].SetBit(bit_index);
73 base::AtomicValue<uint32_t>* current_bucket = bucket[bucket_index].Value();
74 if (current_bucket == nullptr) {
77 return (current_bucket[cell_index].Value() & (1u << bit_index)) != 0;
84 base::AtomicValue<uint32_t>* current_bucket = bucket[bucket_index].Value();
85 if (current_bucket != nullptr) {
86 uint32_t cell = current_bucket[cell_index].Value();
90 current_bucket[cell_index].ClearBit(bit_index);
111 int current_bucket = start_bucket;
113 ClearCell(current_bucket, current_cell, ~start_mask);
115 base::AtomicValue<uint32_t>* bucket_ptr = bucket[current_bucket].Value();
116 if (current_bucket < end_bucket) {
122 current_bucket++;
125 DCHECK(current_bucket == end_bucket ||
126 (current_bucket < end_bucket && current_cell == 0));
127 while (current_bucket < end_bucket) {
129 PreFreeEmptyBucket(current_bucket);
131 ReleaseBucket(current_bucket);
134 bucket_ptr = bucket[current_bucket].Value();
139 current_bucket++;
142 bucket_ptr = bucket[current_bucket].Value();
143 DCHECK(current_bucket == end_bucket && current_cell <= end_cell);
144 if (current_bucket == kBuckets || bucket_ptr == nullptr) {
152 DCHECK(current_bucket == end_bucket && current_cell == end_cell);
181 base::AtomicValue<uint32_t>* current_bucket =
183 if (current_bucket != nullptr) {
187 if (current_bucket[i].Value()) {
188 uint32_t cell = current_bucket[i].Value();
204 while (!current_bucket[i].TrySetValue(old_cell, new_cell)) {
210 old_cell = current_bucket[i].Value();