Home
last modified time | relevance | path

Searched refs:USEC_PER_MONTH (Results 1 – 4 of 4) sorted by relevance

/systemd-251/src/test/ !
Dtest-time-util.c355 assert_se(y > x ? y - x : x - y <= USEC_PER_MONTH + USEC_PER_DAY); in TEST()
385 x = now(CLOCK_REALTIME) - (1*USEC_PER_YEAR + 1*USEC_PER_MONTH); in TEST()
390 x = now(CLOCK_REALTIME) - (1*USEC_PER_YEAR + 2*USEC_PER_MONTH); in TEST()
395 x = now(CLOCK_REALTIME) - (2*USEC_PER_YEAR + 1*USEC_PER_MONTH); in TEST()
400 x = now(CLOCK_REALTIME) - (2*USEC_PER_YEAR + 2*USEC_PER_MONTH); in TEST()
406 x = now(CLOCK_REALTIME) - (1*USEC_PER_MONTH + 1*USEC_PER_DAY); in TEST()
411 x = now(CLOCK_REALTIME) - (1*USEC_PER_MONTH + 2*USEC_PER_DAY); in TEST()
416 x = now(CLOCK_REALTIME) - (2*USEC_PER_MONTH + 1*USEC_PER_DAY); in TEST()
421 x = now(CLOCK_REALTIME) - (2*USEC_PER_MONTH + 2*USEC_PER_DAY); in TEST()
/systemd-251/src/basic/ !
Dtime-util.c437 usec_t months = (d % USEC_PER_YEAR) / USEC_PER_MONTH; in format_timestamp_relative()
445 } else if (d >= USEC_PER_MONTH) { in format_timestamp_relative()
446 usec_t months = d / USEC_PER_MONTH; in format_timestamp_relative()
447 usec_t days = (d % USEC_PER_MONTH) / USEC_PER_DAY; in format_timestamp_relative()
506 { "month", USEC_PER_MONTH }, in format_timespan()
970 { "months", USEC_PER_MONTH }, in extract_multiplier()
971 { "month", USEC_PER_MONTH }, in extract_multiplier()
972 { "M", USEC_PER_MONTH }, in extract_multiplier()
Dtime-util.h60 #define USEC_PER_MONTH ((usec_t) (2629800ULL*USEC_PER_SEC)) macro
/systemd-251/src/journal/ !
Djournald-server.c65 #define DEFAULT_MAX_FILE_USEC USEC_PER_MONTH