Searched refs:newtable (Results 1 – 3 of 3) 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()
478 struct bfd_hash_entry **newtable; in bfd_hash_lookup() local490 newtable = ((struct bfd_hash_entry **) in bfd_hash_lookup()492 memset ((PTR) newtable, 0, alloc); in bfd_hash_lookup()506 chain_end->next = newtable[index]; in bfd_hash_lookup()507 newtable[index] = chain; in bfd_hash_lookup()509 table->table = newtable; in bfd_hash_lookup()
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()