#include <stdio.h>
#include <string.h>
#include "memory.h"
Include dependency graph for memory.c:
Go to the source code of this file.
Functions | |
void * | zmalloc (size_t nbytes) |
void * | zrealloc (void *ptr, size_t size, size_t elt, size_t osize) |
void * | gmalloc (size_t nbytes) |
void * | grealloc (void *ptr, size_t size) |
void* gmalloc | ( | size_t | nbytes | ) |
Definition at line 47 of file memory.c.
References malloc(), and NULL.
Referenced by ccomps(), getfree(), gvconfig(), gvplugin_library_load(), pccomps(), strdup_and_subst_obj(), xml_string(), and zmalloc().
void* grealloc | ( | void * | ptr, | |
size_t | size | |||
) |
Definition at line 60 of file memory.c.
References NULL, and realloc().
Referenced by canontoken(), colorxlate(), graph_init(), gv_argvlist_set_item(), gvplugin_library_load(), gvrender_beziercurve(), gvrender_polygon(), gvrender_polyline(), and xml_string().
void* zmalloc | ( | size_t | nbytes | ) |
Definition at line 25 of file memory.c.
References gmalloc().
Referenced by gvjobs_output_filename(), gvjobs_output_langname(), gvNEWargvlist(), gvNEWcontext(), gvNextInputGraph(), and push_obj_state().
void* zrealloc | ( | void * | ptr, | |
size_t | size, | |||
size_t | elt, | |||
size_t | osize | |||
) |