Home
last modified time | relevance | path

Searched refs:FORMAT_BYTES_TRAILING_B (Results 1 – 3 of 3) sorted by relevance

/systemd-251/src/test/
Dtest-format-util.c25 … FORMAT_BYTES_USE_IEC | FORMAT_BYTES_BELOW_POINT | (trailing_B ? FORMAT_BYTES_TRAILING_B : 0)), ie… in test_format_bytes_one()
26 …_full(buf, sizeof buf, val, FORMAT_BYTES_USE_IEC | (trailing_B ? FORMAT_BYTES_TRAILING_B : 0)), ie… in test_format_bytes_one()
27 …l(buf, sizeof buf, val, FORMAT_BYTES_BELOW_POINT | (trailing_B ? FORMAT_BYTES_TRAILING_B : 0)), si… in test_format_bytes_one()
28 …e(streq_ptr(format_bytes_full(buf, sizeof buf, val, trailing_B ? FORMAT_BYTES_TRAILING_B : 0), si_… in test_format_bytes_one()
/systemd-251/src/basic/
Dformat-util.h87 FORMAT_BYTES_TRAILING_B = 1 << 2, enumerator
96 …t_bytes_full(buf, l, t, FORMAT_BYTES_USE_IEC | FORMAT_BYTES_BELOW_POINT | FORMAT_BYTES_TRAILING_B); in format_bytes()
Dformat-util.c95 (void) snprintf(buf, l, "%" PRIu64 "%s", t, flag & FORMAT_BYTES_TRAILING_B ? "B" : ""); in format_bytes_full()