Home
last modified time | relevance | path

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

/external/curl/lib/
Dmemdebug.c165 void *curl_domalloc(size_t wantedsize, int line, const char *source) in curl_domalloc() argument
170 assert(wantedsize != 0); in curl_domalloc()
176 size = sizeof(struct memdebug)+wantedsize; in curl_domalloc()
181 mt_malloc_fill(mem->mem, wantedsize); in curl_domalloc()
182 mem->size = wantedsize; in curl_domalloc()
187 source, line, wantedsize, in curl_domalloc()
272 void *curl_dorealloc(void *ptr, size_t wantedsize, in curl_dorealloc() argument
277 size_t size = sizeof(struct memdebug)+wantedsize; in curl_dorealloc()
279 assert(wantedsize != 0); in curl_dorealloc()
300 source, line, (void *)ptr, wantedsize, in curl_dorealloc()
[all …]
Dformdata.c1481 size_t wantedsize; in Curl_FormReader() local
1486 wantedsize = size * nitems; in Curl_FormReader()
1493 gotsize = readfromfile(form, buffer, wantedsize); in Curl_FormReader()
1501 if((form->data->length - form->sent) > wantedsize - gotsize) { in Curl_FormReader()
1504 wantedsize - gotsize); in Curl_FormReader()
1506 form->sent += wantedsize-gotsize; in Curl_FormReader()
1508 return wantedsize; in Curl_FormReader()