Home
last modified time | relevance | path

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

/external/curl/docs/examples/
Dgetinmemory.c42 size_t realsize = size * nmemb; in WriteMemoryCallback() local
45 mem->memory = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback()
52 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback()
53 mem->size += realsize; in WriteMemoryCallback()
56 return realsize; in WriteMemoryCallback()
Dpostinmemory.c39 size_t realsize = size * nmemb; in WriteMemoryCallback() local
42 mem->memory = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback()
49 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback()
50 mem->size += realsize; in WriteMemoryCallback()
53 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()
Dhiperfifo.c293 size_t realsize = size * nmemb; in write_cb() local
297 return realsize; in write_cb()
Dghiper.c265 size_t realsize = size * nmemb; in write_cb() local
269 return realsize; in write_cb()
Devhiperfifo.c310 size_t realsize = size * nmemb; in write_cb() local
314 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/
DFAQ1215 size_t realsize = size * nmemb;
1218 mem->memory = (char *)realloc(mem->memory, mem->size + realsize + 1);
1220 memcpy(&(mem->memory[mem->size]), ptr, realsize);
1221 mem->size += realsize;
1224 return realsize;