Lines Matching refs:obstack

0 /* obstack.h - object stack macros
39 them before using any obstack macros.
41 Each independent stack is represented by a `struct obstack'.
42 Each of the obstack macros expects a pointer to such a structure
59 With obstacks, you can work differently. Use one obstack for all symbol
60 names. As you read a symbol, grow the name in the obstack gradually.
95 Exactly one object is growing in an obstack at any one time.
96 You can run one obstack per control block.
98 Because of the way we do it, you can `unwind' an obstack
165 struct obstack /* control current object in current chunk */
196 /* Declare the external functions we use; they are in obstack.c. */
199 extern void _obstack_newchunk (struct obstack *, int);
200 extern void _obstack_free (struct obstack *, void *);
201 extern int _obstack_begin (struct obstack *, int, int,
203 extern int _obstack_begin_1 (struct obstack *, int, int,
206 extern int _obstack_memory_used (struct obstack *);
221 void obstack_init (struct obstack *obstack);
223 void * obstack_alloc (struct obstack *obstack, int size);
225 void * obstack_copy (struct obstack *obstack, const void *address, int size);
226 void * obstack_copy0 (struct obstack *obstack, const void *address, int size);
228 void obstack_free (struct obstack *obstack, void *block);
230 void obstack_blank (struct obstack *obstack, int size);
232 void obstack_grow (struct obstack *obstack, const void *data, int size);
233 void obstack_grow0 (struct obstack *obstack, const void *data, int size);
235 void obstack_1grow (struct obstack *obstack, int data_char);
236 void obstack_ptr_grow (struct obstack *obstack, const void *data);
237 void obstack_int_grow (struct obstack *obstack, int data);
239 void * obstack_finish (struct obstack *obstack);
241 int obstack_object_size (struct obstack *obstack);
243 int obstack_room (struct obstack *obstack);
244 void obstack_make_room (struct obstack *obstack, int size);
245 void obstack_1grow_fast (struct obstack *obstack, int data_char);
246 void obstack_ptr_grow_fast (struct obstack *obstack, const void *data);
247 void obstack_int_grow_fast (struct obstack *obstack, int data);
248 void obstack_blank_fast (struct obstack *obstack, int size);
250 void * obstack_base (struct obstack *obstack);
251 void * obstack_next_free (struct obstack *obstack);
252 int obstack_alignment_mask (struct obstack *obstack);
253 int obstack_chunk_size (struct obstack *obstack);
254 int obstack_memory_used (struct obstack *obstack);
375 ({ struct obstack *__o = (OBSTACK); \
380 ({ struct obstack *__o = (OBSTACK); \
385 ({ struct obstack *__o = (OBSTACK); \
393 ({ struct obstack *__o = (OBSTACK); \
398 ({ struct obstack *__o = (OBSTACK); \
408 ({ struct obstack *__o = (OBSTACK); \
419 ({ struct obstack *__o = (OBSTACK); \
425 /* These assume that the obstack alignment is good enough for pointers
431 ({ struct obstack *__o = (OBSTACK); \
439 ({ struct obstack *__o = (OBSTACK); \
453 ({ struct obstack *__o = (OBSTACK); \
462 ({ struct obstack *__h = (OBSTACK); \
468 ({ struct obstack *__h = (OBSTACK); \
474 ({ struct obstack *__h = (OBSTACK); \
482 ({ struct obstack *__o1 = (OBSTACK); \
498 ({ struct obstack *__o = (OBSTACK); \
614 #endif /* obstack.h */