Home
last modified time | relevance | path

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

/systemd-251/src/basic/
Dtime-util.h127 char* format_timespan(char *buf, size_t l, usec_t t, usec_t accuracy) _warn_unused_result_;
140 #define FORMAT_TIMESPAN(t, accuracy) format_timespan((char[FORMAT_TIMESPAN_MAX]){}, FORMAT_TIMESPAN…
Dtime-util.c500 char *format_timespan(char *buf, size_t l, usec_t t, usec_t accuracy) { in format_timespan() function
/systemd-251/src/test/
Dtest-time-util.c198 assert_se(t = format_timespan(l, sizeof l, x, accuracy)); in test_format_timespan_one()
237 TEST(format_timespan) { in TEST() argument
/systemd-251/src/cgtop/
Dcgtop.c101 return format_timespan(buf, l, t, accuracy); in maybe_format_timespan()
/systemd-251/src/network/
Dnetworkd-address.c646 …assert_se(format_timespan(buf + 4, l - 4, usec_sub_unsigned(lifetime_usec, now(CLOCK_BOOTTIME)), U… in format_lifetime()
/systemd-251/src/shared/
Dformat-table.c1481 if (!format_timespan(p, FORMAT_TIMESPAN_MAX, d->timespan, in table_data_format()