Lines Matching refs:size
33 * change table size and rehash
34 * size must be a power of 2
38 hashsize(register Hash_table_t* tab, int size)
49 if (size > 0 && size != tab->size && !(size & (size - 1)))
54 new_s = (Hash_bucket_t**)(*region)(handle, NiL, sizeof(Hash_bucket_t*) * size, 0);
56 else new_s = newof(0, Hash_bucket_t*, size, 0);
60 old_sx = (old_s = tab->table) + tab->size;
61 tab->size = size;