Go to the source code of this file.
| #define _obstack_memcpy | ( | To, | |||
| From, | |||||
| N | ) | bcopy ((char *)(From), (To), (N)) |
Value:
( (((h)->next_free + 1 > (h)->chunk_limit) \ ? (_obstack_newchunk ((h), 1), 0) : 0), \ obstack_1grow_fast (h, datum))
Value:
_obstack_begin ((h), (size), 0, \ (void *(*) (long)) obstack_chunk_alloc, (void (*) (void *)) obstack_chunk_free)
| #define obstack_finish | ( | h | ) |
Value:
( ((h)->next_free == (h)->object_base \ ? (((h)->maybe_empty_object = 1), 0) \ : 0), \ (h)->temp = __PTR_TO_INT ((h)->object_base), \ (h)->next_free \ = __INT_TO_PTR ((__PTR_TO_INT ((h)->next_free)+(h)->alignment_mask) \ & ~ ((h)->alignment_mask)), \ (((h)->next_free - (char *) (h)->chunk \ > (h)->chunk_limit - (char *) (h)->chunk) \ ? ((h)->next_free = (h)->chunk_limit) : 0), \ (h)->object_base = (h)->next_free, \ __INT_TO_PTR ((h)->temp))
| #define obstack_free | ( | h, | |||
| obj | ) |
| #define obstack_init | ( | h | ) |
Value:
_obstack_begin ((h), 0, 0, \ (void *(*) (long)) obstack_chunk_alloc, (void (*) (void *)) obstack_chunk_free)
Value:
( (((h)->next_free + sizeof (int) > (h)->chunk_limit) \ ? (_obstack_newchunk ((h), sizeof (int)), 0) : 0), \ obstack_int_grow_fast (h, datum))
Value:
( (((h)->next_free + sizeof (char *) > (h)->chunk_limit) \ ? (_obstack_newchunk ((h), sizeof (char *)), 0) : 0), \ obstack_ptr_grow_fast (h, datum))
Value:
_obstack_begin ((h), (size), (alignment), \ (void *(*) (long)) (chunkfun), (void (*) (void *)) (freefun))
| int _obstack_begin_1 | ( | struct obstack * | , | |
| int | , | |||
| int | , | |||
| void * | *)(void *, long, | |||
| void(*)(void *, void *) | , | |||
| void * | ||||
| ) |
Definition at line 373 of file obstack.c.
References abort, CALL_FREEFUN, obstack::chunk, obstack::chunk_limit, _obstack_chunk::limit, obstack::maybe_empty_object, obstack::next_free, obstack::object_base, POINTER, and _obstack_chunk::prev.
Definition at line 439 of file obstack.c.
References obstack::chunk, _obstack_chunk::limit, and _obstack_chunk::prev.
Definition at line 275 of file obstack.c.
References obstack::alignment_mask, CALL_CHUNKFUN, CALL_FREEFUN, obstack::chunk, obstack::chunk_limit, obstack::chunk_size, _obstack_chunk::contents, COPYING_UNIT, DEFAULT_ALIGNMENT, i, if(), _obstack_chunk::limit, obstack::maybe_empty_object, obstack::next_free, obstack::object_base, and _obstack_chunk::prev.
Definition at line 407 of file obstack.c.
References abort, CALL_FREEFUN, obstack::chunk, obstack::chunk_limit, _obstack_chunk::limit, obstack::maybe_empty_object, obstack::next_free, obstack::object_base, POINTER, and _obstack_chunk::prev.
1.5.6