/external/mesa3d/src/mesa/program/ |
D | hash_table.c | 44 unsigned num_buckets; member 57 hash_table_ctor(unsigned num_buckets, hash_func_t hash, in hash_table_ctor() argument 64 if (num_buckets < 16) { in hash_table_ctor() 65 num_buckets = 16; in hash_table_ctor() 68 ht = malloc(sizeof(*ht) + ((num_buckets - 1) in hash_table_ctor() 73 ht->num_buckets = num_buckets; in hash_table_ctor() 75 for (i = 0; i < num_buckets; i++) { in hash_table_ctor() 100 for (i = 0; i < ht->num_buckets; i++) { in hash_table_clear() 115 const unsigned bucket = hash_value % ht->num_buckets; in get_node() 141 const unsigned bucket = hash_value % ht->num_buckets; in hash_table_insert() [all …]
|
D | hash_table.h | 63 extern struct hash_table *hash_table_ctor(unsigned num_buckets,
|
/external/boringssl/src/crypto/lhash/ |
D | lhash.c | 82 ret->num_buckets = kMinNumBuckets; in lh_new() 83 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new() 88 memset(ret->buckets, 0, sizeof(LHASH_ITEM *) * ret->num_buckets); in lh_new() 110 for (i = 0; i < lh->num_buckets; i++) { in lh_free() 139 ret = &lh->buckets[hash % lh->num_buckets]; in get_next_ptr_and_hash() 180 for (i = 0; i < lh->num_buckets; i++) { in lh_rebucket() 191 lh->num_buckets = new_num_buckets; in lh_rebucket() 204 assert(lh->num_buckets >= kMinNumBuckets); in lh_maybe_resize() 205 avg_chain_length = lh->num_items / lh->num_buckets; in lh_maybe_resize() 208 const size_t new_num_buckets = lh->num_buckets * 2; in lh_maybe_resize() [all …]
|
/external/v8/src/ |
D | counters.cc | 61 #define HR(name, caption, min, max, num_buckets) \ in Counters() argument 62 name##_ = Histogram(#caption, min, max, num_buckets, isolate); in Counters() 175 #define HR(name, caption, min, max, num_buckets) name##_.Reset(); in ResetHistograms() argument
|
D | counters.h | 176 int num_buckets, in Histogram() argument 181 num_buckets_(num_buckets), in Histogram() 234 int num_buckets, Isolate* isolate) in HistogramTimer() argument 235 : Histogram(name, min, max, num_buckets, isolate), in HistogramTimer() 317 int num_buckets, Isolate* isolate) in AggregatableHistogramTimer() argument 318 : Histogram(name, min, max, num_buckets, isolate) {} in AggregatableHistogramTimer() 727 #define HR(name, caption, min, max, num_buckets) \ argument 836 #define HR(name, caption, min, max, num_buckets) Histogram name##_; argument
|
D | objects.cc | 18684 int num_buckets = capacity / kLoadFactor; in Allocate() local 18686 kHashTableStartIndex + num_buckets + (capacity * kEntrySize), pretenure); in Allocate() 18690 for (int i = 0; i < num_buckets; ++i) { in Allocate() 18693 table->SetNumberOfBuckets(num_buckets); in Allocate()
|
/external/libdrm/freedreno/ |
D | freedreno_device.c | 48 unsigned int i = dev->num_buckets; in add_bucket() 54 dev->num_buckets++; in add_bucket()
|
D | freedreno_bo.c | 94 for (i = 0; i < dev->num_buckets; i++) { in fd_cleanup_bo_cache() 120 for (i = 0; i < dev->num_buckets; i++) { in get_bucket()
|
D | freedreno_priv.h | 89 int num_buckets; member
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
D | hash_map.hpp | 230 void rehash(std::size_t num_buckets) in rehash() argument 232 if (num_buckets == num_buckets_) in rehash() 234 num_buckets_ = num_buckets; in rehash()
|
/external/libvpx/libvpx/ |
D | rate_hist.c | 124 int max_buckets, int *num_buckets) { in merge_hist_buckets() argument 126 int buckets = *num_buckets; in merge_hist_buckets() 187 *num_buckets = buckets; in merge_hist_buckets()
|
/external/boringssl/src/include/openssl/ |
D | lhash.h | 136 size_t num_buckets; member
|
/external/libdrm/intel/ |
D | intel_bufmgr_gem.c | 128 int num_buckets; member 409 for (i = 0; i < bufmgr_gem->num_buckets; i++) { in drm_intel_gem_bo_bucket_for_size() 1230 for (i = 0; i < bufmgr_gem->num_buckets; i++) { in drm_intel_gem_cleanup_bo_cache() 1895 for (i = 0; i < bufmgr_gem->num_buckets; i++) { in drm_intel_bufmgr_gem_destroy() 2991 unsigned int i = bufmgr_gem->num_buckets; in add_bucket() 2997 bufmgr_gem->num_buckets++; in add_bucket()
|
/external/v8/src/crankshaft/ |
D | hydrogen.h | 2492 HValue* BuildOrderedHashTableHashToBucket(HValue* hash, HValue* num_buckets); 2495 HValue* num_buckets); 2497 HValue* BuildOrderedHashTableEntryToIndex(HValue* entry, HValue* num_buckets);
|