Home
last modified time | relevance | path

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

/external/curl/docs/examples/
Dgetinmemory.c41 size_t realsize = size * nmemb; in WriteMemoryCallback() local
44 mem->memory = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback()
51 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback()
52 mem->size += realsize; in WriteMemoryCallback()
55 return realsize; in WriteMemoryCallback()
Dpostinmemory.c35 size_t realsize = size * nmemb; in WriteMemoryCallback() local
38 mem->memory = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback()
45 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback()
46 mem->size += realsize; in WriteMemoryCallback()
49 return realsize; in WriteMemoryCallback()
Dhref_extractor.c40 size_t realsize = size * nmemb, p; in write_callback() local
41 for (p = 0; p < realsize; p++) { in write_callback()
50 return realsize; in write_callback()
Dghiper.c281 size_t realsize = size * nmemb; in write_cb() local
285 return realsize; in write_cb()
Dhiperfifo.c289 size_t realsize = size * nmemb; in write_cb() local
293 return realsize; in write_cb()
Devhiperfifo.c297 size_t realsize = size * nmemb; in write_cb() local
301 return realsize; in write_cb()
/external/libmicrohttpd/src/spdy2http/
Dproxy.c530 size_t realsize = size * nmemb; in curl_header_cb() local
594 return realsize; in curl_header_cb()
602 for(i=pos; i<realsize && ' '!=line[i]; ++i); in curl_header_cb()
603 if(i == realsize) in curl_header_cb()
610 for(i=pos; i<realsize && ' '!=line[i] && '\r'!=line[i] && '\n'!=line[i]; ++i); in curl_header_cb()
615 if(i<realsize && '\r'!=line[i] && '\n'!=line[i]) in curl_header_cb()
619 for(i=pos; i<realsize && '\r'!=line[i] && '\n'!=line[i]; ++i); in curl_header_cb()
624 return realsize; in curl_header_cb()
629 for(i=pos; i<realsize && ':'!=line[i] && '\r'!=line[i] && '\n'!=line[i]; ++i) in curl_header_cb()
640 return realsize; in curl_header_cb()
[all …]
/external/curl/tests/libtest/
Dlib1900.c44 size_t realsize = size * nmemb; in write_callback() local
48 return realsize; in write_callback()
/external/curl/docs/
DFAQ1199 size_t realsize = size * nmemb;
1202 mem->memory = (char *)realloc(mem->memory, mem->size + realsize + 1);
1204 memcpy(&(mem->memory[mem->size]), ptr, realsize);
1205 mem->size += realsize;
1208 return realsize;