Lines Matching refs:now
242 struct curltime now = Curl_now(); in Curl_pgrsTime() local
244 Curl_pgrsTimeWas(data, timer, now); in Curl_pgrsTime()
245 return now; in Curl_pgrsTime()
284 struct curltime now) in Curl_pgrsLimitWaitTime() argument
311 actual = Curl_timediff_ceil(now, d->limit.start); in Curl_pgrsLimitWaitTime()
333 void Curl_ratelimit(struct Curl_easy *data, struct curltime now) in Curl_ratelimit() argument
337 if(Curl_timediff(now, data->progress.dl.limit.start) >= in Curl_ratelimit()
339 data->progress.dl.limit.start = now; 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()
404 static bool progress_calc(struct Curl_easy *data, struct curltime now) in progress_calc() argument
410 p->timespent = Curl_timediff_us(now, p->start); in progress_calc()
415 if(p->lastshow != now.tv_sec) { in progress_calc()
418 p->lastshow = now.tv_sec; in progress_calc()
426 p->speeder_time [ nowindex ] = now; in progress_calc()
450 span_ms = Curl_timediff(now, p->speeder_time[checkindex]); in progress_calc()
630 struct curltime now = Curl_now(); /* what time is it */ in Curl_pgrsUpdate() local
631 bool showprogress = progress_calc(data, now); in Curl_pgrsUpdate()
640 struct curltime now = Curl_now(); /* what time is it */ in Curl_pgrsUpdate_nometer() local
641 (void)progress_calc(data, now); in Curl_pgrsUpdate_nometer()