Home
last modified time | relevance | path

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

/system/core/libcutils/
Dhashmap.cpp104 size_t newBucketCount = map->bucketCount << 1; in expandIfNecessary() local
105 Entry** newBuckets = static_cast<Entry**>(calloc(newBucketCount, sizeof(Entry*))); in expandIfNecessary()
117 size_t index = calculateIndex(newBucketCount, entry->hash); in expandIfNecessary()
127 map->bucketCount = newBucketCount; in expandIfNecessary()