Lines Matching refs:cookie
85 bucket.cookie = 0; in clear()
101 if (bucket.cookie & Bucket::PRESENT) { in next()
120 if (bucket.cookie & Bucket::PRESENT) { in find()
125 if (!(bucket.cookie & Bucket::COLLISION)) { in find()
136 if (bucket.cookie & Bucket::PRESENT) { in find()
137 if ((bucket.cookie & Bucket::HASH_MASK) == hash in find()
142 if (!(bucket.cookie & Bucket::COLLISION)) { in find()
159 if (bucket->cookie & Bucket::PRESENT) { in add()
162 bucket->cookie |= Bucket::COLLISION; in add()
165 } while (bucket->cookie & Bucket::PRESENT); in add()
168 uint32_t collision = bucket->cookie & Bucket::COLLISION; in add()
177 bucket->cookie = collision | Bucket::PRESENT | hash; in add()
188 bucket.cookie &= ~Bucket::PRESENT; in removeAt()
189 if (!(bucket.cookie & Bucket::COLLISION)) { in removeAt()
212 if (fromBucket.cookie & Bucket::PRESENT) { in rehash()
213 hash_t hash = fromBucket.cookie & Bucket::HASH_MASK; in rehash()
216 if (toBucket->cookie & Bucket::PRESENT) { in rehash()
219 toBucket->cookie |= Bucket::COLLISION; in rehash()
222 } while (toBucket->cookie & Bucket::PRESENT); in rehash()
224 toBucket->cookie = Bucket::PRESENT | hash; in rehash()
249 bucket.cookie = 0; in allocateBuckets()
266 if (bucket.cookie & Bucket::PRESENT) { in destroyBuckets()
278 toBucket.cookie = fromBucket.cookie; in copyBuckets()
279 if (fromBucket.cookie & Bucket::PRESENT) { in copyBuckets()