Home
last modified time | relevance | path

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

/openbsd/src/lib/libc/time/
Dtzfile.h120 #define SECSPERMIN 60 macro
126 #define SECSPERHOUR (SECSPERMIN * MINSPERHOUR)
Dlocaltime.c681 *secsp += num * SECSPERMIN; in getsecs()
685 strp = getnum(strp, &num, 0, SECSPERMIN); in getsecs()
1517 tmp->tm_min = (int) (rem / SECSPERMIN); in timesub()
1522 tmp->tm_sec = (int) (rem % SECSPERMIN) + hit; in timesub()
1655 SECSPERMIN)) in time2sub()
1699 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN) in time2sub()
1710 if (increment_overflow(&yourtm.tm_sec, 1 - SECSPERMIN)) in time2sub()
1713 yourtm.tm_sec = SECSPERMIN - 1; in time2sub()
Dstrptime.c502 offs += (*bp++ - '0') * 10 * SECSPERMIN; in _strptime()
505 offs += (*bp++ - '0') * SECSPERMIN; in _strptime()
Dstrftime.c470 diff /= SECSPERMIN; in _fmt()
Dwcsftime.c467 diff /= SECSPERMIN; in _fmt()
/openbsd/src/usr.bin/lastcomm/
Dlastcomm.c55 #define SECSPERMIN (60) macro
136 fmod(delta, (double)SECSPERHOUR) / SECSPERMIN, in main()
137 fmod(delta, (double)SECSPERMIN)); in main()
/openbsd/src/usr.sbin/zdump/
Dzdump.c28 #define SECSPERMIN 60 macro
30 #define SECSPERHOUR (SECSPERMIN * MINSPERHOUR)
347 result *= SECSPERMIN; in delta()
/openbsd/src/usr.sbin/zic/
Dzic.c866 ss < 0 || ss > SECSPERMIN) { in gethms()
875 eitol(sign) * (eitol(mm) * eitol(SECSPERMIN) + eitol(ss))); in gethms()
1663 seconds = offset % SECSPERMIN; in abbroffset()
1664 offset /= SECSPERMIN; in abbroffset()
1747 seconds = offset % SECSPERMIN; in stringoffset()
1748 offset /= SECSPERMIN; in stringoffset()
1816 if (tod != 2 * SECSPERMIN * MINSPERHOUR) { in stringrule()
1888 if (dstrp->r_stdoff != SECSPERMIN * MINSPERHOUR) { in stringzone()