Home
last modified time | relevance | path

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

/freebsd/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/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/contrib/ntp/include/
H A Dntp_calendar.h87 #define SECSPERMIN (60) /* seconds per minute */ macro
93 #define SECSPERHR (SECSPERMIN * MINSPERHR)
/freebsd/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/contrib/tzcode/
H A Dlocaltime.c1435 *secsp += num * SECSPERMIN; in getsecs()
1439 strp = getnum(strp, &num, 0, SECSPERMIN); in getsecs()
2355 time_t secs_since_posleap = SECSPERMIN; in timesub()
2437 tmp->tm_min = rem / SECSPERMIN; in timesub()
2438 tmp->tm_sec = rem % SECSPERMIN; in timesub()
2621 min += yourtm.tm_sec / SECSPERMIN; in time2sub()
2622 yourtm.tm_sec %= SECSPERMIN; in time2sub()
2624 yourtm.tm_sec += SECSPERMIN; in time2sub()
2689 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN) in time2sub()
2701 saved_seconds -= SECSPERMIN - 1; in time2sub()
[all …]
H A Dprivate.h1098 SECSPERMIN = 60, enumerator
1100 SECSPERHOUR = SECSPERMIN * MINSPERHOUR,
H A Dzic.c2109 ss < 0 || ss > SECSPERMIN) { in gethms()
2118 sign * (mm * SECSPERMIN + ss)); in gethms()
3103 seconds = offset % SECSPERMIN; in abbroffset()
3104 offset /= SECSPERMIN; in abbroffset()
3190 seconds = offset % SECSPERMIN; in stringoffset()
3191 offset /= SECSPERMIN; in stringoffset()
3260 if (tod != 2 * SECSPERMIN * MINSPERHOUR) { in stringrule()
3389 if (dstrp->r_save != SECSPERMIN * MINSPERHOUR) { in stringzone()
H A Dstrftime.c639 diff /= SECSPERMIN; in _fmt()
H A Dzdump.c776 result *= SECSPERMIN; in delta_nonneg()
/freebsd/lib/libc/stdtime/
H A Dstrftime.c532 diff /= SECSPERMIN; in _fmt()