Searched refs:SECSPERMIN (Results 1 - 12 of 12) sorted by relevance

/freebsd-11-stable/contrib/tzcode/stdtime/
H A Dtzfile.h132 #define SECSPERMIN 60 macro
138 #define SECSPERHOUR (SECSPERMIN * MINSPERHOUR)
H A Dlocaltime.c784 *secsp += num * SECSPERMIN;
787 /* `SECSPERMIN' allows for leap seconds. */
788 strp = getnum(strp, &num, 0, SECSPERMIN);
1714 tmp->tm_min = (int) (rem / SECSPERMIN);
1719 tmp->tm_sec = (int) (rem % SECSPERMIN) + hit;
1855 SECSPERMIN))
1902 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN)
1913 if (increment_overflow(&yourtm.tm_sec, 1 - SECSPERMIN))
1916 yourtm.tm_sec = SECSPERMIN - 1;
/freebsd-11-stable/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-11-stable/contrib/ntp/libntp/
H A Dcaltontp.c50 REQUIRE(jt->second <= SECSPERMIN);
H A Dmktime.c79 #define SECSPERMIN 60 macro
85 #define SECSPERHOUR (SECSPERMIN * MINSPERHOUR)
197 if (yourtm.tm_sec >= SECSPERMIN + 2 || yourtm.tm_sec < 0)
198 normalize(&yourtm.tm_min, &yourtm.tm_sec, SECSPERMIN);
H A Dclocktime.c72 SECSPERMIN * ((int32)minute +
H A Dntp_calendar.c848 um = (sf32 ^ us) / SECSPERMIN;
858 split[2] = (int32_t)(us - um * SECSPERMIN);
1461 res = (hours * MINSPERHR + minutes) * SECSPERMIN + seconds;
/freebsd-11-stable/contrib/ntp/include/
H A Dntp_calendar.h87 #define SECSPERMIN (60) /* seconds per minute */ macro
93 #define SECSPERHR (SECSPERMIN * MINSPERHR)
/freebsd-11-stable/contrib/tzcode/zic/
H A Dzdump.c59 #ifndef SECSPERMIN
60 #define SECSPERMIN 60 macro
61 #endif /* !defined SECSPERMIN */
68 #define SECSPERHOUR (SECSPERMIN * MINSPERHOUR)
538 result *= SECSPERMIN;
H A Dzic.c917 ss < 0 || ss > SECSPERMIN) {
931 eitol(sign) * (eitol(mm) * eitol(SECSPERMIN) + eitol(ss)));
1815 seconds = offset % SECSPERMIN;
1816 offset /= SECSPERMIN;
1880 if (tod != 2 * SECSPERMIN * MINSPERHOUR) {
1953 if (dstrp->r_stdoff != SECSPERMIN * MINSPERHOUR)
/freebsd-11-stable/contrib/ntp/ntpd/
H A Drefclock_tsyncpci.c827 pSt->seconds += pDt->minute * SECSPERMIN;
897 mins = (unsigned int)(secs / SECSPERMIN);
898 secs %= SECSPERMIN;
/freebsd-11-stable/lib/libc/stdtime/
H A Dstrftime.c545 diff /= SECSPERMIN;

Completed in 210 milliseconds