Home
last modified time | relevance | path

Searched refs:format_timestamp (Results 1 – 10 of 10) sorted by relevance

/systemd-251/src/basic/
Dtime-util.h130 static inline char* format_timestamp(char *buf, size_t l, usec_t t) { in format_timestamp() function
137 #define FORMAT_TIMESTAMP(t) format_timestamp((char[FORMAT_TIMESTAMP_MAX]){}, FORMAT_TIMESTAMP_MAX, …
Dlog.c399 format_timestamp(header_time, sizeof(header_time), now(CLOCK_REALTIME))) { in write_to_console()
/systemd-251/src/timesync/
Dtimesyncd.c76 format_timestamp(date, sizeof(date), min)); in load_clock_timestamp()
/systemd-251/src/test/
Dtest-unit-file.c51 log_debug("Last modification time: %s", format_timestamp(buf, sizeof buf, mtime)); in TEST()
Dtest-time-util.c315 TEST(format_timestamp) { in TEST() argument
322 assert_se(format_timestamp(buf, sizeof(buf), x)); in TEST()
/systemd-251/src/shared/
Dcreds-util.c532 …log_debug("Including timestamp '%s' in encrypted credential.", format_timestamp(buf, sizeof(buf), … in encrypt_credential_and_warn()
534 …ebug("Including not-after timestamp '%s' in encrypted credential.", format_timestamp(buf, sizeof(b… in encrypt_credential_and_warn()
Dlogs-show.c362 k = format_timestamp(buf, sizeof(buf), x); in output_timestamp_realtime()
Dformat-table.c1461 ret = format_timestamp(p, FORMAT_TIMESTAMP_MAX, d->timestamp); in table_data_format()
/systemd-251/src/timedate/
Dtimedated.c913 …LOG_MESSAGE("Changed local time to %s", strnull(format_timestamp(buf, sizeof(buf), timespec_load(&… in method_set_time()
/systemd-251/src/journal/
Djournalctl.c271 return format_timestamp(buf, l, t); in format_timestamp_maybe_utc()