| /src/usr.bin/diff/ |
| xmalloc.h | 24 void *xreallocarray(void *, size_t, size_t);
|
| xmalloc.c | 51 xreallocarray(void *ptr, size_t nmemb, size_t size) function 56 err(2, "xreallocarray: allocating %zu * %zu bytes",
|
| diffreg.c | 394 member = xreallocarray(member, slen[1] + 2, sizeof(*member)); 398 class = xreallocarray(class, slen[0] + 2, sizeof(*class)); 408 J = xreallocarray(J, len[0] + 2, sizeof(*J)); 413 ixold = xreallocarray(ixold, len[0] + 2, sizeof(*ixold)); 414 ixnew = xreallocarray(ixnew, len[1] + 2, sizeof(*ixnew)); 519 p = xreallocarray(p, sz + 3, sizeof(*p)); 634 clist = xreallocarray(clist, clistlen, sizeof(*clist)); 1067 context_vec_start = xreallocarray(context_vec_start,
|
| diff.c | 471 ignore_pats = xreallocarray(ignore_pats, 1, len);
|
| /src/bin/csh/ |
| str.c | 69 sdst = dst = xreallocarray(NULL, n + 1, sizeof(*dst)); 88 sdst = dst = xreallocarray(NULL, n + 1, sizeof(*dst)); 108 sdst = xreallocarray(NULL, (size_t)dstsize, sizeof(*sdst)); 117 sdst = xreallocarray(sdst, (size_t)dstsize, sizeof(*sdst)); 138 sdst = xreallocarray(NULL, dstsize, sizeof(*sdst)); 146 sdst = xreallocarray(sdst, dstsize, sizeof(*sdst)); 315 p = n = xreallocarray(NULL, (size_t)(p - s), sizeof(*n)); 335 ep = xreallocarray(NULL, (size_t)((p - cp) + (q - dp) - 1), sizeof(*ep)); 381 sdst = xreallocarray(NULL, dstsize, sizeof(*sdst)); 391 sdst = xreallocarray(sdst, (size_t)dstsize, sizeof(*sdst)) [all...] |
| glob.c | 134 nv = vl = xreallocarray(NULL, sizeof(Char *), (size_t)size); 200 nv = xreallocarray(nv, (size_t)size, sizeof(Char *)); 253 nv = xreallocarray(nv, size, sizeof(Char *)); 282 nv = vl = xreallocarray(NULL, sizeof(Char *), size); 297 nv = xreallocarray(nv, size, sizeof(Char *)); 308 nv = xreallocarray(nv, size, sizeof(Char *)); 515 gargv = xreallocarray(NULL, sizeof(Char *), (size_t)gargsiz); 594 pargv = xreallocarray(NULL, sizeof(Char *), (size_t)pargsiz); 780 pargv = xreallocarray(pargv, (size_t)pargsiz, sizeof(Char *)); 802 blk = xreallocarray(NULL, GLOBSPACE, sizeof(Char *)) [all...] |
| dir.c | 282 cwd = xreallocarray(NULL, (size_t)(Strlen(dcwd->di_name) + 3), 392 dp = xreallocarray(NULL, 709 p1 = newcp = xreallocarray(NULL, 729 p1 = newcp = xreallocarray(NULL, 798 p1 = newcp = xreallocarray(NULL, 818 p1 = newcp = xreallocarray(NULL,
|
| misc.c | 75 r = p = xreallocarray(NULL, (size_t)(n - s), sizeof(*p)); 192 ep = xreallocarray(NULL, (size_t)(((p - cp) + (q - dp) - 1), sizeof(*ep)));
|
| file.c | 522 items = xreallocarray(items, sizeof(*items), maxitems); 524 items[numitems] = xreallocarray(NULL,
|
| csh.h | 89 #define xreallocarray(p, n, sz) Reallocarray(p, n, sz) macro
|
| /src/external/bsd/tmux/dist/ |
| xmalloc.h | 29 void *xreallocarray(void *, size_t, size_t);
|
| xmalloc.c | 57 return xreallocarray(ptr, 1, size); 61 xreallocarray(void *ptr, size_t nmemb, size_t size) function 66 fatalx("xreallocarray: zero size"); 69 fatalx("xreallocarray: allocating %zu * %zu bytes: %s",
|
| utf8.c | 699 buf = xreallocarray(NULL, 4, strlen(src) + 1); 713 buf = xreallocarray(NULL, 4, srclen + 1); 759 dst = xreallocarray(dst, n + 1, sizeof *dst); 764 dst = xreallocarray(dst, n + ud.width, 778 dst = xreallocarray(dst, n + 1, sizeof *dst); 821 dst = xreallocarray(dst, n + 1, sizeof *dst); 835 dst = xreallocarray(dst, n + 1, sizeof *dst); 848 dst = xreallocarray(dst, n + src->size, 1); 852 dst = xreallocarray(dst, n + 1, 1);
|
| grid.c | 107 gl->extddata = xreallocarray(gl->extddata, at, sizeof *gl->extddata); 170 new_extddata = xreallocarray(NULL, new_extdsize, sizeof *gl->extddata); 198 gd->linedata = xreallocarray(gd->linedata, lines, sizeof *gd->linedata); 421 gd->linedata = xreallocarray(gd->linedata, yy + 1, 440 gd->linedata = xreallocarray(gd->linedata, gd->sy, 453 gd->linedata = xreallocarray(gd->linedata, yy + 1, 496 gl->celldata = xreallocarray(gl->celldata, sx, sizeof *gl->celldata); 1119 buf = xreallocarray(buf, 2, len); 1136 buf = xreallocarray(buf, 2, len); 1175 dstl->celldata = xreallocarray(NULL [all...] |
| tmux.c | 180 *paths = xreallocarray(*paths, (*n) + 1, sizeof *paths); 406 cfg_files = xreallocarray(cfg_files, cfg_nfiles + 1,
|
| cfg.c | 217 cfg_causes = xreallocarray(cfg_causes, cfg_ncauses, sizeof *cfg_causes);
|
| cmd-command-prompt.c | 127 cdata->prompts = xreallocarray(cdata->prompts,
|
| cmd-source-file.c | 139 cdata->files = xreallocarray(cdata->files, cdata->nfiles + 1,
|
| paste.c | 338 buf = xreallocarray(NULL, len, 4 + 4);
|
| status.c | 1065 ud = udp = xreallocarray(NULL, bufsize + 1, sizeof *ud); 1087 c->prompt_buffer = xreallocarray(c->prompt_buffer, size + n + 1, 1168 c->prompt_buffer = xreallocarray(c->prompt_buffer, size + 1, 1574 c->prompt_buffer = xreallocarray(c->prompt_buffer, size + 2, 1680 xreallocarray(status_prompt_hlist[type], newsize, 1699 *list = xreallocarray(*list, (*size) + 1, sizeof **list); 1907 list = xreallocarray(list, size + 1, sizeof *list); 1986 *list = xreallocarray(*list, (*size) + 2, 1993 *list = xreallocarray(*list, (*size) + 2,
|
| window-buffer.c | 121 data->item_list = xreallocarray(data->item_list, data->item_size + 1, 242 buf = xreallocarray(buf, 4, end - start + 1);
|
| cmd-refresh-client.c | 189 tc->clipboard_panes = xreallocarray(tc->clipboard_panes,
|
| format.c | 4111 *list = xreallocarray(*list, (*count) + 1, sizeof **list); 4227 argv = xreallocarray(argv, argc + 1, sizeof *argv); 4439 l = xreallocarray(l, lsz, sizeof *l); 4564 l = xreallocarray(l, lsz, sizeof *l); 4663 l = xreallocarray(l, lsz, sizeof *l); 4759 l = xreallocarray(l, lsz, sizeof *l); 4993 sub = xreallocarray(sub, nsub + 1, sizeof *sub); 5474 *buf = xreallocarray(*buf, 2, *len); 5542 buf = xreallocarray(buf, 2, len); 5580 buf = xreallocarray(buf, 2, len) [all...] |
| window-client.c | 109 data->item_list = xreallocarray(data->item_list, data->item_size + 1,
|
| window-tree.c | 187 data->item_list = xreallocarray(data->item_list, data->item_size + 1, 390 l = xreallocarray(l, n + 1, sizeof *l); 446 l = xreallocarray(l, n + 1, sizeof *l); 492 l = xreallocarray(l, n + 1, sizeof *l);
|