Home | History | Annotate | Download | only in include

Lines Matching defs: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
152 struct obstack /* control current object in current chunk */
181 /* Declare the external functions we use; they are in obstack.c. */
183 extern void _obstack_newchunk (struct obstack *, int);
184 extern int _obstack_begin (struct obstack *, int, int,
186 extern int _obstack_begin_1 (struct obstack *, int, int,
189 extern int _obstack_memory_used (struct obstack *);
191 void obstack_free (struct obstack *__obstack, void *__block);
270 # define obstack_object_size(OBSTACK) \
272 ({ struct obstack const *__o = (OBSTACK); \
275 # define obstack_room(OBSTACK) \
277 ({ struct obstack const *__o = (OBSTACK); \
280 # define obstack_make_room(OBSTACK,length) \
282 ({ struct obstack *__o = (OBSTACK); \
288 # define obstack_empty_p(OBSTACK) \
290 ({ struct obstack const *__o = (OBSTACK); \
296 # define obstack_grow(OBSTACK,where,length) \
298 ({ struct obstack *__o = (OBSTACK); \
306 # define obstack_grow0(OBSTACK,where,length) \
308 ({ struct obstack *__o = (OBSTACK); \
317 # define obstack_1grow(OBSTACK,datum) \
319 ({ struct obstack *__o = (OBSTACK); \
325 /* These assume that the obstack alignment is good enough for pointers
329 # define obstack_ptr_grow(OBSTACK,datum) \
331 ({ struct obstack *__o = (OBSTACK); \
336 # define obstack_int_grow(OBSTACK,datum) \
338 ({ struct obstack *__o = (OBSTACK); \
343 # define obstack_ptr_grow_fast(OBSTACK,aptr) \
345 ({ struct obstack *__o1 = (OBSTACK); \
350 # define obstack_int_grow_fast(OBSTACK,aint) \
352 ({ struct obstack *__o1 = (OBSTACK); \
357 # define obstack_blank(OBSTACK,length) \
359 ({ struct obstack *__o = (OBSTACK); \
366 # define obstack_alloc(OBSTACK,length) \
368 ({ struct obstack *__h = (OBSTACK); \
372 # define obstack_copy(OBSTACK,where,length) \
374 ({ struct obstack *__h = (OBSTACK); \
378 # define obstack_copy0(OBSTACK,where,length) \
380 ({ struct obstack *__h = (OBSTACK); \
386 # define obstack_finish(OBSTACK) \
388 ({ struct obstack *__o1 = (OBSTACK); \
401 # define obstack_free(OBSTACK, OBJ) \
403 ({ struct obstack *__o = (OBSTACK); \
514 #endif /* obstack.h */