Searched refs:USEC_PER_WEEK (Results 1 – 5 of 5) sorted by relevance
/systemd-251/src/basic/ |
D | time-util.c | 455 } else if (d >= USEC_PER_WEEK) { in format_timestamp_relative() 456 usec_t weeks = d / USEC_PER_WEEK; in format_timestamp_relative() 457 usec_t days = (d % USEC_PER_WEEK) / USEC_PER_DAY; in format_timestamp_relative() 507 { "w", USEC_PER_WEEK }, in format_timespan() 983 { "weeks", USEC_PER_WEEK }, in extract_multiplier() 984 { "week", USEC_PER_WEEK }, in extract_multiplier() 985 { "w", USEC_PER_WEEK }, in extract_multiplier()
|
D | time-util.h | 58 #define USEC_PER_WEEK ((usec_t) (7ULL*USEC_PER_DAY)) macro
|
/systemd-251/src/network/ |
D | test-networkd-address.c | 21 … test_FORMAT_LIFETIME_one(usec_add(now_usec, 3 * USEC_PER_WEEK + USEC_PER_SEC - 1), "for 3w"); in TEST()
|
/systemd-251/src/test/ |
D | test-time-util.c | 427 x = now(CLOCK_REALTIME) - (1*USEC_PER_WEEK + 1*USEC_PER_DAY); in TEST() 432 x = now(CLOCK_REALTIME) - (1*USEC_PER_WEEK + 2*USEC_PER_DAY); in TEST() 437 x = now(CLOCK_REALTIME) - (2*USEC_PER_WEEK + 1*USEC_PER_DAY); in TEST() 442 x = now(CLOCK_REALTIME) - (2*USEC_PER_WEEK + 2*USEC_PER_DAY); in TEST()
|
D | test-fs-util.c | 561 test_mtime = usec_sub_unsigned(now(CLOCK_REALTIME), USEC_PER_WEEK); in TEST()
|