Lines Matching refs:tab
38 hashsize(register Hash_table_t* tab, int size)
49 if (size > 0 && size != tab->size && !(size & (size - 1)))
51 if (region = tab->root->local->region)
53 handle = tab->root->local->handle;
57 if (!new_s) tab->flags |= HASH_FIXED;
60 old_sx = (old_s = tab->table) + tab->size;
61 tab->size = size;
70 HASHMOD(tab, index);
75 if ((tab->flags & (HASH_RESIZE|HASH_STATIC)) != HASH_STATIC)
77 if (region) (*region)(handle, tab->table, 0, 0);
78 else free(tab->table);
80 tab->table = new_s;
81 tab->flags |= HASH_RESIZE;