Home
last modified time | relevance | path

Searched refs:USEC_PER_WEEK (Results 1 – 5 of 5) sorted by relevance

/systemd-251/src/basic/
Dtime-util.c455 } 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()
Dtime-util.h58 #define USEC_PER_WEEK ((usec_t) (7ULL*USEC_PER_DAY)) macro
/systemd-251/src/network/
Dtest-networkd-address.c21 … test_FORMAT_LIFETIME_one(usec_add(now_usec, 3 * USEC_PER_WEEK + USEC_PER_SEC - 1), "for 3w"); in TEST()
/systemd-251/src/test/
Dtest-time-util.c427 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()
Dtest-fs-util.c561 test_mtime = usec_sub_unsigned(now(CLOCK_REALTIME), USEC_PER_WEEK); in TEST()