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()
493 est->secs = d->total_size / d->speed; in pgrs_estimates()
494 est->percent = pgrs_est_percent(d->total_size, d->cur_size); in pgrs_estimates()
540 ((p->flags & PGRS_DL_SIZE_KNOWN) ? p->dl.total_size : p->dl.cur_size); in progress_meter()
588 data->progress.dl.total_size, in pgrsupdate()
590 data->progress.ul.total_size, in pgrsupdate()
604 (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()
516 (double)data->progress.dl.total_size : -1; in getinfo_double()
520 (double)data->progress.ul.total_size : -1; in getinfo_double()
H A Durldata.h1059 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.py137 total_size = sum([s['size_download'] for s in r.stats])
138 samples.append(total_size / r.duration.total_seconds())
164 total_size = sum([s['size_download'] for s in r.stats])
165 samples.append(total_size / r.duration.total_seconds())
195 total_size = sum([s['size_download'] for s in r.stats])
196 samples.append(total_size / r.duration.total_seconds())
292 total_size = sum([s['size_upload'] for s in r.stats])
293 samples.append(total_size / r.duration.total_seconds())
319 total_size = sum([s['size_upload'] for s in r.stats])
320 samples.append(total_size / r.duration.total_seconds())
[all …]

Completed in 22 milliseconds