Home
last modified time | relevance | path

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

/third_party/curl/docs/examples/
Dgetinmemory.c42 size_t realsize = size * nmemb; in WriteMemoryCallback() local
45 char *ptr = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback()
53 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback()
54 mem->size += realsize; in WriteMemoryCallback()
57 return realsize; in WriteMemoryCallback()
Dpostinmemory.c39 size_t realsize = size * nmemb; in WriteMemoryCallback() local
42 char *ptr = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback()
50 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback()
51 mem->size += realsize; in WriteMemoryCallback()
54 return realsize; in WriteMemoryCallback()
Dhttp2-pushinmemory.c45 size_t realsize = size * nmemb; in write_cb() local
47 char *ptr = realloc(mem->memory, mem->size + realsize + 1); in write_cb()
55 memcpy(&(mem->memory[mem->size]), contents, realsize); in write_cb()
56 mem->size += realsize; in write_cb()
59 return realsize; in write_cb()
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()
Dcrawler.c53 size_t realsize = sz * nmemb; in grow_buffer() local
55 char *ptr = realloc(mem->buf, mem->size + realsize); in grow_buffer()
62 memcpy(&(mem->buf[mem->size]), contents, realsize); in grow_buffer()
63 mem->size += realsize; in grow_buffer()
64 return realsize; in grow_buffer()
Dghiper.c275 size_t realsize = size * nmemb; in write_cb() local
279 return realsize; in write_cb()
Devhiperfifo.c311 size_t realsize = size * nmemb; in write_cb() local
315 return realsize; in write_cb()
/third_party/skia/third_party/externals/microhttpd/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 …]
/third_party/curl/tests/libtest/
Dlib1900.c44 size_t realsize = size * nmemb; in write_callback() local
48 return realsize; in write_callback()
/third_party/curl/lib/
Ddoh.c180 size_t realsize = size * nmemb; in doh_write_cb() local
183 if(Curl_dyn_addn(mem, contents, realsize)) in doh_write_cb()
186 return realsize; in doh_write_cb()
/third_party/gstreamer/gstplugins_bad/ext/curl/
Dgstcurlbasesink.c883 size_t realsize = size * nmemb; in gst_curl_base_sink_transfer_write_cb() local
899 return realsize; in gst_curl_base_sink_transfer_write_cb()
/third_party/curl/docs/
DFAQ1131 size_t realsize = size * nmemb;
1134 mem->memory = (char *)realloc(mem->memory, mem->size + realsize + 1);
1136 memcpy(&(mem->memory[mem->size]), ptr, realsize);
1137 mem->size += realsize;
1140 return realsize;