/freebsd/contrib/file/tests/ |
H A D | test.c | 40 xrealloc(void *p, size_t n) in xrealloc() function 56 char *l = xrealloc(NULL, len), *s = l; in slurp() 62 l = xrealloc(l, len); in slurp() 69 l = xrealloc(l, len + 1); in slurp() 75 return xrealloc(l, s - l); in slurp()
|
/freebsd/contrib/tcsh/ |
H A D | tc.str.c | 245 sdst = xrealloc(sdst, (dstsize + MALLOC_SURPLUS) * sizeof(char)); 522 buf = xrealloc(buf, size); 552 sdst = xrealloc(sdst, 563 sdst = xrealloc(sdst, (dstsize + MALLOC_SURPLUS) * sizeof(char)); 586 bb->vec = xrealloc(bb->vec, bb->size * sizeof (*bb->vec)); 625 return xrealloc(bb->vec, (bb->len + 1) * sizeof (*bb->vec)); 644 buf->s = xrealloc(buf->s, buf->size * sizeof(*buf->s)); \ 672 buf->s = xrealloc(buf->s, buf->size * sizeof(*buf->s)); \ 688 return xrealloc(buf->s, buf->len * sizeof(*buf->s)); \
|
H A D | tc.printf.c | 422 buf = xrealloc(buf, size); in xvasprintf() 433 return xrealloc(buf, xstring - buf); in xvasprintf()
|
H A D | tc.bind.c | 362 str->buf = xrealloc(b.s, (b.len + 1) * sizeof (*str->buf)); in parsebind() 400 buf->buf = xrealloc(b.s, (b.len + 1) * sizeof (*buf->buf)); in parsestring()
|
H A D | sh.misc.c | 558 buf = xrealloc(buf, size); in areadlink() 569 return xrealloc(buf, res + 1); in areadlink()
|
H A D | sh.glob.c | 261 nv = xrealloc(nv, size * sizeof(Char *)); in expbrace() 321 *fnv = xrealloc(*fnv, size * sizeof(Char *)); in globexpand() 331 *fnv = xrealloc(*fnv, size * sizeof(Char *)); in globexpand()
|
/freebsd/contrib/diff/src/ |
H A D | io.c | 174 current->buffer = xrealloc (current->buffer, cc); in slurp() 201 current->buffer = xrealloc (current->buffer, current->bufsize); in slurp() 209 current->buffer = xrealloc (current->buffer, current->bufsize); in slurp() 417 eqs = xrealloc (eqs, eqs_alloc * sizeof *eqs); in find_and_hash_each_line() 458 cureqs = xrealloc (cureqs, alloc_lines * sizeof *cureqs); in find_and_hash_each_line() 460 linbuf = xrealloc (linbuf, in find_and_hash_each_line() 485 linbuf = xrealloc (linbuf, in find_and_hash_each_line() 743 linbuf0 = xrealloc (linbuf0, alloc_lines0 * sizeof *linbuf0); in find_identical_ends()
|
H A D | dir.c | 109 dirdata->data = data = xrealloc (data, data_alloc *= 2); in dir_read()
|
/freebsd/contrib/diff/lib/ |
H A D | xmalloc.c | 114 xrealloc (void *p, size_t n) in xrealloc() function 202 return xrealloc (p, n * s); in x2nrealloc_inline()
|
H A D | xalloc.h | 55 void *xrealloc (void *p, size_t s);
|
H A D | exclude.c | 235 buf = xrealloc (buf, buf_count + 1); in add_exclude_file()
|
/freebsd/usr.bin/gencat/ |
H A D | gencat.c | 113 static void *xrealloc(void *, size_t); 216 xrealloc(void *ptr, size_t size) function 258 cptr = curline = xrealloc(curline, curlen *= 2); 315 msg = xrealloc(msg, clen); 342 msg = xrealloc(msg, msglen);
|
/freebsd/usr.bin/fmt/ |
H A D | fmt.c | 266 static void *xrealloc(void *, size_t); 268 #define XMALLOC(x) xrealloc(0,x) 751 buf = xrealloc(buf, length * sizeof(wchar_t)); in get_line() 777 xrealloc(void *ptr, size_t nbytes) in xrealloc() function
|
/freebsd/usr.bin/logins/ |
H A D | logins.c | 100 xrealloc(void *ptr, size_t size) in xrealloc() function 134 grps = xrealloc(grps, grpsz * sizeof *grps); in get_groups() 209 pwds = xrealloc(pwds, pwdsz * sizeof *pwds); in get_users()
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/common/ |
H A D | memory.h | 47 void *xrealloc(void *, size_t);
|
H A D | memory.c | 109 xrealloc(void *ptr, size_t size) in xrealloc() function
|
/freebsd/contrib/ldns/drill/ |
H A D | drill_util.h | 59 void *xrealloc(void *p, size_t s);
|
H A D | drill_util.c | 293 xrealloc(void *p, size_t size) in xrealloc() function
|
/freebsd/cddl/contrib/opensolaris/tools/ctf/cvt/ |
H A D | stack.c | 101 sp->st_data = xrealloc(sp->st_data, in stack_push()
|
H A D | strtab.c | 45 sp->str_bufs = xrealloc(sp->str_bufs, sp->str_nbufs * sizeof (char *)); in strtab_grow()
|
/freebsd/usr.bin/m4/ |
H A D | misc.c | 205 newbuf = xrealloc(buf, bufsize, "too many characters pushed back"); in enlarge_bufspace() 335 xrealloc(void *old, size_t n, const char *fmt, ...) in xrealloc() function
|
H A D | extern.h | 109 extern void *xrealloc(void *, size_t, const char *, ...) __printf0like(3, 4);
|
H A D | gnum4.c | 220 buffer = xrealloc(buffer, bufsize, NULL); in addchars() 234 buffer = xrealloc(buffer, bufsize, NULL); in addchar()
|
/freebsd/usr.bin/rpcgen/ |
H A D | rpc_util.h | 154 void *xrealloc(void *ptr, size_t size);
|
/freebsd/usr.sbin/crunch/crunchide/ |
H A D | exec_elf32.c | 142 xrealloc(void *ptr, size_t size, const char *fn, const char *use) in xrealloc() function 411 nstrtabp = xrealloc(nstrtabp, nstrtab_size, fn, in ELFNAMEEND()
|