/freebsd-current/crypto/heimdal/lib/roken/ |
H A D | timegm.c | 65 if (tm->tm_hour < 0 || tm->tm_hour > 23) 79 res += tm->tm_hour;
|
H A D | strftime.c | 205 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 D | strptime.c | 305 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 D | humandate.c | 31 tm->tm_hour, tm->tm_min, tm->tm_sec); 56 tm->tm_hour, tm->tm_min, tm->tm_sec);
|
H A D | uglydate.c | 36 tm->tm_hour = 0; 46 tm->tm_yday, tm->tm_hour, tm->tm_min, tm->tm_sec,
|
H A D | mktime.c | 144 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 D | check-timegm.c | 49 tm.tm_hour = 10; 65 tm.tm_hour != 10 ||
|
H A D | timegm.c | 73 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 D | bsd-timegm.c | 63 tm->tm_hour > 24) { 75 res += tm->tm_hour;
|
H A D | strptime.c | 238 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 D | efiwake.c | 72 &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 D | timebox.c | 25 hh = localtm->tm_hour;
|
/freebsd-current/crypto/openssl/test/ |
H A D | gmdifftest.c | 39 || !TEST_int_eq(tm1.tm_hour, tm2.tm_hour)
|
/freebsd-current/contrib/unbound/compat/ |
H A D | strptime.c | 189 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 D | rup.c | 137 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 D | cd9660_conversion.c | 156 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 D | t_mktime.c | 54 t->tm_hour != tt.tm_hour || t->tm_mday != tt.tm_mday) 116 tms.tm_hour = 23;
|
/freebsd-current/usr.bin/leave/ |
H A D | leave.c | 105 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 D | convert_to_tm.h | 89 __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 D | grdc.c | 159 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 D | t_parsedate.c | 101 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 D | parsetime.c | 305 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 D | strftime.c | 248 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 D | pom.c | 121 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 D | vary.c | 298 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;
|