Home
last modified time | relevance | path

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

/system/core/libutils/
DBasicHashtable.cpp219 Bucket* toBucket = &bucketAt(newBuckets, size_t(index)); in rehash() local
220 if (toBucket->cookie & Bucket::PRESENT) { in rehash()
223 toBucket->cookie |= Bucket::COLLISION; in rehash()
225 toBucket = &bucketAt(newBuckets, size_t(index)); in rehash()
226 } while (toBucket->cookie & Bucket::PRESENT); in rehash()
228 toBucket->cookie = Bucket::PRESENT | hash; in rehash()
229 initializeBucketEntry(*toBucket, fromBucket.entry); in rehash()
281 Bucket& toBucket = bucketAt(toBuckets, i); in copyBuckets() local
282 toBucket.cookie = fromBucket.cookie; in copyBuckets()
284 initializeBucketEntry(toBucket, fromBucket.entry); in copyBuckets()