/freebsd/crypto/openssh/ |
H A D | log.c | 344 char fmtbuf[MSGBUFSIZ]; in do_log() local 389 snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", txt, fmt); in do_log() 390 vsnprintf(msgbuf, sizeof(msgbuf), fmtbuf, args); in do_log() 395 snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", msgbuf, suffix); in do_log() 396 strlcpy(msgbuf, fmtbuf, sizeof(msgbuf)); in do_log() 398 strnvis(fmtbuf, msgbuf, sizeof(fmtbuf), in do_log() 404 tmp_handler(level, force, fmtbuf, log_handler_ctx); in do_log() 410 (int)sizeof msgbuf - 3, fmtbuf); in do_log() 415 syslog_r(pri, &sdata, "%.500s", fmtbuf); in do_log() 419 syslog(pri, "%.500s", fmtbuf); in do_log()
|
/freebsd/usr.bin/lam/ |
H A D | lam.c | 110 static char fmtbuf[BUFSIZ]; in getargs() local 111 char *fmtp = fmtbuf; in getargs() 163 if (fmtp >= fmtbuf + sizeof(fmtbuf)) in getargs() 168 if (snprintf(fmtp, fmtbuf + sizeof(fmtbuf) - fmtp, "%%%ss", p) in getargs() 169 >= fmtbuf + sizeof(fmtbuf) - fmtp) in getargs()
|
/freebsd/sbin/dhclient/ |
H A D | options.c | 637 char fmtbuf[32], *op = optbuf; in pretty_print_option() local 661 fmtbuf[i] = dhcp_options[code].format[i]; in pretty_print_option() 665 fmtbuf[i] = 0; in pretty_print_option() 674 fmtbuf[i] = 't'; in pretty_print_option() 677 fmtbuf[i] = 'x'; in pretty_print_option() 682 fmtbuf[i + 1] = 0; in pretty_print_option() 685 fmtbuf[i] = 't'; in pretty_print_option() 686 fmtbuf[i + 1] = 0; in pretty_print_option() 740 switch (fmtbuf[j]) { in pretty_print_option() 843 warning("Unexpected format code %c", fmtbuf[j]); in pretty_print_option()
|
/freebsd/bin/date/ |
H A D | date.c | 228 char fmtbuf[64], buf[64], tzbuf[8]; in printisodate() local 230 fmtbuf[0] = 0; in printisodate() 232 strlcat(fmtbuf, it->format_string, sizeof(fmtbuf)); in printisodate() 234 (void)strftime_ns(buf, sizeof(buf), fmtbuf, lt, nsec); in printisodate()
|
/freebsd/contrib/llvm-project/llvm/tools/llvm-size/ |
H A D | llvm-size.cpp | 203 std::string fmtbuf; in getCommonSize() 204 raw_string_ostream fmt(fmtbuf); in getCommonSize() 353 std::string fmtbuf; in printDarwinSegmentSizes() 354 raw_string_ostream fmt(fmtbuf); in printDarwinSegmentSizes() 405 fmtbuf.clear(); in printObjectSectionSizes() 440 fmtbuf.clear(); in printObjectSectionSizes() 502 fmtbuf.clear(); in printObjectSectionSizes() 849 std::string fmtbuf; in printFileSectionSizes() 850 raw_string_ostream fmt(fmtbuf); in printFileSectionSizes() 857 fmtbuf 212 std::string fmtbuf; printDarwinSectionSizes() local 362 std::string fmtbuf; printObjectSectionSizes() local 858 std::string fmtbuf; printBerkeleyTotals() local [all...] |
/freebsd/contrib/sendmail/src/ |
H A D | srvrsmtp.c | 5447 char fmtbuf[30]; local 5451 (void) sm_strlcpy(fmtbuf, "252", sizeof(fmtbuf)); 5453 (void) sm_strlcpy(fmtbuf, "250", sizeof(fmtbuf)); 5454 fmtbuf[3] = last ? ' ' : '-'; 5455 (void) sm_strlcpy(&fmtbuf[4], "2.1.5 ", sizeof(fmtbuf) - 4); 5462 (void) sm_strlcpy(&fmtbuf[OFFF], "<%s@%s>", 5463 sizeof(fmtbuf) - OFFF); 5465 (void) sm_strlcpy(&fmtbuf[OFFF], "<%s>", 5466 sizeof(fmtbuf) - OFFF); 5467 message(fmtbuf, a->q_user, MyHostName); [all …]
|
/freebsd/usr.bin/netstat/ |
H A D | inet.c | 883 char fmtbuf[80]; in tcp_stats() local 887 snprintf(fmtbuf, sizeof(fmtbuf), "\t{:%s/%%ju} " in tcp_stats() 890 xo_emit(fmtbuf, (uintmax_t )tcps_states[i]); in tcp_stats()
|
/freebsd/bin/ps/ |
H A D | ps.c | 167 char fmtbuf[_POSIX2_LINE_MAX]; in main() local 704 snprintf(fmtbuf, sizeof(fmtbuf), "{:%s/%%%s%d..%dhs}", in main() 708 xo_emit(fmtbuf, str); in main()
|
/freebsd/contrib/ntp/ntpd/ |
H A D | ntp_control.c | 1885 char fmtbuf[128]; in ctl_printf() 1889 rc = vsnprintf(fmtbuf, sizeof(fmtbuf), fmt, va); in ctl_printf() 1891 if (rc < 0 || (size_t)rc >= sizeof(fmtbuf)) in ctl_printf() 1892 strcpy(fmtbuf + sizeof(fmtbuf) - strlen(ellipsis) - 1, in ctl_printf() 1894 ctl_putdata(fmtbuf, strlen(fmtbuf), 0); in ctl_printf() 1886 char fmtbuf[128]; ctl_printf() local
|