/external/mesa3d/src/mesa/program/ |
H A D | hash_table.c | 44 unsigned num_buckets; member in struct:hash_table 57 hash_table_ctor(unsigned num_buckets, hash_func_t hash, argument 64 if (num_buckets < 16) { 65 num_buckets = 16; 68 ht = malloc(sizeof(*ht) + ((num_buckets - 1) 73 ht->num_buckets = num_buckets; 75 for (i = 0; i < num_buckets; i++) { 100 for (i = 0; i < ht->num_buckets; i++) { 115 const unsigned bucket = hash_value % ht->num_buckets; [all...] |
H A D | hash_table.h | 59 * \param num_buckets Number of buckets (bins) in the hash table. 63 extern struct hash_table *hash_table_ctor(unsigned num_buckets,
|
/external/boringssl/src/crypto/lhash/ |
H A D | lhash.c | 82 ret->num_buckets = kMinNumBuckets; 83 ret->buckets = OPENSSL_malloc(sizeof(LHASH_ITEM *) * ret->num_buckets); 88 memset(ret->buckets, 0, sizeof(LHASH_ITEM *) * ret->num_buckets); 110 for (i = 0; i < lh->num_buckets; i++) { 139 ret = &lh->buckets[hash % lh->num_buckets]; 180 for (i = 0; i < lh->num_buckets; i++) { 191 lh->num_buckets = new_num_buckets; 204 assert(lh->num_buckets >= kMinNumBuckets); 205 avg_chain_length = lh->num_items / lh->num_buckets; 208 const size_t new_num_buckets = lh->num_buckets * [all...] |
/external/libdrm/freedreno/ |
H A D | freedreno_device.c | 48 unsigned int i = dev->num_buckets; 54 dev->num_buckets++;
|
H A D | freedreno_priv.h | 89 int num_buckets; member in struct:fd_device
|
H A D | freedreno_bo.c | 94 for (i = 0; i < dev->num_buckets; i++) { 120 for (i = 0; i < dev->num_buckets; i++) {
|
/external/boringssl/include/openssl/ |
H A D | lhash.h | 130 /* buckets is an array of |num_buckets| pointers. Each points to the head of 132 * |num_buckets|. */ 134 /* num_buckets contains the length of |buckets|. This value is always >= 136 size_t num_buckets; member in struct:lhash_st
|
/external/boringssl/src/include/openssl/ |
H A D | lhash.h | 130 /* buckets is an array of |num_buckets| pointers. Each points to the head of 132 * |num_buckets|. */ 134 /* num_buckets contains the length of |buckets|. This value is always >= 136 size_t num_buckets; member in struct:lhash_st
|
/external/parameter-framework/asio/include/asio/detail/ |
H A D | hash_map.hpp | 230 void rehash(std::size_t num_buckets) argument 232 if (num_buckets == num_buckets_) 234 num_buckets_ = num_buckets;
|
/external/parameter-framework/asio-1.10.6/include/asio/detail/ |
H A D | hash_map.hpp | 230 void rehash(std::size_t num_buckets) argument 232 if (num_buckets == num_buckets_) 234 num_buckets_ = num_buckets;
|
/external/libvpx/libvpx/ |
H A D | rate_hist.c | 124 int max_buckets, int *num_buckets) { 126 int buckets = *num_buckets; 187 *num_buckets = buckets; 123 merge_hist_buckets(struct hist_bucket *bucket, int max_buckets, int *num_buckets) argument
|
/external/v8/src/ |
H A D | counters.cc | 64 #define HR(name, caption, min, max, num_buckets) \ 65 name##_ = Histogram(#caption, min, max, num_buckets, isolate); 178 #define HR(name, caption, min, max, num_buckets) name##_.Reset();
|
H A D | counters.h | 178 int num_buckets, 183 num_buckets_(num_buckets), 237 int num_buckets, Isolate* isolate) 238 : Histogram(name, min, max, num_buckets, isolate), 320 int num_buckets, Isolate* isolate) 321 : Histogram(name, min, max, num_buckets, isolate) {} 1062 #define HR(name, caption, min, max, num_buckets) \ 1172 #define HR(name, caption, min, max, num_buckets) Histogram name##_; 175 Histogram(const char* name, int min, int max, int num_buckets, Isolate* isolate) argument 236 HistogramTimer(const char* name, int min, int max, Resolution resolution, int num_buckets, Isolate* isolate) argument 319 AggregatableHistogramTimer(const char* name, int min, int max, int num_buckets, Isolate* isolate) argument
|
H A D | objects.cc | 17847 int num_buckets = capacity / kLoadFactor; local 17849 kHashTableStartIndex + num_buckets + (capacity * kEntrySize), pretenure); 17853 for (int i = 0; i < num_buckets; ++i) { 17856 table->SetNumberOfBuckets(num_buckets);
|
/external/libdrm/intel/ |
H A D | intel_bufmgr_gem.c | 128 int num_buckets; member in struct:_drm_intel_bufmgr_gem 409 for (i = 0; i < bufmgr_gem->num_buckets; i++) { 1230 for (i = 0; i < bufmgr_gem->num_buckets; i++) { 1895 for (i = 0; i < bufmgr_gem->num_buckets; i++) { 2991 unsigned int i = bufmgr_gem->num_buckets; 2997 bufmgr_gem->num_buckets++;
|
/external/v8/src/crankshaft/ |
H A D | hydrogen.h | 2531 HValue* BuildOrderedHashTableHashToBucket(HValue* hash, HValue* num_buckets); 2534 HValue* num_buckets); 2536 HValue* BuildOrderedHashTableEntryToIndex(HValue* entry, HValue* num_buckets);
|