Searched refs:format_timespan (Results 1 – 6 of 6) sorted by relevance
/systemd-251/src/basic/ |
D | time-util.h | 127 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…
|
D | time-util.c | 500 char *format_timespan(char *buf, size_t l, usec_t t, usec_t accuracy) { in format_timespan() function
|
/systemd-251/src/test/ |
D | test-time-util.c | 198 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/ |
D | cgtop.c | 101 return format_timespan(buf, l, t, accuracy); in maybe_format_timespan()
|
/systemd-251/src/network/ |
D | networkd-address.c | 646 …assert_se(format_timespan(buf + 4, l - 4, usec_sub_unsigned(lifetime_usec, now(CLOCK_BOOTTIME)), U… in format_lifetime()
|
/systemd-251/src/shared/ |
D | format-table.c | 1481 if (!format_timespan(p, FORMAT_TIMESPAN_MAX, d->timespan, in table_data_format()
|