Home | History | Annotate | Download | only in include

Lines Matching defs:obstack

0 /* obstack.h - object stack macros
37 them before using any obstack macros.
39 Each independent stack is represented by a 'struct obstack'.
40 Each of the obstack macros expects a pointer to such a structure
57 With obstacks, you can work differently. Use one obstack for all symbol
58 names. As you read a symbol, grow the name in the obstack gradually.
93 Exactly one object is growing in an obstack at any one time.
94 You can run one obstack per control block.
96 Because of the way we do it, you can "unwind" an obstack
115 /* For binary compatibility with obstack version 1, which used "int"
163 struct obstack /* control current object in current chunk */
200 /* Declare the external functions we use; they are in obstack.c. */
202 extern void _obstack_newchunk (struct obstack *, _OBSTACK_SIZE_T);
203 extern void _obstack_free (struct obstack *, void *);
204 extern int _obstack_begin (struct obstack *,
207 extern int _obstack_begin_1 (struct obstack *,
211 extern _OBSTACK_SIZE_T _obstack_memory_used (struct obstack *)
285 # define obstack_object_size(OBSTACK) \
287 ({ struct obstack const *__o = (OBSTACK); \
291 warning when invoked from other obstack macros. */
292 # define obstack_room(OBSTACK) \
294 ({ struct obstack const *__o1 = (OBSTACK); \
297 # define obstack_make_room(OBSTACK, length) \
299 ({ struct obstack *__o = (OBSTACK); \
305 # define obstack_empty_p(OBSTACK) \
307 ({ struct obstack const *__o = (OBSTACK); \
313 # define obstack_grow(OBSTACK, where, length) \
315 ({ struct obstack *__o = (OBSTACK); \
323 # define obstack_grow0(OBSTACK, where, length) \
325 ({ struct obstack *__o = (OBSTACK); \
334 # define obstack_1grow(OBSTACK, datum) \
336 ({ struct obstack *__o = (OBSTACK); \
341 /* These assume that the obstack alignment is good enough for pointers
345 # define obstack_ptr_grow(OBSTACK, datum) \
347 ({ struct obstack *__o = (OBSTACK); \
352 # define obstack_int_grow(OBSTACK, datum) \
354 ({ struct obstack *__o = (OBSTACK); \
359 # define obstack_ptr_grow_fast(OBSTACK, aptr) \
361 ({ struct obstack *__o1 = (OBSTACK); \
367 # define obstack_int_grow_fast(OBSTACK, aint) \
369 ({ struct obstack *__o1 = (OBSTACK); \
375 # define obstack_blank(OBSTACK, length) \
377 ({ struct obstack *__o = (OBSTACK); \
383 # define obstack_alloc(OBSTACK, length) \
385 ({ struct obstack *__h = (OBSTACK); \
389 # define obstack_copy(OBSTACK, where, length) \
391 ({ struct obstack *__h = (OBSTACK); \
395 # define obstack_copy0(OBSTACK, where, length) \
397 ({ struct obstack *__h = (OBSTACK); \
402 warning when invoked from other obstack macros, typically obstack_free. */
403 # define obstack_finish(OBSTACK) \
405 ({ struct obstack *__o1 = (OBSTACK); \
418 # define obstack_free(OBSTACK, OBJ) \
420 ({ struct obstack *__o = (OBSTACK); \