| /freebsd-12.1/contrib/file/tests/ |
| H A D | test.c | 34 xrealloc(void *p, size_t n) in xrealloc() function 49 char *l = (char *)xrealloc(NULL, len), *s = l; in slurp() 53 l = (char *)xrealloc(l, len * 2); in slurp() 59 l = (char *)xrealloc(l, len + 1); in slurp() 63 l = (char *)xrealloc(l, s - l); in slurp()
|
| /freebsd-12.1/gnu/usr.bin/grep/ |
| H A D | exclude.c | 35 void *xrealloc PARAMS ((void *, size_t)); 74 ex->exclude = (char const **) xrealloc (ex->exclude, in add_exclude() 107 buf = xrealloc (buf, buf_alloc *= 2); in add_exclude_file() 110 buf = xrealloc (buf, buf_count + 1); in add_exclude_file()
|
| H A D | xalloc.h | 61 void *xrealloc PARAMS ((void *p, size_t n)); 67 ((Type *) xrealloc ((void *) (Ptr), sizeof (Type) * (N_items)))
|
| /freebsd-12.1/contrib/tcsh/ |
| H A D | tc.str.c | 248 sdst = xrealloc(sdst, (dstsize + MALLOC_SURPLUS) * sizeof(char)); 525 buf = xrealloc(buf, size); 555 sdst = xrealloc(sdst, 566 sdst = xrealloc(sdst, (dstsize + MALLOC_SURPLUS) * sizeof(char)); 589 bb->vec = xrealloc(bb->vec, bb->size * sizeof (*bb->vec)); 628 return xrealloc(bb->vec, (bb->len + 1) * sizeof (*bb->vec)); 647 buf->s = xrealloc(buf->s, buf->size * sizeof(*buf->s)); \ 675 buf->s = xrealloc(buf->s, buf->size * sizeof(*buf->s)); \ 691 return xrealloc(buf->s, buf->len * sizeof(*buf->s)); \
|
| /freebsd-12.1/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()
|
| /freebsd-12.1/contrib/xz/src/xz/ |
| H A D | util.h | 18 #define xmalloc(size) xrealloc(NULL, size) 22 extern void *xrealloc(void *ptr, size_t size)
|
| /freebsd-12.1/contrib/binutils/include/ |
| H A D | libiberty.h | 291 extern void *xrealloc (void *, size_t); 331 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N))) 338 #define XRESIZEVAR(T, P, S) ((T *) xrealloc ((P), (S)))
|
| /freebsd-12.1/contrib/gcclibs/include/ |
| H A D | libiberty.h | 280 extern void *xrealloc (void *, size_t); 324 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N))) 331 #define XRESIZEVAR(T, P, S) ((T *) xrealloc ((P), (S)))
|
| /freebsd-12.1/usr.bin/gencat/ |
| H A D | gencat.c | 115 static void *xrealloc(void *, size_t); 218 xrealloc(void *ptr, size_t size) function 260 cptr = curline = xrealloc(curline, curlen *= 2); 317 msg = xrealloc(msg, clen); 344 msg = xrealloc(msg, msglen);
|
| /freebsd-12.1/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()
|
| /freebsd-12.1/usr.bin/fmt/ |
| H A D | fmt.c | 268 static void *xrealloc(void *, size_t); 270 #define XMALLOC(x) xrealloc(0,x) 753 buf = xrealloc(buf, length * sizeof(wchar_t)); in get_line() 779 xrealloc(void *ptr, size_t nbytes) in xrealloc() function
|
| /freebsd-12.1/contrib/gdb/gdb/ |
| H A D | environ.c | 75 e->vector = (char **) xrealloc ((char *) e->vector, in init_environ() 134 vector = (char **) xrealloc ((char *) vector, in set_in_environ()
|
| H A D | event-top.c | 668 nline = (char *) xrealloc (linebuffer, linelength); in command_line_handler() 740 linebuffer = (char *) xrealloc (linebuffer, linelength); in command_line_handler() 787 line = xrealloc (line, linelength); in command_line_handler() 872 result = (char *) xrealloc (result, result_size); in gdb_readline2()
|
| H A D | parse.c | 179 xrealloc ((char *) expout, sizeof (struct expression) in write_exp_elt() 295 xrealloc ((char *) expout, (sizeof (struct expression) in write_exp_string() 344 xrealloc ((char *) expout, (sizeof (struct expression) in write_exp_bitstring() 1069 xrealloc ((char *) expout, in parse_exp_1() 1111 xrealloc ((char *) type_stack, type_stack_size * sizeof (*type_stack)); in check_type_stack_depth()
|
| /freebsd-12.1/usr.bin/logins/ |
| H A D | logins.c | 104 xrealloc(void *ptr, size_t size) in xrealloc() function 138 grps = xrealloc(grps, grpsz * sizeof *grps); in get_groups() 213 pwds = xrealloc(pwds, pwdsz * sizeof *pwds); in get_users()
|
| /freebsd-12.1/libexec/rtld-aout/ |
| H A D | support.h | 36 void *xrealloc __P((void *, size_t));
|
| H A D | support.c | 76 xrealloc(void *p, size_t n) in xrealloc() function
|
| /freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/common/ |
| H A D | memory.h | 46 void *xrealloc(void *, size_t);
|
| H A D | memory.c | 95 xrealloc(void *ptr, size_t size) in xrealloc() function
|
| /freebsd-12.1/contrib/amd/libamu/ |
| H A D | strutil.c | 73 p = (char *) xrealloc(p, l1 + l2 + l3 + 1); in str3cat() 137 ivec = (char **) xrealloc((voidp) ivec, (ic + 1) * sizeof(char *)); in strsplit()
|
| /freebsd-12.1/contrib/binutils/ld/ |
| H A D | ldmisc.h | 32 extern void *xrealloc (void *, size_t);
|
| H A D | deffilep.y | 483 def->exports = xrealloc (def->exports, in def_file_add_export() 543 def->imports = xrealloc (def->imports, in def_file_add_import() 686 def->description = xrealloc (def->description, len); in def_description() 721 def->section_defs = xrealloc (def->section_defs, in def_section() 859 buffer = xrealloc (buffer, buflen + 1); in put_buf()
|
| /freebsd-12.1/contrib/gcc/ |
| H A D | ggc-none.c | 58 return xrealloc (x, size); in ggc_realloc_stat()
|
| /freebsd-12.1/contrib/ldns/drill/ |
| H A D | drill_util.h | 59 void *xrealloc(void *p, size_t s);
|
| /freebsd-12.1/contrib/binutils/binutils/ |
| H A D | bucomm.h | 72 void *xrealloc (void *, size_t);
|