Searched refs:CURL_OFF_T_C (Results 1 – 11 of 11) sorted by relevance
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()[all …]
54 if(converted < CURL_OFF_T_C(116444736000000000)) { in getfiletime()59 result = (converted - CURL_OFF_T_C(116444736000000000)) / 10000000; in getfiletime()104 if(filetime > CURL_OFF_T_C(910670515199)) { in setfiletime()119 CURL_OFF_T_C(116444736000000000); in setfiletime()
38 #define OUR_MAX_SEEK_O CURL_OFF_T_C(0x7FFFFFFF) - CURL_OFF_T_C(0x1)
118 # define CURL_OFF_T_MAX CURL_OFF_T_C(0x7FFFFFFF)121 # define CURL_OFF_T_MAX CURL_OFF_T_C(0x7FFFFFFFFFFFFFFF)
1461 my_setopt(curl, CURLOPT_RESUME_FROM_LARGE, CURL_OFF_T_C(0)); in single_transfer()
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()[all …]
89 # define CURL_MASK_SCOFFT CURL_OFF_T_C(0x7FFF)92 # define CURL_MASK_SCOFFT CURL_OFF_T_C(0x7FFFFFFF)95 # define CURL_MASK_SCOFFT CURL_OFF_T_C(0x7FFFFFFFFFFFFFFF)98 # define CURL_MASK_SCOFFT CURL_OFF_T_C(0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF)
403 # define CURL_OFF_T_MAX CURL_OFF_T_C(0x7FFFFFFF)406 # define CURL_OFF_T_MAX CURL_OFF_T_C(0x7FFFFFFFFFFFFFFF)408 #define CURL_OFF_T_MIN (-CURL_OFF_T_MAX - CURL_OFF_T_C(1))
659 tw = CURL_OFF_T_C(11644473600) * 10000000; in Curl_ntlm_core_mk_ntlmv2_resp()662 tw = ((curl_off_t)time(NULL) + CURL_OFF_T_C(11644473600)) * 10000000; in Curl_ntlm_core_mk_ntlmv2_resp()
226 #define CURL_OFF_T_C(Val) __CURL_OFF_T_C_HELPER1(Val,CURL_SUFFIX_CURL_OFF_T) macro
489 # define CURL_OFF_T_C(Val) CURLINC_OFF_T_C_HLPR1(Val) ## \ macro500 # define CURL_OFF_T_C(Val) CURLINC_OFF_T_C_HLPR1(Val,CURL_SUFFIX_CURL_OFF_T) macro