Home
last modified time | relevance | path

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

123456

/NextBSD/gnu/usr.bin/grep/
HDobstack.c105 struct obstack *_obstack;
152 struct obstack *h; in _obstack_begin()
210 struct obstack *h; in _obstack_begin_1()
276 struct obstack *h; in _obstack_newchunk()
341 int _obstack_allocated_p (struct obstack *h, POINTER obj);
346 struct obstack *h; in _obstack_allocated_p()
374 struct obstack *h; in _obstack_free()
408 struct obstack *h; in obstack_free()
440 struct obstack *h; in _obstack_memory_used()
490 POINTER (obstack_base) (obstack)
[all …]
HDobstack.h161 struct obstack /* control current object in current chunk */ struct
195 extern void _obstack_newchunk (struct obstack *, int);
196 extern void _obstack_free (struct obstack *, void *);
197 extern int _obstack_begin (struct obstack *, int, int,
199 extern int _obstack_begin_1 (struct obstack *, int, int,
202 extern int _obstack_memory_used (struct obstack *);
216 void obstack_init (struct obstack *obstack);
218 void * obstack_alloc (struct obstack *obstack, int size);
220 void * obstack_copy (struct obstack *obstack, void *address, int size);
221 void * obstack_copy0 (struct obstack *obstack, void *address, int size);
[all …]
/NextBSD/contrib/gcclibs/include/
HDobstack.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 …]
/NextBSD/contrib/binutils/include/
HDobstack.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 …]
/NextBSD/contrib/gcclibs/libiberty/
HDobstack.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 …]
HDobstacks.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 …]
/NextBSD/contrib/binutils/libiberty/
HDobstack.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 …]
HDobstacks.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 …]
/NextBSD/contrib/gdb/include/
HDobstack.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 …]
/NextBSD/contrib/gdb/gdb/
HDblock.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()
HDblock.h31 struct obstack;
160 struct obstack *obstack);
166 struct obstack *obstack);
172 extern struct block *allocate_block (struct obstack *obstack);
HDcp-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 …]
HDdictionary.h36 struct obstack;
47 extern struct dictionary *dict_create_hashed (struct obstack *obstack,
63 extern struct dictionary *dict_create_linear (struct obstack *obstack,
HDcp-support.h34 struct obstack;
86 struct obstack *obstack);
90 struct obstack *obstack);
HDmacrotab.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()
HDmacrotab.h25 struct obstack;
166 struct macro_table *new_macro_table (struct obstack *obstack,
HDdictionary.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()
HDgdbarch.sh1156 obstack. The memory is freed when the corresponding architecture
1444 /* Create an obstack for allocating all the per-architecture memory,
1446 struct obstack *obstack = XMALLOC (struct obstack);
1447 obstack_init (obstack);
1448 current_gdbarch = obstack_alloc (obstack, sizeof (*current_gdbarch));
1450 current_gdbarch->obstack = obstack;
1487 /* Allocate extra space using the per-architecture obstack. */
1492 void *data = obstack_alloc (arch->obstack, size);
1507 struct obstack *obstack;
1510 obstack = arch->obstack;
[all …]
HDsymfile.h31 struct obstack;
222 extern char *obsavestring (const char *, int, struct obstack *);
227 extern char *obconcat (struct obstack *obstackp, const char *, const char *,
/NextBSD/contrib/binutils/gas/
HDMakefile.in773 subsegs.h $(INCDIR)/obstack.h struc-symbol.h ecoff.h \
780 $(INCDIR)/obstack.h struc-symbol.h ecoff.h $(INCDIR)/coff/sym.h \
786 subsegs.h $(INCDIR)/obstack.h struc-symbol.h ecoff.h \
793 struc-symbol.h $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
799 subsegs.h $(INCDIR)/obstack.h $(INCDIR)/obstack.h $(INCDIR)/opcode/arm.h \
805 subsegs.h $(INCDIR)/obstack.h $(INCDIR)/obstack.h $(INCDIR)/opcode/arm.h \
811 subsegs.h $(INCDIR)/obstack.h $(INCDIR)/obstack.h $(INCDIR)/opcode/arm.h \
818 $(INCDIR)/safe-ctype.h subsegs.h $(INCDIR)/obstack.h \
824 struc-symbol.h $(srcdir)/config/bfin-defs.h $(INCDIR)/obstack.h \
838 subsegs.h $(INCDIR)/obstack.h $(INCDIR)/opcode/cris.h \
[all …]
/NextBSD/contrib/gcc/
HDpretty-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 …]
HDgenflags.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()
HDbitmap.h48 struct obstack GTY ((skip)) obstack;
76 bitmap_obstack *obstack; /* Obstack to allocate elements from. member
152 bitmap_initialize (bitmap head, bitmap_obstack *obstack) in bitmap_initialize() argument
155 head->obstack = obstack; in bitmap_initialize()
159 extern bitmap bitmap_obstack_alloc (bitmap_obstack *obstack);
HDgcc.c274 static struct obstack obstack; variable
281 static struct obstack collect_obstack;
348 static void init_gcc_specs (struct obstack *, const char *, const char *,
839 static struct obstack multilib_obstack;
1633 init_gcc_specs (struct obstack *obstack, const char *shared_name, in init_gcc_specs() argument
1664 obstack_grow (obstack, buf, strlen (buf)); in init_gcc_specs()
1749 init_gcc_specs (&obstack, in init_spec()
1778 init_gcc_specs (&obstack, in init_spec()
1791 obstack_1grow (&obstack, *p); in init_spec()
1797 obstack_1grow (&obstack, '\0'); in init_spec()
[all …]
HDgensupport.h24 struct obstack;
25 extern struct obstack *rtl_obstack;

123456