| /openbsd-src/usr.bin/column/ |
| H A D | column.c | 48 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 D | pack.c | 145 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 D | mkioconf.c | 199 locnames = ereallocarray(locnames, maxlocnames, sizeof(char *)); in addlocname() 217 locnami = ereallocarray(locnami, maxlocnami, sizeof(short)); in addlocnami()
|
| H A D | util.c | 75 ereallocarray(void *p, size_t sz1, size_t sz2) in ereallocarray() function
|
| H A D | config.h | 372 void *ereallocarray(void *, size_t, size_t);
|
| H A D | hash.c | 92 h = ereallocarray(NULL, sz, sizeof *h); in ht_init()
|
| H A D | main.c | 773 newopts = ereallocarray(NULL, nnewopts, sizeof(struct opt)); in optiondelta()
|
| H A D | sem.c | 1108 lp = ereallocarray(NULL, attr->a_loclen + 1, in fixloc()
|
| /openbsd-src/usr.bin/make/ |
| H A D | garray.h | 55 (l)->a = ereallocarray((l)->a, \ 111 (l)->a = ereallocarray(NULL, (l)->size, sizeof(GNode *)); \
|
| H A D | memory.h | 44 extern void *ereallocarray(void *, size_t, size_t);
|
| H A D | str.c | 101 char **argv = ereallocarray(NULL, argmax + 1, sizeof(char *)); in brk_string() 154 argv = ereallocarray(argv, in brk_string()
|
| H A D | memory.c | 97 ereallocarray(void *ptr, size_t s1, size_t s2) in ereallocarray() function
|
| H A D | dump.c | 70 void **t = ereallocarray(NULL, n+1, sizeof(void *)); in sort_ohash()
|
| H A D | job.c | 834 j = ereallocarray(NULL, sizeof(Job), maxJobs+1); in Job_Init()
|
| H A D | varmodifiers.c | 1065 p2.matches = ereallocarray(NULL, p2.nsub, sizeof(regmatch_t)); in do_regex()
|
| /openbsd-src/usr.bin/tsort/ |
| H A D | tsort.c | 151 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 D | fsutil.h | 45 void *ereallocarray(void *, size_t, size_t);
|
| H A D | fsck.c | 270 argv = ereallocarray(NULL, maxargc, sizeof(char *)); in checkfs() 470 argv = ereallocarray(argv, newmaxargc, sizeof(char *)); in mangle()
|
| H A D | fsutil.c | 254 ereallocarray(void *p, size_t n, size_t s) in ereallocarray() function
|
| /openbsd-src/usr.bin/find/ |
| H A D | function.c | 597 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 D | main.c | 71 p = paths = ereallocarray(NULL, argc, sizeof(char *)); in main()
|
| H A D | extern.h | 35 void *ereallocarray(void *, size_t, size_t);
|
| H A D | misc.c | 132 ereallocarray(void *oldp, size_t sz1, size_t sz2) in ereallocarray() function
|
| /openbsd-src/usr.sbin/zic/ |
| H A D | zic.c | 393 #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
|