/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | debug.c | 45 char fmtbuf[BUFSIZ]; in cryptodebug() local 55 (void) snprintf(fmtbuf, sizeof (fmtbuf), "%s: %s", in cryptodebug() 57 (void) vsnprintf(msgbuf, sizeof (msgbuf), fmtbuf, args); in cryptodebug() 86 char fmtbuf[BUFSIZ]; in cryptoerror() local 97 (void) snprintf(fmtbuf, sizeof (fmtbuf), "%s: %s", in cryptoerror() 99 (void) vsnprintf(msgbuf, sizeof (msgbuf), fmtbuf, args); in cryptoerror()
|
/illumos-gate/usr/src/cmd/date/ |
H A D | date.c | 93 char fmtbuf[BUFSIZ]; in main() local 202 fmt_extensions(fmtbuf, sizeof (fmtbuf), fmt, &ts); in main() 211 (void) strftime(buf, BUFSIZ, fmtbuf, &tm); in main() 410 fmt_extensions(char *fmtbuf, size_t len, in fmt_extensions() argument 416 for (p = fmt, q = fmtbuf; *p != '\0' && q < fmtbuf + len; ++p) { in fmt_extensions() 421 q += snprintf(q, len - (q - fmtbuf), in fmt_extensions() 429 if (q < fmtbuf + len) in fmt_extensions() 432 fmtbuf[len - 1] = '\0'; in fmt_extensions()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/string/ |
H A D | strerror.c | 61 #define fmtbuf(n) ((n),tmp) macro 102 msg = strcpy(fmtbuf(strlen(msg) + 1), msg); in _ast_strerror() 113 t = fmtbuf(z = strlen(s) + 1); in _ast_strerror() 131 msg = fmtbuf(z = 32); in _ast_strerror()
|
H A D | fmtsignal.c | 46 buf = fmtbuf(z = 20); in fmtsignal() 57 buf = fmtbuf(z = 20); in fmtsignal()
|
H A D | fmtint.c | 100 buff = fmtbuf(k=3); in fmtint() 105 buff = fmtbuf(k); in fmtint()
|
H A D | fmtip6.c | 37 fmtbuf(int n) in fmtbuf() function 93 s = b = fmtbuf(44); in fmtip6()
|
H A D | fmttime.c | 38 buf = fmtbuf(z = 80); in fmttime()
|
H A D | fmttmx.c | 41 b = fmtbuf(z += 80); in fmttmx()
|
H A D | fmtip4.c | 38 buf = fmtbuf(z = 20); in fmtip4()
|
H A D | fmttv.c | 41 t = fmtbuf(n = strlen(s) + 11); in fmttv()
|
H A D | fmtmode.c | 42 s = buf = fmtbuf(MODELEN + 1); in fmtmode()
|
H A D | fmtclock.c | 60 buf = fmtbuf(z = 7); in fmtclock()
|
H A D | fmtbase.c | 49 buf = fmtbuf(z = 72); in fmtbase()
|
H A D | fmtbuf.c | 41 fmtbuf(size_t n) in fmtbuf() function
|
H A D | fmtdev.c | 46 buf = fmtbuf(z = 17); in fmtdev()
|
H A D | fmtversion.c | 40 buf = cur = fmtbuf(n = 18); in fmtversion()
|
H A D | fmtnum.c | 86 buf = fmtbuf(z = 8); in fmtnum()
|
H A D | fmtperm.c | 39 s = buf = fmtbuf(32); in fmtperm()
|
H A D | fmtident.c | 71 buf = fmtbuf(i + 1); in fmtident()
|
H A D | fmtelapsed.c | 42 buf = fmtbuf(z = 8); in fmtelapsed()
|
/illumos-gate/usr/src/cmd/awk_xpg4/ |
H A D | awk2.c | 691 char fmtbuf[40]; in xprintf() local 727 ofmtp = fmtbuf; in xprintf() 749 length += fprintf(fp, fmtbuf, c); in xprintf() 755 adjust_buf(cp, &cplen, &bptr, fmtbuf, 0); in xprintf() 762 (void) wsprintf(bptr, (const char *) fmtbuf, c); in xprintf() 774 length += fprintf(fp, fmtbuf, in xprintf() 779 adjust_buf(cp, &cplen, &bptr, fmtbuf, in xprintf() 781 (void) wsprintf(bptr, (const char *) fmtbuf, in xprintf() 802 length += fprintf(fp, fmtbuf, in xprintf() 805 adjust_buf(cp, &cplen, &bptr, fmtbuf, 0); in xprintf() [all …]
|
/illumos-gate/usr/src/cmd/krb5/kadmin/ktutil/ |
H A D | ktutil.c | 300 char fmtbuf[18]; local 309 fmtbuf, 310 sizeof(fmtbuf), 312 printf("%s ", fmtbuf);
|
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/ |
H A D | uniq.c | 100 bufp = memcpy(fmtbuf(n + 1), bufp, n); in uniq() 195 if(!(sbufp=fmtbuf(outsize))) in uniq() 231 if(!(sbufp = outp=fmtbuf(outsize=n+cwidth+sep))) in uniq()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/astsa/ |
H A D | astsa.omk | 40 fmtbuf.c \ 69 libastsa.a : aso.o ast.o chresc.o error.o fmtbuf.o fmtip4.o fmtip6.o optget.o \
|
/illumos-gate/usr/src/cmd/sendmail/src/ |
H A D | srvrsmtp.c | 4559 char fmtbuf[30]; local 4563 (void) sm_strlcpy(fmtbuf, "252", sizeof(fmtbuf)); 4565 (void) sm_strlcpy(fmtbuf, "250", sizeof(fmtbuf)); 4566 fmtbuf[3] = last ? ' ' : '-'; 4567 (void) sm_strlcpy(&fmtbuf[4], "2.1.5 ", sizeof(fmtbuf) - 4); 4574 (void) sm_strlcpy(&fmtbuf[OFFF], "<%s@%s>", 4575 sizeof(fmtbuf) - OFFF); 4577 (void) sm_strlcpy(&fmtbuf[OFFF], "<%s>", 4578 sizeof(fmtbuf) - OFFF); 4579 message(fmtbuf, a->q_user, MyHostName); [all …]
|