Searched refs:new_buckets (Results 1 – 8 of 8) sorted by relevance
/external/chromium-trace/catapult/telemetry/telemetry/value/ |
D | histogram_util_unittest.py | 23 new_buckets = dict() 25 new_buckets[b['low']] = b['count'] 26 self.assertFalse(1 in new_buckets) 27 self.assertEquals(1, new_buckets[2]) 28 self.assertEquals(10, new_buckets[3]) 47 new_buckets = dict() 49 new_buckets[b['low']] = b['count'] 50 self.assertEquals(5, new_buckets[1]) 51 self.assertEquals(12, new_buckets[2]) 52 self.assertEquals(21, new_buckets[3])
|
D | histogram_util.py | 64 new_buckets = [] 74 new_buckets.append(new_bucket) 75 histogram['buckets'] = new_buckets
|
/external/boringssl/src/crypto/lhash/ |
D | lhash.c | 166 LHASH_ITEM **new_buckets, *cur, *next; in lh_rebucket() local 174 new_buckets = OPENSSL_malloc(alloc_size); in lh_rebucket() 175 if (new_buckets == NULL) { in lh_rebucket() 178 memset(new_buckets, 0, alloc_size); in lh_rebucket() 184 cur->next = new_buckets[new_bucket]; in lh_rebucket() 185 new_buckets[new_bucket] = cur; in lh_rebucket() 192 lh->buckets = new_buckets; in lh_rebucket()
|
/external/freetype/src/base/ |
D | ftdbgmem.c | 263 FT_MemNode* new_buckets; in ft_mem_table_resize() local 267 new_buckets = (FT_MemNode *) in ft_mem_table_resize() 271 if ( new_buckets == NULL ) in ft_mem_table_resize() 274 FT_ARRAY_ZERO( new_buckets, new_size ); in ft_mem_table_resize() 287 pnode = new_buckets + hash; in ft_mem_table_resize() 299 table->buckets = new_buckets; in ft_mem_table_resize()
|
/external/pdfium/third_party/freetype/src/base/ |
D | ftdbgmem.c | 263 FT_MemNode* new_buckets; in ft_mem_table_resize() local 267 new_buckets = (FT_MemNode *) in ft_mem_table_resize() 271 if ( new_buckets == NULL ) in ft_mem_table_resize() 274 FT_ARRAY_ZERO( new_buckets, new_size ); in ft_mem_table_resize() 287 pnode = new_buckets + hash; in ft_mem_table_resize() 299 table->buckets = new_buckets; in ft_mem_table_resize()
|
/external/libgdx/extensions/gdx-freetype/jni/freetype-2.6.2/src/base/ |
D | ftdbgmem.c | 263 FT_MemNode* new_buckets; in ft_mem_table_resize() local 267 new_buckets = (FT_MemNode *) in ft_mem_table_resize() 271 if ( new_buckets == NULL ) in ft_mem_table_resize() 274 FT_ARRAY_ZERO( new_buckets, new_size ); in ft_mem_table_resize() 287 pnode = new_buckets + hash; in ft_mem_table_resize() 299 table->buckets = new_buckets; in ft_mem_table_resize()
|
/external/dbus/dbus/ |
D | dbus-hash.c | 924 int new_buckets; in rebuild_table() local 945 new_buckets = table->n_buckets * 4; in rebuild_table() 951 new_buckets = table->n_buckets / 4; in rebuild_table() 952 if (new_buckets < DBUS_SMALL_HASH_TABLE) in rebuild_table() 956 table->buckets = dbus_new0 (DBusHashEntry*, new_buckets); in rebuild_table() 966 table->n_buckets = new_buckets; in rebuild_table()
|
/external/v8/src/ |
D | objects.cc | 18798 int new_buckets = new_table->NumberOfBuckets(); in Rehash() local 18810 int bucket = Smi::cast(hash)->value() & (new_buckets - 1); in Rehash()
|