Home | History | Annotate | Download | only in util

Lines Matching refs:parent

30  * objects. Every allocation is in reference to some parent, and
31 * every allocated object can in turn be used as the parent of a
534 * to free the parent or the ralloc parent.
536 * \param parent parent node of the linear allocator
539 void *linear_alloc_child(void *parent, unsigned size);
542 * Allocate a parent node that will hold linear buffers. The returned
544 * of the parent node. Use it for all child node allocations.
554 void *linear_zalloc_child(void *parent, unsigned size);
562 * Free the linear parent node. This will free all child nodes too.
563 * Freeing the ralloc parent will also free this.
568 * Same as ralloc_steal, but steals the linear parent node.
573 * Return the ralloc parent of the linear parent node.
583 void *linear_realloc(void *parent, void *old, unsigned new_size);
588 char *linear_strdup(void *parent, const char *str);
589 char *linear_asprintf(void *parent, const char *fmt, ...);
590 char *linear_vasprintf(void *parent, const char *fmt, va_list args);
591 bool linear_asprintf_append(void *parent, char **str, const char *fmt, ...);
592 bool linear_vasprintf_append(void *parent, char **str, const char *fmt,
594 bool linear_asprintf_rewrite_tail(void *parent, char **str, size_t *start,
596 bool linear_vasprintf_rewrite_tail(void *parent, char **str, size_t *start,
598 bool linear_strcat(void *parent, char **dest, const char *str);