Home
last modified time | relevance | path

Searched refs:SEC_PER_DAY (Results 1 – 3 of 3) sorted by relevance

/freebsd/sys/dev/ixgbe/
H A Dixgbe_bypass.h42 #define SEC_PER_DAY (60 * 60 * 24) macro
43 #define SEC_PER_YEAR (SEC_PER_DAY * 365)
44 #define SEC_PER_LYEAR (SEC_PER_DAY * 366)
H A Dif_bypass.c658 days = time / SEC_PER_DAY; in ixgbe_bp_log()
662 time -= (day_mon[LEAP_YR(year)][i] * SEC_PER_DAY); in ixgbe_bp_log()
663 days = (time / SEC_PER_DAY) + 1; /* first day is 1 */ in ixgbe_bp_log()
664 time %= SEC_PER_DAY; in ixgbe_bp_log()
/freebsd/contrib/ntp/sntp/libopts/
H A Dparse-duration.c51 #define SEC_PER_DAY (SEC_PER_HR * 24) macro
52 #define SEC_PER_WEEK (SEC_PER_DAY * 7)
53 #define SEC_PER_MONTH (SEC_PER_DAY * 30)
54 #define SEC_PER_YEAR (SEC_PER_DAY * 365)
185 return parse_scaled_value (res, &pz, ps, SEC_PER_DAY); in parse_year_month_day()
215 return parse_scaled_value (res, &pz, buf + 2, SEC_PER_DAY); in parse_yearmonthday()
247 res = parse_scaled_value (res, &pz, ps, SEC_PER_DAY); in parse_YMWD()
532 mult = SEC_PER_DAY; in parse_non_iso8601()