Lines Matching defs:ralloc
25 * \file ralloc.h
27 * ralloc: a recursive memory allocator
29 * The ralloc memory allocator creates a hierarchy of allocated
37 * The conceptual working of ralloc was directly inspired by Andrew
38 * Tridgell's talloc, but ralloc is an independent implementation
41 * talloc is more sophisticated than ralloc in that it includes reference
60 * \def ralloc(ctx, type)
68 #define ralloc(ctx, type) ((type *) ralloc_size(ctx, sizeof(type)))
82 * Allocate a new ralloc context.
84 * While any ralloc'd pointer can be used as a context, sometimes it is useful
111 * Resize a piece of ralloc-managed memory, preserving data.
114 * memory. Instead, it resizes it to a 0-byte ralloc context, just like
162 * Resize a ralloc-managed array, preserving data.
165 * memory. Instead, it resizes it to a 0-byte ralloc context, just like
201 * Resize a ralloc-managed array, preserving data.
204 * memory. Instead, it resizes it to a 0-byte ralloc context, just like
223 * Free a piece of ralloc-managed memory.
245 * Return the given pointer's ralloc context.
420 * Declare C++ new and delete operators which use ralloc.
427 * which is more idiomatic in C++ than calling ralloc.
472 * to free the parent or the ralloc parent.
484 * \param ralloc_ctx ralloc context, must not be NULL
501 * Freeing the ralloc parent will also free this.
511 * Return the ralloc parent of the linear parent node.
523 /* The functions below have the same semantics as their ralloc counterparts,