Home
last modified time | relevance | path

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

12

/titanic_44/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()
/titanic_44/usr/src/cmd/date/
H A Ddate.c89 char fmtbuf[BUFSIZ]; in main() local
164 fmt_extensions(fmtbuf, sizeof (fmtbuf), fmt, &ts); in main()
173 (void) strftime(buf, BUFSIZ, fmtbuf, &tm); in main()
372 fmt_extensions(char *fmtbuf, size_t len, in fmt_extensions() argument
378 for (p = fmt, q = fmtbuf; *p != '\0' && q < fmtbuf + len; ++p) { in fmt_extensions()
383 q += snprintf(q, len - (q - fmtbuf), in fmt_extensions()
391 if (q < fmtbuf + len) in fmt_extensions()
394 fmtbuf[len - 1] = '\0'; in fmt_extensions()
/titanic_44/usr/src/lib/libast/common/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 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 Dfmtdev.c43 buf = fmtbuf(z = 17); in fmtdev()
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 Dfmtbase.c42 buf = fmtbuf(z = 72); in fmtbasell()
H A Dfmtclock.c60 buf = fmtbuf(z = 7); in fmtclock()
H A Dfmtbuf.c41 fmtbuf(size_t n) in fmtbuf() function
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()
/titanic_44/usr/src/cmd/awk_xpg4/
H A Dawk2.c693 char fmtbuf[40]; in xprintf() local
729 ofmtp = fmtbuf; in xprintf()
751 length += fprintf(fp, fmtbuf, c); in xprintf()
757 adjust_buf(cp, &cplen, &bptr, fmtbuf, 0); in xprintf()
764 (void) wsprintf(bptr, (const char *) fmtbuf, c); in xprintf()
776 length += fprintf(fp, fmtbuf, in xprintf()
781 adjust_buf(cp, &cplen, &bptr, fmtbuf, in xprintf()
783 (void) wsprintf(bptr, (const char *) fmtbuf, in xprintf()
804 length += fprintf(fp, fmtbuf, in xprintf()
807 adjust_buf(cp, &cplen, &bptr, fmtbuf, 0); in xprintf()
[all …]
/titanic_44/usr/src/cmd/ssh/ssh-http-proxy-connect/
H A Dssh-http-proxy-connect.c74 char fmtbuf[BUFFER_SIZ]; in debug() local
81 (void) snprintf(fmtbuf, sizeof (fmtbuf), in debug()
83 (void) vfprintf(stderr, fmtbuf, args); in debug()
/titanic_44/usr/src/cmd/ssh/ssh-socks5-proxy-connect/
H A Dssh-socks5-proxy-connect.c72 char fmtbuf[BUFFER_SIZ]; in debug() local
79 (void) snprintf(fmtbuf, sizeof (fmtbuf), in debug()
81 (void) vfprintf(stderr, fmtbuf, args); in debug()
/titanic_44/usr/src/lib/efcode/engine/
H A Denv.c530 fmt_str(fcode_env_t *env, char *fmt, char *fmtbuf, int bsize) in fmt_str() argument
538 *fmtbuf = 0; in fmt_str()
567 strncpy(fmtbuf, tbuf, bsize); in fmt_str()
606 (void) snprintf(fmtbuf, bsize, tbuf, arg); in fmt_str()
609 (void) snprintf(fmtbuf, bsize, tbuf); in fmt_str()
619 (void) snprintf(fmtbuf, bsize, tbuf, llarg); in fmt_str()
622 strncpy(fmtbuf, fmt, bsize); in fmt_str()
/titanic_44/usr/src/cmd/krb5/kadmin/ktutil/
H A Dktutil.c302 char fmtbuf[18]; local
311 fmtbuf,
312 sizeof(fmtbuf),
314 printf("%s ", fmtbuf);
/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Dlog.c371 char fmtbuf[MSGBUFSIZ]; in do_log() local
429 snprintf(fmtbuf, sizeof(fmtbuf), "%s%s: %s", log_txt_prefix, in do_log()
432 vsnprintf(msgbuf, sizeof(msgbuf), fmtbuf, args); in do_log()
/titanic_44/usr/src/lib/libcmd/common/
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()

12