Home
last modified time | relevance | path

Searched refs:ereallocarray (Results 1 – 24 of 24) sorted by relevance

/openbsd-src/usr.bin/column/
H A Dcolumn.c48 void *ereallocarray(void *, size_t, size_t);
293 cols = ereallocarray(cols, maxcols, in input()
295 maxwidths = ereallocarray(maxwidths, maxcols, in input()
326 table = ereallocarray(table, maxentry, sizeof(*table)); in input()
328 table[entries] = ereallocarray(NULL, col + 1, in input()
338 ereallocarray(void *ptr, size_t nmemb, size_t size) in ereallocarray() function
/openbsd-src/usr.sbin/config/
H A Dpack.c145 locators.vec = ereallocarray(NULL, locspace, sizeof(*locators.vec)); in pack()
150 parents.vec = ereallocarray(NULL, pvecspace, sizeof(*parents.vec)); in pack()
168 packed = ereallocarray(NULL, ndevi + 1, sizeof *packed); in packdevi()
248 p = ereallocarray(NULL, n, sizeof *p); in addparents()
258 p = ereallocarray(NULL, n, sizeof *p); in addparents()
284 dst->i_parents = q = ereallocarray(dst->i_parents, new + 1, sizeof(*q)); in addparents()
344 vec = ereallocarray(NULL, longest_pvec, sizeof(*vec)); in packpvec()
H A Dmkioconf.c199 locnames = ereallocarray(locnames, maxlocnames, sizeof(char *)); in addlocname()
217 locnami = ereallocarray(locnami, maxlocnami, sizeof(short)); in addlocnami()
H A Dutil.c75 ereallocarray(void *p, size_t sz1, size_t sz2) in ereallocarray() function
H A Dconfig.h372 void *ereallocarray(void *, size_t, size_t);
H A Dhash.c92 h = ereallocarray(NULL, sz, sizeof *h); in ht_init()
H A Dmain.c773 newopts = ereallocarray(NULL, nnewopts, sizeof(struct opt)); in optiondelta()
H A Dsem.c1108 lp = ereallocarray(NULL, attr->a_loclen + 1, in fixloc()
/openbsd-src/usr.bin/make/
H A Dgarray.h55 (l)->a = ereallocarray((l)->a, \
111 (l)->a = ereallocarray(NULL, (l)->size, sizeof(GNode *)); \
H A Dmemory.h44 extern void *ereallocarray(void *, size_t, size_t);
H A Dstr.c101 char **argv = ereallocarray(NULL, argmax + 1, sizeof(char *)); in brk_string()
154 argv = ereallocarray(argv, in brk_string()
H A Dmemory.c97 ereallocarray(void *ptr, size_t s1, size_t s2) in ereallocarray() function
H A Ddump.c70 void **t = ereallocarray(NULL, n+1, sizeof(void *)); in sort_ohash()
H A Djob.c834 j = ereallocarray(NULL, sizeof(Job), maxJobs+1); in Job_Init()
H A Dvarmodifiers.c1065 p2.matches = ereallocarray(NULL, p2.nsub, sizeof(regmatch_t)); in do_regex()
/openbsd-src/usr.bin/tsort/
H A Dtsort.c151 static void *ereallocarray(void *, size_t, size_t);
193 return ereallocarray(NULL, 1, s); in entry_alloc()
197 ereallocarray(void *p, size_t n, size_t s) in ereallocarray() function
295 l = ereallocarray(NULL, 1, sizeof(struct link)); in insert_arc()
536 heap->t = ereallocarray(NULL, ohash_entries(hash), in split_nodes()
538 remaining->t = ereallocarray(NULL, ohash_entries(hash), in split_nodes()
836 files = ereallocarray(NULL, argc, sizeof (char *)); in parse_args()
/openbsd-src/sbin/fsck/
H A Dfsutil.h45 void *ereallocarray(void *, size_t, size_t);
H A Dfsck.c270 argv = ereallocarray(NULL, maxargc, sizeof(char *)); in checkfs()
470 argv = ereallocarray(argv, newmaxargc, sizeof(char *)); in mangle()
H A Dfsutil.c254 ereallocarray(void *p, size_t n, size_t s) in ereallocarray() function
/openbsd-src/usr.bin/find/
H A Dfunction.c597 new->e_argv = ereallocarray(NULL, in c_exec()
639 new->e_argv = ereallocarray(NULL, cnt, sizeof(char *)); in c_exec()
640 new->e_orig = ereallocarray(NULL, cnt, sizeof(char *)); in c_exec()
641 new->e_len = ereallocarray(NULL, cnt, sizeof(int)); in c_exec()
758 new->e_argv = ereallocarray(NULL, cnt, sizeof(char *)); in c_execdir()
759 new->e_orig = ereallocarray(NULL, cnt, sizeof(char *)); in c_execdir()
760 new->e_len = ereallocarray(NULL, cnt, sizeof(int)); in c_execdir()
H A Dmain.c71 p = paths = ereallocarray(NULL, argc, sizeof(char *)); in main()
H A Dextern.h35 void *ereallocarray(void *, size_t, size_t);
H A Dmisc.c132 ereallocarray(void *oldp, size_t sz1, size_t sz2) in ereallocarray() function
/openbsd-src/usr.sbin/zic/
H A Dzic.c393 #define ereallocarray(ptr, nmemb, size) memcheck(reallocarray(ptr, nmemb, size))
900 rules = ereallocarray(rules, nrules + 1, sizeof *rules);
1036 zones = ereallocarray(zones, nzones + 1, sizeof *zones); in inleap()
1166 links = ereallocarray(links, nlinks + 1, sizeof *links); in rulesub()
2343 array = ereallocarray(NULL, strlen(cp) + 1, sizeof *array); in tadd()
389 #define ereallocarray( global() macro