Searched refs:fmt (Results 126 - 150 of 1138) sorted by relevance

1234567891011>>

/illumos-gate/usr/src/uts/common/os/
H A Dprintf.c73 cprintf(const char *fmt, va_list adx, int sl, const char *prefix, argument
93 STRLOG_MAKE_MSGID(fmt, msgid);
95 if (strchr("^!?", fmt[0]) != NULL) {
96 if (fmt[0] == '^')
98 else if (fmt[0] == '!' ||
101 fmt++;
119 msgp += vsnprintf(msgp, bufend - msgp, fmt, adx);
182 vzprintf(zoneid_t zoneid, const char *fmt, va_list adx) argument
184 cprintf(fmt, adx, SL_CONSOLE | SL_NOTE, "", "", caller(), 0, 0, 0,
189 vprintf(const char *fmt, va_lis argument
196 printf(const char *fmt, ...) argument
208 zprintf(zoneid_t zoneid, const char *fmt, ...) argument
219 vuprintf(const char *fmt, va_list adx) argument
238 uprintf(const char *fmt, ...) argument
250 vzdcmn_err(zoneid_t zoneid, void *site, int ce, const char *fmt, va_list adx, dev_info_t *dip) argument
263 vzcmn_err(zoneid_t zoneid, int ce, const char *fmt, va_list adx) argument
269 vcmn_err(int ce, const char *fmt, va_list adx) argument
276 cmn_err(int ce, const char *fmt, ...) argument
287 zcmn_err(zoneid_t zoneid, int ce, const char *fmt, ...) argument
298 dev_err(dev_info_t *dip, int ce, char *fmt, ...) argument
339 strlog(short mid, short sid, char level, ushort_t sl, char *fmt, ...) argument
352 vstrlog(short mid, short sid, char level, ushort_t sl, char *fmt, va_list adx) argument
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/lib/nwamd/
H A Dlogging.c57 log_format(int severity, const char *fmt, va_list ap, char *buf, int bufsize) argument
68 (void) vsnprintf(buf + offset, bufsize - offset, fmt, ap);
78 nlog(int severity, const char *fmt, ...) argument
82 va_start(ap, fmt);
83 log_format(severity, fmt, ap, NULL, 0);
88 pfail(const char *fmt, ...) argument
95 va_start(ap, fmt);
96 log_format(LOG_ERR, fmt, ap, msg, 256);
/illumos-gate/usr/src/uts/common/sys/
H A Dftrace.h101 #define FTRACE_0(fmt) \
104 ftrace_0(fmt, caller()); \
106 #define FTRACE_1(fmt, d1) \
109 ftrace_1(fmt, d1, caller()); \
111 #define FTRACE_2(fmt, d1, d2) \
114 ftrace_2(fmt, d1, d2, caller()); \
116 #define FTRACE_3(fmt, d1, d2, d3) \
119 ftrace_3(fmt, d1, d2, d3, caller()); \
/illumos-gate/usr/src/lib/libadm/common/
H A Dckdate.c74 setmsg(char *msg, char *fmt, size_t sz) argument
76 if ((fmt == NULL) || strcmp(fmt, "%D") == 0)
77 fmt = "%m/%d/%y";
78 (void) snprintf(msg, sz, "%s. Format is <%s>.", MESG, fmt);
231 ckdate_err(char *fmt, char *error) argument
235 if ((fmt != NULL) && (fmtcheck(fmt) == 1))
237 setmsg(defmesg, fmt, MSGSIZ);
243 ckdate_hlp(char *fmt, cha argument
261 fmtcheck(char *fmt) argument
302 ckdate_val(char *fmt, char *input) argument
406 ckdate(char *date, char *fmt, char *defstr, char *error, char *help, char *prompt) argument
[all...]
H A Dcktime.c63 setmsg(char *msg, char *fmt, size_t sz) argument
65 if (fmt == NULL)
66 fmt = DEFAULT;
67 (void) snprintf(msg, sz, "%s <%s>.", ERRMSG, fmt);
137 cktime_val(char *fmt, char *input) argument
142 if ((fmt != NULL) && (fmtcheck(fmt) == 1))
145 if (fmt == NULL)
146 fmt = DEFAULT;
148 while (*fmt
280 cktime_err(char *fmt, char *error) argument
292 cktime_hlp(char *fmt, char *help) argument
310 fmtcheck(char *fmt) argument
349 cktime(char *tod, char *fmt, char *defstr, char *error, char *help, char *prompt) argument
[all...]
/illumos-gate/usr/src/lib/libast/common/stdio/
H A Dvasprintf.c27 vasprintf(char** s, const char* fmt, va_list args) argument
34 v = sfvprintf(f, fmt, args);
/illumos-gate/usr/src/lib/libast/common/string/
H A Dfmttmx.c32 fmttmx(const char* fmt, Time_t t) argument
42 e = tmxfmt(b, z, fmt, t);
/illumos-gate/usr/src/cmd/lvm/metassist/common/
H A Dvolume_output.h93 * @param fmt, ...
102 extern int oprintf(int verbosity, char *fmt, ...);
112 * @param fmt
124 extern int oprintf_va(int verbosity, char *fmt, va_list ap);
/illumos-gate/usr/src/lib/smbsrv/libsmb/common/
H A Dsmb_syslog.c29 smb_vsyslog(int pri, const char *fmt, va_list ap) argument
31 vsyslog(pri, fmt, ap);
38 smb_syslog(int pri, const char *fmt, ...) argument
42 va_start(ap, fmt);
43 smb_vsyslog(pri, fmt, ap);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Ddebug.c42 cryptodebug(const char *fmt, ...) argument
48 if (fmt == NULL || _cryptodebug_enabled != 1)
51 va_start(args, fmt);
53 (void) vsnprintf(msgbuf, sizeof (msgbuf), fmt, args);
56 _cryptodebug_prefix, fmt);
84 cryptoerror(int priority, const char *fmt, ...) argument
90 if (fmt == NULL || _cryptoerror_enabled == 0)
93 va_start(args, fmt);
95 (void) vsnprintf(msgbuf, sizeof (msgbuf), fmt, args);
98 _cryptodebug_prefix, fmt);
[all...]
/illumos-gate/usr/src/cmd/sgs/rtld.4.x/
H A Drtsubrs.c52 printf(fmt, va_alist)
53 char *fmt;
59 prf(stdout, fmt, x1);
67 fprintf(fd, fmt, va_alist)
69 char *fmt;
75 prf(fd, fmt, x1);
83 panic(fmt, va_alist)
84 char *fmt;
92 prf(stderr, fmt, x1);
103 sprintf(cp, fmt, va_alis
[all...]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c113 slprintf __V((char *buf, int buflen, const char *fmt, ...)) argument
119 va_start(args, fmt);
123 const char *fmt; local
127 fmt = va_arg(args, const char *);
129 n = vslprintf(buf, buflen, fmt, args);
138 flprintf __V((FILE *strptr, const char *fmt, ...)) argument
145 va_start(args, fmt);
148 const char *fmt; local
151 fmt = va_arg(args, const char *);
153 n = vslprintf(buf, sizeof (buf), fmt, arg
479 vslp_printer(void *arg, const char *fmt, ...) argument
489 const char *fmt; local
568 pr_log(void *arg, const char *fmt, ...) argument
578 const char *fmt; local
661 fatal(const char *fmt, ...) argument
668 const char *fmt; local
683 error(const char *fmt, ...) argument
690 const char *fmt; local
703 warn(const char *fmt, ...) argument
710 const char *fmt; local
723 notice(const char *fmt, ...) argument
730 const char *fmt; local
743 info(const char *fmt, ...) argument
750 const char *fmt; local
763 dbglog(const char *fmt, ...) argument
770 const char *fmt; local
[all...]
/illumos-gate/usr/src/uts/common/io/ib/clients/eoib/
H A Denx_log.c123 eibnx_dprintf_verbose(const char *fmt, ...) argument
133 (void) snprintf(newfmt, ENX_MAX_LINE, "..........%s", fmt);
135 va_start(ap, fmt);
145 eibnx_dprintf_args(const char *fmt, ...) argument
155 (void) snprintf(newfmt, ENX_MAX_LINE, "........%s", fmt);
157 va_start(ap, fmt);
167 eibnx_dprintf_debug(const char *fmt, ...) argument
177 (void) snprintf(newfmt, ENX_MAX_LINE, "......%s", fmt);
179 va_start(ap, fmt);
190 eibnx_dprintf_warn(const char *fmt, argument
212 eibnx_dprintf_err(const char *fmt, ...) argument
235 eibnx_dprintf_crit(const char *fmt, ...) argument
[all...]
/illumos-gate/usr/src/uts/sun4u/sys/
H A Dsbbcvar.h136 #define SBBC_DBG0(flag, dip, fmt) \
137 sbbc_dbg(flag, dip, fmt, 0, 0, 0, 0, 0);
138 #define SBBC_DBG1(flag, dip, fmt, a1) \
139 sbbc_dbg(flag, dip, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
140 #define SBBC_DBG2(flag, dip, fmt, a1, a2) \
141 sbbc_dbg(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
142 #define SBBC_DBG3(flag, dip, fmt, a1, a2, a3) \
143 sbbc_dbg(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
145 #define SBBC_DBG4(flag, dip, fmt, a1, a2, a3, a4) \
146 sbbc_dbg(flag, dip, fmt, (uintptr_
[all...]
H A Dupa64s.h167 #define DBG(flag, psp, fmt) \
168 upa64s_debug(flag, psp, fmt, 0, 0, 0, 0, 0);
169 #define DBG1(flag, psp, fmt, a1) \
170 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
171 #define DBG2(flag, psp, fmt, a1, a2) \
172 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
173 #define DBG3(flag, psp, fmt, a1, a2, a3) \
174 upa64s_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
176 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) \
177 upa64s_debug(flag, psp, fmt, (uintptr_
[all...]
/illumos-gate/usr/src/uts/sun4/sys/
H A Debus.h199 #define DBG(flag, psp, fmt) \
200 ebus_debug(flag, psp, fmt, 0, 0, 0, 0, 0);
201 #define DBG1(flag, psp, fmt, a1) \
202 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
203 #define DBG2(flag, psp, fmt, a1, a2) \
204 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
205 #define DBG3(flag, psp, fmt, a1, a2, a3) \
206 ebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
208 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) \
209 ebus_debug(flag, psp, fmt, (uintptr_
[all...]
/illumos-gate/usr/src/uts/sun4u/montecarlo/sys/
H A Dacebus.h184 #define DBG(flag, psp, fmt) \
185 acebus_debug(flag, psp, fmt, 0, 0, 0, 0, 0);
186 #define DBG1(flag, psp, fmt, a1) \
187 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), 0, 0, 0, 0);
188 #define DBG2(flag, psp, fmt, a1, a2) \
189 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0);
190 #define DBG3(flag, psp, fmt, a1, a2, a3) \
191 acebus_debug(flag, psp, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \
193 #define DBG4(flag, psp, fmt, a1, a2, a3, a4) \
194 acebus_debug(flag, psp, fmt, (uintptr_
[all...]
/illumos-gate/usr/src/lib/libldap5/include/ldap/
H A Dldaplog.h52 #define LDAPDebug( level, fmt, arg1, arg2, arg3 )
61 # define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \
64 slapd_log_error_proc( NULL, fmt, arg1, arg2, arg3 ); \
69 # define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \
72 slapd_log_error_proc( NULL, fmt, arg1, arg2, arg3 ); \
79 # define LDAPDebug( level, fmt, arg1, arg2, arg3 ) \
82 sprintf( msg, fmt, arg1, arg2, arg3 ); \
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsmka_util.c47 extern char *sprintf(char *buf, const char *fmt, ...);
67 void dbprintf(char *fmt, ...) { argument
70 va_start(ap, fmt);
73 (void) vsprintf_len(255, rsmka_buf_end, fmt, ap);
83 dbg_printf(int msg_category, int msg_level, char *fmt, ...) argument
88 va_start(ap, fmt);
93 (void) vsprintf_len(255, rsmka_buf_end, fmt, ap);
/illumos-gate/usr/src/lib/libxcurses/src/libc/gen/
H A Deprintf.c54 eprintf VARARG1(const char *, fmt)
63 va_start(args, fmt);
64 nprf += vfprintf(stderr, fmt, args);
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_vsscan.c50 m_vsscanf(buf, fmt, vp)
51 char *buf, *fmt;
71 return (mks_vfscanf(fp, fmt, vp));
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dvwscanf.c47 _vwscanf_c89(const wchar_t *fmt, va_list ap) argument
49 vwscanf(const wchar_t *fmt, va_list ap)
61 ret = __wdoscan_u(stdin, fmt, ap, _F_INTMAX32);
63 ret = __wdoscan_u(stdin, fmt, ap, 0);
71 _vfwscanf_c89(FILE *iop, const wchar_t *fmt, va_list ap) argument
73 vfwscanf(FILE *iop, const wchar_t *fmt, va_list ap)
86 ret = __wdoscan_u(iop, fmt, ap, _F_INTMAX32);
88 ret = __wdoscan_u(iop, fmt, ap, 0);
96 _vswscanf_c89(const wchar_t *wstr, const wchar_t *fmt, va_list ap) argument
98 vswscanf(const wchar_t *wstr, const wchar_t *fmt, va_lis
[all...]
/illumos-gate/usr/src/cmd/eeprom/common/
H A Derror.c48 /* _error([no_perror, ] fmt [, arg ...]) */
51 _error(int do_perror, char *fmt, ...) argument
65 va_start(ap, fmt);
66 (void) vfprintf(stderr, fmt, ap);
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_log.c36 igb_log(void *arg, igb_debug_t level, const char *fmt, ...) argument
43 va_start(ap, fmt);
44 (void) vsnprintf(buf, sizeof (buf), fmt, ap);
/illumos-gate/usr/src/cmd/fm/modules/common/disk-monitor/
H A Dutil.c50 verror(const char *fmt, va_list ap) argument
55 fmd_hdl_vdebug(g_fm_hdl, fmt, ap);
57 if (fmt[strlen(fmt) - 1] != '\n')
64 vwarn_e(const char *fmt, va_list ap) argument
70 fmd_hdl_vdebug(g_fm_hdl, fmt, ap);
72 if (fmt[strlen(fmt) - 1] != '\n')
79 vwarn(const char *fmt, va_list ap) argument
83 fmd_hdl_vdebug(g_fm_hdl, fmt, a
88 vcont(log_class_t cl, const char *fmt, va_list ap) argument
105 log_msg(log_class_t cl, const char *fmt, ...) argument
121 log_err(const char *fmt, ...) argument
135 log_warn(const char *fmt, ...) argument
149 log_warn_e(const char *fmt, ...) argument
[all...]

Completed in 1709 milliseconds

1234567891011>>