Home
last modified time | relevance | path

Searched refs:max5 (Results 1 – 2 of 2) sorted by relevance

/third_party/curl/lib/
Dprogress.c70 static char *max5data(curl_off_t bytes, char *max5) in max5data() argument
79 msnprintf(max5, 6, "%5" CURL_FORMAT_CURL_OFF_T, bytes); in max5data()
82 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "k", bytes/ONE_KILOBYTE); in max5data()
86 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
92 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "M", bytes/ONE_MEGABYTE); in max5data()
96 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
102 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "G", bytes/ONE_GIGABYTE); in max5data()
106 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "T", bytes/ONE_TERABYTE); in max5data()
110 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "P", bytes/ONE_PETABYTE); in max5data()
115 return max5; in max5data()
[all …]
/third_party/curl/src/
Dtool_progress.c36 static char *max5data(curl_off_t bytes, char *max5) in max5data() argument
45 msnprintf(max5, 6, "%5" CURL_FORMAT_CURL_OFF_T, bytes); in max5data()
48 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "k", bytes/ONE_KILOBYTE); in max5data()
52 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
58 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "M", bytes/ONE_MEGABYTE); in max5data()
62 msnprintf(max5, 6, "%2" CURL_FORMAT_CURL_OFF_T ".%0" in max5data()
68 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "G", bytes/ONE_GIGABYTE); in max5data()
72 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "T", bytes/ONE_TERABYTE); in max5data()
76 msnprintf(max5, 6, "%4" CURL_FORMAT_CURL_OFF_T "P", bytes/ONE_PETABYTE); in max5data()
80 return max5; in max5data()