/illumos-gate/usr/src/lib/libfakekernel/common/ |
H A D | printf.c | 73 fakekernel_cprintf(const char *fmt, va_list adx, int flags, argument 82 if (strchr("^!?", fmt[0]) != NULL) { 83 if (fmt[0] == '^') 85 else if (fmt[0] == '!') 87 fmt++; 94 msgp += vsnprintf(msgp, bufend - msgp, fmt, adx); 105 vpanic(const char *fmt, va_list adx) argument 109 panicstr = (char *)fmt; 113 fakekernel_cprintf(fmt, tmpargs, SL_FATAL, "fatal: ", "\n"); 116 (void) vsnprintf(panicbuf, sizeof (panicbuf), fmt, ad 123 panic(const char *fmt, ...) argument 133 vcmn_err(int ce, const char *fmt, va_list adx) argument 147 cmn_err(int ce, const char *fmt, ...) argument [all...] |
/illumos-gate/usr/src/uts/common/io/rge/ |
H A D | rge_log.c | 47 const char *fmt; member in struct:__anon6478 56 rge_vprt(const char *fmt, va_list args) argument 62 (void) vsnprintf(buf, sizeof (buf), fmt, args); 63 cmn_err(rge_log_data.level, rge_log_data.fmt, rge_log_data.who, buf); 70 rge_notice(rge_t *rgep, const char *fmt, ...) argument 76 rge_log_data.fmt = "%s: %s"; 79 va_start(args, fmt); 80 rge_vprt(fmt, args); 90 rge_log(rge_t *rgep, const char *fmt, ...) argument 96 rge_log_data.fmt 110 rge_problem(rge_t *rgep, const char *fmt, ...) argument 130 rge_error(rge_t *rgep, const char *fmt, ...) argument 149 rge_prt(const char *fmt, ...) argument [all...] |
/illumos-gate/usr/src/cmd/vi/port/ |
H A D | printf.c | 71 viprintf(unsigned char *fmt, ...) argument 84 va_start(ap, fmt); 88 length2 = mbtowc(&wfcode, (char *)fmt, MB_LEN_MAX); 90 if (*fmt == '\0') { 91 fmt++; 94 putchar(*fmt++); 97 fmt++; 102 fmt += length2; 109 if (*fmt == '-') { 111 fmt [all...] |
H A D | ovprintf.c | 41 printf(fmt, args) 42 char *fmt; 44 _doprnt(fmt, &args, 0);
|
/illumos-gate/usr/src/grub/grub-0.97/netboot/ |
H A D | misc.c | 127 etherboot_vsprintf (char *buf, const char *fmt, const int *dp) argument 132 for ( ; *fmt != '\0'; ++fmt) 134 if (*fmt != '%') 136 buf ? *s++ = *fmt : grub_putchar (*fmt); 140 if (*++fmt == 's') 152 if (*fmt == '#') 155 fmt++; 158 if (*fmt 265 etherboot_sprintf(char *buf, const char *fmt, ...) argument 271 etherboot_printf(const char *fmt, ...) argument [all...] |
/illumos-gate/usr/src/uts/sun4u/sys/pci/ |
H A D | db21554_debug.h | 99 #define DB_DEBUG0(func_id, dip, fmt) \ 100 db_debug(func_id, dip, fmt, 0, 0, 0, 0, 0); 101 #define DB_DEBUG1(func_id, dip, fmt, a1) \ 102 db_debug(func_id, dip, fmt, (uintptr_t)(a1), 0, 0, 0, 0); 103 #define DB_DEBUG2(func_id, dip, fmt, a1, a2) \ 104 db_debug(func_id, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0); 105 #define DB_DEBUG3(func_id, dip, fmt, a1, a2, a3) \ 106 db_debug(func_id, dip, fmt, (uintptr_t)(a1), \ 108 #define DB_DEBUG4(func_id, dip, fmt, a1, a2, a3, a4) \ 109 db_debug(func_id, dip, fmt, (uintptr_ [all...] |
H A D | pci_debug.h | 93 #define DEBUG0(flag, dip, fmt) \ 94 pci_debug(flag, dip, fmt, 0, 0, 0, 0, 0); 95 #define DEBUG1(flag, dip, fmt, a1) \ 96 pci_debug(flag, dip, fmt, (uintptr_t)(a1), 0, 0, 0, 0); 97 #define DEBUG2(flag, dip, fmt, a1, a2) \ 98 pci_debug(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0); 99 #define DEBUG3(flag, dip, fmt, a1, a2, a3) \ 100 pci_debug(flag, dip, fmt, (uintptr_t)(a1), \ 102 #define DEBUG4(flag, dip, fmt, a1, a2, a3, a4) \ 103 pci_debug(flag, dip, fmt, (uintptr_ [all...] |
/illumos-gate/usr/src/uts/sun4u/opl/sys/pcicmu/ |
H A D | pcmu_util.h | 83 #define PCMU_DBG0(flag, dip, fmt) \ 84 pcmu_debug(flag, dip, fmt, 0, 0, 0, 0, 0); 86 #define PCMU_DBG1(flag, dip, fmt, a1) \ 87 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), 0, 0, 0, 0); 89 #define PCMU_DBG2(flag, dip, fmt, a1, a2) \ 90 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0); 92 #define PCMU_DBG3(flag, dip, fmt, a1, a2, a3) \ 93 pcmu_debug(flag, dip, fmt, (uintptr_t)(a1), \ 96 #define PCMU_DBG4(flag, dip, fmt, a1, a2, a3, a4) \ 97 pcmu_debug(flag, dip, fmt, (uintptr_ [all...] |
/illumos-gate/usr/src/uts/common/io/e1000g/ |
H A D | e1000g_debug.h | 75 #define E1000G_DEBUGLOG_0(Adapter, Level, fmt) \ 76 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt)) 78 #define E1000G_DEBUGLOG_1(Adapter, Level, fmt, d1) \ 79 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt), (d1)) 81 #define E1000G_DEBUGLOG_2(Adapter, Level, fmt, d1, d2) \ 82 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt), (d1), (d2)) 84 #define E1000G_DEBUGLOG_3(Adapter, Level, fmt, d1, d2, d3) \ 85 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt), (d1),\ 88 #define E1000G_DEBUGLOG_4(Adapter, Level, fmt, d1, d2, d3, d4) \ 89 if (e1000g_debug) e1000g_log((Adapter), (Level), (fmt), (d [all...] |
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | vwscanw.c | 58 vwscanw(w, fmt, ap) 60 const char *fmt; 72 __m_trace("vwscanw(%p, %p = \"%s\", %p)", w, fmt, fmt, ap); 76 (void) m_vsscanf(buffer, fmt, ap); 78 (void) m_vsscanf(buffer, fmt, (va_list) ap);
|
/illumos-gate/usr/src/lib/libxcurses/src/tic/ |
H A D | ticerror.c | 56 char *fmt = m_msgdup((char *) f); local 65 (void) vfprintf(stderr, fmt, ap); 69 m_msgfree(fmt); 81 char *fmt = m_msgdup((char *) f); local 90 (void) vfprintf(stderr, fmt, ap); 94 m_msgfree(fmt);
|
/illumos-gate/usr/src/lib/libpkg/common/ |
H A D | logerr.c | 39 logerr(char *fmt, ...) argument 48 va_start(ap, fmt); 51 if (strncmp(fmt, estr, strlen(estr)) && 52 strncmp(fmt, wstr, strlen(wstr)) && 53 strncmp(fmt, nstr, strlen(nstr))) { 62 (void) vsnprintf(buffer, sizeof (buffer), fmt, ap);
|
/illumos-gate/usr/src/cmd/mail/ |
H A D | Dout.c | 51 Dout(char *subname, int level, char *fmt, ...) argument 67 char *fmt; local 75 fmt = Xfmt; 80 va_start(args, fmt); 85 fmt = va_arg(args, char *); 92 vfprintf(dbgfp, fmt, args);
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | vscanf.c | 65 _vscanf_c89(const char *fmt, va_list ap) argument 67 vscanf(const char *fmt, va_list ap) 78 ret = __doscan_u(stdin, fmt, ap, _F_INTMAX32); 80 ret = __doscan_u(stdin, fmt, ap, 0); 89 _vfscanf_c89(FILE *iop, const char *fmt, va_list ap) argument 91 vfscanf(FILE *iop, const char *fmt, va_list ap) 102 ret = __doscan_u(iop, fmt, ap, _F_INTMAX32); 104 ret = __doscan_u(iop, fmt, ap, 0); 112 _vsscanf_c89(const char *str, const char *fmt, va_list ap) argument 114 vsscanf(const char *str, const char *fmt, va_lis [all...] |
/illumos-gate/usr/src/cmd/lvm/metassist/common/ |
H A D | volume_error.c | 74 * @param fmt 86 char *fmt, 92 va_start(ap, fmt); 93 ret = vsnprintf(volume_error, VOLUME_ERROR_BUFSIZE, fmt, ap); 85 volume_set_error( char *fmt, ...) argument
|
/illumos-gate/usr/src/lib/cfgadm_plugins/ac/common/ |
H A D | mema_util.c | 55 const char *fmt, 68 elen = strlen(fmt) + extra_length_hint + FMT_STR_SLOP; 73 va_start(ap, fmt); 74 (void) vsprintf(ebuf, fmt, ap); 52 __fmt_errstring( char **errstring, size_t extra_length_hint, const char *fmt, ...) argument
|
/illumos-gate/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_error.c | 113 const char *fmt, 123 (void) vfprintf(stderr, fmt, ap); 130 vsyslog(LOG_ERR, fmt, ap); 136 const char *fmt, 142 va_start(ap, fmt); 143 med_vprintf(fmt, ap); 154 const char *fmt, 173 if ((fmt != NULL) && (*fmt != '\0')) { 174 n = vsnprintf(p, len, fmt, a 112 med_vprintf( const char *fmt, va_list ap ) argument 135 med_eprintf( const char *fmt, ... ) argument 152 med_vperror( med_err_t *medep, const char *fmt, va_list ap ) argument 187 medde_perror( med_err_t *medep, const char *fmt, ... ) argument 202 med_perror( const char *fmt, ... ) argument [all...] |
/illumos-gate/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_error.c | 102 const char *fmt, 110 (void) vfprintf(stderr, fmt, ap); 115 vsyslog(LOG_ERR, fmt, ap); 121 const char *fmt, 127 va_start(ap, fmt); 128 mhd_vprintf(fmt, ap); 139 const char *fmt, 153 if ((fmt != NULL) && (*fmt != '\0')) { 154 n = vsnprintf(p, len, fmt, a 101 mhd_vprintf( const char *fmt, va_list ap ) argument 120 mhd_eprintf( const char *fmt, ... ) argument 137 mhd_vperror( mhd_error_t *mhep, const char *fmt, va_list ap ) argument 167 mhde_perror( mhd_error_t *mhep, const char *fmt, ... ) argument 182 mhd_perror( const char *fmt, ... ) argument [all...] |
/illumos-gate/usr/src/cmd/tic/ |
H A D | tic_error.c | 101 warning(char *fmt, ...) argument 105 va_start(args, fmt); 110 vfprintf(stderr, fmt, args); 118 err_abort(char *fmt, ...) argument 122 va_start(args, fmt); 127 vfprintf(stderr, fmt, args); 136 syserr_abort(char *fmt, ...) argument 140 va_start(args, fmt); 145 vfprintf(stderr, fmt, args);
|
/illumos-gate/usr/src/uts/i86pc/dboot/ |
H A D | dboot_printf.c | 47 static void do_dboot_printf(char *fmt, va_list args); 55 dboot_panic(char *fmt, ...) argument 59 va_start(args, fmt); 60 do_dboot_printf(fmt, args); 74 dboot_printf(char *fmt, ...) argument 78 va_start(args, fmt); 79 do_dboot_printf(fmt, args); 120 do_dboot_printf(char *fmt, va_list args) argument 128 if (fmt == NULL) { 132 for (; *fmt; [all...] |
/illumos-gate/usr/src/uts/common/io/ixgbe/ |
H A D | ixgbe_log.c | 39 ixgbe_notice(void *arg, const char *fmt, ...) argument 45 va_start(ap, fmt); 46 (void) vsnprintf(buf, sizeof (buf), fmt, ap); 60 ixgbe_log(void *arg, const char *fmt, ...) argument 66 va_start(ap, fmt); 67 (void) vsnprintf(buf, sizeof (buf), fmt, ap); 81 ixgbe_error(void *arg, const char *fmt, ...) argument 87 va_start(ap, fmt); 88 (void) vsnprintf(buf, sizeof (buf), fmt, ap);
|
H A D | ixgbe_debug.h | 47 #define IXGBE_DEBUGLOG_0(adapter, fmt) \ 48 ixgbe_log((adapter), (fmt)) 49 #define IXGBE_DEBUGLOG_1(adapter, fmt, d1) \ 50 ixgbe_log((adapter), (fmt), (d1)) 51 #define IXGBE_DEBUGLOG_2(adapter, fmt, d1, d2) \ 52 ixgbe_log((adapter), (fmt), (d1), (d2)) 53 #define IXGBE_DEBUGLOG_3(adapter, fmt, d1, d2, d3) \ 54 ixgbe_log((adapter), (fmt), (d1), (d2), (d3)) 55 #define IXGBE_DEBUGLOG_6(adapter, fmt, d1, d2, d3, d4, d5, d6) \ 56 ixgbe_log((adapter), (fmt), (d [all...] |
/illumos-gate/usr/src/uts/intel/ia32/promif/ |
H A D | prom_panic.c | 37 const char fmt[] = "%s: prom_panic: %s\n"; local 43 prom_printf(fmt, "boot", s); 48 prom_printf(fmt, "kmdb", s); 50 prom_printf(fmt, "kernel", s);
|
/illumos-gate/usr/src/uts/common/io/bge/ |
H A D | bge_log.c | 47 const char *fmt; member in struct:__anon4966 56 bge_vprt(const char *fmt, va_list args) argument 62 (void) vsnprintf(buf, sizeof (buf), fmt, args); 63 cmn_err(bge_log_data.level, bge_log_data.fmt, bge_log_data.who, buf); 70 bge_log(bge_t *bgep, const char *fmt, ...) argument 76 bge_log_data.fmt = "!%s: %s"; 79 va_start(args, fmt); 80 bge_vprt(fmt, args); 90 bge_problem(bge_t *bgep, const char *fmt, ...) argument 96 bge_log_data.fmt 110 bge_error(bge_t *bgep, const char *fmt, ...) argument 143 bge_prt(const char *fmt, ...) argument [all...] |
/illumos-gate/usr/src/cmd/ldmad/ |
H A D | ldma_log.c | 96 ldma_log_msg(int prio, char *module, char *fmt, va_list vap) argument 105 (void) vsnprintf(msgbuf, LDMA_MAX_MSG_LEN, fmt, vap); 122 ldma_err(char *module, char *fmt, ...) argument 126 va_start(vap, fmt); 127 ldma_log_msg(LOG_ERR, module, fmt, vap); 132 ldma_info(char *module, char *fmt, ...) argument 136 va_start(vap, fmt); 137 ldma_log_msg(LOG_INFO, module, fmt, vap); 142 ldma_dbg(char *module, char *fmt, ...) argument 151 va_start(vap, fmt); [all...] |