Lines Matching refs:var

116 @deftypefun int obstack_init (struct obstack *@var{obstack-ptr})
117 Initialize obstack @var{obstack-ptr} for allocation of objects. This
171 @deftypefun {void *} obstack_alloc (struct obstack *@var{obstack-ptr}, int @var{size})
172 This allocates an uninitialized block of @var{size} bytes in an obstack
173 and returns its address. Here @var{obstack-ptr} specifies which obstack
176 requires you to specify an @var{obstack-ptr} as the first argument.
184 For example, here is a function that allocates a copy of a string @var{str}
205 @deftypefun {void *} obstack_copy (struct obstack *@var{obstack-ptr}, void *@var{address}, int @var
206 This allocates a block and initializes it by copying @var{size}
207 bytes of data starting at @var{address}. It calls
214 @deftypefun {void *} obstack_copy0 (struct obstack *@var{obstack-ptr}, void *@var{address}, int @va…
216 character. This extra byte is not counted in the argument @var{size}.
246 @deftypefun void obstack_free (struct obstack *@var{obstack-ptr}, void *@var{object})
247 If @var{object} is a null pointer, everything allocated in the obstack
248 is freed. Otherwise, @var{object} must be the address of an object
249 allocated in the obstack. Then @var{object} is freed, along with
250 everything allocated in @var{obstack} since @var{object}.
253 Note that if @var{object} is a null pointer, the result is an
350 @deftypefun void obstack_blank (struct obstack *@var{obstack-ptr}, int @var{size})
357 @deftypefun void obstack_grow (struct obstack *@var{obstack-ptr}, void *@var{data}, int @var{size})
359 the growing-object analogue of @code{obstack_copy}. It adds @var{size}
361 @var{data}.
366 @deftypefun void obstack_grow0 (struct obstack *@var{obstack-ptr}, void *@var{data}, int @var{size})
368 @var{size} bytes copied from @var{data}, followed by an additional null
374 @deftypefun void obstack_1grow (struct obstack *@var{obstack-ptr}, char @var{c})
376 It adds a single byte containing @var{c} to the growing object.
381 @deftypefun void obstack_ptr_grow (struct obstack *@var{obstack-ptr}, void *@var{data})
384 containing the value of @var{data}.
389 @deftypefun void obstack_int_grow (struct obstack *@var{obstack-ptr}, int @var{data})
392 the growing object and initializes them with the value of @var{data}.
397 @deftypefun {void *} obstack_finish (struct obstack *@var{obstack-ptr})
416 @deftypefun int obstack_object_size (struct obstack *@var{obstack-ptr})
459 @deftypefun int obstack_room (struct obstack *@var{obstack-ptr})
462 @var{obstack} using the fast growth functions.
470 @deftypefun void obstack_1grow_fast (struct obstack *@var{obstack-ptr}, char @var{c})
472 character @var{c} to the growing object in obstack @var{obstack-ptr}.
477 @deftypefun void obstack_ptr_grow_fast (struct obstack *@var{obstack-ptr}, void *@var{data})
479 bytes containing the value of @var{data} to the growing object in
480 obstack @var{obstack-ptr}.
485 @deftypefun void obstack_int_grow_fast (struct obstack *@var{obstack-ptr}, int @var{data})
487 containing the value of @var{data} to the growing object in obstack
488 @var{obstack-ptr}.
493 @deftypefun void obstack_blank_fast (struct obstack *@var{obstack-ptr}, int @var{size})
494 The function @code{obstack_blank_fast} adds @var{size} bytes to the
495 growing object in obstack @var{obstack-ptr} without initializing them.
551 @deftypefun {void *} obstack_base (struct obstack *@var{obstack-ptr})
553 currently growing object in @var{obstack-ptr}. If you finish the object
564 @deftypefun {void *} obstack_next_free (struct obstack *@var{obstack-ptr})
566 chunk of obstack @var{obstack-ptr}. This is the end of the currently
573 @deftypefun int obstack_object_size (struct obstack *@var{obstack-ptr})
578 obstack_next_free (@var{obstack-ptr}) - obstack_base (@var{obstack-ptr})
597 @deftypefn Macro int obstack_alignment_mask (struct obstack *@var{obstack-ptr})
664 @deftypefn Macro int obstack_chunk_size (struct obstack *@var{obstack-ptr})
677 if (obstack_chunk_size (obstack_ptr) < @var{new-chunk-size})
678 obstack_chunk_size (obstack_ptr) = @var{new-chunk-size};
689 @item void obstack_init (struct obstack *@var{obstack-ptr})
692 @item void *obstack_alloc (struct obstack *@var{obstack-ptr}, int @var{size})
693 Allocate an object of @var{size} uninitialized bytes.
696 @item void *obstack_copy (struct obstack *@var{obstack-ptr}, void *@var{address}, int @var{size})
697 Allocate an object of @var{size} bytes, with contents copied from
698 @var{address}. @xref{Allocation in an Obstack}.
700 @item void *obstack_copy0 (struct obstack *@var{obstack-ptr}, void *@var{address}, int @var{size})
701 Allocate an object of @var{size}+1 bytes, with @var{size} of them copied
702 from @var{address}, followed by a null character at the end.
705 @item void obstack_free (struct obstack *@var{obstack-ptr}, void *@var{object})
706 Free @var{object} (and everything allocated in the specified obstack
707 more recently than @var{object}). @xref{Freeing Obstack Objects}.
709 @item void obstack_blank (struct obstack *@var{obstack-ptr}, int @var{size})
710 Add @var{size} uninitialized bytes to a growing object.
713 @item void obstack_grow (struct obstack *@var{obstack-ptr}, void *@var{address}, int @var{size})
714 Add @var{size} bytes, copied from @var{address}, to a growing object.
717 @item void obstack_grow0 (struct obstack *@var{obstack-ptr}, void *@var{address}, int @var{size})
718 Add @var{size} bytes, copied from @var{address}, to a growing object,
722 @item void obstack_1grow (struct obstack *@var{obstack-ptr}, char @var{data-char})
723 Add one byte containing @var{data-char} to a growing object.
726 @item void *obstack_finish (struct obstack *@var{obstack-ptr})
730 @item int obstack_object_size (struct obstack *@var{obstack-ptr})
734 @item void obstack_blank_fast (struct obstack *@var{obstack-ptr}, int @var{size})
735 Add @var{size} uninitialized bytes to a growing object without checking
738 @item void obstack_1grow_fast (struct obstack *@var{obstack-ptr}, char @var{data-char})
739 Add one byte containing @var{data-char} to a growing object without
742 @item int obstack_room (struct obstack *@var{obstack-ptr})
746 @item int obstack_alignment_mask (struct obstack *@var{obstack-ptr})
750 @item int obstack_chunk_size (struct obstack *@var{obstack-ptr})
753 @item void *obstack_base (struct obstack *@var{obstack-ptr})
757 @item void *obstack_next_free (struct obstack *@var{obstack-ptr})