/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 990913-1.c | 4 unsigned char hrs, min; in f() local 7 hrs = ((hrs / 10) << 4) + hrs % 10; in f() 9 return hrs + min; in f()
|
/openbsd/usr.bin/w/ |
H A D | w.c | 428 int days, hrs, i, mins; in pr_header() local 447 hrs = uptime / SECSPERHOUR; in pr_header() 454 if (hrs > 0 && mins > 0) in pr_header() 455 (void)printf(" %2d:%02d,", hrs, mins); in pr_header() 457 if (hrs > 0) in pr_header() 459 hrs, hrs > 1 ? "s" : ""); in pr_header() 460 if (mins > 0 || (days == 0 && hrs == 0)) in pr_header()
|
/openbsd/usr.sbin/ripctl/ |
H A D | ripctl.c | 268 unsigned int sec, min, hrs, day; in fmt_timeframe_core() local 284 hrs = week % 24; in fmt_timeframe_core() 290 snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs); in fmt_timeframe_core() 292 snprintf(buf, TF_LEN, "%01ud%02uh%02um", day, hrs, min); in fmt_timeframe_core() 294 snprintf(buf, TF_LEN, "%02u:%02u:%02u", hrs, min, sec); in fmt_timeframe_core()
|
/openbsd/usr.sbin/ospfctl/ |
H A D | ospfctl.c | 379 unsigned int sec, min, hrs, day; in fmt_timeframe_core() local 395 hrs = week % 24; in fmt_timeframe_core() 401 snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs); in fmt_timeframe_core() 403 snprintf(buf, TF_LEN, "%01ud%02uh%02um", day, hrs, min); in fmt_timeframe_core() 405 snprintf(buf, TF_LEN, "%02u:%02u:%02u", hrs, min, sec); in fmt_timeframe_core()
|
/openbsd/usr.sbin/dvmrpctl/ |
H A D | dvmrpctl.c | 435 unsigned int sec, min, hrs, day; in fmt_timeframe_core() local 451 hrs = week % 24; in fmt_timeframe_core() 457 snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs); in fmt_timeframe_core() 459 snprintf(buf, TF_LEN, "%01ud%02uh%02um", day, hrs, min); in fmt_timeframe_core() 461 snprintf(buf, TF_LEN, "%02u:%02u:%02u", hrs, min, sec); in fmt_timeframe_core()
|
/openbsd/usr.sbin/ldpctl/ |
H A D | ldpctl.c | 297 unsigned int sec, min, hrs, day, week; in fmt_timeframe_core() local 312 hrs = week % 24; in fmt_timeframe_core() 318 snprintf(buf, TF_LEN, "%02uw%01ud%02uh", week, day, hrs); in fmt_timeframe_core() 320 snprintf(buf, TF_LEN, "%01ud%02uh%02um", day, hrs, min); in fmt_timeframe_core() 322 snprintf(buf, TF_LEN, "%02u:%02u:%02u", hrs, min, sec); in fmt_timeframe_core()
|
/openbsd/usr.sbin/eigrpctl/ |
H A D | eigrpctl.c | 407 unsigned int sec, min, hrs, day; in fmt_timeframe_core() local 423 hrs = week % 24; in fmt_timeframe_core() 429 snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs); in fmt_timeframe_core() 431 snprintf(buf, TF_LEN, "%01ud%02uh%02um", day, hrs, min); in fmt_timeframe_core() 433 snprintf(buf, TF_LEN, "%02u:%02u:%02u", hrs, min, sec); in fmt_timeframe_core()
|
/openbsd/usr.bin/top/ |
H A D | display.c | 219 unsigned int days, hrs, mins, secs; in format_uptime() local 227 hrs = uptime / 3600; in format_uptime() 232 days, hrs, mins, secs); in format_uptime()
|
/openbsd/usr.sbin/ospf6ctl/ |
H A D | ospf6ctl.c | 502 unsigned int sec, min, hrs, day, week; in fmt_timeframe_core() local 517 hrs = week % 24; in fmt_timeframe_core() 523 snprintf(buf, TF_LEN, "%02uw%01ud%02uh", week, day, hrs); in fmt_timeframe_core() 525 snprintf(buf, TF_LEN, "%01ud%02uh%02um", day, hrs, min); in fmt_timeframe_core() 527 snprintf(buf, TF_LEN, "%02u:%02u:%02u", hrs, min, sec); in fmt_timeframe_core()
|
/openbsd/usr.sbin/bgpctl/ |
H A D | bgpctl.c | 655 unsigned int sec, min, hrs, day; in fmt_timeframe() local 666 hrs = week % 24; in fmt_timeframe() 674 snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs); in fmt_timeframe() 676 snprintf(buf, TF_LEN, "%01ud%02uh%02um", day, hrs, min); in fmt_timeframe() 678 snprintf(buf, TF_LEN, "%02u:%02u:%02u", hrs, min, sec); in fmt_timeframe()
|
/openbsd/usr.bin/ssh/ |
H A D | misc.c | 620 unsigned int sec, min, hrs, day; in fmt_timeframe() local 633 hrs = week % 24; in fmt_timeframe() 639 snprintf(buf, TF_LEN, "%02lluw%01ud%02uh", week, day, hrs); in fmt_timeframe() 641 snprintf(buf, TF_LEN, "%01ud%02uh%02um", day, hrs, min); in fmt_timeframe() 643 snprintf(buf, TF_LEN, "%02u:%02u:%02u", hrs, min, sec); in fmt_timeframe()
|
/openbsd/sbin/pfctl/ |
H A D | pfctl_parser.c | 540 unsigned int sec, min, hrs; in print_status() local 547 hrs = day % 24; in print_status() 551 running, (long long)day, hrs, min, sec); in print_status()
|
/openbsd/share/zoneinfo/datfiles/ |
H A D | antarctica | 78 # hrs on Sunday 4 October 2020 and will mean Casey and Macquarie Island will
|
H A D | southamerica | 1543 # third Sunday of April at 0200hrs and advance to Summer Time (UTC/GMT -3 1544 # hours) on the first Sunday of September at 0200hrs.
|
H A D | northamerica | 2272 # of "spring ahead-fall behind" currently we are zulu plus 5 hrs and in 2273 # the winter Zulu plus 6 hrs"
|
H A D | australasia | 2124 # In 1943 "The standard time kept is 12 hrs. 19 min. 12 sec. fast
|
H A D | asia | 3837 # 0030 hrs on April 15, 2006 (midnight of April 14, 2006 +30 minutes)
|
/openbsd/lib/libcurses/ |
H A D | Caps | 609 set_clock sclk str SC - - ----- set clock, #1 hrs #2 mins #3 secs
|
/openbsd/games/fortune/datfiles/ |
H A D | limerick | 2239 And just sits in the corner and hrs.
|