Searched refs:realsize (Results 1 – 12 of 12) sorted by relevance
/third_party/curl/docs/examples/ |
D | getinmemory.c | 42 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()
|
D | postinmemory.c | 39 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()
|
D | http2-pushinmemory.c | 45 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()
|
D | href_extractor.c | 40 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()
|
D | crawler.c | 53 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()
|
D | ghiper.c | 275 size_t realsize = size * nmemb; in write_cb() local 279 return realsize; in write_cb()
|
D | evhiperfifo.c | 311 size_t realsize = size * nmemb; in write_cb() local 315 return realsize; in write_cb()
|
/third_party/skia/third_party/externals/microhttpd/src/spdy2http/ |
D | proxy.c | 530 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/ |
D | lib1900.c | 44 size_t realsize = size * nmemb; in write_callback() local 48 return realsize; in write_callback()
|
/third_party/curl/lib/ |
D | doh.c | 180 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/ |
D | gstcurlbasesink.c | 883 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/ |
D | FAQ | 1131 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;
|