Lines Matching refs:CURL_OFF_T_C
36 #define ONE_KILOBYTE CURL_OFF_T_C(1024) in max5data()
37 #define ONE_MEGABYTE (CURL_OFF_T_C(1024) * ONE_KILOBYTE) in max5data()
38 #define ONE_GIGABYTE (CURL_OFF_T_C(1024) * ONE_MEGABYTE) in max5data()
39 #define ONE_TERABYTE (CURL_OFF_T_C(1024) * ONE_GIGABYTE) in max5data()
40 #define ONE_PETABYTE (CURL_OFF_T_C(1024) * ONE_TERABYTE) in max5data()
42 if(bytes < CURL_OFF_T_C(100000)) in max5data()
45 else if(bytes < CURL_OFF_T_C(10000) * ONE_KILOBYTE) in max5data()
48 else if(bytes < CURL_OFF_T_C(100) * ONE_MEGABYTE) in max5data()
52 (bytes%ONE_MEGABYTE) / (ONE_MEGABYTE/CURL_OFF_T_C(10)) ); in max5data()
56 else if(bytes < CURL_OFF_T_C(10000) * ONE_MEGABYTE) in max5data()
60 else if(bytes < CURL_OFF_T_C(100) * ONE_GIGABYTE) in max5data()
64 (bytes%ONE_GIGABYTE) / (ONE_GIGABYTE/CURL_OFF_T_C(10)) ); in max5data()
66 else if(bytes < CURL_OFF_T_C(10000) * ONE_GIGABYTE) in max5data()
70 else if(bytes < CURL_OFF_T_C(10000) * ONE_TERABYTE) in max5data()
121 h = seconds / CURL_OFF_T_C(3600); in time2str()
122 if(h <= CURL_OFF_T_C(99)) { in time2str()
123 curl_off_t m = (seconds - (h*CURL_OFF_T_C(3600))) / CURL_OFF_T_C(60); in time2str()
124 curl_off_t s = (seconds - (h*CURL_OFF_T_C(3600))) - (m*CURL_OFF_T_C(60)); in time2str()
131 curl_off_t d = seconds / CURL_OFF_T_C(86400); in time2str()
132 h = (seconds - (d*CURL_OFF_T_C(86400))) / CURL_OFF_T_C(3600); in time2str()
133 if(d <= CURL_OFF_T_C(999)) in time2str()