/toolchain/binutils/binutils-2.25/include/ |
D | libiberty.h | 369 #define XOBNEW(O, T) ((T *) obstack_alloc ((O), sizeof (T))) 370 #define XOBNEWVEC(O, T, N) ((T *) obstack_alloc ((O), sizeof (T) * (N))) 371 #define XOBNEWVAR(O, T, S) ((T *) obstack_alloc ((O), (S)))
|
D | obstack.h | 205 void * obstack_alloc (struct obstack *obstack, int size); 401 # define obstack_alloc(OBSTACK,length) \ macro 509 # define obstack_alloc(h,length) \ macro
|
/toolchain/binutils/binutils-2.25/gas/ |
D | hash.c | 93 ret->table = (struct hash_entry **) obstack_alloc (&ret->memory, alloc); in hash_new_sized() 220 p = (struct hash_entry *) obstack_alloc (&table->memory, sizeof (*p)); in hash_insert() 257 p = (struct hash_entry *) obstack_alloc (&table->memory, sizeof (*p)); in hash_jam()
|
D | frags.c | 81 (void) obstack_alloc (ob, 0); in frag_alloc() 84 ptr = (fragS *) obstack_alloc (ob, SIZEOF_STRUCT_FRAG); in frag_alloc()
|
D | subsegs.c | 104 newP = (frchainS *) obstack_alloc (&frchains, sizeof (frchainS)); in subseg_set_rest()
|
D | symbols.c | 140 symbolP = (symbolS *) obstack_alloc (¬es, sizeof (symbolS)); in symbol_create() 200 ret = (struct local_symbol *) obstack_alloc (¬es, sizeof *ret); in local_symbol_make() 570 newsymP = (symbolS *) obstack_alloc (¬es, sizeof (*newsymP)); in symbol_clone() 1917 symbol_decode = (char *) obstack_alloc (¬es, strlen (message_format) + 30); in decode_local_label_name()
|
D | write.c | 158 fixP = (fixS *) obstack_alloc (¬es, sizeof (fixS)); in fix_new_internal()
|
/toolchain/binutils/binutils-2.25/libiberty/ |
D | obstack.c | 493 POINTER (obstack_alloc) (struct obstack *obstack, int length) 495 return obstack_alloc (obstack, length);
|
D | obstacks.texi | 167 @code{obstack_alloc}, which is invoked almost like @code{malloc}. 171 @deftypefun {void *} obstack_alloc (struct obstack *@var{obstack-ptr}, int @var{size}) 194 char *s = (char *) obstack_alloc (&string_obstack, len); 286 obstack_alloc (get_obstack (), 4); 305 x = (char *) obstack_alloc (obptr, size); 307 x = (char *) (obstack_alloc) (obptr, size); 309 funcp = obstack_alloc; 405 @code{obstack_alloc} (@pxref{Allocation in an Obstack}). 692 @item void *obstack_alloc (struct obstack *@var{obstack-ptr}, int @var{size})
|
/toolchain/binutils/binutils-2.25/binutils/ |
D | windres.c | 153 return obstack_alloc (&res_obstack, (size_t) bytes); in res_alloc() 174 return obstack_alloc (&reswr_obstack, (size_t) bytes); in reswr_alloc()
|
D | windmc.c | 172 return obstack_alloc (&res_obstack, (size_t) bytes); in res_alloc()
|
/toolchain/binutils/binutils-2.25/gas/config/ |
D | tc-bfin.c | 940 INSTR_T cell = obstack_alloc (&mempool, sizeof (struct bfin_insn)); in gencode() 953 return obstack_alloc (&mempool, n); in allocate()
|
D | tc-score7.c | 5097 obstack_alloc (&insn_obstack, sizeof (struct s7_asm_opcode)); in s7_build_score_ops_hsh() 5098 template_name = (char *) obstack_alloc (&insn_obstack, len + 1); in s7_build_score_ops_hsh() 5126 obstack_alloc (&dependency_obstack, in s7_build_dependency_insn_hsh() 5128 new_i2d->insn_name = (char *) obstack_alloc (&dependency_obstack, in s7_build_dependency_insn_hsh()
|
D | tc-ns32k.c | 881 bit_fixP = obstack_alloc (¬es, sizeof (bit_fixS)); in bit_fix_new()
|
D | tc-score.c | 6322 obstack_alloc (&insn_obstack, sizeof (struct s3_asm_opcode)); in s3_build_score_ops_hsh() 6323 template_name = (char *) obstack_alloc (& insn_obstack, len + 1); in s3_build_score_ops_hsh() 6351 obstack_alloc (&dependency_obstack, in s3_build_dependency_insn_hsh() 6353 new_i2n->insn_name = (char *) obstack_alloc (&dependency_obstack, in s3_build_dependency_insn_hsh()
|
D | tc-hppa.c | 1227 struct hppa_fix_struct *hppa_fix = obstack_alloc (¬es, sizeof (struct hppa_fix_struct)); in fix_new_hppa() 8624 struct hppa_fix_struct * hppa_fix = obstack_alloc (¬es, sizeof (struct hppa_fix_struct)); in pa_vtable_entry() 8645 struct hppa_fix_struct * hppa_fix = obstack_alloc (¬es, sizeof (struct hppa_fix_struct)); in pa_vtable_inherit()
|
D | tc-m68k.c | 4618 hack = slak = obstack_alloc (&robyn, sizeof (struct m68k_incant)); in md_begin() 4648 slak->m_next = obstack_alloc (&robyn, sizeof (struct m68k_incant)); in md_begin() 4765 hack = obstack_alloc (&robyn, sizeof (struct m68k_incant)); in md_begin()
|
D | tc-ia64.c | 4700 *drpp = obstack_alloc (¬es, sizeof (*dr)); in dot_rot() 4704 name = obstack_alloc (¬es, len + 1); in dot_rot() 7812 fix = obstack_alloc (¬es, sizeof (*fix)); in ia64_frob_label() 7824 fix = obstack_alloc (¬es, sizeof (*fix)); in ia64_frob_label()
|
/toolchain/binutils/binutils-2.25/ld/ |
D | ldlang.c | 137 return obstack_alloc (&stat_obstack, size); in stat_alloc() 2172 def = (struct map_symbol_def *) obstack_alloc (&map_obstack, sizeof *def); in sort_def_symbol() 4173 obstack_alloc (&map_obstack, ud->map_symbol_def_count * sizeof (*entries)); in print_all_symbols()
|
/toolchain/binutils/binutils-2.25/bfd/ |
D | ChangeLog-9495 | 242 obstack_alloc fails. 6341 obstack_alloc returns NULL unless the size is non-zero. 6345 rather than obstack_alloc, for clarity. 6535 * hash.c (bfd_hash_allocate): If obstack_alloc fails, set 8589 * linker.c: Replace alloca with obstack_alloc. 9186 (bfd_hash_lookup): Check obstack_alloc for NULL return. 9191 bfd_ecoff_debug_accumulate_other): Check obstack_alloc. 9192 (add_file_shuffle add_memory_shuffle): Check obstack_alloc for
|