Lines Matching refs:progress
134 data->progress.lastshow = 0; in Curl_pgrsDone()
139 if(!(data->progress.flags & PGRS_HIDE) && in Curl_pgrsDone()
140 !data->progress.callback) in Curl_pgrsDone()
145 data->progress.speeder_c = 0; /* reset the progress meter display */ in Curl_pgrsDone()
172 data->progress.t_startop = timestamp; in Curl_pgrsTimeWas()
176 data->progress.t_startsingle = timestamp; in Curl_pgrsTimeWas()
177 data->progress.is_t_startransfer_set = FALSE; in Curl_pgrsTimeWas()
184 data->progress.t_postqueue = in Curl_pgrsTimeWas()
185 Curl_timediff_us(timestamp, data->progress.t_startop); in Curl_pgrsTimeWas()
188 data->progress.t_acceptdata = timestamp; in Curl_pgrsTimeWas()
191 delta = &data->progress.t_nslookup; in Curl_pgrsTimeWas()
194 delta = &data->progress.t_connect; in Curl_pgrsTimeWas()
197 delta = &data->progress.t_appconnect; in Curl_pgrsTimeWas()
200 delta = &data->progress.t_pretransfer; in Curl_pgrsTimeWas()
203 delta = &data->progress.t_starttransfer; in Curl_pgrsTimeWas()
210 if(data->progress.is_t_startransfer_set) { in Curl_pgrsTimeWas()
214 data->progress.is_t_startransfer_set = TRUE; in Curl_pgrsTimeWas()
218 delta = &data->progress.t_posttransfer; in Curl_pgrsTimeWas()
221 data->progress.t_redirect = Curl_timediff_us(timestamp, in Curl_pgrsTimeWas()
222 data->progress.start); in Curl_pgrsTimeWas()
226 timediff_t us = Curl_timediff_us(timestamp, data->progress.t_startsingle); in Curl_pgrsTimeWas()
250 data->progress.speeder_c = 0; /* reset the progress meter display */ in Curl_pgrsStartNow()
251 data->progress.start = Curl_now(); in Curl_pgrsStartNow()
252 data->progress.is_t_startransfer_set = FALSE; in Curl_pgrsStartNow()
253 data->progress.ul.limit.start = data->progress.start; in Curl_pgrsStartNow()
254 data->progress.dl.limit.start = data->progress.start; in Curl_pgrsStartNow()
255 data->progress.ul.limit.start_size = 0; in Curl_pgrsStartNow()
256 data->progress.dl.limit.start_size = 0; in Curl_pgrsStartNow()
257 data->progress.dl.cur_size = 0; in Curl_pgrsStartNow()
258 data->progress.ul.cur_size = 0; in Curl_pgrsStartNow()
260 data->progress.flags &= PGRS_HIDE|PGRS_HEADERS_OUT; in Curl_pgrsStartNow()
261 Curl_ratelimit(data, data->progress.start); in Curl_pgrsStartNow()
326 data->progress.dl.cur_size = size; in Curl_pgrsSetDownloadCounter()
337 if(Curl_timediff(now, data->progress.dl.limit.start) >= in Curl_ratelimit()
339 data->progress.dl.limit.start = now; in Curl_ratelimit()
340 data->progress.dl.limit.start_size = data->progress.dl.cur_size; in Curl_ratelimit()
344 if(Curl_timediff(now, data->progress.ul.limit.start) >= in Curl_ratelimit()
346 data->progress.ul.limit.start = now; in Curl_ratelimit()
347 data->progress.ul.limit.start_size = data->progress.ul.cur_size; in Curl_ratelimit()
357 data->progress.ul.cur_size = size; in Curl_pgrsSetUploadCounter()
363 data->progress.dl.total_size = size; in Curl_pgrsSetDownloadSize()
364 data->progress.flags |= PGRS_DL_SIZE_KNOWN; in Curl_pgrsSetDownloadSize()
367 data->progress.dl.total_size = 0; in Curl_pgrsSetDownloadSize()
368 data->progress.flags &= ~PGRS_DL_SIZE_KNOWN; in Curl_pgrsSetDownloadSize()
375 data->progress.ul.total_size = size; in Curl_pgrsSetUploadSize()
376 data->progress.flags |= PGRS_UL_SIZE_KNOWN; in Curl_pgrsSetUploadSize()
379 data->progress.ul.total_size = 0; in Curl_pgrsSetUploadSize()
380 data->progress.flags &= ~PGRS_UL_SIZE_KNOWN; in Curl_pgrsSetUploadSize()
386 data->progress.earlydata_sent = sent; in Curl_pgrsEarlyData()
407 struct Progress * const p = &data->progress; in progress_calc()
505 struct Progress *p = &data->progress; in progress_meter()
587 if(!(data->progress.flags & PGRS_HIDE)) { in pgrsupdate()
593 data->progress.dl.total_size, in pgrsupdate()
594 data->progress.dl.cur_size, in pgrsupdate()
595 data->progress.ul.total_size, in pgrsupdate()
596 data->progress.ul.cur_size); in pgrsupdate()
609 (double)data->progress.dl.total_size, in pgrsupdate()
610 (double)data->progress.dl.cur_size, in pgrsupdate()
611 (double)data->progress.ul.total_size, in pgrsupdate()
612 (double)data->progress.ul.cur_size); in pgrsupdate()