| /src/lib/libc/stdlib/ |
| reallocarr.c | 1 /* $NetBSD: reallocarr.c,v 1.5 2015/08/20 22:27:49 kamil Exp $ */ 37 __RCSID("$NetBSD: reallocarr.c,v 1.5 2015/08/20 22:27:49 kamil Exp $"); 49 __weak_alias(reallocarr, _reallocarr) 57 reallocarr(void *ptr, size_t number, size_t size)
|
| reallocarray.c | 54 e = reallocarr(&optr, nmemb, size);
|
| Makefile.inc | 15 reallocarr.c reallocarray.c seed48.c setenv.c srand48.c strsuftoll.c \ 59 radixsort.3 rand48.3 rand.3 random.3 reallocarr.3 reallocarray.3 \
|
| _env.c | 301 errno = reallocarr(&new_environ, 311 errno = reallocarr(&new_environ,
|
| hcreate.c | 128 errno = reallocarr(&table, nel, sizeof(*table));
|
| /src/usr.sbin/traceroute/ |
| ifaddrlist.c | 101 if (reallocarr(&al, maxal, sizeof(*al)) != 0) 122 if (reallocarr(&al, maxal, sizeof(*al)) != 0) 131 if (reallocarr(&al, i, sizeof(*al)) != 0)
|
| /src/lib/libc/string/ |
| wcsdup.c | 39 errno = reallocarr(©, len, sizeof(*copy));
|
| /src/usr.bin/ypcat/ |
| ypalias_init.c | 97 if (reallocarr(&ypa, nypalias, sizeof(*ypa)) != 0) 105 if (reallocarr(&ypa, i, sizeof(*ypa)) == 0)
|
| /src/bin/csh/ |
| alloc.c | 79 if (reallocarr(&ptr, n, sz) != 0) {
|
| /src/tests/lib/libc/stdlib/ |
| h_sort.c | 131 error = reallocarr(&buf, nbuf, 1); 133 errc(1, error, "reallocarr"); 157 error = reallocarr(&buf, nbuf, 1); 159 errc(1, error, "reallocarr"); 185 error = reallocarr(&linepos, nlines, sizeof(linepos[0])); 187 errc(1, error, "reallocarr"); 199 error = reallocarr(&permutation, nlines, sizeof(permutation[0])); 201 errc(1, error, "reallocarr");
|
| /src/lib/libc/gen/ |
| scandir.c | 109 errno = reallocarr(&names, arraysz, sizeof(*names)); 125 errno = reallocarr(&names, arraysz, sizeof(*names));
|
| stringlist.c | 72 errno = reallocarr(&sl->sl_str, sl->sl_max, sizeof(*sl->sl_str)); 95 errno = reallocarr(&new, (sl->sl_max + _SL_CHUNKSIZE),
|
| /src/lib/libc/net/ |
| getprotoent_r.c | 116 errno = reallocarr(&pd->aliases, 131 errno = reallocarr(&q,
|
| /src/usr.bin/netstat/ |
| vtw.c | 306 if (reallocarr(&ubase, n, sizeof(*kbase)) != 0) 307 err(EXIT_FAILURE, "reallocarr"); 336 if (reallocarr(&fat_tcpv4.base, lim - base + 1, sizeof(*base)) != 0) 337 err(EXIT_FAILURE, "reallocarr"); 350 if (reallocarr(&fat_tcpv4.hash, n, sizeof(*hash)) != 0) 351 err(EXIT_FAILURE, "reallocarr"); 354 if (reallocarr(&fat_tcpv4.port, n, sizeof(*port)) != 0) 355 err(EXIT_FAILURE, "reallocarr"); 412 if (reallocarr(&ubase, n, sizeof(*kbase)) != 0) 413 err(EXIT_FAILURE, "reallocarr"); [all...] |
| /src/usr.bin/dc/ |
| mem.c | 76 int ret = reallocarr(&p, nmemb, size);
|
| /src/usr.bin/diff/ |
| xmalloc.c | 55 if (reallocarr(&new_ptr, nmemb, size) != 0) {
|
| /src/external/bsd/libproc/dist/ |
| proc_rtld.c | 51 if (reallocarr(&phdl->rdobjs, sizeof(*phdl->rdobjs),
|
| /src/games/sail/ |
| array.c | 82 if (reallocarr(&a->v, newmax, sizeof(*a->v)) != 0)
|
| /src/games/hunt/hunt/ |
| server.c | 89 if (reallocarr(&daemons, maxdaemons, sizeof(daemons[0])) != 0) 113 if (reallocarr(&daemons, maxdaemons, sizeof(daemons[0])) != 0) 182 if (reallocarr(&broadcastaddrs, num, sizeof(broadcastaddrs[0])) != 0)
|
| /src/lib/libusbhid/ |
| usage.c | 115 if (reallocarr(&curpage->page_contents, 130 if (reallocarr(&pages, npagesmax, 140 if (reallocarr(&curpage->page_contents,
|
| /src/bin/ed/ |
| undo.c | 54 (err = reallocarr(&ustack, usize += USIZE, sizeof(undo_t))) == 0) {
|
| /src/usr.bin/systat/ |
| swap.c | 124 if (reallocarr(&swap_devices, nswap, sizeof(*swap_devices)) != 0) {
|
| netcmds.c | 226 if (reallocarr(&ports, nports + 1, sizeof(*p)) != 0) { 313 if (reallocarr(&hosts, nhosts + 1, sizeof(*p)) != 0) {
|
| /src/usr.bin/join/ |
| join.c | 325 if (reallocarr(&F->set, nsize, sizeof(LINE)) != 0) 383 if (reallocarr(&lp->fields, 527 if (reallocarr(&olist,
|
| /src/lib/libpam/modules/pam_exec/ |
| pam_exec.c | 95 if (reallocarr(&envlist, envlen + nitems + 1, sizeof(*envlist)) != 0) {
|