Home
last modified time | relevance | path

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

/external/curl/lib/
Dmemdebug.c166 void *curl_domalloc(size_t wantedsize, int line, const char *source) in curl_domalloc() argument
171 assert(wantedsize != 0); in curl_domalloc()
177 size = sizeof(struct memdebug)+wantedsize; in curl_domalloc()
182 mt_malloc_fill(mem->mem, wantedsize); in curl_domalloc()
183 mem->size = wantedsize; in curl_domalloc()
188 source, line, wantedsize, in curl_domalloc()
273 void *curl_dorealloc(void *ptr, size_t wantedsize, in curl_dorealloc() argument
278 size_t size = sizeof(struct memdebug)+wantedsize; in curl_dorealloc()
280 assert(wantedsize != 0); in curl_dorealloc()
301 source, line, (void *)ptr, wantedsize, in curl_dorealloc()
[all …]
Dformdata.c1446 size_t wantedsize; in Curl_FormReader() local
1451 wantedsize = size * nitems; in Curl_FormReader()
1458 gotsize = readfromfile(form, buffer, wantedsize); in Curl_FormReader()
1466 if((form->data->length - form->sent ) > wantedsize - gotsize) { in Curl_FormReader()
1469 wantedsize - gotsize); in Curl_FormReader()
1471 form->sent += wantedsize-gotsize; in Curl_FormReader()
1473 return wantedsize; in Curl_FormReader()