Lines Matching refs:ptr
39 #define COMMON_MALLOC_REALLOC(ptr, size) \ argument
40 if (in_symbolizer()) return InternalRealloc(ptr, size); \
41 if (ptr) \
42 invoke_free_hook(ptr); \
45 SCOPED_INTERCEPTOR_RAW(realloc, ptr, size); \
46 p = user_realloc(thr, pc, ptr, size); \
71 #define COMMON_MALLOC_FREE(ptr) \ argument
72 if (in_symbolizer()) return InternalFree(ptr); \
73 invoke_free_hook(ptr); \
74 SCOPED_INTERCEPTOR_RAW(free, ptr); \
75 user_free(thr, pc, ptr)
76 #define COMMON_MALLOC_SIZE(ptr) uptr size = user_alloc_usable_size(ptr); argument
78 #define COMMON_MALLOC_REPORT_UNKNOWN_REALLOC(ptr, zone_ptr, zone_name) \ argument
80 Report("mz_realloc(%p) -- attempting to realloc unallocated memory.\n", ptr);