Home
last modified time | relevance | path

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

/netbsd/src/external/bsd/ntp/dist/libntp/
Dmktime.c81 #define SECSPERMIN 60 macro
87 #define SECSPERHOUR (SECSPERMIN * MINSPERHOUR)
199 if (yourtm.tm_sec >= SECSPERMIN + 2 || yourtm.tm_sec < 0) in time2()
200 normalize(&yourtm.tm_min, &yourtm.tm_sec, SECSPERMIN); in time2()
Dcaltontp.c55 || (jt->second > SECSPERMIN)) in caltontp()
Dclocktime.c74 SECSPERMIN * ((int32)minute + in clocktime()
Dntp_calendar.c849 um = (sf32 ^ us) / SECSPERMIN; in priv_timesplit()
859 split[2] = (int32_t)(us - um * SECSPERMIN); in priv_timesplit()
1462 res = (hours * MINSPERHR + minutes) * SECSPERMIN + seconds; in ntpcal_etime_to_seconds()
/netbsd/src/usr.bin/w/
Dpr_time.c108 (int)((idle % SECSPERHOUR) / SECSPERMIN)); in pr_idle()
112 (void)printf(" %2d ", (int)(idle / SECSPERMIN)); in pr_idle()
Dw.c488 if (uptime > SECSPERMIN) { in pr_header()
493 mins = uptime / SECSPERMIN; in pr_header()
/netbsd/src/include/
Dtzfile.h126 #define SECSPERMIN 60 macro
132 #define SECSPERHOUR (SECSPERMIN * MINSPERHOUR)
/netbsd/src/usr.bin/lastcomm/
Dlastcomm.c149 floor(fmod(delta, SECSPERHOUR) / SECSPERMIN), in main()
150 fmod(delta, SECSPERMIN)); in main()
/netbsd/src/external/bsd/ntp/dist/include/
Dntp_calendar.h89 #define SECSPERMIN (60) /* seconds per minute */ macro
95 #define SECSPERHR (SECSPERMIN * MINSPERHR)
/netbsd/src/bin/ps/
Dprint.c882 mins = secs / SECSPERMIN; in elapsed()
883 secs %= SECSPERMIN; in elapsed()
1028 secs = SECSPERMIN; in cputime1()
1033 fmtlen = iwidth(secs / SECSPERMIN) + 6; in cputime1()
1039 (long)(secs / SECSPERMIN), (long)(secs % SECSPERMIN), in cputime1()
1489 m = secs / SECSPERMIN; in putimeval()
1490 secs -= m * SECSPERMIN; in putimeval()
/netbsd/src/usr.bin/ruptime/
Druptime.c198 minutes = (tval + (SECSPERMIN - 1)) / SECSPERMIN; in interval()
/netbsd/src/lib/libc/time/
Dlocaltime.c1064 *secsp += num * SECSPERMIN; in getsecs()
1068 strp = getnum(strp, &num, 0, SECSPERMIN); in getsecs()
1940 __time_t secs_since_posleap = SECSPERMIN; in timesub()
2022 tmp->tm_min = (int)(rem / SECSPERMIN); in timesub()
2023 tmp->tm_sec = (int)(rem % SECSPERMIN); in timesub()
2175 min += yourtm.tm_sec / SECSPERMIN; in time2sub()
2176 yourtm.tm_sec %= SECSPERMIN; in time2sub()
2178 yourtm.tm_sec += SECSPERMIN; in time2sub()
2242 if (yourtm.tm_sec >= 0 && yourtm.tm_sec < SECSPERMIN) in time2sub()
2254 saved_seconds -= SECSPERMIN - 1; in time2sub()
[all …]
Dprivate.h1047 #ifndef SECSPERMIN
1049 SECSPERMIN = 60, enumerator
1051 SECSPERHOUR = SECSPERMIN * MINSPERHOUR,
Dstrptime.c627 if (i >= SECSPERMIN) in strptime_l()
630 offs = offs * SECSPERHOUR + i * SECSPERMIN; in strptime_l()
Dzic.c1850 ss < 0 || ss > SECSPERMIN) { in gethms()
1863 sign * (mm * SECSPERMIN + ss)); in gethms()
2841 seconds = offset % SECSPERMIN; in abbroffset()
2842 offset /= SECSPERMIN; in abbroffset()
2929 seconds = offset % SECSPERMIN; in stringoffset()
2930 offset /= SECSPERMIN; in stringoffset()
3001 if (tod != 2 * SECSPERMIN * MINSPERHOUR) { in stringrule()
3133 if (dstrp->r_save != SECSPERMIN * MINSPERHOUR) { in stringzone()
Dstrftime.c742 diff /= SECSPERMIN; in _fmt()
Dzdump.c777 result *= SECSPERMIN;
/netbsd/src/external/bsd/ntp/dist/ntpd/
Drefclock_tsyncpci.c829 pSt->seconds += pDt->minute * SECSPERMIN; in SecTimeFromDoyTime()
899 mins = (unsigned int)(secs / SECSPERMIN); in DoyTimeFromSecTime()
900 secs %= SECSPERMIN; in DoyTimeFromSecTime()
/netbsd/src/usr.bin/find/
Dfunction.c231 SECSPERMIN - 1) / SECSPERMIN, plan->t_data); in f_amin()
344 SECSPERMIN - 1) / SECSPERMIN, plan->t_data); in f_cmin()
1325 COMPARE((now - entry->fts_statp->st_mtime + SECSPERMIN - 1) / in f_mmin()
1326 SECSPERMIN, plan->t_data); in f_mmin()
/netbsd/src/usr.bin/script/
Dscript.c278 value.it_interval.tv_sec = SECSPERMIN / 2; in dooutput()
/netbsd/src/usr.bin/vacation/
Dvacation.c190 interval *= SECSPERMIN; in main()