Home
last modified time | relevance | path

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

/external/libusb/libusb/os/
Dwindows_nt_common.c130 static unsigned long htab_size, htab_filled; variable
166 htab_size = nel; in htab_create()
171 htab_table = calloc(htab_size + 1, sizeof(htab_entry)); in htab_create()
188 for (i = 0; i < htab_size; i++) { in htab_destroy()
223 hval = r % htab_size; in htab_hash()
237 hval2 = 1 + hval % (htab_size - 2); in htab_hash()
242 idx = htab_size + idx - hval2; in htab_hash()
259 if (htab_filled >= htab_size) { in htab_hash()
260 usbi_err(NULL, "hash table is full (%d entries)", htab_size); in htab_hash()
/external/valgrind/exp-sgcheck/
Dsg_main.c1229 UWord htab_size; /* size of hash table, MAY ONLY BE A POWER OF 2 */ member
1307 for (u = 0; u < frame->htab_size; u++) { in preen_global_Invars()
1323 inline static UWord compute_II_hash ( Addr ip, UWord htab_size ) { in compute_II_hash() argument
1324 return (ip >> 0) & (htab_size - 1); in compute_II_hash()
1331 sf->htab_size = N_HTAB_FIXED; /* initial hash table size */ in initialise_II_hash_table()
1335 for (i = 0; i < sf->htab_size; i++) in initialise_II_hash_table()
1347 old_size = sf->htab_size; in resize_II_hash_table()
1382 sf->htab_size = new_size; in resize_II_hash_table()
1411 if (UNLIKELY(2 * sf->htab_used >= 1 * sf->htab_size)) { in find_or_create_IInstance_SLOW()
1415 tl_assert(2 * sf->htab_used <= sf->htab_size); in find_or_create_IInstance_SLOW()
[all …]