Searched refs:ONE_MEGABYTE (Results 1 – 2 of 2) sorted by relevance
/curl/src/ |
H A D | tool_progress.c | 37 #define ONE_MEGABYTE (CURL_OFF_T_C(1024) * ONE_KILOBYTE) in max5data() macro 38 #define ONE_GIGABYTE (CURL_OFF_T_C(1024) * ONE_MEGABYTE) in max5data() 48 else if(bytes < CURL_OFF_T_C(100) * ONE_MEGABYTE) in max5data() 51 CURL_FORMAT_CURL_OFF_T "M", bytes/ONE_MEGABYTE, in max5data() 52 (bytes%ONE_MEGABYTE) / (ONE_MEGABYTE/CURL_OFF_T_C(10)) ); in max5data() 54 else if(bytes < CURL_OFF_T_C(10000) * ONE_MEGABYTE) in max5data() 56 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "M", bytes/ONE_MEGABYTE); in max5data()
|
/curl/lib/ |
H A D | progress.c | 71 #define ONE_MEGABYTE (CURL_OFF_T_C(1024) * ONE_KILOBYTE) in max5data() macro 72 #define ONE_GIGABYTE (CURL_OFF_T_C(1024) * ONE_MEGABYTE) in max5data() 82 else if(bytes < CURL_OFF_T_C(100) * ONE_MEGABYTE) in max5data() 85 FMT_OFF_T "M", bytes/ONE_MEGABYTE, in max5data() 86 (bytes%ONE_MEGABYTE) / (ONE_MEGABYTE/CURL_OFF_T_C(10)) ); in max5data() 88 else if(bytes < CURL_OFF_T_C(10000) * ONE_MEGABYTE) in max5data() 90 msnprintf(max5, 6, "%4" FMT_OFF_T "M", bytes/ONE_MEGABYTE); in max5data()
|
Completed in 5 milliseconds