Searched refs:tm_hour (Results 1 - 25 of 173) sorted by relevance

1234567

/freebsd-13-stable/crypto/heimdal/lib/roken/
H A Dtimegm.c65 if (tm->tm_hour < 0 || tm->tm_hour > 23)
79 res += tm->tm_hour;
H A Dstrftime.c205 tm->tm_hour,
241 "%02d", tm->tm_hour);
246 hour_24to12 (tm->tm_hour));
254 "%2d", tm->tm_hour);
259 hour_24to12 (tm->tm_hour));
274 hour_to_ampm (tm->tm_hour));
279 hour_24to12 (tm->tm_hour),
282 hour_to_ampm (tm->tm_hour));
287 tm->tm_hour,
305 tm->tm_hour,
[all...]
H A Dstrptime.c305 timeptr->tm_hour = ret;
312 timeptr->tm_hour = 0;
314 timeptr->tm_hour = ret;
343 if (timeptr->tm_hour == 0) {
345 timeptr->tm_hour = 12;
347 timeptr->tm_hour += 12;
/freebsd-13-stable/contrib/tcpdump/
H A Dgmt2local.c52 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
/freebsd-13-stable/contrib/ntp/libntp/
H A Dhumandate.c32 tm->tm_hour, tm->tm_min, tm->tm_sec);
57 tm->tm_hour, tm->tm_min, tm->tm_sec);
H A Duglydate.c37 tm->tm_hour = 0;
47 tm->tm_yday, tm->tm_hour, tm->tm_min, tm->tm_sec,
H A Dmktime.c144 normalize(&tmbuf.tm_hour, &tmbuf.tm_min, MINSPERHOUR);
174 if ((result = (atmp->tm_hour - btmp->tm_hour)) == 0 &&
199 normalize(&yourtm.tm_hour, &yourtm.tm_min, MINSPERHOUR);
200 normalize(&yourtm.tm_mday, &yourtm.tm_hour, HOURSPERDAY);
/freebsd-13-stable/crypto/heimdal/lib/asn1/
H A Dcheck-timegm.c49 tm.tm_hour = 10;
65 tm.tm_hour != 10 ||
H A Dtimegm.c73 if (tm->tm_hour < 0 || tm->tm_hour > 23)
87 res += tm->tm_hour;
105 tm->tm_hour = secday / 3600;
/freebsd-13-stable/contrib/apr/time/unix/
H A Dtimestr.c74 *date_str++ = xt.tm_hour / 10 + '0';
75 *date_str++ = xt.tm_hour % 10 + '0';
113 *date_str++ = xt.tm_hour / 10 + '0';
114 *date_str++ = xt.tm_hour % 10 + '0';
139 tm.tm_hour = xt->tm_hour;
H A Dtime.c102 xt->tm_hour = tm.tm_hour;
155 days = ((days * 24 + xt->tm_hour) * 60 + xt->tm_min) * 60 + xt->tm_sec;
186 (*ostime)->tm_hour = aprtime->tm_hour;
217 aprtime->tm_hour = (*ostime)->tm_hour;
258 tmpdate.tm_hour = os2time.hours;
278 os2time->hours = lt->tm_hour;
/freebsd-13-stable/sys/contrib/octeon-sdk/
H A Dcvmx-cn3010-evb-hs5.c90 TM_CHECK(tms->tm_hour < 0 || tms->tm_hour > 23, "hour");
130 tms.tm_hour = bcd2bin(reg[2] & 0x3f);
133 tms.tm_hour = (tms.tm_hour + 12) % 24;
172 reg[2] = bin2bcd(tms.tm_hour); /* Force 0..23 format even if using AM/PM */
/freebsd-13-stable/crypto/openssh/openbsd-compat/
H A Dstrptime.c238 if (!(_conv_num(&bp, &tm->tm_hour, 0, 23)))
247 if (!(_conv_num(&bp, &tm->tm_hour, 1, 12)))
277 if (tm->tm_hour > 12) /* i.e., 13:00 AM ?! */
279 else if (tm->tm_hour == 12)
280 tm->tm_hour = 0;
288 if (tm->tm_hour > 12) /* i.e., 13:00 PM ?! */
290 else if (tm->tm_hour < 12)
291 tm->tm_hour += 12;
/freebsd-13-stable/contrib/unbound/compat/
H A Dstrptime.c189 tm->tm_hour = ret;
198 tm->tm_hour = ret;
232 if (tm->tm_hour < 0 || tm->tm_hour > 11) { /* %I */
237 tm->tm_hour += 12;
/freebsd-13-stable/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c158 gm.tm_hour -= t.tm_hour;
165 return (char)(-(gm.tm_min + 60* (24 * gm.tm_yday + gm.tm_hour)) / 15);
180 (int)t.tm_hour,
198 buf[3] = t.tm_hour;
/freebsd-13-stable/usr.bin/rup/
H A Drup.c140 if (host_uptime.tm_hour != 0)
142 host_uptime.tm_hour, host_uptime.tm_min);
152 (host_time.tm_hour % 12) ? host_time.tm_hour % 12 : 12,
154 (host_time.tm_hour >= 12) ? 'p' : 'a',
/freebsd-13-stable/usr.bin/grdc/
H A Dgrdc.c153 if (tm->tm_hour < 12) {
154 if (tm->tm_hour == 0)
155 tm->tm_hour = 12;
158 if (tm->tm_hour > 12)
159 tm->tm_hour -= 12;
164 set(tm->tm_hour%10, 20);
165 set(tm->tm_hour/10, 24);
/freebsd-13-stable/contrib/netbsd-tests/lib/libc/time/
H A Dt_mktime.c54 t->tm_hour != tt.tm_hour || t->tm_mday != tt.tm_mday)
118 tms.tm_hour = 23;
/freebsd-13-stable/usr.bin/leave/
H A Dleave.c119 if (t->tm_hour > 11)
120 t_12_hour = t->tm_hour - 12;
122 t_12_hour = t->tm_hour;
/freebsd-13-stable/contrib/subversion/subversion/libsvn_subr/
H A Dtime.c116 exploded_time.tm_hour,
153 exploded_time.tm_hour = (apr_int32_t) svn__strtoul(c, &c);
185 &exploded_time.tm_hour,
235 exploded_time.tm_hour,
/freebsd-13-stable/contrib/netbsd-tests/lib/libutil/
H A Dt_parsedate.c101 ATF_CHECK_MSG(tm.tm_hour == hour,
103 argstr, hour, (int)tm.tm_hour);
217 .tm_hour = 13, .tm_min = 21, .tm_sec = 53,
287 tm.tm_sec = tm.tm_min = tm.tm_hour = 0;
293 tm.tm_sec = tm.tm_min = tm.tm_hour = 0;
302 tm.tm_hour = 16;
312 tm.tm_hour = 3;
322 tm.tm_hour++;
386 tm.tm_hour = tm.tm_min = tm.tm_sec = 0;
392 tm.tm_hour
[all...]
/freebsd-13-stable/usr.bin/at/
H A Dparsetime.c307 tm->tm_hour += delay;
412 tm->tm_hour > hour) {
417 tm->tm_hour = hour;
419 if (tm->tm_hour == 24) {
420 tm->tm_hour = 0;
650 if (runtime.tm_hour >= hr) {
654 runtime.tm_hour = hr;
/freebsd-13-stable/usr.bin/pom/
H A Dpom.c135 tmd.tm_hour = 0;
141 tmd.tm_hour = strtol(otime, NULL, 10);
150 days = (GMT.tm_yday + 1) + ((GMT.tm_hour +
/freebsd-13-stable/bin/date/
H A Dvary.c299 days = (t->tm_hour + val) / 24;
301 t->tm_hour += val;
302 t->tm_hour %= 24;
314 if (val > t->tm_hour) {
318 t->tm_hour -= val;
327 t->tm_hour = val;
/freebsd-13-stable/contrib/sendmail/src/
H A Darpadate.c128 off = (lt->tm_hour - gmt.tm_hour) * 60 + lt->tm_min - gmt.tm_min;

Completed in 283 milliseconds

1234567