Lines Matching defs:ptr
40 void *alloc_realloc(void *ptr, size_t nbytes, const char *fname, int line);
42 void alloc_free(void *ptr, const char *fname, int line);
43 char *alloc_strdup(const char *ptr, const char *fname, int line);
45 void alloc_xfree(void *ptr, size_t size);
50 #define REALLOC(ptr, nbytes) alloc_realloc(ptr, nbytes, __FILE__, __LINE__)
51 #define FREE(ptr) alloc_free(ptr, __FILE__, __LINE__)
52 #define STRDUP(ptr) alloc_strdup(ptr, __FILE__, __LINE__)
57 #define REALLOC(ptr, nbytes) alloc_realloc(ptr, nbytes, "???", __LINE__)
58 #define FREE(ptr) alloc_free(ptr, "???", __LINE__)
59 #define STRDUP(ptr) alloc_strdup(ptr, "???", __LINE__)