Home
last modified time | relevance | path

Searched refs:obstack (Results 1 – 25 of 59) sorted by relevance

123

/mirbsd/src/gnu/usr.bin/binutils/include/
Dobstack.h164 struct obstack /* control current object in current chunk */ struct
191 extern void _obstack_newchunk (struct obstack *, int);
192 extern void _obstack_free (struct obstack *, void *);
193 extern int _obstack_begin (struct obstack *, int, int,
195 extern int _obstack_begin_1 (struct obstack *, int, int,
198 extern int _obstack_memory_used (struct obstack *);
203 void obstack_init (struct obstack *obstack);
205 void * obstack_alloc (struct obstack *obstack, int size);
207 void * obstack_copy (struct obstack *obstack, void *address, int size);
208 void * obstack_copy0 (struct obstack *obstack, void *address, int size);
[all …]
/mirbsd/src/gnu/usr.bin/binutils/libiberty/
Dobstack.c95 struct obstack *_obstack;
142 _obstack_begin (struct obstack *h, int size, int alignment, in _obstack_begin()
186 _obstack_begin_1 (struct obstack *h, int size, int alignment, in _obstack_begin_1()
238 _obstack_newchunk (struct obstack *h, int length) in _obstack_newchunk()
301 int _obstack_allocated_p (struct obstack *h, POINTER obj);
304 _obstack_allocated_p (struct obstack *h, POINTER obj) in _obstack_allocated_p()
330 _obstack_free (struct obstack *h, POINTER obj) in _obstack_free()
362 obstack_free (struct obstack *h, POINTER obj) in obstack_free()
392 _obstack_memory_used (struct obstack *h) in _obstack_memory_used()
433 POINTER (obstack_base) (struct obstack *obstack)
[all …]
/mirbsd/src/gnu/usr.bin/binutils/gdb/
Dblock.c40 struct obstack *obstack);
185 struct obstack *obstack) in block_set_scope() argument
187 block_initialize_namespace (block, obstack); in block_set_scope()
220 struct obstack *obstack) in block_set_using() argument
222 block_initialize_namespace (block, obstack); in block_set_using()
231 block_initialize_namespace (struct block *block, struct obstack *obstack) in block_initialize_namespace() argument
236 = obstack_alloc (obstack, sizeof (struct block_namespace_info)); in block_initialize_namespace()
282 allocate_block (struct obstack *obstack) in allocate_block() argument
284 struct block *bl = obstack_alloc (obstack, sizeof (struct block)); in allocate_block()
Dblock.h31 struct obstack;
160 struct obstack *obstack);
166 struct obstack *obstack);
172 extern struct block *allocate_block (struct obstack *obstack);
Dcp-namespace.c72 struct obstack *obstack);
128 struct obstack *obstack) in cp_finalize_namespace() argument
133 cp_copy_usings (using_list, obstack), in cp_finalize_namespace()
134 obstack); in cp_finalize_namespace()
226 struct obstack *obstack) in cp_set_block_scope() argument
238 obstack), in cp_set_block_scope()
239 obstack); in cp_set_block_scope()
255 obsavestring (name, prefix_len, obstack), in cp_set_block_scope()
256 obstack); in cp_set_block_scope()
302 struct obstack *obstack) in cp_copy_usings() argument
[all …]
Ddictionary.h36 struct obstack;
47 extern struct dictionary *dict_create_hashed (struct obstack *obstack,
63 extern struct dictionary *dict_create_linear (struct obstack *obstack,
Dcp-support.h34 struct obstack;
89 struct obstack *obstack);
93 struct obstack *obstack);
Dmacrotab.c40 struct obstack *obstack; member
82 if (t->obstack) in macro_alloc()
83 return obstack_alloc (t->obstack, size); in macro_alloc()
92 gdb_assert (! t->obstack); in macro_free()
857 new_macro_table (struct obstack *obstack, in new_macro_table() argument
863 if (obstack) in new_macro_table()
864 t = obstack_alloc (obstack, sizeof (*t)); in new_macro_table()
869 t->obstack = obstack; in new_macro_table()
Dframe-unwind.c46 frame_unwind_init (struct obstack *obstack) in frame_unwind_init() argument
49 = OBSTACK_ZALLOC (obstack, struct frame_unwind_table); in frame_unwind_init()
52 table->list = OBSTACK_ZALLOC (obstack, struct frame_unwind_table_entry); in frame_unwind_init()
Dmacrotab.h25 struct obstack;
166 struct macro_table *new_macro_table (struct obstack *obstack,
Dframe-base.c74 frame_base_init (struct obstack *obstack) in frame_base_init() argument
77 = OBSTACK_ZALLOC (obstack, struct frame_base_table); in frame_base_init()
Ddictionary.c352 dict_create_hashed (struct obstack *obstack, in dict_create_hashed() argument
360 retval = obstack_alloc (obstack, sizeof (struct dictionary)); in dict_create_hashed()
372 buckets = obstack_alloc (obstack, nbuckets * sizeof (struct symbol *)); in dict_create_hashed()
416 dict_create_linear (struct obstack *obstack, in dict_create_linear() argument
424 retval = obstack_alloc (obstack, sizeof (struct dictionary)); in dict_create_linear()
435 syms = obstack_alloc (obstack, nsyms * sizeof (struct symbol *)); in dict_create_linear()
Dsymfile.h31 struct obstack;
231 extern char *obsavestring (const char *, int, struct obstack *);
236 extern char *obconcat (struct obstack *obstackp, const char *, const char *,
Dgdbarch.sh1034 obstack. The memory is freed when the corresponding architecture
1095 typedef void *(gdbarch_data_pre_init_ftype) (struct obstack *obstack);
1335 /* Create an obstack for allocating all the per-architecture memory,
1337 struct obstack *obstack = XMALLOC (struct obstack);
1338 obstack_init (obstack);
1339 current_gdbarch = obstack_alloc (obstack, sizeof (*current_gdbarch));
1341 current_gdbarch->obstack = obstack;
1378 /* Allocate extra space using the per-architecture obstack. */
1383 void *data = obstack_alloc (arch->obstack, size);
1398 struct obstack *obstack;
[all …]
Dsymtab.h31 struct obstack;
187 #define SYMBOL_INIT_DEMANGLED_NAME(symbol,obstack) \ argument
188 (symbol_init_demangled_name (&(symbol)->ginfo, (obstack)))
190 struct obstack *obstack);
Dbsd-uthread.c58 bsd_uthread_init (struct obstack *obstack) in bsd_uthread_init() argument
62 ops = OBSTACK_ZALLOC (obstack, struct bsd_uthread_ops); in bsd_uthread_init()
Dcp-valprint.c75 static struct obstack dont_print_vb_obstack;
76 static struct obstack dont_print_statmem_obstack;
268 struct obstack tmp_obstack; in cp_print_value_fields()
527 struct obstack tmp_obstack; in cp_print_value()
Dgdbarch.c89 struct obstack *obstack; member
388 struct obstack *obstack = XMALLOC (struct obstack); in gdbarch_alloc() local
389 obstack_init (obstack); in gdbarch_alloc()
390 current_gdbarch = obstack_alloc (obstack, sizeof (*current_gdbarch)); in gdbarch_alloc()
392 current_gdbarch->obstack = obstack; in gdbarch_alloc()
466 void *data = obstack_alloc (arch->obstack, size); in gdbarch_obstack_zalloc()
481 struct obstack *obstack; in gdbarch_free() local
484 obstack = arch->obstack; in gdbarch_free()
485 obstack_free (obstack, 0); /* Includes the ARCH. */ in gdbarch_free()
486 xfree (obstack); in gdbarch_free()
[all …]
Dsolib.c56 solib_init (struct obstack *obstack) in solib_init() argument
60 ops = OBSTACK_ZALLOC (obstack, struct target_so_ops *); in solib_init()
Djv-lang.c61 static char *get_java_utf8_name (struct obstack *obstack, struct value *name);
207 get_java_utf8_name (struct obstack *obstack, struct value *name) in get_java_utf8_name() argument
217 chrs = obstack_alloc (obstack, name_length + 1); in get_java_utf8_name()
/mirbsd/src/gnu/usr.bin/binutils/gas/
DMakefile.in767 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h subsegs.h $(INCDIR)/obstack.h \
773 $(INCDIR)/coff/ecoff.h subsegs.h $(INCDIR)/obstack.h \
780 subsegs.h $(INCDIR)/obstack.h struc-symbol.h ecoff.h \
787 $(srcdir)/config/tc-alpha.h subsegs.h $(INCDIR)/obstack.h \
794 $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
801 struc-symbol.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
807 $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
814 $(INCDIR)/obstack.h $(INCDIR)/opcode/arm.h
819 $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
826 subsegs.h $(INCDIR)/obstack.h $(INCDIR)/opcode/avr.h
[all …]
Dfrags.h26 struct obstack;
126 fragS *frag_alloc (struct obstack *);
Dsymbols.h34 extern struct obstack notes; /* eg FixS live here. */
36 extern struct obstack cond_obstack; /* this is where we track .ifdef/.endif
Dfrags.c44 frag_alloc_check (const struct obstack *ob) in frag_alloc_check()
64 frag_alloc (struct obstack *ob) in frag_alloc()
Dsubsegs.h54 struct obstack frch_obstack; /* for objects in this frag chain */

123