Home
last modified time | relevance | path

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

/third_party/node/deps/cares/src/lib/
Dares__htable.c195 size_t prealloc_llist_len = 0; in ares__htable_expand() local
215 prealloc_llist_len = htable->num_collisions; in ares__htable_expand()
216 if (prealloc_llist_len) { in ares__htable_expand()
218 ares_malloc_zero(sizeof(*prealloc_llist) * prealloc_llist_len); in ares__htable_expand()
223 for (i = 0; i < prealloc_llist_len; i++) { in ares__htable_expand()
272 if (prealloc_llist == NULL || prealloc_llist_len == 0) { in ares__htable_expand()
275 buckets[idx] = prealloc_llist[prealloc_llist_len - 1]; in ares__htable_expand()
276 prealloc_llist_len--; in ares__htable_expand()
302 ares__htable_buckets_destroy(prealloc_llist, (unsigned int)prealloc_llist_len, in ares__htable_expand()