Home
last modified time | relevance | path

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

1234567891011

/openbsd-src/gnu/gcc/include/
H A 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 …]
/openbsd-src/gnu/usr.bin/binutils-2.17/include/
H A 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 …]
/openbsd-src/gnu/lib/libiberty/include/
H A 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 …]
/openbsd-src/gnu/lib/libiberty/src/
H A 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 …]
H A Dobstacks.texi5 An @dfn{obstack} is a pool of memory containing a stack of objects. You
7 specified obstacks. Within each obstack, the last object allocated must
12 general: an obstack can contain any number of objects of any size. They
18 * Creating Obstacks:: How to declare an obstack in your program.
21 * Allocation in an Obstack:: Allocating objects in an obstack.
22 * Freeing Obstack Objects:: Freeing objects in an obstack.
23 * Obstack Functions:: The obstack functions are both
28 * Status of an Obstack:: Inquiries about the status of an obstack.
39 file @file{obstack.h}.
40 @pindex obstack.h
[all …]
/openbsd-src/gnu/usr.bin/binutils/include/
H A Dobstack.h168 struct obstack /* control current object in current chunk */ struct
202 extern void _obstack_newchunk (struct obstack *, int);
203 extern void _obstack_free (struct obstack *, void *);
204 extern int _obstack_begin (struct obstack *, int, int,
206 extern int _obstack_begin_1 (struct obstack *, int, int,
209 extern int _obstack_memory_used (struct obstack *);
223 void obstack_init (struct obstack *obstack);
225 void * obstack_alloc (struct obstack *obstack, int size);
227 void * obstack_copy (struct obstack *obstack, void *address, int size);
228 void * obstack_copy0 (struct obstack *obstack, void *address, int size);
[all …]
/openbsd-src/gnu/usr.bin/binutils/gdb/
H A 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()
H A Dblock.h31 struct obstack;
160 struct obstack *obstack);
166 struct obstack *obstack);
172 extern struct block *allocate_block (struct obstack *obstack);
H A 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 …]
H A Ddictionary.h36 struct obstack;
47 extern struct dictionary *dict_create_hashed (struct obstack *obstack,
63 extern struct dictionary *dict_create_linear (struct obstack *obstack,
H A Dcp-support.h34 struct obstack;
86 struct obstack *obstack);
90 struct obstack *obstack);
H A 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()
H A 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()
H A Dmacrotab.h25 struct obstack;
166 struct macro_table *new_macro_table (struct obstack *obstack,
/openbsd-src/gnu/usr.bin/gcc/gcc/java/
H A Dmangle.c55 static void init_mangling PARAMS ((struct obstack *));
63 struct obstack *mangle_obstack;
71 java_mangle_decl (obstack, decl) in java_mangle_decl() argument
72 struct obstack *obstack; in java_mangle_decl()
75 init_mangling (obstack);
91 java_mangle_class_field (obstack, type) in java_mangle_class_field() argument
92 struct obstack *obstack; in java_mangle_class_field()
95 init_mangling (obstack);
103 java_mangle_vtable (obstack, type) in java_mangle_vtable() argument
104 struct obstack *obstack; in java_mangle_vtable()
[all …]
H A Djvgenmain.c36 struct obstack name_obstack;
37 struct obstack *mangle_obstack = &name_obstack;
40 gcc_obstack_init (obstack) in gcc_obstack_init() argument
41 struct obstack *obstack; in gcc_obstack_init()
54 _obstack_begin (obstack, OBSTACK_CHUNK_SIZE, 0,
H A Djv-scan.c42 void gcc_obstack_init PARAMS ((struct obstack *obstack));
267 gcc_obstack_init (obstack) in gcc_obstack_init() argument
268 struct obstack *obstack; in gcc_obstack_init()
281 _obstack_begin (obstack, OBSTACK_CHUNK_SIZE, 0,
/openbsd-src/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/execute/
H A D20001203-2.c1 struct obstack struct
15 struct obstack type_obstack; argument
41 void _obstack_newchunk (struct obstack *o, int i);
62 struct obstack *__h = in create_array_type()
65 struct obstack *__o = (__h); in create_array_type()
72 struct obstack *__o1 = (__h); in create_array_type()
100 void _obstack_newchunk (struct obstack *o, int i) in _obstack_newchunk()
/openbsd-src/gnu/usr.bin/binutils/gas/
H A DMakefile.in772 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h subsegs.h $(INCDIR)/obstack.h \
778 $(INCDIR)/coff/ecoff.h subsegs.h $(INCDIR)/obstack.h \
785 subsegs.h $(INCDIR)/obstack.h struc-symbol.h ecoff.h \
792 $(srcdir)/config/tc-alpha.h subsegs.h $(INCDIR)/obstack.h \
799 $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
806 struc-symbol.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
812 $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h
818 $(INCDIR)/obstack.h
823 $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
829 subsegs.h $(INCDIR)/obstack.h $(INCDIR)/opcode/avr.h
[all …]
/openbsd-src/gnu/usr.bin/binutils-2.17/gas/
H A DMakefile.in737 $(BFDDIR)/libcoff.h $(INCDIR)/bfdlink.h subsegs.h $(INCDIR)/obstack.h \
743 $(INCDIR)/coff/ecoff.h subsegs.h $(INCDIR)/obstack.h \
750 subsegs.h $(INCDIR)/obstack.h struc-symbol.h ecoff.h \
757 $(srcdir)/config/tc-alpha.h subsegs.h $(INCDIR)/obstack.h \
764 $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
772 $(INCDIR)/obstack.h $(INCDIR)/opcode/arc.h $(srcdir)/../opcodes/arc-ext.h \
777 $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
784 $(INCDIR)/obstack.h $(INCDIR)/opcode/arm.h
789 $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
796 subsegs.h $(INCDIR)/obstack.h $(INCDIR)/opcode/avr.h
[all …]
/openbsd-src/gnu/usr.bin/gcc/gcc/
H A Dstack.h31 struct obstack *obstack; member
41 struct stack_level *push_stack_level PARAMS ((struct obstack *, char *, int));
H A Dgenflags.c33 static struct obstack obstack; variable
236 obstack_grow (&obstack, &insn, sizeof (rtx));
252 obstack_init (&obstack);
284 obstack_grow (&obstack, &dummy, sizeof (rtx));
285 insns = (rtx *) obstack_finish (&obstack);
H A Dread-rtl.c34 static char *read_string PARAMS ((struct obstack *, FILE *, int));
35 static char *read_quoted_string PARAMS ((struct obstack *, FILE *));
36 static char *read_braced_string PARAMS ((struct obstack *, FILE *));
37 static void read_escape PARAMS ((struct obstack *, FILE *));
210 struct obstack *ob; in read_escape()
265 struct obstack *ob; in read_quoted_string()
295 struct obstack *ob; in read_braced_string()
330 struct obstack *ob; in read_string()
539 static struct obstack rtl_obstack;
639 struct obstack vector_stack;
/openbsd-src/gnu/gcc/gcc/
H A Dgenflags.c35 static struct obstack obstack; variable
228 obstack_grow (&obstack, &insn, sizeof (rtx)); in gen_insn()
240 obstack_init (&obstack); in main()
269 obstack_grow (&obstack, &dummy, sizeof (rtx)); in main()
270 insns = XOBFINISH (&obstack, rtx *); in main()
H A Dpretty-print.c36 ((const char *) obstack_base (pp_base (PP)->buffer->obstack))
152 obstack_grow (pp->buffer->obstack, start, length); in pp_append_r()
369 buffer->obstack = &buffer->chunk_obstack; in pp_base_format()
547 buffer->obstack = &buffer->formatted_obstack; in pp_base_format()
562 gcc_assert (buffer->obstack == &buffer->formatted_obstack); in pp_base_output_formatted_text()
617 obstack_free (pp->buffer->obstack, obstack_base (pp->buffer->obstack)); in pp_base_clear_output_area()
683 pp->buffer->obstack = &pp->buffer->formatted_obstack; in pp_construct()
714 obstack_1grow (pp->buffer->obstack, '\0'); in pp_base_formatted_text()
724 struct obstack *text = pp->buffer->obstack; in pp_base_last_position_in_text()
780 obstack_1grow (pp->buffer->obstack, '\n'); in pp_base_newline()
[all …]

1234567891011