Home
last modified time | relevance | path

Searched refs:xcalloc (Results 1 – 25 of 42) sorted by relevance

12

/toolchain/binutils/binutils-2.25/binutils/
Dcoffgrok.c86 l = (struct coff_scope *) (xcalloc (sizeof (struct coff_scope), 1)); in empty_scope()
93 return (struct coff_symbol *) (xcalloc (sizeof (struct coff_symbol), 1)); in empty_symbol()
133 struct coff_section *all = (struct coff_section *) (xcalloc (abfd->section_count + 1, in do_sections_p1()
165 (struct coff_reloc *) (xcalloc (section->reloc_count, in do_sections_p1()
261 struct coff_line *res = (struct coff_line *) xcalloc (sizeof (struct coff_line), 1); in do_lines()
287 res->lines = (int *) (xcalloc (sizeof (int), c)); in do_lines()
288 res->addresses = (int *) (xcalloc (sizeof (int), c)); in do_lines()
621 …n->section = (struct coff_isection *) xcalloc (sizeof (struct coff_isection), abfd->section_count … in doit()
739 tindex = (struct coff_symbol **) (xcalloc (sizeof (struct coff_symbol *), rawcount)); in coff_grok()
Dsysdump.c75 r = xcalloc (b + 1, 1); in getCHARS()
Dsrconv.c635 return (int *) (xcalloc (sizeof (int), x)); in nints()
1224 du.san = (int *) xcalloc (sizeof (int), du.sections); in wr_du()
1283 dus.fname = (char **) xcalloc (sizeof (char *), dus.ns); in wr_dus()
DChangeLog-9899923 * coffdump.c (xcalloc): Remove, in libiberty now.
924 * srconv.c (xcalloc): Likewise.
925 * sysdump.c (xcalloc): Likewise.
/toolchain/binutils/binutils-2.25/include/
Dlibiberty.h315 extern void *xcalloc (size_t, size_t) ATTRIBUTE_MALLOC ATTRIBUTE_RETURNS_NONNULL;
346 #define XCNEW(T) ((T *) xcalloc (1, sizeof (T)))
354 #define XCNEWVEC(T, N) ((T *) xcalloc ((N), sizeof (T)))
363 #define XCNEWVAR(T, S) ((T *) xcalloc (1, (S)))
/toolchain/binutils/binutils-2.25/libiberty/
Dxmemdup.c37 PTR output = xcalloc (1, alloc_size); in xmemdup()
Dxmalloc.c155 xcalloc (size_t nelem, size_t elsize) in xcalloc() function
Dfibheap.c59 return (fibheap_t) xcalloc (1, sizeof (struct fibheap)); in fibheap_new()
68 node = (fibnode_t) xcalloc (1, sizeof *node); in fibnode_new()
Dhashtab.c400 return htab_create_alloc (size, hash_f, eq_f, del_f, xcalloc, free); in htab_create()
DChangeLog2590 xcalloc, xrealloc): Likewise.
3996 * fibheap.c (fibnode_new): Cast return of xcalloc to fibnode_t.
4536 (fibheap_new, fibnode_new): Use xcalloc to allocate and
4888 (xmalloc, xcalloc, xrealloc): Use it.
4925 xcalloc depending on htab->return_allocation_failure. Return zero
5498 (htab_expand): Cast the return value of xcalloc.
5733 (xcalloc, xrealloc): Likewise.
5924 (xcalloc): UWIN has sbrk.
6232 * xmalloc.c (xcalloc): New function.
/toolchain/binutils/binutils-2.25/gas/
Dsubsegs.c66 seginfo = (segment_info_type *) xcalloc (1, sizeof (*seginfo)); in subseg_change()
168 seginfo = (segment_info_type *) xcalloc (1, sizeof (*seginfo)); in subseg_get()
Ddw2gencfi.c317 xcalloc (1, sizeof (struct fde_entry)); in alloc_fde_entry()
320 xcalloc (1, sizeof (struct frch_cfi_data)); in alloc_fde_entry()
344 xcalloc (1, sizeof (struct cfi_insn_data)); in alloc_cfi_insn_data()
Ddwarf2dbg.c640 xcalloc (subprogs_allocated, sizeof (struct subprog_entry)); in make_subprog_entry()
671 xcalloc (logicals_allocated, sizeof (struct logicals_entry)); in make_logical()
1887 xcalloc (strtab->strings_allocated, sizeof(char *)); in add_to_string_table()
Dwrite.c1232 relocs = (arelent **) xcalloc (n, sizeof (arelent *)); in write_relocs()
/toolchain/binutils/binutils-2.25/opcodes/
Dtic4x-dis.c701 optable = xcalloc (sizeof (tic4x_inst_t *), (1 << TIC4X_HASH_SIZE)); in tic4x_disassemble()
703 optable_special = xcalloc (sizeof (tic4x_inst_t *), TIC4X_SPESOP_SIZE); in tic4x_disassemble()
Dmmix-dis.c153 opcodes = xcalloc (256, sizeof (struct mmix_opcode *)); in get_opcode()
Dnds32-dis.c989 NULL, xcalloc, free); in print_insn_nds32()
Di386-gen.c1067 xcalloc, free); in process_i386_opcodes()
Dnds32-asm.c1404 NULL, xcalloc, free); in build_hash_table()
1534 NULL, xcalloc, free); in nds32_asm_init()
/toolchain/binutils/binutils-2.25/ld/emultempl/
Dsh64elf.em142 sh64_sec_data = xcalloc (1, sizeof (struct sh64_section_data));
390 cranges->contents = xcalloc (cranges->size + cranges_growth, 1);
/toolchain/binutils/binutils-2.25/gas/config/
Dtc-metag.c6326 eq_templates, NULL, xcalloc, free); in create_mnemonic_htab()
6386 eq_regs, NULL, xcalloc, free); in create_reg_htab()
6408 eq_regs, NULL, xcalloc, free); in create_dspreg_htabs()
6428 eq_regs, NULL, xcalloc, free); in create_dspreg_htabs()
6479 NULL, xcalloc, free); in create_scond_htab()
Dtc-crx.c1768 new_param = (char *)xcalloc (MAX_INST_LEN, sizeof (char)); in preprocess_reglist()
Dtc-sh64.c442 sec_elf_data = xcalloc (1, sizeof (*sec_elf_data)); in shmedia_frob_section_type()
Dtc-xtensa.c6066 rt->units = (unsigned char **) xcalloc (cycles, sizeof (unsigned char *)); in new_resource_table()
6068 rt->units[i] = (unsigned char *) xcalloc (nu, sizeof (unsigned char)); in new_resource_table()
6104 rt->units[i] = xcalloc (rt->num_units, sizeof (unsigned char)); in resize_resource_table()
7347 ts = (struct trampoline_seg *)xcalloc(sizeof (struct trampoline_seg), 1); in xtensa_create_trampoline_frag()
/toolchain/binutils/binutils-2.25/ld/
Dldmain.c788 xcalloc (1, sizeof (lang_input_statement_type)); in add_archive_element()

12