Searched refs:new_buckets (Results 1 – 4 of 4) sorted by relevance
/external/boringssl/src/crypto/lhash/ |
D | lhash.c | 196 LHASH_ITEM **new_buckets, *cur, *next; in lh_rebucket() local 204 new_buckets = OPENSSL_malloc(alloc_size); in lh_rebucket() 205 if (new_buckets == NULL) { in lh_rebucket() 208 OPENSSL_memset(new_buckets, 0, alloc_size); in lh_rebucket() 214 cur->next = new_buckets[new_bucket]; in lh_rebucket() 215 new_buckets[new_bucket] = cur; in lh_rebucket() 222 lh->buckets = new_buckets; in lh_rebucket()
|
/external/rust/crates/quiche/deps/boringssl/src/crypto/lhash/ |
D | lhash.c | 196 LHASH_ITEM **new_buckets, *cur, *next; in lh_rebucket() local 204 new_buckets = OPENSSL_malloc(alloc_size); in lh_rebucket() 205 if (new_buckets == NULL) { in lh_rebucket() 208 OPENSSL_memset(new_buckets, 0, alloc_size); in lh_rebucket() 214 cur->next = new_buckets[new_bucket]; in lh_rebucket() 215 new_buckets[new_bucket] = cur; in lh_rebucket() 222 lh->buckets = new_buckets; in lh_rebucket()
|
/external/python/cpython3/Python/ |
D | hashtable.c | 288 _Py_slist_t *new_buckets = ht->alloc.malloc(buckets_size); in hashtable_rehash() local 289 if (new_buckets == NULL) { in hashtable_rehash() 293 memset(new_buckets, 0, buckets_size); in hashtable_rehash() 302 _Py_slist_prepend(&new_buckets[entry_index], (_Py_slist_item_t*)entry); in hashtable_rehash() 310 ht->buckets = new_buckets; in hashtable_rehash()
|
/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 ) 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()
|