Lines Matching defs:strsz
207 stat_seconds(char *str, size_t strsz, long seconds)
211 snprintf(str, strsz, "%02ldd%02ldh",
214 snprintf(str, strsz, "%02ldh%02ldm",
217 snprintf(str, strsz, "%02ldm%02lds",
220 snprintf(str, strsz, " %02lds",
228 stat_eta(char *str, size_t strsz, const struct xferstat *xs)
238 stat_seconds(str, strsz, eta);
240 stat_seconds(str, strsz, elapsed);
248 stat_bytes(char *str, size_t strsz, off_t bytes)
256 snprintf(str, strsz, "%4ju %cB", (uintmax_t)bytes, *prefix);
263 stat_bps(char *str, size_t strsz, struct xferstat *xs)
272 snprintf(str, strsz, "?? Bps");
276 snprintf(str, strsz, "%sps", bytes);