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

1234567

/freebsd-9.3-release/sys/i386/ibcs2/
H A Dibcs2_time.h42 int tm_hour; member in struct:ibcs2_tm
/freebsd-9.3-release/crypto/heimdal/lib/asn1/
H A Dtimegm.c66 if (tm->tm_hour < 0 || tm->tm_hour > 23)
80 res += tm->tm_hour;
H A Dcheck-timegm.c49 tm.tm_hour = 10;
/freebsd-9.3-release/crypto/heimdal/lib/roken/
H A Dtimegm.c68 if (tm->tm_hour < 0 || tm->tm_hour > 23)
82 res += tm->tm_hour;
H A Dstrftime.c209 tm->tm_hour,
245 "%02d", tm->tm_hour);
250 hour_24to12 (tm->tm_hour));
258 "%2d", tm->tm_hour);
263 hour_24to12 (tm->tm_hour));
278 hour_to_ampm (tm->tm_hour));
283 hour_24to12 (tm->tm_hour),
286 hour_to_ampm (tm->tm_hour));
291 tm->tm_hour,
309 tm->tm_hour,
[all...]
H A Dstrptime.c309 timeptr->tm_hour = ret;
316 timeptr->tm_hour = 0;
318 timeptr->tm_hour = ret;
347 if (timeptr->tm_hour == 0) {
349 timeptr->tm_hour = 12;
351 timeptr->tm_hour += 12;
/freebsd-9.3-release/contrib/tcpdump/
H A Dgmt2local.c57 dt = (loc->tm_hour - gmt->tm_hour) * 60 * 60 +
/freebsd-9.3-release/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-9.3-release/contrib/ntp/tests/libntp/
H A Dhumandate.c32 snprintf(expected, 15, "%02d:%02d:%02d", tm->tm_hour, tm->tm_min, tm->tm_sec);
51 snprintf(expected, 15, "%02d:%02d:%02d", tm->tm_hour, tm->tm_min, tm->tm_sec);
/freebsd-9.3-release/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...]
H A Drcstime.c57 tm->tm_hour, tm->tm_min, tm->tm_sec
150 t.tm_hour = atoi(p+6);
176 z->tm_mon + 1, z->tm_mday, z->tm_hour, z->tm_min, z->tm_sec,
/freebsd-9.3-release/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-9.3-release/contrib/bind9/lib/isc/
H A Dtm.c134 (3600 * tm->tm_hour) +
310 if (!(conv_num(&bp, &tm->tm_hour, 0, 23)))
319 if (!(conv_num(&bp, &tm->tm_hour, 1, 12)))
321 if (tm->tm_hour == 12)
322 tm->tm_hour = 0;
349 if (tm->tm_hour > 11)
357 if (tm->tm_hour > 11)
360 tm->tm_hour += 12;
/freebsd-9.3-release/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-9.3-release/usr.sbin/makefs/cd9660/
H A Dcd9660_conversion.c156 gm.tm_hour -= t.tm_hour;
163 return (char)(-(gm.tm_min + 60* (24 * gm.tm_yday + gm.tm_hour)) / 15);
178 (int)t.tm_hour,
196 buf[3] = t.tm_hour;
/freebsd-9.3-release/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-9.3-release/games/grdc/
H A Dgrdc.c153 if (tm->tm_hour > 12) {
154 tm->tm_hour -= 12;
157 if (tm->tm_hour == 0)
158 tm->tm_hour = 12;
164 set(tm->tm_hour%10, 20);
165 set(tm->tm_hour/10, 24);
/freebsd-9.3-release/usr.bin/at/
H A Dparsetime.c310 tm->tm_hour += delay;
382 if ((sc_tokid == EOF || sc_tokid == PLUS) && tm->tm_hour > hour) {
387 tm->tm_hour = hour;
389 if (tm->tm_hour == 24) {
390 tm->tm_hour = 0;
608 if (runtime.tm_hour >= hr) {
612 runtime.tm_hour = hr;
/freebsd-9.3-release/usr.bin/rup/
H A Drup.c150 if (host_uptime.tm_hour != 0)
152 host_uptime.tm_hour, host_uptime.tm_min);
162 (host_time.tm_hour % 12) ? host_time.tm_hour % 12 : 12,
164 (host_time.tm_hour >= 12) ? 'p' : 'a',
/freebsd-9.3-release/contrib/bind9/lib/dns/
H A Dtime.c79 tm.tm_hour = 0;
82 tm.tm_hour++;
93 tm.tm_hour, tm.tm_min, tm.tm_sec);
/freebsd-9.3-release/games/pom/
H A Dpom.c123 tmd.tm_hour = 0;
128 tmd.tm_hour = strtol(otime, NULL, 10);
136 days = (GMT.tm_yday + 1) + ((GMT.tm_hour +
/freebsd-9.3-release/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;

Completed in 155 milliseconds

1234567