Lines Matching defs:obstack

0 /* obstack.h - object stack macros
43 them before using any obstack macros.
45 Each independent stack is represented by a `struct obstack'.
46 Each of the obstack macros expects a pointer to such a structure
63 With obstacks, you can work differently. Use one obstack for all symbol
64 names. As you read a symbol, grow the name in the obstack gradually.
99 Exactly one object is growing in an obstack at any one time.
100 You can run one obstack per control block.
102 Because of the way we do it, you can `unwind' an obstack
169 struct obstack /* control current object in current chunk */
200 /* Declare the external functions we use; they are in obstack.c. */
203 extern void _obstack_newchunk (struct obstack *, int);
204 extern void _obstack_free (struct obstack *, void *);
205 extern int _obstack_begin (struct obstack *, int, int,
207 extern int _obstack_begin_1 (struct obstack *, int, int,
210 extern int _obstack_memory_used (struct obstack *);
225 void obstack_init (struct obstack *obstack);
227 void * obstack_alloc (struct obstack *obstack, int size);
229 void * obstack_copy (struct obstack *obstack, void *address, int size);
230 void * obstack_copy0 (struct obstack *obstack, void *address, int size);
232 void obstack_free (struct obstack *obstack, void *block);
234 void obstack_blank (struct obstack *obstack, int size);
236 void obstack_grow (struct obstack *obstack, void *data, int size);
237 void obstack_grow0 (struct obstack *obstack, void *data, int size);
239 void obstack_1grow (struct obstack *obstack, int data_char);
240 void obstack_ptr_grow (struct obstack *obstack, void *data);
241 void obstack_int_grow (struct obstack *obstack, int data);
243 void * obstack_finish (struct obstack *obstack);
245 int obstack_object_size (struct obstack *obstack);
247 int obstack_room (struct obstack *obstack);
248 void obstack_make_room (struct obstack *obstack, int size);
249 void obstack_1grow_fast (struct obstack *obstack, int data_char);
250 void obstack_ptr_grow_fast (struct obstack *obstack, void *data);
251 void obstack_int_grow_fast (struct obstack *obstack, int data);
252 void obstack_blank_fast (struct obstack *obstack, int size);
254 void * obstack_base (struct obstack *obstack);
255 void * obstack_next_free (struct obstack *obstack);
256 int obstack_alignment_mask (struct obstack *obstack);
257 int obstack_chunk_size (struct obstack *obstack);
258 int obstack_memory_used (struct obstack *obstack);
371 ({ struct obstack *__o = (OBSTACK); \
376 ({ struct obstack *__o = (OBSTACK); \
381 ({ struct obstack *__o = (OBSTACK); \
389 ({ struct obstack *__o = (OBSTACK); \
394 ({ struct obstack *__o = (OBSTACK); \
404 ({ struct obstack *__o = (OBSTACK); \
415 ({ struct obstack *__o = (OBSTACK); \
421 /* These assume that the obstack alignment is good enough for pointers or ints,
427 ({ struct obstack *__o = (OBSTACK); \
434 ({ struct obstack *__o = (OBSTACK); \
441 ({ struct obstack *__o1 = (OBSTACK); \
448 ({ struct obstack *__o1 = (OBSTACK); \
455 ({ struct obstack *__o = (OBSTACK); \
464 ({ struct obstack *__h = (OBSTACK); \
470 ({ struct obstack *__h = (OBSTACK); \
476 ({ struct obstack *__h = (OBSTACK); \
484 ({ struct obstack *__o1 = (OBSTACK); \
500 ({ struct obstack *__o = (OBSTACK); \
616 #endif /* obstack.h */