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

1234567

/freebsd-current/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-current/contrib/ntp/libntp/
H A Dhumandate.c31 tm->tm_hour, tm->tm_min, tm->tm_sec);
56 tm->tm_hour, tm->tm_min, tm->tm_sec);
H A Duglydate.c36 tm->tm_hour = 0;
46 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-current/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-current/crypto/openssh/openbsd-compat/
H A Dbsd-timegm.c63 tm->tm_hour > 24) {
75 res += tm->tm_hour;
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-current/usr.sbin/efiwake/
H A Defiwake.c72 &waketime.waketime.tm_hour,
102 now.tm_year, now.tm_mon, now.tm_mday, now.tm_hour, now.tm_min,
134 waketime.waketime.tm_mday, waketime.waketime.tm_hour,
/freebsd-current/contrib/bsddialog/examples_library/
H A Dtimebox.c25 hh = localtm->tm_hour;
/freebsd-current/crypto/openssl/test/
H A Dgmdifftest.c39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour)
/freebsd-current/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-current/usr.bin/rup/
H A Drup.c137 if (host_uptime.tm_hour != 0)
139 host_uptime.tm_hour, host_uptime.tm_min);
149 (host_time.tm_hour % 12) ? host_time.tm_hour % 12 : 12,
151 (host_time.tm_hour >= 12) ? 'p' : 'a',
/freebsd-current/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-current/contrib/netbsd-tests/lib/libc/time/
H A Dt_mktime.c54 t->tm_hour != tt.tm_hour || t->tm_mday != tt.tm_mday)
116 tms.tm_hour = 23;
/freebsd-current/usr.bin/leave/
H A Dleave.c105 if (t->tm_hour > 11)
106 t_12_hour = t->tm_hour - 12;
108 t_12_hour = t->tm_hour;
/freebsd-current/contrib/llvm-project/libcxx/include/__chrono/
H A Dconvert_to_tm.h89 __result.tm_hour = __sec / 3600;
126 __result.tm_hour = __hour.count() % 24;
132 __result.tm_hour = __sec / 3600;
170 if constexpr (sizeof(std::chrono::hours::rep) > sizeof(__result.tm_hour))
171 if (__value.hours().count() > std::numeric_limits<decltype(__result.tm_hour)>::max())
173 __result.tm_hour = __value.hours().count();
/freebsd-current/usr.bin/grdc/
H A Dgrdc.c159 if (tm->tm_hour < 12) {
160 if (tm->tm_hour == 0)
161 tm->tm_hour = 12;
164 if (tm->tm_hour > 12)
165 tm->tm_hour -= 12;
169 hour = tm->tm_hour;
/freebsd-current/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-current/usr.bin/at/
H A Dparsetime.c305 tm->tm_hour += delay;
410 tm->tm_hour > hour) {
415 tm->tm_hour = hour;
417 if (tm->tm_hour == 24) {
418 tm->tm_hour = 0;
648 if (runtime.tm_hour >= hr) {
652 runtime.tm_hour = hr;
/freebsd-current/contrib/tzcode/
H A Dstrftime.c248 pt = _conv(t->tm_hour, "%02d", pt, ptlim);
251 pt = _conv((t->tm_hour % 12) ?
252 (t->tm_hour % 12) : 12,
261 ** _conv(t->tm_hour % 12 ?
262 ** t->tm_hour % 12 : 12, 2, ' ');
269 pt = _conv(t->tm_hour, "%2d", pt, ptlim);
282 ** _conv(t->tm_hour, 2, ' ');
289 pt = _conv((t->tm_hour % 12) ?
290 (t->tm_hour % 12) : 12,
303 pt = _add((t->tm_hour >
[all...]
/freebsd-current/usr.bin/pom/
H A Dpom.c121 tmd.tm_hour = 0;
127 tmd.tm_hour = strtol(otime, NULL, 10);
136 days = (GMT.tm_yday + 1) + ((GMT.tm_hour +
/freebsd-current/bin/date/
H A Dvary.c298 days = (t->tm_hour + val) / 24;
300 t->tm_hour += val;
301 t->tm_hour %= 24;
313 if (val > t->tm_hour) {
317 t->tm_hour -= val;
326 t->tm_hour = val;

Completed in 335 milliseconds

1234567