Searched refs:fmtbuf (Results 1 - 9 of 9) sorted by relevance

/freebsd-13-stable/usr.bin/lam/
H A Dlam.c123 static char fmtbuf[BUFSIZ]; local
124 char *fmtp = fmtbuf;
176 if (fmtp >= fmtbuf + sizeof(fmtbuf))
181 if (snprintf(fmtp, fmtbuf + sizeof(fmtbuf) - fmtp, "%%%ss", p)
182 >= fmtbuf + sizeof(fmtbuf) - fmtp)
/freebsd-13-stable/crypto/openssh/
H A Dlog.c407 char fmtbuf[MSGBUFSIZ]; local
451 snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", txt, fmt);
452 vsnprintf(msgbuf, sizeof(msgbuf), fmtbuf, args);
456 strnvis(fmtbuf, msgbuf, sizeof(fmtbuf),
462 tmp_handler(level, fmtbuf, log_handler_ctx);
466 (int)sizeof msgbuf - 3, fmtbuf);
471 syslog_r(pri, &sdata, "%.500s", fmtbuf);
475 syslog(pri, "%.500s", fmtbuf);
[all...]
/freebsd-13-stable/bin/date/
H A Ddate.c231 char fmtbuf[32], buf[32], tzbuf[8]; local
233 fmtbuf[0] = 0;
235 strlcat(fmtbuf, it->format_string, sizeof(fmtbuf));
237 (void)strftime(buf, sizeof(buf), fmtbuf, lt);
/freebsd-13-stable/sbin/dhclient/
H A Doptions.c639 char fmtbuf[32], *op = optbuf; local
663 fmtbuf[i] = dhcp_options[code].format[i];
667 fmtbuf[i] = 0;
676 fmtbuf[i] = 't';
679 fmtbuf[i] = 'x';
684 fmtbuf[i + 1] = 0;
687 fmtbuf[i] = 't';
688 fmtbuf[i + 1] = 0;
742 switch (fmtbuf[j]) {
845 warning("Unexpected format code %c", fmtbuf[
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp218 std::string fmtbuf; local
219 raw_string_ostream fmt(fmtbuf);
368 std::string fmtbuf; local
369 raw_string_ostream fmt(fmtbuf);
420 fmtbuf.clear();
455 fmtbuf.clear();
517 fmtbuf.clear();
862 std::string fmtbuf; local
863 raw_string_ostream fmt(fmtbuf);
870 fmtbuf
[all...]
/freebsd-13-stable/contrib/sendmail/src/
H A Dsrvrsmtp.c5111 char fmtbuf[30]; local
5115 (void) sm_strlcpy(fmtbuf, "252", sizeof(fmtbuf));
5117 (void) sm_strlcpy(fmtbuf, "250", sizeof(fmtbuf));
5118 fmtbuf[3] = last ? ' ' : '-';
5119 (void) sm_strlcpy(&fmtbuf[4], "2.1.5 ", sizeof(fmtbuf) - 4);
5126 (void) sm_strlcpy(&fmtbuf[OFFF], "<%s@%s>",
5127 sizeof(fmtbuf)
[all...]
/freebsd-13-stable/bin/ps/
H A Dps.c192 char fmtbuf[_POSIX2_LINE_MAX]; local
699 snprintf(fmtbuf, sizeof(fmtbuf), "{:%s/%%%s%d..%dhs}",
703 xo_emit(fmtbuf, str);
/freebsd-13-stable/usr.bin/netstat/
H A Dinet.c870 char fmtbuf[80]; local
874 snprintf(fmtbuf, sizeof(fmtbuf), "\t{:%s/%%ju} "
877 xo_emit(fmtbuf, (uintmax_t )tcps_states[i]);
/freebsd-13-stable/contrib/ntp/ntpd/
H A Dntp_control.c1891 char fmtbuf[128]; local
1895 rc = vsnprintf(fmtbuf, sizeof(fmtbuf), fmt, va);
1897 if (rc < 0 || (size_t)rc >= sizeof(fmtbuf))
1898 strcpy(fmtbuf + sizeof(fmtbuf) - strlen(ellipsis) - 1,
1900 ctl_putdata(fmtbuf, strlen(fmtbuf), 0);

Completed in 121 milliseconds