Searched refs:bin_find_entry (Results 1 - 5 of 5) sorted by relevance

/openbsd-current/usr.sbin/unbound/testcode/
H A Dunitlruhash.c79 /** test bin_find_entry function and bin_overflow_remove */
97 unit_assert( bin_find_entry(table, &bin, h, k, NULL) == NULL );
105 unit_assert( bin_find_entry(table, &bin, myhash(13), k, NULL) == NULL );
109 unit_assert( bin_find_entry(table, &bin, h, k2, NULL) == NULL );
112 unit_assert( bin_find_entry(table, &bin, h, k, NULL) == &k->entry );
118 unit_assert( bin_find_entry(table, &bin, h, k, NULL) == NULL );
130 unit_assert( bin_find_entry(table, &bin, myhash(13), k, NULL) == NULL );
134 unit_assert( bin_find_entry(table, &bin, h, k2, NULL) == NULL );
137 unit_assert( bin_find_entry(table, &bin, h, k, NULL) == &k->entry );
140 unit_assert( bin_find_entry(tabl
[all...]
/openbsd-current/usr.sbin/unbound/util/storage/
H A Dlruhash.h376 struct lruhash_entry* bin_find_entry(struct lruhash* table,
H A Dlruhash.c219 bin_find_entry(struct lruhash* table, function
326 if(!(found=bin_find_entry(table, bin, hash, entry->key, &collisions))) {
373 if((entry=bin_find_entry(table, bin, hash, key, NULL)))
400 if((entry=bin_find_entry(table, bin, hash, key, NULL))) {
639 if ((found = bin_find_entry(table, bin, hash, entry->key, &collisions)) != NULL) {
/openbsd-current/sbin/unwind/libunbound/util/storage/
H A Dlruhash.h376 struct lruhash_entry* bin_find_entry(struct lruhash* table,
H A Dlruhash.c219 bin_find_entry(struct lruhash* table, function
326 if(!(found=bin_find_entry(table, bin, hash, entry->key, &collisions))) {
373 if((entry=bin_find_entry(table, bin, hash, key, NULL)))
400 if((entry=bin_find_entry(table, bin, hash, key, NULL))) {
639 if ((found = bin_find_entry(table, bin, hash, entry->key, &collisions)) != NULL) {

Completed in 72 milliseconds