| /openbsd/src/gnu/lib/libiberty/include/ |
| D | libiberty.h | 285 extern void *xcalloc (size_t, size_t) ATTRIBUTE_MALLOC; 313 #define XCNEW(T) ((T *) xcalloc (1, sizeof (T))) 319 #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) 326 #define XCNEWVAR(T, S) ((T *) xcalloc (1, (S)))
|
| /openbsd/src/bin/csh/ |
| D | parse.c | 269 t = xcalloc(1, sizeof(*t)); in syn0() 277 t = xcalloc(1, sizeof(*t)); in syn0() 318 t = xcalloc(1, sizeof(*t)); in syn1() 356 t = xcalloc(1, sizeof(*t)); in syn1a() 393 t = xcalloc(1, sizeof(*t)); in syn1b() 433 t = xcalloc(1, sizeof(*t)); in syn2() 532 t = xcalloc(1, sizeof(*t)); in syn3() 533 av = xcalloc(n + 1, sizeof(*av)); in syn3()
|
| D | misc.c | 119 Char **newv = xcalloc(blklen(v) + 1, sizeof(*newv)); in saveblk() 130 Char **wp = xcalloc(blklen(up) + blklen(vp) + 1, sizeof(*wp)); in blkspl() 292 Char **nv = xcalloc(blklen(v) + 1, sizeof(*nv)); in copyblk()
|
| /openbsd/src/gnu/gcc/include/ |
| D | libiberty.h | 285 extern void *xcalloc (size_t, size_t) ATTRIBUTE_MALLOC; 313 #define XCNEW(T) ((T *) xcalloc (1, sizeof (T))) 319 #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) 326 #define XCNEWVAR(T, S) ((T *) xcalloc (1, (S)))
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/include/ |
| D | libiberty.h | 285 extern void *xcalloc (size_t, size_t) ATTRIBUTE_MALLOC; 313 #define XCNEW(T) ((T *) xcalloc (1, sizeof (T))) 319 #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T))) 326 #define XCNEWVAR(T, S) ((T *) xcalloc (1, (S)))
|
| /openbsd/src/gnu/usr.bin/binutils/binutils/ |
| D | coffgrok.c | 85 l = (struct coff_scope *) (xcalloc (sizeof (struct coff_scope), 1)); in empty_scope() 92 return (struct coff_symbol *) (xcalloc (sizeof (struct coff_symbol), 1)); in empty_symbol() 131 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, in do_sections_p1() 163 (struct coff_reloc *) (xcalloc (section->reloc_count, in do_sections_p1() 259 struct coff_line *res = (struct coff_line *) xcalloc (sizeof (struct coff_line), 1); in do_lines() 285 res->lines = (int *) (xcalloc (sizeof (int), c)); in do_lines() 286 res->addresses = (int *) (xcalloc (sizeof (int), c)); in do_lines() 619 …n->section = (struct coff_isection *) xcalloc (sizeof (struct coff_isection), abfd->section_count … in doit() 737 tindex = (struct coff_symbol **) (xcalloc (sizeof (struct coff_symbol *), rawcount)); in coff_grok()
|
| /openbsd/src/gnu/usr.bin/binutils-2.17/binutils/ |
| D | coffgrok.c | 85 l = (struct coff_scope *) (xcalloc (sizeof (struct coff_scope), 1)); in empty_scope() 92 return (struct coff_symbol *) (xcalloc (sizeof (struct coff_symbol), 1)); in empty_symbol() 131 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, in do_sections_p1() 163 (struct coff_reloc *) (xcalloc (section->reloc_count, in do_sections_p1() 259 struct coff_line *res = (struct coff_line *) xcalloc (sizeof (struct coff_line), 1); in do_lines() 285 res->lines = (int *) (xcalloc (sizeof (int), c)); in do_lines() 286 res->addresses = (int *) (xcalloc (sizeof (int), c)); in do_lines() 619 …n->section = (struct coff_isection *) xcalloc (sizeof (struct coff_isection), abfd->section_count … in doit() 737 tindex = (struct coff_symbol **) (xcalloc (sizeof (struct coff_symbol *), rawcount)); in coff_grok()
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/fixinc/ |
| D | server.c | 276 return xcalloc (1, 1); 291 return xcalloc (1, 1); 311 pz = xcalloc (1, 1);
|
| /openbsd/src/usr.sbin/smtpd/ |
| D | stat_ramstat.c | 75 np = xcalloc(1, sizeof *np); in ramstat_increment() 93 np = xcalloc(1, sizeof *np); in ramstat_decrement() 111 np = xcalloc(1, sizeof *np); in ramstat_set()
|
| D | lka_filter.c | 217 processor = xcalloc(1, sizeof *processor); in lka_proc_forked() 343 filter = xcalloc(1, sizeof(*filter)); in lka_filter_init() 353 filter = xcalloc(1, sizeof(*filter)); in lka_filter_init() 372 filter = xcalloc(1, sizeof(*filter)); in lka_filter_init() 374 filter->chain = xcalloc(filter_config->chain_size, sizeof(void **)); in lka_filter_init() 438 filter_chain = xcalloc(1, sizeof *filter_chain); in lka_filter_ready() 448 filter_entry = xcalloc(1, sizeof *filter_entry); in lka_filter_ready() 461 filter_entry = xcalloc(1, sizeof *filter_entry); in lka_filter_ready() 506 fs = xcalloc(1, sizeof (struct filter_session)); in lka_filter_begin() 1296 tailq = xcalloc(1, sizeof (struct reporters)); in lka_report_init() [all …]
|
| /openbsd/src/gnu/usr.bin/texinfo/lib/ |
| D | xalloc.h | 51 void *xcalloc (size_t n, size_t s); 79 # define XCALLOC(type, n) xcalloc (n, sizeof (type))
|
| /openbsd/src/usr.bin/ssh/ |
| D | auth-bsdauth.c | 85 *prompts = xcalloc(*numprompts, sizeof(char *)); in bsdauth_query() 86 *echo_on = xcalloc(*numprompts, sizeof(u_int)); in bsdauth_query()
|
| D | xmalloc.h | 20 void *xcalloc(size_t, size_t);
|
| /openbsd/src/usr.bin/tmux/ |
| D | cmd-parse.y | 430 $$ = xcalloc(1, sizeof *$$); 439 $$ = xcalloc(1, sizeof *$$); 443 arg = xcalloc(1, sizeof *arg); 453 $$ = xcalloc(1, sizeof *$$); 460 arg = xcalloc(1, sizeof *arg); 547 $$ = xcalloc(1, sizeof *$$); 560 $$ = xcalloc(1, sizeof *$$); 566 $$ = xcalloc(1, sizeof *$$); 572 $$ = xcalloc(1, sizeof *$$); 1082 cmd = xcalloc(1, sizeof *cmd); in cmd_parse_from_arguments() [all …]
|
| D | cmd.c | 306 *argv = xcalloc(argc, sizeof **argv); in cmd_unpack_argv() 335 new_argv = xcalloc(argc + 1, sizeof *new_argv); in cmd_copy_argv() 526 cmd = xcalloc(1, sizeof *cmd); in cmd_parse() 553 new_cmd = xcalloc(1, sizeof *new_cmd); in cmd_copy() 586 cmdlist = xcalloc(1, sizeof *cmdlist); in cmd_list_new() 589 cmdlist->list = xcalloc(1, sizeof *cmdlist->list); in cmd_list_new() 678 buf = xcalloc(1, len); in cmd_list_print()
|
| D | arguments.c | 140 args = xcalloc(1, sizeof *args); in args_create() 154 new = xcalloc(1, sizeof *new); in args_parse_flag_argument() 382 new_value = xcalloc(1, sizeof *new_value); in args_copy() 390 new_args->values = xcalloc(args->count, sizeof *new_args->values); in args_copy() 483 values = xcalloc(argc, sizeof *values); in args_from_vector() 546 buf = xcalloc(1, len); in args_print() 659 entry = xcalloc(1, sizeof *entry); in args_set() 772 state = xcalloc(1, sizeof *state); in args_make_commands_prepare()
|
| D | control.c | 255 cp = xcalloc(1, sizeof *cp); in control_add_pane() 421 cb = xcalloc(1, sizeof *cb); in control_write() 496 cb = xcalloc(1, sizeof *cb); in control_write_output() 771 cs = c->control_state = xcalloc(1, sizeof *cs); in control_start() 895 csp = xcalloc(1, sizeof *csp); in control_check_subs_pane() 937 csp = xcalloc(1, sizeof *csp); in control_check_subs_all_panes() 985 csw = xcalloc(1, sizeof *csw); in control_check_subs_window() 1026 csw = xcalloc(1, sizeof *csw); in control_check_subs_all_windows() 1090 csub = xcalloc(1, sizeof *csub); in control_add_sub()
|
| D | hyperlinks.c | 164 hlu = xcalloc(1, sizeof *hlu); in hyperlinks_put() 206 hl = xcalloc(1, sizeof *hl); in hyperlinks_init()
|
| /openbsd/src/usr.bin/ctfconv/ |
| D | xmalloc.h | 23 void *xcalloc(size_t, size_t);
|
| /openbsd/src/gnu/gcc/gcc/ |
| D | varray.c | 78 *slot = xcalloc (sizeof (**slot), 1); in varray_descriptor() 132 ptr = xcalloc (VARRAY_HDR_SIZE + data_size, 1); in varray_init()
|
| /openbsd/src/usr.bin/file/ |
| D | xmalloc.h | 23 void *xcalloc(size_t, size_t);
|
| /openbsd/src/usr.bin/rcs/ |
| D | xmalloc.h | 23 void *xcalloc(size_t, size_t);
|
| /openbsd/src/usr.bin/diff/ |
| D | xmalloc.h | 23 void *xcalloc(size_t, size_t);
|
| /openbsd/src/gnu/lib/libiberty/src/ |
| D | xmemdup.c | 36 PTR output = xcalloc (1, alloc_size); in xmemdup()
|
| /openbsd/src/gnu/usr.bin/gcc/gcc/ |
| D | ggc-none.c | 40 return xcalloc (size, 1);
|