Lines Matching refs:ptr
60 CURL_EXTERN ALLOC_SIZE(2) void *curl_dbg_realloc(void *ptr,
64 CURL_EXTERN void curl_dbg_free(void *ptr, int line, const char *source);
116 #define strdup(ptr) curl_dbg_strdup(ptr, __LINE__, __FILE__) argument
122 #define realloc(ptr,size) curl_dbg_realloc(ptr, size, __LINE__, __FILE__) argument
124 #define free(ptr) curl_dbg_free(ptr, __LINE__, __FILE__) argument
133 # define wcsdup(ptr) curl_dbg_wcsdup(ptr, __LINE__, __FILE__) argument
135 # define _wcsdup(ptr) curl_dbg_wcsdup(ptr, __LINE__, __FILE__) argument
137 # define _tcsdup(ptr) curl_dbg_wcsdup(ptr, __LINE__, __FILE__) argument
140 # define _tcsdup(ptr) curl_dbg_strdup(ptr, __LINE__, __FILE__) argument
208 #define Curl_safefree(ptr) \ argument
209 do { free((ptr)); (ptr) = NULL;} while(0)