Lines Matching refs:gc
83 alloc_buf_gc_debug (size_t size, struct gc_arena *gc, const char *file, int line)
85 alloc_buf_gc (size_t size, struct gc_arena *gc)
95 buf.data = (uint8_t *) gc_malloc_debug (size, false, gc, file, line);
97 buf.data = (uint8_t *) gc_malloc (size, false, gc);
392 struct gc_arena *gc)
396 gc);
525 string_alloc_debug (const char *str, struct gc_arena *gc, const char *file, int line)
527 string_alloc (const char *str, struct gc_arena *gc)
535 if (gc) {
537 ret = (char *) gc_malloc_debug (n, false, gc, file, line);
539 ret = (char *) gc_malloc (n, false, gc);
544 * earlier behaviour when gc_malloc() would be called with gc == NULL
591 print_argv (const char **p, struct gc_arena *gc, const unsigned int flags)
593 struct buffer out = alloc_buf_gc (256, gc);
616 string_alloc_buf_debug (const char *str, struct gc_arena *gc, const char *file, int line)
618 string_alloc_buf (const char *str, struct gc_arena *gc)
626 buf_set_read (&buf, (uint8_t*) string_alloc_debug (str, gc, file, line), strlen (str) + 1);
628 buf_set_read (&buf, (uint8_t*) string_alloc (str, gc), strlen (str) + 1);
857 struct gc_arena *gc)
861 char *buf = string_alloc (str, gc);