Home
last modified time | relevance | path

Searched refs:newtable (Results 1 – 3 of 3) sorted by relevance

/freebsd-12.1/contrib/ntp/lib/isc/
H A Dsymtab.c190 eltlist_t *newtable; in grow_table() local
199 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()
/freebsd-12.1/contrib/binutils/bfd/
H A Dhash.c478 struct bfd_hash_entry **newtable; in bfd_hash_lookup() local
490 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()
/freebsd-12.1/lib/libc/stdio/
H A Dprintf-pos.c645 enum typeid *newtable; in __grow_type_table() local
656 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()