Home
last modified time | relevance | path

Searched refs:TF_LEN (Results 1 – 9 of 9) sorted by relevance

/openbsd/usr.sbin/ldpd/
H A Dlogmsg.c103 #define TF_LEN 32 macro
109 static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ in log_label()
118 snprintf(buf, TF_LEN, "-"); in log_label()
121 snprintf(buf, TF_LEN, "imp-null"); in log_label()
125 snprintf(buf, TF_LEN, "exp-null"); in log_label()
128 snprintf(buf, TF_LEN, "%u", label); in log_label()
/openbsd/usr.sbin/ripctl/
H A Dripctl.c260 #define TF_LEN 9 macro
266 static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ 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.c371 #define TF_LEN 9 macro
377 static char tfbuf[TF_BUFS][TF_LEN];/* ring buffer */ 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.c418 #define TF_LEN 9 macro
433 static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ 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.c289 #define TF_LEN 9 macro
295 static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ 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.c399 #define TF_LEN 9 macro
405 static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ 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.sbin/ospf6ctl/
H A Dospf6ctl.c485 #define TF_LEN 9 macro
500 static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ 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.c649 #define TF_LEN 16 macro
654 static char buf[TF_LEN]; in fmt_timeframe()
672 snprintf(buf, TF_LEN, "%02lluw", week); 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.c612 #define TF_LEN 9 macro
618 static char tfbuf[TF_BUFS][TF_LEN]; /* ring buffer */ 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()