/freebsd/contrib/netbsd-tests/lib/libutil/ |
H A D | t_parsedate.c | 105 ATF_CHECK_MSG(tm.tm_min == minute, in parsecheck() 107 argstr, minute, (int)tm.tm_min); in parsecheck() 217 .tm_hour = 13, .tm_min = 21, .tm_sec = 53, in ATF_TC_BODY() 287 tm.tm_sec = tm.tm_min = tm.tm_hour = 0; in ATF_TC_BODY() 293 tm.tm_sec = tm.tm_min = tm.tm_hour = 0; in ATF_TC_BODY() 301 tm.tm_sec = tm.tm_min = 0; in ATF_TC_BODY() 311 tm.tm_sec = tm.tm_min = 0; in ATF_TC_BODY() 317 tm.tm_min -= 5; in ATF_TC_BODY() 323 tm.tm_min += 37; in ATF_TC_BODY() 386 tm.tm_hour = tm.tm_min = tm.tm_sec = 0; in ATF_TC_BODY() [all …]
|
/freebsd/usr.sbin/makefs/cd9660/ |
H A D | cd9660_conversion.c | 157 gm.tm_min -= t.tm_min; in cd9660_compute_gm_offset() 163 return (char)(-(gm.tm_min + 60* (24 * gm.tm_yday + gm.tm_hour)) / 15); in cd9660_compute_gm_offset() 179 (int)t.tm_min, in cd9660_time_8426() 197 buf[4] = t.tm_min; in cd9660_time_915()
|
/freebsd/contrib/ntp/libntp/ |
H A D | mktime.c | 143 tmbuf.tm_min += DSTMINUTES; in mkdst() 144 normalize(&tmbuf.tm_hour, &tmbuf.tm_min, MINSPERHOUR); in mkdst() 175 (result = (atmp->tm_min - btmp->tm_min)) == 0) in tmcomp() 198 normalize(&yourtm.tm_min, &yourtm.tm_sec, SECSPERMIN); in time2() 199 normalize(&yourtm.tm_hour, &yourtm.tm_min, MINSPERHOUR); in time2()
|
H A D | humandate.c | 31 tm->tm_hour, tm->tm_min, tm->tm_sec); in humanlogtime() 56 tm->tm_hour, tm->tm_min, tm->tm_sec); in humantime()
|
H A D | uglydate.c | 37 tm->tm_min = 0; in uglydate() 46 tm->tm_yday, tm->tm_hour, tm->tm_min, tm->tm_sec, in uglydate()
|
/freebsd/crypto/heimdal/lib/asn1/ |
H A D | timegm.c | 75 if (tm->tm_min < 0 || tm->tm_min > 59) in _der_timegm() 89 res += tm->tm_min; in _der_timegm() 104 tm->tm_min = (secday % 3600) / 60; in _der_gmtime()
|
H A D | check-timegm.c | 50 tm.tm_min = 3; in test_timegm() 66 tm.tm_min != 3 || in test_timegm()
|
/freebsd/crypto/heimdal/lib/roken/ |
H A D | timegm.c | 67 if (tm->tm_min < 0 || tm->tm_min > 59) in rk_timegm() 81 res += tm->tm_min; in rk_timegm()
|
H A D | strftime.c | 206 tm->tm_min, in strftime() 267 "%02d", tm->tm_min); in strftime() 280 tm->tm_min, in strftime() 288 tm->tm_min); in strftime() 306 tm->tm_min, in strftime()
|
/freebsd/bin/date/ |
H A D | vary.c | 341 if (!adjhour(t, '+', (t->tm_min + val) / 60, 0)) in adjmin() 344 t->tm_min += val; in adjmin() 345 if (t->tm_min > 59) in adjmin() 346 t->tm_min -= 60; in adjmin() 355 if (val > t->tm_min) { in adjmin() 360 t->tm_min -= val; in adjmin() 367 t->tm_min = val; in adjmin()
|
/freebsd/usr.sbin/efiwake/ |
H A D | efiwake.c | 73 &waketime.waketime.tm_min, in main() 102 now.tm_year, now.tm_mon, now.tm_mday, now.tm_hour, now.tm_min, in main() 135 waketime.waketime.tm_min, waketime.waketime.tm_sec, in main()
|
/freebsd/usr.bin/rup/ |
H A D | rup.c | 139 host_uptime.tm_hour, host_uptime.tm_min); in rstat_reply() 141 if (host_uptime.tm_min != 0) in rstat_reply() 142 sprintf(hours_buf, "%2d mins, ", host_uptime.tm_min); in rstat_reply() 150 host_time.tm_min, in rstat_reply()
|
/freebsd/contrib/netbsd-tests/lib/libc/time/ |
H A D | t_mktime.c | 53 if (t->tm_sec != tt.tm_sec || t->tm_min != tt.tm_min || in ATF_TC_BODY() 117 tms.tm_min = 59; in ATF_TC_BODY()
|
/freebsd/usr.sbin/newsyslog/ |
H A D | ptimes.c | 187 tm.tm_min = l % 100; in parse8601() 201 if (tm.tm_sec < 0 || tm.tm_sec > 60 || tm.tm_min < 0 in parse8601() 202 || tm.tm_min > 59 || tm.tm_hour < 0 || tm.tm_hour > 23) in parse8601() 401 ptime->tm.tm_hour = ptime->tm.tm_min = ptime->tm.tm_sec = 0; in ptime_relparse() 438 ptime->tm.tm_min, dpm); in ptime_relparse() 448 ptime->tm.tm_min); in ptime_relparse() 548 tm.tm_hour, tm.tm_min, tm.tm_sec, in ptimeget_ctime_rfc5424()
|
/freebsd/crypto/openssl/crypto/asn1/ |
H A D | a_time.c | 182 tmp.tm_min = n; in ossl_asn1_time_to_tm() 301 ts->tm_mday, ts->tm_hour, ts->tm_min, in ossl_asn1_time_from_tm() 306 ts->tm_mday, ts->tm_hour, ts->tm_min, in ossl_asn1_time_from_tm() 523 stm.tm_min, stm.tm_sec, f_len, f, in ossl_asn1_time_print_ex() 529 stm.tm_min, stm.tm_sec, f_len, f, stm.tm_year + 1900, in ossl_asn1_time_print_ex() 537 stm.tm_min, stm.tm_sec, in ossl_asn1_time_print_ex() 543 stm.tm_min, stm.tm_sec, stm.tm_year + 1900, in ossl_asn1_time_print_ex()
|
/freebsd/usr.bin/finger/ |
H A D | sprint.c | 168 if (!delta->tm_min) in stimeprint() 171 (void)printf("%5d", delta->tm_min); in stimeprint() 174 delta->tm_hour, delta->tm_min); in stimeprint()
|
/freebsd/crypto/openssh/openbsd-compat/ |
H A D | bsd-timegm.c | 61 tm->tm_min > 60 || in timegm() 77 res += tm->tm_min; in timegm()
|
/freebsd/usr.bin/calendar/ |
H A D | pom.c | 112 tmd_today.tm_min = 59; in fpom() 119 tmd_tomorrow.tm_min = 0; in fpom() 128 (GMT.tm_min / FSECSPERMINUTE) + (GMT.tm_sec / FSECSPERHOUR)) / in fpom() 138 (GMT.tm_min / FSECSPERMINUTE) + (GMT.tm_sec / FSECSPERHOUR)) / in fpom()
|
/freebsd/crypto/openssl/test/ |
H A D | gmdifftest.c | 40 || !TEST_int_eq(tm1.tm_min, tm2.tm_min) in check_time()
|
/freebsd/usr.bin/pom/ |
H A D | pom.c | 122 tmd.tm_min = 0; in main() 128 tmd.tm_min = strtol(otime + 3, NULL, 10); in main() 137 (GMT.tm_min / 60.0) + (GMT.tm_sec / 3600.0)) / 24.0); in main()
|
/freebsd/contrib/llvm-project/libcxx/include/__chrono/ |
H A D | convert_to_tm.h | 95 __result.tm_min = __sec / 60; in __convert_to_tm() 131 __result.tm_min = __sec.count() / 60; in __convert_to_tm() 138 __result.tm_min = __sec / 60; in __convert_to_tm() 170 __result.tm_min = __value.minutes().count(); in __convert_to_tm()
|
/freebsd/contrib/sendmail/src/ |
H A D | arpadate.c | 128 off = (lt->tm_hour - gmt.tm_hour) * 60 + lt->tm_min - gmt.tm_min;
|
/freebsd/usr.bin/leave/ |
H A D | leave.c | 111 (hours == t_12_hour && minutes <= t->tm_min)) in main() 116 secs += (minutes - t->tm_min) * 60; in main()
|
/freebsd/lib/libutil/ |
H A D | login_times.c | 115 u_short now = (u_short)((tt->tm_hour * 60) + tt->tm_min); in in_ltm() 124 tt->tm_min = (int)(ltm->lt_end % 60); in in_ltm()
|
/freebsd/sys/dev/efidev/ |
H A D | efirtc.c | 140 ct.min = tm.tm_min; in efirtc_gettime() 171 tm.tm_min = ct.min; in efirtc_settime()
|