Searched refs:realsize (Results 1 – 12 of 12) sorted by relevance
/curl/docs/examples/ |
H A D | getinmemory.c | 44 size_t realsize = size * nmemb; in WriteMemoryCallback() local 47 char *ptr = realloc(mem->memory, mem->size + realsize + 1); in WriteMemoryCallback() 55 memcpy(&(mem->memory[mem->size]), contents, realsize); in WriteMemoryCallback() 56 mem->size += realsize; in WriteMemoryCallback() 59 return realsize; in WriteMemoryCallback()
|
H A D | postinmemory.c | 41 size_t realsize = size * nmemb; in WriteMemoryCallback() local 44 char *ptr = 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()
|
H A D | http2-pushinmemory.c | 43 size_t realsize = size * nmemb; in write_cb() local 45 char *ptr = realloc(mem->memory, mem->size + realsize + 1); in write_cb() 53 memcpy(&(mem->memory[mem->size]), contents, realsize); in write_cb() 54 mem->size += realsize; in write_cb() 57 return realsize; in write_cb()
|
H A D | href_extractor.c | 42 size_t realsize = size * nmemb, p; in write_callback() local 43 for(p = 0; p < realsize; p++) { in write_callback() 52 return realsize; in write_callback()
|
H A D | crawler.c | 64 size_t realsize = sz * nmemb; in grow_buffer() local 66 char *ptr = realloc(mem->buf, mem->size + realsize); in grow_buffer() 73 memcpy(&(mem->buf[mem->size]), contents, realsize); in grow_buffer() 74 mem->size += realsize; in grow_buffer() 75 return realsize; in grow_buffer()
|
H A D | ghiper.c | 277 size_t realsize = size * nmemb; in write_cb() local 281 return realsize; in write_cb()
|
H A D | evhiperfifo.c | 313 size_t realsize = size * nmemb; in write_cb() local 317 return realsize; in write_cb()
|
/curl/tests/libtest/ |
H A D | lib3207.c | 53 size_t realsize = size * nmemb; in write_memory_callback() local 55 char *data = (char *)malloc(realsize + 1); in write_memory_callback() 61 memcpy(data, contents, realsize); in write_memory_callback() 62 data[realsize] = '\0'; in write_memory_callback() 72 return realsize; in write_memory_callback()
|
/curl/docs/libcurl/opts/ |
H A D | CURLOPT_WRITEFUNCTION.md | 93 size_t realsize = size * nmemb; 96 char *ptr = realloc(mem->response, mem->size + realsize + 1); 101 memcpy(&(mem->response[mem->size]), data, realsize); 102 mem->size += realsize; 105 return realsize;
|
/curl/tests/http/clients/ |
H A D | h2-pausing.c | 172 size_t realsize = size * nmemb; in cb() local 185 handle->idx, handle->paused, (long)realsize); in cb() 192 handle->idx, (long)realsize, handle->errored); in cb() 196 handle->idx, (long)realsize); in cb() 197 return realsize; in cb()
|
/curl/lib/ |
H A D | doh.c | 185 size_t realsize = size * nmemb; in doh_write_cb() local 188 if(Curl_dyn_addn(mem, contents, realsize)) in doh_write_cb() 191 return realsize; in doh_write_cb()
|
/curl/docs/ |
H A D | FAQ | 1157 size_t realsize = size * nmemb; 1160 mem->memory = (char *)realloc(mem->memory, mem->size + realsize + 1); 1162 memcpy(&(mem->memory[mem->size]), ptr, realsize); 1163 mem->size += realsize; 1166 return realsize;
|
Completed in 24 milliseconds