Home
last modified time | relevance | path

Searched refs:total_size (Results 1 – 6 of 6) sorted by relevance

/curl/tests/unit/
H A Dunit1308.c50 size_t total_size = 0; variable
77 res = curl_formget(post, &total_size, print_httppost_callback);
81 fail_unless(total_size == 518, "curl_formget got wrong size back");
100 res = curl_formget(post, &total_size, print_httppost_callback);
103 fail_unless(total_size == 899, "curl_formget got wrong size back");
/curl/lib/
H A Dprogress.c363 data->progress.dl.total_size = size; in Curl_pgrsSetDownloadSize()
367 data->progress.dl.total_size = 0; in Curl_pgrsSetDownloadSize()
375 data->progress.ul.total_size = size; in Curl_pgrsSetUploadSize()
379 data->progress.ul.total_size = 0; in Curl_pgrsSetUploadSize()
498 est->secs = d->total_size / d->speed; in pgrs_estimates()
499 est->percent = pgrs_est_percent(d->total_size, d->cur_size); in pgrs_estimates()
545 ((p->flags & PGRS_DL_SIZE_KNOWN) ? p->dl.total_size : p->dl.cur_size); in progress_meter()
593 data->progress.dl.total_size, in pgrsupdate()
595 data->progress.ul.total_size, in pgrsupdate()
609 (double)data->progress.dl.total_size, in pgrsupdate()
[all …]
H A Dgetinfo.c409 data->progress.dl.total_size : -1; in getinfo_offt()
413 data->progress.ul.total_size : -1; in getinfo_offt()
519 (double)data->progress.dl.total_size : -1; in getinfo_double()
523 (double)data->progress.ul.total_size : -1; in getinfo_double()
H A Durldata.h1061 curl_off_t total_size; /* total expected bytes */ member
/curl/docs/libcurl/
H A Dcurl_formget.md63 size_t total_size = 0;
64 if(curl_formget(post, &total_size, print_httppost_callback)) {
67 return total_size;
/curl/tests/http/
H A Dscorecard.py152 total_size = sum([s['size_download'] for s in r.stats])
153 samples.append(total_size / r.duration.total_seconds())
181 total_size = sum([s['size_download'] for s in r.stats])
182 samples.append(total_size / r.duration.total_seconds())
216 total_size = sum([s['size_download'] for s in r.stats])
217 samples.append(total_size / r.duration.total_seconds())
277 total_size = sum([s['size_upload'] for s in r.stats])
278 samples.append(total_size / r.duration.total_seconds())
305 total_size = sum([s['size_upload'] for s in r.stats])
306 samples.append(total_size / r.duration.total_seconds())
[all …]

Completed in 23 milliseconds