Lines Matching refs:strsz
204 stat_seconds(char *str, size_t strsz, long seconds)
208 snprintf(str, strsz, "%02ldd%02ldh",
211 snprintf(str, strsz, "%02ldh%02ldm",
214 snprintf(str, strsz, "%02ldm%02lds",
217 snprintf(str, strsz, " %02lds",
225 stat_eta(char *str, size_t strsz, const struct xferstat *xs)
235 stat_seconds(str, strsz, eta);
237 stat_seconds(str, strsz, elapsed);
245 stat_bytes(char *str, size_t strsz, off_t bytes)
253 snprintf(str, strsz, "%4ju %cB", (uintmax_t)bytes, *prefix);
260 stat_bps(char *str, size_t strsz, struct xferstat *xs)
269 snprintf(str, strsz, "?? Bps");
273 snprintf(str, strsz, "%sps", bytes);