Home
last modified time | relevance | path

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

12345678910

/dragonfly/contrib/grep/lib/
HDxalloc.h59 void *xrealloc (void *p, size_t s)
116 return xrealloc (p, n * s); in xnrealloc()
207 return xrealloc (p, n * s); in x2nrealloc()
229 xrealloc (T *p, size_t s) in xrealloc() function
231 return (T *) xrealloc ((void *) p, s); in xrealloc()
/dragonfly/contrib/tcsh-6/
HDtc.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)); \
/dragonfly/contrib/cvs-1.12/diff/
HDio.c146 current->buffer = xrealloc (current->buffer, cc);
167 current->buffer = xrealloc (current->buffer, current->bufsize);
180 current->buffer = xrealloc (current->buffer, current->bufsize);
305 xrealloc (eqs, (eqs_alloc*=2) * sizeof(*eqs));
333 cureqs = (int *) xrealloc (cureqs, alloc_lines * sizeof (*cureqs));
334 linbuf = (char const **) xrealloc (linbuf + linbuf_base,
355 linbuf = (char const **) xrealloc (linbuf + linbuf_base,
581 linbuf0 = (char const **) xrealloc (linbuf0, (alloc_lines0 *= 2)
/dragonfly/contrib/xz/src/xz/
HDutil.h18 #define xmalloc(size) xrealloc(NULL, size)
22 extern void *xrealloc(void *ptr, size_t size)
/dragonfly/contrib/gdb-7/readline/
HDtilde.c53 static void *xmalloc (), *xrealloc ();
216 result = (char *)xrealloc (result, 1 + (result_size += (start + 20)));
249 result = (char *)xrealloc (result, 1 + (result_size += (len + 20)));
473 xrealloc (pointer, bytes) in xrealloc() function
HDdisplay.c465 visible_line = (char *)xrealloc (visible_line, line_size);
466 invisible_line = (char *)xrealloc (invisible_line, line_size);
569 visible_line = (char *)xrealloc (visible_line, line_size); in rl_redisplay()
570 line = invisible_line = (char *)xrealloc (invisible_line, line_size); in rl_redisplay()
603 visible_line = (char *)xrealloc (visible_line, line_size); in rl_redisplay()
604 line = invisible_line = (char *)xrealloc (invisible_line, line_size); in rl_redisplay()
617 inv_lbreaks = (int *)xrealloc (inv_lbreaks, inv_lbsize * sizeof (int)); \ in rl_redisplay()
630 inv_lbreaks = (int *)xrealloc (inv_lbreaks, inv_lbsize * sizeof (int)); \ in rl_redisplay()
636 …line_state_invisible->wrapped_line = (int *)xrealloc (line_state_invisible->wrapped_line, line_sta… in rl_redisplay()
651 inv_lbreaks = (int *)xrealloc (inv_lbreaks, inv_lbsize * sizeof (int)); \ in rl_redisplay()
[all …]
HDfunmap.c208 funmap = (FUNMAP **)xrealloc (funmap, funmap_size * sizeof (FUNMAP *));
254 result = (const char **)xrealloc (result, result_size * sizeof (char *)); in rl_funmap_names()
HDisearch.c436 cxt->search_string = (char *)xrealloc (cxt->search_string, cxt->search_string_size);
510 cxt->search_string = (char *)xrealloc (cxt->search_string, cxt->search_string_size);
529 cxt->search_string = (char *)xrealloc (cxt->search_string, cxt->search_string_size);
541 cxt->search_string = (char *)xrealloc (cxt->search_string, cxt->search_string_size);
/dragonfly/contrib/cvs-1.12/lib/
HDcanonicalize.c172 char *p = xrealloc (rname, PATH_MAX); in canonicalize_filename_mode()
227 rname = xrealloc (rname, new_size); in canonicalize_filename_mode()
281 extra_buf = xrealloc (extra_buf, extra_len); in canonicalize_filename_mode()
HDxmalloc.c89 xrealloc (void *p, size_t n) in xrealloc() function
177 return xrealloc (p, n * s); in x2nrealloc_inline()
/dragonfly/contrib/tre/lib/
HDxmalloc.h51 #define xrealloc(ptr, new_size) xrealloc_impl(ptr, new_size, __FILE__, \ macro
70 #define xrealloc(ptr, new_size) realloc(ptr, new_size) macro
/dragonfly/usr.bin/gencat/
HDgencat.c113 static void *xrealloc(void *, size_t);
214 xrealloc(void *ptr, size_t size) function
256 cptr = curline = xrealloc(curline, curlen *= 2);
313 msg = xrealloc(msg, clen);
340 msg = xrealloc(msg, msglen);
/dragonfly/contrib/gcc-4.7/lto-plugin/
HDlto-plugin.c292 syms = xrealloc (out->syms, len * sizeof (struct ld_plugin_symbol)); in translate()
293 aux = xrealloc (out->aux, len * sizeof (struct sym_aux)); in translate()
496 s = xrealloc (s, len + piece); in add_output_files()
504 = xrealloc (output_files, num_output_files * sizeof (char *)); in add_output_files()
918 xrealloc (claimed_files, in claim_file_handler()
946 pass_through_items = xrealloc (pass_through_items, in process_option()
972 lto_wrapper_argv = (char **) xrealloc (lto_wrapper_argv, size); in process_option()
/dragonfly/contrib/gdb-7/gdb/
HDevent-top.c506 nline = (char *) xrealloc (linebuffer, linelength); in command_line_handler()
577 linebuffer = (char *) xrealloc (linebuffer, linelength); in command_line_handler()
623 saved_command_line = xrealloc (saved_command_line, linelength); in command_line_handler()
705 result = (char *) xrealloc (result, result_size); in gdb_readline2()
HDenviron.c73 e->vector = (char **) xrealloc ((char *) e->vector, in init_environ()
133 vector = (char **) xrealloc ((char *) vector, in set_in_environ()
HDparse.c212 expout = xrealloc ((char *) expout, in reallocate_expout()
229 xrealloc ((char *) expout, sizeof (struct expression) in write_exp_elt()
369 xrealloc ((char *) expout, (sizeof (struct expression) in write_exp_string()
425 xrealloc ((char *) expout, (sizeof (struct expression) in write_exp_string_vector()
477 xrealloc ((char *) expout, (sizeof (struct expression) in write_exp_bitstring()
818 namecopy = xrealloc (namecopy, token.length + 1); in copy_name()
1428 stack->elements = xrealloc (stack->elements, in type_stack_reserve()
/dragonfly/usr.bin/fmt/
HDfmt.c246 static void * xrealloc (void *, size_t);
248 #define XMALLOC(x) xrealloc(0,x)
644 length*=2; buf=xrealloc(buf, length * sizeof(wchar_t)); in get_line()
661 xrealloc(void *ptr, size_t nbytes) { in xrealloc() function
/dragonfly/contrib/gdb-7/include/
HDlibiberty.h307 extern void *xrealloc (void *, size_t);
353 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N)))
362 #define XRESIZEVAR(T, P, S) ((T *) xrealloc ((P), (S)))
/dragonfly/contrib/gcc-4.7/include/
HDlibiberty.h316 extern void *xrealloc (void *, size_t);
362 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N)))
371 #define XRESIZEVAR(T, P, S) ((T *) xrealloc ((P), (S)))
/dragonfly/usr.bin/m4/
HDmisc.c204 newbuf = xrealloc(buf, bufsize, "too many characters pushed back"); in enlarge_bufspace()
288 outfile = (FILE **)xrealloc(outfile, sizeof(FILE *) * n, in resizedivs()
315 xrealloc(void *old, size_t n, const char *fmt, ...) in xrealloc() function
/dragonfly/contrib/gcc-8.0/lto-plugin/
HDlto-plugin.c317 syms = xrealloc (out->syms, len * sizeof (struct ld_plugin_symbol)); in translate()
318 aux = xrealloc (out->aux, len * sizeof (struct sym_aux)); in translate()
529 s = xrealloc (s, len + piece); in add_output_files()
537 = xrealloc (output_files, num_output_files * sizeof (char *)); in add_output_files()
1038 xrealloc (claimed_files, in claim_file_handler()
1132 pass_through_items = xrealloc (pass_through_items, in process_option()
1158 lto_wrapper_argv = (char **) xrealloc (lto_wrapper_argv, size); in process_option()
/dragonfly/contrib/binutils-2.27/include/
HDlibiberty.h314 extern void *xrealloc (void *, size_t) ATTRIBUTE_RETURNS_NONNULL;
360 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N)))
369 #define XRESIZEVAR(T, P, S) ((T *) xrealloc ((P), (S)))
/dragonfly/contrib/gcc-8.0/include/
HDlibiberty.h314 extern void *xrealloc (void *, size_t) ATTRIBUTE_RETURNS_NONNULL;
360 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N)))
369 #define XRESIZEVAR(T, P, S) ((T *) xrealloc ((P), (S)))
/dragonfly/contrib/binutils-2.34/include/
HDlibiberty.h323 extern void *xrealloc (void *, size_t) ATTRIBUTE_RETURNS_NONNULL ATTRIBUTE_RESULT_SIZE_2 ATTRIBUTE_…
369 #define XRESIZEVEC(T, P, N) ((T *) xrealloc ((void *) (P), sizeof (T) * (N)))
378 #define XRESIZEVAR(T, P, S) ((T *) xrealloc ((P), (S)))
/dragonfly/contrib/binutils-2.27/libiberty/
HDargv.c202 nargv = (char **) xrealloc (argv, maxargc * sizeof (char *)); in buildargv()
442 xrealloc (*argvp, in expandargv()

12345678910