Home
last modified time | relevance | path

Searched refs:fmt (Results 101 – 125 of 1153) sorted by relevance

12345678910>>...47

/illumos-gate/usr/src/uts/sun4/io/px/
H A Dpx_debug.c129 static void px_dbg_print(px_debug_bit_t bit, dev_info_t *dip, char *fmt,
131 static void px_dbg_queue(px_debug_bit_t bit, dev_info_t *dip, char *fmt,
140 px_dbg_print(px_debug_bit_t bit, dev_info_t *dip, char *fmt, va_list args) in px_dbg_print() argument
154 prom_vprintf(fmt, args); in px_dbg_print()
156 prom_printf(fmt); in px_dbg_print()
164 px_dbg_queue(px_debug_bit_t bit, dev_info_t *dip, char *fmt, va_list args) in px_dbg_queue() argument
188 vsnprintf(msg_p->msg, DBG_MSG_SIZE, fmt, args); in px_dbg_queue()
231 px_dbg(px_debug_bit_t bit, dev_info_t *dip, char *fmt, ...) in px_dbg() argument
241 va_start(ap, fmt); in px_dbg()
243 px_dbg_queue(bit, dip, fmt, ap); in px_dbg()
[all …]
/illumos-gate/usr/src/uts/i86pc/io/dr/
H A Ddr_util.c48 if (fmt) in sbd_err_new()
58 char *fmt; in sbd_err_log() local
67 fmt = "%s"; in sbd_err_log()
69 fmt = "%s: %s"; in sbd_err_log()
82 cmn_err(ce, fmt, txt, ep->e_rsc); in sbd_err_log()
98 va_start(args, fmt); in sbd_err_set_c()
100 tmp = sbd_err_new(e_code, fmt, args); in sbd_err_set_c()
118 va_start(args, fmt); in sbd_err_set()
141 va_start(args, fmt); in drerr_new()
142 ep = sbd_err_new(e_code, fmt, args); in drerr_new()
[all …]
/illumos-gate/usr/src/uts/sun4u/ngdr/io/
H A Ddr_util.c48 if (fmt) in sbd_err_new()
58 char *fmt; in sbd_err_log() local
67 fmt = "%s"; in sbd_err_log()
69 fmt = "%s: %s"; in sbd_err_log()
82 cmn_err(ce, fmt, txt, ep->e_rsc); in sbd_err_log()
98 va_start(args, fmt); in sbd_err_set_c()
100 tmp = sbd_err_new(e_code, fmt, args); in sbd_err_set_c()
118 va_start(args, fmt); in sbd_err_set()
141 va_start(args, fmt); in drerr_new()
142 ep = sbd_err_new(e_code, fmt, args); in drerr_new()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dvw_print.c47 vw_printw(w, fmt, ap) in vw_printw() argument
49 const char *fmt;
59 __m_trace("vw_printw(%p, %p = \"%s\", %p)", w, fmt, fmt, ap);
66 (void) vsprintf(buffer, fmt, ap);
68 (void) vsprintf(buffer, fmt, (va_list) ap);
H A Dvw_scanw.c47 vw_scanw(w, fmt, ap) in vw_scanw() argument
49 const char *fmt;
61 __m_trace("vw_scanw(%p, %p = \"%s\", %p)", w, fmt, fmt, ap);
65 (void) m_vsscanf(buffer, fmt, ap);
67 (void) m_vsscanf(buffer, fmt, (va_list) ap);
H A Dvwprintw.c56 vwprintw(w, fmt, ap) in vwprintw() argument
58 const char *fmt;
68 __m_trace("vwprintw(%p, %p = \"%s\", %p)", w, fmt, fmt, ap);
75 (void) vsprintf(buffer, fmt, ap);
77 (void) vsprintf(buffer, fmt, (va_list) ap);
H A Dvwscanw.c56 vwscanw(w, fmt, ap) in vwscanw() argument
58 const char *fmt;
70 __m_trace("vwscanw(%p, %p = \"%s\", %p)", w, fmt, fmt, ap);
74 (void) m_vsscanf(buffer, fmt, ap);
76 (void) m_vsscanf(buffer, fmt, (va_list) ap);
/illumos-gate/usr/src/uts/common/io/rsm/
H A Drsmka_util.c45 extern char *sprintf(char *buf, const char *fmt, ...);
65 void dbprintf(char *fmt, ...) { in dbprintf() argument
68 va_start(ap, fmt); in dbprintf()
71 (void) vsprintf_len(255, rsmka_buf_end, fmt, ap); in dbprintf()
81 dbg_printf(int msg_category, int msg_level, char *fmt, ...) in dbg_printf() argument
86 va_start(ap, fmt); in dbg_printf()
91 (void) vsprintf_len(255, rsmka_buf_end, fmt, ap); in dbg_printf()
/illumos-gate/usr/src/cmd/modload/
H A Dmodsubr.c34 error(char *fmt, ...) in error() argument
42 va_start(args, fmt); in error()
43 (void) vfprintf(stderr, fmt, args); in error()
56 fatal(char *fmt, ...) in fatal() argument
60 va_start(args, fmt); in fatal()
61 (void) vfprintf(stderr, fmt, args); in fatal()
/illumos-gate/usr/src/ucblib/libcurses/
H A Dmvprintw.c31 mvprintw(int y, int x, char *fmt, ...) in mvprintw() argument
35 va_start(ap, fmt); in mvprintw()
36 return (move(y, x) == OK ? _sprintw(stdscr, fmt, ap) : ERR); in mvprintw()
40 mvwprintw(WINDOW *win, int y, int x, char *fmt, ...) in mvwprintw() argument
44 va_start(ap, fmt); in mvwprintw()
45 return (wmove(win, y, x) == OK ? _sprintw(win, fmt, ap) : ERR); in mvwprintw()
H A Dmvscanw.c31 mvscanw(int y, int x, char *fmt, ...) in mvscanw() argument
35 va_start(ap, fmt); in mvscanw()
36 return (move(y, x) == OK ? _sscans(stdscr, fmt, ap) : ERR); in mvscanw()
40 mvwscanw(WINDOW *win, int y, int x, char *fmt, ...) in mvwscanw() argument
44 va_start(ap, fmt); in mvwscanw()
45 return (wmove(win, y, x) == OK ? _sscans(win, fmt, ap) : ERR); in mvwscanw()
/illumos-gate/usr/src/cmd/hotplugd/
H A Dhotplugd.c356 log_err(char *fmt, ...) in log_err() argument
360 va_start(ap, fmt); in log_err()
362 (void) vfprintf(stderr, fmt, ap); in log_err()
364 vsyslog(LOG_ERR, fmt, ap); in log_err()
376 log_info(char *fmt, ...) in log_info() argument
380 va_start(ap, fmt); in log_info()
382 (void) vfprintf(stdout, fmt, ap); in log_info()
384 vsyslog(LOG_INFO, fmt, ap); in log_info()
396 dprintf(char *fmt, ...) in dprintf() argument
401 va_start(ap, fmt); in dprintf()
[all …]
/illumos-gate/usr/src/cmd/tcpd/
H A Dfakelog.c30 vsyslog(severity, fmt, ap) in vsyslog() argument
32 char *fmt;
37 vprintf(percent_m(buf, fmt), ap);
49 char *fmt; in VARARGS() local
52 fmt = va_arg(ap, char *); in VARARGS()
53 vsyslog(severity, fmt, ap); in VARARGS()
/illumos-gate/usr/src/uts/common/fs/nfs/
H A Dnfs_strerror.c55 nfs_perror(int error, char *fmt, ...) in nfs_perror() argument
62 expand_format_string(error, fmt, buf, FMT_BUF_SIZE); in nfs_perror()
69 va_start(ap, fmt); in nfs_perror()
81 nfs_cmn_err(int error, int level, char *fmt, ...) in nfs_cmn_err() argument
88 expand_format_string(error, fmt, buf, FMT_BUF_SIZE); in nfs_cmn_err()
95 va_start(ap, fmt); in nfs_cmn_err()
106 expand_format_string(int error, const char *fmt, char *buf, int buf_chars) in expand_format_string() argument
121 for (from = fmt, to = buf; *from; from++) { in expand_format_string()
/illumos-gate/usr/src/lib/libxcurses/src/libc/mks/
H A Dm_errorx.c58 ERRORFN(const char *fmt, va_list args) in ERRORFN() argument
65 fmt = m_strmsg(fmt); in ERRORFN()
66 if (*fmt == '!') { in ERRORFN()
67 fmt++; in ERRORFN()
70 vfprintf(stderr, fmt, args); in ERRORFN()
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_main.c104 vmessage(const char *fmt, va_list va) in vmessage() argument
118 if (vfprintf(strm, fmt, va) < 0 && interactive) in vmessage()
121 ptr = strchr(fmt, '\0'); in vmessage()
131 warn(const char *fmt, ...) in warn() argument
135 va_start(va, fmt); in warn()
136 vmessage(fmt, va); in warn()
162 semerr(const char *fmt, ...) in semerr() argument
166 va_start(va, fmt); in semerr()
167 vmessage(fmt, va); in semerr()
/illumos-gate/usr/src/lib/libpkg/common/
H A Dlogerr.c39 logerr(char *fmt, ...) in logerr() argument
48 va_start(ap, fmt); in logerr()
51 if (strncmp(fmt, estr, strlen(estr)) && in logerr()
52 strncmp(fmt, wstr, strlen(wstr)) && in logerr()
53 strncmp(fmt, nstr, strlen(nstr))) { in logerr()
62 (void) vsnprintf(buffer, sizeof (buffer), fmt, ap); in logerr()
/illumos-gate/usr/src/tools/smatch/src/
H A Dutils.c21 char *xvasprintf(const char *fmt, va_list ap) in xvasprintf() argument
28 n = vsnprintf(NULL, 0, fmt, ap2) + 1; in xvasprintf()
32 vsnprintf(str, n, fmt, ap); in xvasprintf()
37 char *xasprintf(const char *fmt, ...) in xasprintf() argument
42 va_start(ap, fmt); in xasprintf()
43 str = xvasprintf(fmt, ap); in xasprintf()
/illumos-gate/usr/src/cmd/dis/
H A Ddis_util.c45 die(const char *fmt, ...) in die() argument
51 va_start(ap, fmt); in die()
52 (void) vfprintf(stderr, fmt, ap); in die()
65 warn(const char *fmt, ...) in warn() argument
71 va_start(ap, fmt); in warn()
72 (void) vfprintf(stderr, fmt, ap); in warn()
/illumos-gate/usr/src/cmd/mail/
H A DDout.c49 Dout(char *subname, int level, char *fmt, ...) in Dout() argument
65 char *fmt; local
73 fmt = Xfmt;
78 va_start(args, fmt);
83 fmt = va_arg(args, char *);
90 vfprintf(dbgfp, fmt, args);
/illumos-gate/usr/src/lib/fm/topo/libtopo/common/
H A Dtopo_string.c76 topo_hdl_vasprintf(topo_hdl_t *thp, char **str, const char *fmt, va_list ap) in topo_hdl_vasprintf() argument
81 len = vsnprintf(NULL, 0, fmt, ap); in topo_hdl_vasprintf()
103 ret = vsnprintf(*str, len, fmt, ap); in topo_hdl_vasprintf()
114 topo_hdl_asprintf(topo_hdl_t *thp, char **str, const char *fmt, ...) in topo_hdl_asprintf() argument
119 va_start(ap, fmt); in topo_hdl_asprintf()
120 ret = topo_hdl_vasprintf(thp, str, fmt, ap); in topo_hdl_asprintf()
126 topo_mod_vasprintf(topo_mod_t *mod, char **str, const char *fmt, va_list ap) in topo_mod_vasprintf() argument
128 return (topo_hdl_vasprintf(mod->tm_hdl, str, fmt, ap)); in topo_mod_vasprintf()
132 topo_mod_asprintf(topo_mod_t *mod, char **str, const char *fmt, ...) in topo_mod_asprintf() argument
137 va_start(ap, fmt); in topo_mod_asprintf()
[all …]
/illumos-gate/usr/src/uts/common/io/bnxe/577xx/hsi/hw/include/
H A Dclc.h92 #define ELINK_DEBUG_P0(cb, fmt) DbgMessage(cb, WARNelink, fmt) argument
93 #define ELINK_DEBUG_P1(cb, fmt, arg1) DbgMessage(cb, WARNelink, fmt, arg1) argument
94 #define ELINK_DEBUG_P2(cb, fmt, arg1, arg2) DbgMessage(cb, WARNelink, fmt, arg1, arg2) argument
104 #define ELINK_DEBUG_P0(cb, fmt) elink_cb_dbg(cb, fmt) argument
105 #define ELINK_DEBUG_P1(cb, fmt, arg1) elink_cb_dbg1(cb, fmt, arg1) argument
106 #define ELINK_DEBUG_P2(cb, fmt, arg1, arg2) elink_cb_dbg2(cb, fmt, arg1, arg2) argument
108 elink_cb_dbg3(cb, fmt, arg1, arg2, arg3)
112 #define ELINK_DEBUG_P0(cb, fmt) argument
113 #define ELINK_DEBUG_P1(cb, fmt, arg1) argument
114 #define ELINK_DEBUG_P2(cb, fmt, arg1, arg2) argument
[all …]
/illumos-gate/usr/src/cmd/ipf/lib/
H A Dverbose.c21 void verbose(char *fmt, ...) in verbose() argument
23 void verbose(fmt, va_alist) in verbose()
24 char *fmt; in verbose()
30 va_start(pvar, fmt);
33 vprintf(fmt, pvar);
H A Ddebug.c21 void debug(char *fmt, ...) in debug() argument
23 void debug(fmt, va_alist) in debug()
24 char *fmt; in debug()
30 va_start(pvar, fmt);
33 vprintf(fmt, pvar);
/illumos-gate/usr/src/cmd/sgs/liblddbg/common/
H A Dlibs.c111 const char *fmt; in Dbg_libs_path() local
125 fmt = MSG_INTL(MSG_LIB_LDLIBPATHC); in Dbg_libs_path()
127 fmt = MSG_INTL(MSG_LIB_LDLIBPATH); in Dbg_libs_path()
131 fmt = MSG_INTL(MSG_LIB_RUNPATH); in Dbg_libs_path()
136 fmt = MSG_INTL(MSG_LIB_DEFAULTC); in Dbg_libs_path()
138 fmt = MSG_INTL(MSG_LIB_DEFAULT); in Dbg_libs_path()
143 fmt = MSG_INTL(MSG_LIB_TDEFAULTC); in Dbg_libs_path()
145 fmt = MSG_INTL(MSG_LIB_TDEFAULT); in Dbg_libs_path()
152 dbg_print(lml, fmt, path, obj); in Dbg_libs_path()

12345678910>>...47