Home
last modified time | relevance | path

Searched refs:SECSPERMIN (Results 1 – 13 of 13) sorted by relevance

/freebsd-14.2/contrib/unbound/compat/
H A Dgmtime_r.c16 #define SECSPERMIN 60 macro
69 tmp->tm_min = (int) (rem / SECSPERMIN);
74 tmp->tm_sec = (int) (rem % SECSPERMIN) ;
/freebsd-14.2/contrib/ntp/libntp/
H A Dmktime.c79 #define SECSPERMIN 60 macro
85 #define SECSPERHOUR (SECSPERMIN * MINSPERHOUR)
197 if (yourtm.tm_sec >= SECSPERMIN + 2 || yourtm.tm_sec < 0) in time2()
198 normalize(&yourtm.tm_min, &yourtm.tm_sec, SECSPERMIN); in time2()
H A Dcaltontp.c53 || (jt->second > SECSPERMIN)) in caltontp()
H A Dclocktime.c72 SECSPERMIN * ((int32)minute + in clocktime()
H A Dntp_calendar.c847 um = (sf32 ^ us) / SECSPERMIN; in priv_timesplit()
857 split[2] = (int32_t)(us - um * SECSPERMIN); in priv_timesplit()
1460 res = (hours * MINSPERHR + minutes) * SECSPERMIN + seconds; in ntpcal_etime_to_seconds()
/freebsd-14.2/contrib/ntp/include/
H A Dntp_calendar.h87 #define SECSPERMIN (60) /* seconds per minute */ macro
93 #define SECSPERHR (SECSPERMIN * MINSPERHR)
/freebsd-14.2/contrib/ntp/ntpd/
H A Drefclock_tsyncpci.c827 pSt->seconds += pDt->minute * SECSPERMIN; in SecTimeFromDoyTime()
897 mins = (unsigned int)(secs / SECSPERMIN); in DoyTimeFromSecTime()
898 secs %= SECSPERMIN; in DoyTimeFromSecTime()
/freebsd-14.2/contrib/tzcode/
H A Dlocaltime.c905 *secsp += num * SECSPERMIN; in getsecs()
909 strp = getnum(strp, &num, 0, SECSPERMIN); in getsecs()
1862 time_t secs_since_posleap = SECSPERMIN; in timesub()
1944 tmp->tm_min = rem / SECSPERMIN; in timesub()
1945 tmp->tm_sec = rem % SECSPERMIN; in timesub()
2117 SECSPERMIN)) in time2sub()
2166 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN) in time2sub()
2177 if (increment_overflow(&yourtm.tm_sec, 1 - SECSPERMIN)) in time2sub()
2180 yourtm.tm_sec = SECSPERMIN - 1; in time2sub()
H A Dprivate.h985 SECSPERMIN = 60, enumerator
987 SECSPERHOUR = SECSPERMIN * MINSPERHOUR,
H A Dzic.c1850 ss < 0 || ss > SECSPERMIN) { in gethms()
1863 sign * (mm * SECSPERMIN + ss)); in gethms()
2848 seconds = offset % SECSPERMIN; in abbroffset()
2849 offset /= SECSPERMIN; in abbroffset()
2936 seconds = offset % SECSPERMIN; in stringoffset()
2937 offset /= SECSPERMIN; in stringoffset()
3006 if (tod != 2 * SECSPERMIN * MINSPERHOUR) { in stringrule()
3135 if (dstrp->r_save != SECSPERMIN * MINSPERHOUR) { in stringzone()
H A Dstrftime.c581 diff /= SECSPERMIN; in _fmt()
H A Dzdump.c790 result *= SECSPERMIN; in delta_nonneg()
/freebsd-14.2/lib/libc/stdtime/
H A Dstrftime.c543 diff /= SECSPERMIN; in _fmt()