Searched refs:newtable (Results 1 – 2 of 2) sorted by relevance
190 eltlist_t *newtable; in grow_table() local199 newtable = isc_mem_get(symtab->mctx, newsize * sizeof(eltlist_t)); in grow_table()200 if (newtable == NULL) in grow_table()204 INIT_LIST(newtable[i]); in grow_table()216 APPEND(newtable[hv % newsize], elt, link); in grow_table()223 symtab->table = newtable; in grow_table()
645 enum typeid *newtable; in __grow_type_table() local656 if ((newtable = malloc(newsize * sizeof(enum typeid))) == NULL) in __grow_type_table()658 bcopy(oldtable, newtable, oldsize * sizeof(enum typeid)); in __grow_type_table()660 newtable = reallocarray(oldtable, newsize, sizeof(enum typeid)); in __grow_type_table()661 if (newtable == NULL) in __grow_type_table()665 newtable[n] = T_UNUSED; in __grow_type_table()667 types->table = newtable; in __grow_type_table()