Home
last modified time | relevance | path

Searched refs:xrealloc (Results 1 – 25 of 47) sorted by relevance

12

/src/contrib/file/tests/ !
H A Dtest.c40 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()
/src/contrib/tcsh/ !
H A Dtc.str.c245 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 Dtc.printf.c422 buf = xrealloc(buf, size); in xvasprintf()
433 return xrealloc(buf, xstring - buf); in xvasprintf()
H A Dtc.bind.c362 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 Dsh.misc.c558 buf = xrealloc(buf, size); in areadlink()
569 return xrealloc(buf, res + 1); in areadlink()
H A Dsh.glob.c261 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()
/src/contrib/xz/src/xz/ !
H A Dutil.h17 #define xmalloc(size) xrealloc(NULL, size)
22 extern void *xrealloc(void *ptr, size_t size);
H A Dmain.c138 name = xrealloc(name, size); in read_name()
H A Dutil.c68 xrealloc(void *ptr, size_t size) in xrealloc() function
/src/usr.bin/gencat/ !
H A Dgencat.c113 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);
/src/usr.bin/fmt/ !
H A Dfmt.c266 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
/src/usr.bin/logins/ !
H A Dlogins.c100 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()
/src/cddl/contrib/opensolaris/tools/ctf/common/ !
H A Dmemory.h47 void *xrealloc(void *, size_t);
H A Dmemory.c109 xrealloc(void *ptr, size_t size) in xrealloc() function
/src/contrib/ldns/drill/ !
H A Ddrill_util.h59 void *xrealloc(void *p, size_t s);
/src/crypto/krb5/src/clients/ksu/ !
H A Dxmalloc.c40 void *xrealloc (void *old, size_t newsz) in xrealloc() function
H A Dksu.h234 *xrealloc (void *, size_t),
/src/cddl/contrib/opensolaris/tools/ctf/cvt/ !
H A Dstack.c101 sp->st_data = xrealloc(sp->st_data, in stack_push()
H A Dstrtab.c45 sp->str_bufs = xrealloc(sp->str_bufs, sp->str_nbufs * sizeof (char *)); in strtab_grow()
/src/usr.bin/m4/ !
H A Dmisc.c204 newbuf = xrealloc(buf, bufsize, "too many characters pushed back"); in enlarge_bufspace()
334 xrealloc(void *old, size_t n, const char *fmt, ...) in xrealloc() function
H A Dextern.h109 extern void *xrealloc(void *, size_t, const char *, ...) __printf0like(3, 4);
H A Dgnum4.c220 buffer = xrealloc(buffer, bufsize, NULL); in addchars()
234 buffer = xrealloc(buffer, bufsize, NULL); in addchar()
/src/usr.bin/rpcgen/ !
H A Drpc_util.h154 void *xrealloc(void *ptr, size_t size);
/src/usr.sbin/crunch/crunchide/ !
H A Dexec_elf32.c142 xrealloc(void *ptr, size_t size, const char *fn, const char *use) in xrealloc() function
411 nstrtabp = xrealloc(nstrtabp, nstrtab_size, fn, in hide()
/src/crypto/krb5/src/lib/gssapi/generic/ !
H A DgssapiP_generic.h61 #define xrealloc(p,n) realloc(p,n) macro

12