Home
last modified time | relevance | path

Searched refs:HN_DIVISOR_1000 (Results 1 – 6 of 6) sorted by relevance

/f-stack/tools/libutil/tests/
H A Dhumanize_number_test.c99 { 3, "0 k", (int64_t)0L, HN_DIVISOR_1000, 1, 4 },
100 { 3, "1 k", (int64_t)500L, HN_DIVISOR_1000, 1, 4 },
101 { 3, "0 M", (int64_t)500L, HN_DIVISOR_1000, 2, 4 },
111 { 3, "0 k", (int64_t)1L, HN_DIVISOR_1000, 1, 4 },
155 { -1, "", (int64_t)1L, HN_DIVISOR_1000, 7, 4 },
168 { -1, "", (int64_t)1L, HN_DIVISOR_1000, -1, 4 },
180 { 2, "0 ", (int64_t)0L, HN_DIVISOR_1000, 0, 4 },
181 { 2, "1 ", (int64_t)1L, HN_DIVISOR_1000, 0, 4 },
234 { 3, "9 E", INT64_MAX, HN_DIVISOR_1000, 6, 6 },
274 { -1, "", INT64_MAX, HN_DIVISOR_1000, 0, 6 },
[all …]
/f-stack/tools/libxo/libxo/
H A Dxo_humanize.h57 #define HN_DIVISOR_1000 0x08 macro
83 if (flags & HN_DIVISOR_1000) { in xo_humanize_number()
H A Dlibxo.c3718 if (flags & HN_DIVISOR_1000) { in xo_humanize()
3790 hn_flags |= HN_DIVISOR_1000; in xo_format_humanize()
/f-stack/tools/libutil/
H A Dhumanize_number.c72 if ((flags & HN_DIVISOR_1000) && (flags & HN_IEC_PREFIXES)) in humanize_number()
97 if (flags & HN_DIVISOR_1000) { in humanize_number()
H A Dlibutil.h234 #define HN_DIVISOR_1000 0x08 macro
/f-stack/tools/netstat/
H A Dif.c234 ((div1000) ? HN_DIVISOR_1000 : 0)); in show_stat()