Home
last modified time | relevance | path

Searched refs:hrs (Results 1 – 19 of 19) sorted by relevance

/openbsd/gnu/usr.bin/gcc/gcc/testsuite/gcc.c-torture/compile/
H A D990913-1.c4 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 Dw.c428 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 Dripctl.c268 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 Dospfctl.c379 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 Ddvmrpctl.c435 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 Dldpctl.c297 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 Deigrpctl.c407 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 Ddisplay.c219 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 Dospf6ctl.c502 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 Dbgpctl.c655 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 Dmisc.c620 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 Dpfctl_parser.c540 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 Dantarctica78 # hrs on Sunday 4 October 2020 and will mean Casey and Macquarie Island will
H A Dsouthamerica1543 # 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 Dnorthamerica2272 # of "spring ahead-fall behind" currently we are zulu plus 5 hrs and in
2273 # the winter Zulu plus 6 hrs"
H A Daustralasia2124 # In 1943 "The standard time kept is 12 hrs. 19 min. 12 sec. fast
H A Dasia3837 # 0030 hrs on April 15, 2006 (midnight of April 14, 2006 +30 minutes)
/openbsd/lib/libcurses/
H A DCaps609 set_clock sclk str SC - - ----- set clock, #1 hrs #2 mins #3 secs
/openbsd/games/fortune/datfiles/
H A Dlimerick2239 And just sits in the corner and hrs.