Home
last modified time | relevance | path

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

12345678910

/freebsd-12.1/contrib/file/tests/
H A Dtest.c34 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 Dexclude.c35 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 Dxalloc.h61 void *xrealloc PARAMS ((void *p, size_t n));
67 ((Type *) xrealloc ((void *) (Ptr), sizeof (Type) * (N_items)))
/freebsd-12.1/contrib/tcsh/
H A Dtc.str.c248 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 Dio.c174 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 Dutil.h18 #define xmalloc(size) xrealloc(NULL, size)
22 extern void *xrealloc(void *ptr, size_t size)
/freebsd-12.1/contrib/binutils/include/
H A Dlibiberty.h291 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 Dlibiberty.h280 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 Dgencat.c115 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 Dxmalloc.c114 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 Dfmt.c268 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 Denviron.c75 e->vector = (char **) xrealloc ((char *) e->vector, in init_environ()
134 vector = (char **) xrealloc ((char *) vector, in set_in_environ()
H A Devent-top.c668 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 Dparse.c179 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 Dlogins.c104 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 Dsupport.h36 void *xrealloc __P((void *, size_t));
H A Dsupport.c76 xrealloc(void *p, size_t n) in xrealloc() function
/freebsd-12.1/cddl/contrib/opensolaris/tools/ctf/common/
H A Dmemory.h46 void *xrealloc(void *, size_t);
H A Dmemory.c95 xrealloc(void *ptr, size_t size) in xrealloc() function
/freebsd-12.1/contrib/amd/libamu/
H A Dstrutil.c73 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 Dldmisc.h32 extern void *xrealloc (void *, size_t);
H A Ddeffilep.y483 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 Dggc-none.c58 return xrealloc (x, size); in ggc_realloc_stat()
/freebsd-12.1/contrib/ldns/drill/
H A Ddrill_util.h59 void *xrealloc(void *p, size_t s);
/freebsd-12.1/contrib/binutils/binutils/
H A Dbucomm.h72 void *xrealloc (void *, size_t);

12345678910