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

12345678

/freebsd-11-stable/sys/i386/ibcs2/
H A Dibcs2_time.h42 int tm_hour; member in struct:ibcs2_tm
/freebsd-11-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-11-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-11-stable/contrib/tcpdump/
H A Dgmt2local.c52 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
/freebsd-11-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-11-stable/gnu/usr.bin/rcs/lib/
H A Dmaketime.c125 + (a->tm_hour - b->tm_hour)
151 if ((t->tm_hour -= (59-t->tm_min)/60) < 0) {
152 t->tm_hour += 24;
168 if (24 <= (t->tm_hour += t->tm_min/60)) {
169 t->tm_hour -= 24;
239 | (tm->tm_hour ^ gtm->tm_hour)
296 if (!TM_DEFINED(tm.tm_hour)) tm.tm_hour
[all...]
H A Dpartime.c210 t->tm.tm_sec = t->tm.tm_min = t->tm.tm_hour = t->tm.tm_mday = t->tm.tm_mon
484 if (t->tm.tm_hour == 12)
485 t->tm.tm_hour = 0;
489 if (t->tm.tm_hour != 12)
490 t->tm.tm_hour += 12;
521 s = parse_decimal (s, 2, 0, 23, 60*60, &t->tm.tm_hour, &frac);
573 ) + 1, 1, 12, &t->tm.tm_hour);
649 conflict (t->tm.tm_hour, u->tm.tm_hour) ||
667 merge_ (t->tm.tm_hour,
[all...]
/freebsd-11-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;
158 days = ((days * 24 + xt->tm_hour) * 60 + xt->tm_min) * 60 + xt->tm_sec;
189 (*ostime)->tm_hour = aprtime->tm_hour;
220 aprtime->tm_hour = (*ostime)->tm_hour;
261 tmpdate.tm_hour = os2time.hours;
281 os2time->hours = lt->tm_hour;
/freebsd-11-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-11-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-11-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-11-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-11-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-11-stable/contrib/netbsd-tests/lib/libc/time/
H A Dt_mktime.c54 t->tm_hour != tt.tm_hour || t->tm_mday != tt.tm_mday)
115 tms.tm_hour = 23;
/freebsd-11-stable/usr.bin/leave/
H A Dleave.c117 if (t->tm_hour > 11)
118 t_12_hour = t->tm_hour - 12;
120 t_12_hour = t->tm_hour;
/freebsd-11-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-11-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-11-stable/crypto/openssl/crypto/
H A Do_time.c253 result->tm_hour = time_values.hour;
312 tm->tm_hour = time_sec / 3600;
363 offset_hms += tm->tm_hour * 3600 + tm->tm_min * 60 + tm->tm_sec;
456 (tm1.tm_hour != tm2.tm_hour) ||
461 tm2.tm_hour, tm2.tm_min, tm2.tm_sec);
464 tm1.tm_hour, tm1.tm_min, tm1.tm_sec);
/freebsd-11-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;

Completed in 153 milliseconds

12345678