Home | History | Annotate | Download | only in libiberty

Lines Matching refs:obstack

0 /* obstack.c - subroutines used implicitly by object stack macros
27 #include "obstack.h"
30 incremented whenever callers compiled using an old obstack.h can no
31 longer properly call the functions in this obstack.c. */
92 /* The non-GNU-C macros copy the obstack into this global variable
95 struct obstack *_obstack;
133 /* Initialize an obstack H for use. Specify chunk size SIZE (0 means default).
143 _obstack_begin (struct obstack *h, int size, int alignment,
187 _obstack_begin_1 (struct obstack *h, int size, int alignment,
232 /* Allocate a new current chunk for the obstack *H
239 _obstack_newchunk (struct obstack *h, int length)
296 /* Return nonzero if object OBJ has been allocated from obstack H.
301 obstack.h because it is just for debugging. */
302 int _obstack_allocated_p (struct obstack *h, POINTER obj);
305 _obstack_allocated_p (struct obstack *h, POINTER obj)
323 /* Free objects in obstack H, including OBJ and everything allocate
332 _obstack_free (struct obstack *h, POINTER obj)
364 obstack_free (struct obstack *h, POINTER obj)
395 _obstack_memory_used (struct obstack *h)
432 /* Now define the functional versions of the obstack macros.
438 POINTER (obstack_base) (struct obstack *obstack)
440 return obstack_base (obstack);
443 POINTER (obstack_next_free) (struct obstack *obstack)
445 return obstack_next_free (obstack);
448 int (obstack_object_size) (struct obstack *obstack)
450 return obstack_object_size (obstack);
453 int (obstack_room) (struct obstack *obstack)
455 return obstack_room (obstack);
458 int (obstack_make_room) (struct obstack *obstack, int length)
460 return obstack_make_room (obstack, length);
463 void (obstack_grow) (struct obstack *obstack, POINTER pointer, int length)
465 obstack_grow (obstack, pointer, length);
468 void (obstack_grow0) (struct obstack *obstack, POINTER pointer, int length)
470 obstack_grow0 (obstack, pointer, length);
473 void (obstack_1grow) (struct obstack *obstack, int character)
475 obstack_1grow (obstack, character);
478 void (obstack_blank) (struct obstack *obstack, int length)
480 obstack_blank (obstack, length);
483 void (obstack_1grow_fast) (struct obstack *obstack, int character)
485 obstack_1grow_fast (obstack, character);
488 void (obstack_blank_fast) (struct obstack *obstack, int length)
490 obstack_blank_fast (obstack, length);
493 POINTER (obstack_finish) (struct obstack *obstack)
495 return obstack_finish (obstack);
498 POINTER (obstack_alloc) (struct obstack *obstack, int length)
500 return obstack_alloc (obstack, length);
503 POINTER (obstack_copy) (struct obstack *obstack, POINTER pointer, int length)
505 return obstack_copy (obstack, pointer, length);
508 POINTER (obstack_copy0) (struct obstack *obstack, POINTER pointer, int length)
510 return obstack_copy0 (obstack, pointer, length);