Lines Matching refs:bucket
168 * the hash of the function reduced to the size of the bucket list.
235 /* Nothing in this bucket */
242 * if so, just move the bucket over */
278 /* Collision occurred since the bucket wasn't empty */
285 /* Abandoned bucket, destroy */
313 ares_bool_t ares__htable_insert(ares__htable_t *htable, void *bucket)
319 if (htable == NULL || bucket == NULL) {
324 key = htable->bucket_key(bucket);
327 /* See if we have a matching bucket already, if so, replace it */
330 ares__llist_node_replace(node, bucket);
353 node = ares__llist_insert_first(htable->buckets[idx], bucket);