Home
last modified time | relevance | path

Searched refs:fmtbuf (Results 1 – 25 of 48) sorted by relevance

12

/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Ddebug.c45 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 Ddate.c93 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 Dstrerror.c61 #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 Dfmtsignal.c46 buf = fmtbuf(z = 20); in fmtsignal()
57 buf = fmtbuf(z = 20); in fmtsignal()
H A Dfmtint.c100 buff = fmtbuf(k=3); in fmtint()
105 buff = fmtbuf(k); in fmtint()
H A Dfmtip6.c37 fmtbuf(int n) in fmtbuf() function
93 s = b = fmtbuf(44); in fmtip6()
H A Dfmttime.c38 buf = fmtbuf(z = 80); in fmttime()
H A Dfmttmx.c41 b = fmtbuf(z += 80); in fmttmx()
H A Dfmtip4.c38 buf = fmtbuf(z = 20); in fmtip4()
H A Dfmttv.c41 t = fmtbuf(n = strlen(s) + 11); in fmttv()
H A Dfmtmode.c42 s = buf = fmtbuf(MODELEN + 1); in fmtmode()
H A Dfmtclock.c60 buf = fmtbuf(z = 7); in fmtclock()
H A Dfmtbase.c49 buf = fmtbuf(z = 72); in fmtbase()
H A Dfmtbuf.c41 fmtbuf(size_t n) in fmtbuf() function
H A Dfmtdev.c46 buf = fmtbuf(z = 17); in fmtdev()
H A Dfmtversion.c40 buf = cur = fmtbuf(n = 18); in fmtversion()
H A Dfmtnum.c86 buf = fmtbuf(z = 8); in fmtnum()
H A Dfmtperm.c39 s = buf = fmtbuf(32); in fmtperm()
H A Dfmtident.c71 buf = fmtbuf(i + 1); in fmtident()
H A Dfmtelapsed.c42 buf = fmtbuf(z = 8); in fmtelapsed()
/illumos-gate/usr/src/cmd/awk_xpg4/
H A Dawk2.c691 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 Dktutil.c300 char fmtbuf[18]; local
309 fmtbuf,
310 sizeof(fmtbuf),
312 printf("%s ", fmtbuf);
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Duniq.c100 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 Dastsa.omk40 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 Dsrvrsmtp.c4559 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 …]

12