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

/freebsd-current/usr.bin/lam/
H A Dlam.c109 static char fmtbuf[BUFSIZ]; local
110 char *fmtp = fmtbuf;
162 if (fmtp >= fmtbuf + sizeof(fmtbuf))
167 if (snprintf(fmtp, fmtbuf + sizeof(fmtbuf) - fmtp, "%%%ss", p)
168 >= fmtbuf + sizeof(fmtbuf) - fmtp)
/freebsd-current/crypto/openssh/
H A Dlog.c344 char fmtbuf[MSGBUFSIZ]; local
389 snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", txt, fmt);
390 vsnprintf(msgbuf, sizeof(msgbuf), fmtbuf, args);
395 snprintf(fmtbuf, sizeof(fmtbuf), "%s: %s", msgbuf, suffix);
396 strlcpy(msgbuf, fmtbuf, sizeof(msgbuf));
398 strnvis(fmtbuf, msgbuf, sizeof(fmtbuf),
404 tmp_handler(level, force, fmtbuf, log_handler_ct
[all...]
/freebsd-current/bin/date/
H A Ddate.c228 char fmtbuf[64], buf[64], tzbuf[8]; local
230 fmtbuf[0] = 0;
232 strlcat(fmtbuf, it->format_string, sizeof(fmtbuf));
234 (void)strftime_ns(buf, sizeof(buf), fmtbuf, lt, nsec);
/freebsd-current/sbin/dhclient/
H A Doptions.c637 char fmtbuf[32], *op = optbuf; local
661 fmtbuf[i] = dhcp_options[code].format[i];
665 fmtbuf[i] = 0;
674 fmtbuf[i] = 't';
677 fmtbuf[i] = 'x';
682 fmtbuf[i + 1] = 0;
685 fmtbuf[i] = 't';
686 fmtbuf[i + 1] = 0;
740 switch (fmtbuf[j]) {
843 warning("Unexpected format code %c", fmtbuf[
[all...]
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-size/
H A Dllvm-size.cpp203 std::string fmtbuf; local
204 raw_string_ostream fmt(fmtbuf);
353 std::string fmtbuf; local
354 raw_string_ostream fmt(fmtbuf);
405 fmtbuf.clear();
440 fmtbuf.clear();
502 fmtbuf.clear();
849 std::string fmtbuf; local
850 raw_string_ostream fmt(fmtbuf);
857 fmtbuf
[all...]
/freebsd-current/contrib/sendmail/src/
H A Dsrvrsmtp.c5447 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)
[all...]
/freebsd-current/bin/ps/
H A Dps.c177 char fmtbuf[_POSIX2_LINE_MAX]; local
716 snprintf(fmtbuf, sizeof(fmtbuf), "{:%s/%%%s%d..%dhs}",
720 xo_emit(fmtbuf, str);
/freebsd-current/usr.bin/netstat/
H A Dinet.c879 char fmtbuf[80]; local
883 snprintf(fmtbuf, sizeof(fmtbuf), "\t{:%s/%%ju} "
886 xo_emit(fmtbuf, (uintmax_t )tcps_states[i]);
/freebsd-current/contrib/ntp/ntpd/
H A Dntp_control.c1886 char fmtbuf[128]; local
1890 rc = vsnprintf(fmtbuf, sizeof(fmtbuf), fmt, va);
1892 if (rc < 0 || (size_t)rc >= sizeof(fmtbuf))
1893 strcpy(fmtbuf + sizeof(fmtbuf) - strlen(ellipsis) - 1,
1895 ctl_putdata(fmtbuf, strlen(fmtbuf), 0);

Completed in 205 milliseconds