Home
last modified time | relevance | path

Searched refs:wantedsize (Results 1 – 1 of 1) sorted by relevance

/third_party/curl/lib/
Dmemdebug.c130 void *curl_dbg_malloc(size_t wantedsize, int line, const char *source) in curl_dbg_malloc() argument
135 DEBUGASSERT(wantedsize != 0); in curl_dbg_malloc()
141 size = sizeof(struct memdebug) + wantedsize; in curl_dbg_malloc()
145 mem->size = wantedsize; in curl_dbg_malloc()
150 source, line, wantedsize, in curl_dbg_malloc()
235 void *curl_dbg_realloc(void *ptr, size_t wantedsize, in curl_dbg_realloc() argument
240 size_t size = sizeof(struct memdebug) + wantedsize; in curl_dbg_realloc()
242 DEBUGASSERT(wantedsize != 0); in curl_dbg_realloc()
263 source, line, (void *)ptr, wantedsize, in curl_dbg_realloc()
267 mem->size = wantedsize; in curl_dbg_realloc()