• Home
  • Raw
  • Download

Lines Matching refs:CURL_OFF_T_C

45   h = seconds / CURL_OFF_T_C(3600);  in time2str()
46 if(h <= CURL_OFF_T_C(99)) { in time2str()
47 curl_off_t m = (seconds - (h*CURL_OFF_T_C(3600))) / CURL_OFF_T_C(60); in time2str()
48 curl_off_t s = (seconds - (h*CURL_OFF_T_C(3600))) - (m*CURL_OFF_T_C(60)); in time2str()
55 curl_off_t d = seconds / CURL_OFF_T_C(86400); in time2str()
56 h = (seconds - (d*CURL_OFF_T_C(86400))) / CURL_OFF_T_C(3600); in time2str()
57 if(d <= CURL_OFF_T_C(999)) in time2str()
70 #define ONE_KILOBYTE CURL_OFF_T_C(1024) in max5data()
71 #define ONE_MEGABYTE (CURL_OFF_T_C(1024) * ONE_KILOBYTE) in max5data()
72 #define ONE_GIGABYTE (CURL_OFF_T_C(1024) * ONE_MEGABYTE) in max5data()
73 #define ONE_TERABYTE (CURL_OFF_T_C(1024) * ONE_GIGABYTE) in max5data()
74 #define ONE_PETABYTE (CURL_OFF_T_C(1024) * ONE_TERABYTE) in max5data()
76 if(bytes < CURL_OFF_T_C(100000)) in max5data()
79 else if(bytes < CURL_OFF_T_C(10000) * ONE_KILOBYTE) in max5data()
82 else if(bytes < CURL_OFF_T_C(100) * ONE_MEGABYTE) in max5data()
86 (bytes%ONE_MEGABYTE) / (ONE_MEGABYTE/CURL_OFF_T_C(10)) ); in max5data()
90 else if(bytes < CURL_OFF_T_C(10000) * ONE_MEGABYTE) in max5data()
94 else if(bytes < CURL_OFF_T_C(100) * ONE_GIGABYTE) in max5data()
98 (bytes%ONE_GIGABYTE) / (ONE_GIGABYTE/CURL_OFF_T_C(10)) ); in max5data()
100 else if(bytes < CURL_OFF_T_C(10000) * ONE_GIGABYTE) in max5data()
104 else if(bytes < CURL_OFF_T_C(10000) * ONE_TERABYTE) in max5data()
290 minimum = (timediff_t) (CURL_OFF_T_C(1000) * size / limit); in Curl_pgrsLimitWaitTime()
449 if(amount > CURL_OFF_T_C(4294967) /* 0xffffffff/1000 */) in progress_calc()
457 data->progress.current_speed = amount*CURL_OFF_T_C(1000)/span_ms; in progress_calc()
504 (data->progress.ulspeed > CURL_OFF_T_C(0))) { in progress_meter()
507 if(data->progress.size_ul > CURL_OFF_T_C(10000)) in progress_meter()
509 (data->progress.size_ul/CURL_OFF_T_C(100)); in progress_meter()
510 else if(data->progress.size_ul > CURL_OFF_T_C(0)) in progress_meter()
517 (data->progress.dlspeed > CURL_OFF_T_C(0))) { in progress_meter()
520 if(data->progress.size_dl > CURL_OFF_T_C(10000)) in progress_meter()
522 (data->progress.size_dl/CURL_OFF_T_C(100)); in progress_meter()
523 else if(data->progress.size_dl > CURL_OFF_T_C(0)) in progress_meter()
548 if(total_expected_transfer > CURL_OFF_T_C(10000)) in progress_meter()
550 (total_expected_transfer/CURL_OFF_T_C(100)); in progress_meter()
551 else if(total_expected_transfer > CURL_OFF_T_C(0)) in progress_meter()