Home
last modified time | relevance | path

Searched refs:fmt (Results 1 – 25 of 1138) sorted by relevance

12345678910>>...46

/illumos-gate/usr/src/uts/common/io/xge/hal/include/
H A Dxge-debug.h127 #define xge_trace_aux(fmt) xge_os_vatrace(g_xge_os_tracebuf, fmt) argument
129 #define xge_trace_aux(fmt) xge_os_vaprintf(fmt) argument
153 #define xge_trace_aux(fmt...) xge_os_trace(g_xge_os_tracebuf, fmt) argument
155 #define xge_trace_aux(fmt...) xge_os_printf(fmt) argument
171 xge_debug(module, level, fmt); in xge_debug_stats()
190 xge_debug(module, level, fmt); in xge_debug_interrupt()
208 xge_debug(module, level, fmt); in xge_debug_queue()
228 xge_debug(module, level, fmt); in xge_debug_mm()
247 xge_debug(module, level, fmt); in xge_debug_config()
266 xge_debug(module, level, fmt); in xge_debug_fifo()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/disc/
H A Dsfkeyprintf.c217 switch (fp->fmt.fmt) in getfmt()
241 fp->fmt.fmt = 's'; in getfmt()
246 fp->fmt.fmt = 'd'; in getfmt()
267 fmt.fmt.form = v; in getfmt()
316 fp->fmt.fmt = 'c'; in getfmt()
347 memset(&fmt, 0, sizeof(fmt)); in sfkeyprintf()
349 fmt.fmt.form = (char*)format; in sfkeyprintf()
350 fmt.fmt.extf = getfmt; in sfkeyprintf()
379 memset(&fmt, 0, sizeof(fmt)); in sfkeyprintf_20000308()
382 fmt.fmt.form = (char*)format; in sfkeyprintf_20000308()
[all …]
/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_kernel_printf.c125 for (; *fmt ; ++fmt) { in format_decode()
131 if (fmt != start || !*fmt) in format_decode()
140 ++fmt; in format_decode()
170 ++fmt; in format_decode()
185 if (*fmt == 'h' || _tolower(*fmt) == 'l' || in format_decode()
186 _tolower(*fmt) == 'z' || *fmt == 't') { in format_decode()
360 assert(fmt[0] == 'i' || fmt[0] == 'I'); in ip4()
407 assert(fmt[0] == 'i' || fmt[0] == 'I'); in ip6()
491 if (!(fmt[1] == 'F' || fmt[1] == 'R')) in mac_address_string()
493 if (fmt[0] == 'm' && fmt[1] == 'F') in mac_address_string()
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/hba/ghd/
H A Dghd_debug.h56 #define GDBG_PRF(fmt) prom_printf fmt argument
59 #define GDBG_PRF(fmt) ghd_err fmt argument
77 #define GDBG_ERROR(fmt) GDBG_FLAG_CHK(GDBG_FLAG_ERROR, fmt) argument
79 #define GDBG_ERROR(fmt) ghd_err fmt argument
86 #define GDBG_INTR(fmt) GDBG_FLAG_CHK(GDBG_FLAG_INTR, fmt) argument
88 #define GDBG_START(fmt) GDBG_FLAG_CHK(GDBG_FLAG_START, fmt) argument
89 #define GDBG_WARN(fmt) GDBG_FLAG_CHK(GDBG_FLAG_WARN, fmt) argument
90 #define GDBG_DMA(fmt) GDBG_FLAG_CHK(GDBG_FLAG_DMA, fmt) argument
91 #define GDBG_PKT(fmt) GDBG_FLAG_CHK(GDBG_FLAG_PKT, fmt) argument
92 #define GDBG_INIT(fmt) GDBG_FLAG_CHK(GDBG_FLAG_INIT, fmt) argument
[all …]
/illumos-gate/usr/src/uts/sun/sys/dada/adapters/ghd/
H A Dghd_debug.h56 #define GDBG_PRF(fmt) prom_printf fmt argument
59 #define GDBG_PRF(fmt) ghd_err fmt argument
77 #define GDBG_ERROR(fmt) GDBG_FLAG_CHK(GDBG_FLAG_ERROR, fmt) argument
79 #define GDBG_ERROR(fmt) ghd_err fmt argument
86 #define GDBG_INTR(fmt) GDBG_FLAG_CHK(GDBG_FLAG_INTR, fmt) argument
88 #define GDBG_START(fmt) GDBG_FLAG_CHK(GDBG_FLAG_START, fmt) argument
89 #define GDBG_WARN(fmt) GDBG_FLAG_CHK(GDBG_FLAG_WARN, fmt) argument
90 #define GDBG_DMA(fmt) GDBG_FLAG_CHK(GDBG_FLAG_DMA, fmt) argument
91 #define GDBG_PKT(fmt) GDBG_FLAG_CHK(GDBG_FLAG_PKT, fmt) argument
92 #define GDBG_INIT(fmt) GDBG_FLAG_CHK(GDBG_FLAG_INIT, fmt) argument
[all …]
/illumos-gate/usr/src/lib/libc/port/gen/
H A Derr.c98 if (fmt != NULL) { in warncore()
136 if (fmt != NULL) { in _vwarnfp()
156 va_start(args, fmt); in warnx()
157 vwarnx(fmt, args); in warnx()
166 va_start(args, fmt); in _warnfp()
176 va_start(args, fmt); in _warnxfp()
188 vwarn(fmt, args); in warn()
199 vwarn(fmt, args); in err()
218 vwarn(fmt, args); in verr()
236 vwarnx(fmt, args); in errx()
[all …]
H A Dnlspath_checks.c275 for (; *fmt; fmt++) { in extract_format()
287 while (*fmt && isdigit(*fmt)) in extract_format()
292 fmt++; in extract_format()
311 fmt++; in extract_format()
317 while (*fmt && isdigit(*fmt)) in extract_format()
318 fmt++; in extract_format()
324 while (*fmt && isdigit(*fmt)) in extract_format()
352 fmt++; in extract_format()
356 if (*fmt == '.' || *fmt == '*') { in extract_format()
360 fmt++; in extract_format()
[all …]
/illumos-gate/usr/src/cmd/printf/
H A Dprintf.c147 fmt = doformat(fmt, &rval); in main()
154 fmt++; in main()
192 fmt++; in doformat()
215 while (*fmt && strchr(skip1, *fmt) != NULL) { in doformat()
223 fmt++; in doformat()
263 fmt++; in doformat()
268 fmt++; in doformat()
326 fmt++; in doformat()
450 for (save = store = fmt; ((c = *fmt) != 0); ++fmt, ++store) { in escape()
499 c-- && *fmt >= '0' && *fmt <= '7'; ++fmt) { in escape()
[all …]
/illumos-gate/usr/src/uts/intel/io/dktp/controller/ata/
H A Data_debug.h45 #define ADBG_ERROR(fmt) ADBG_FLAG_CHK(ADBG_FLAG_ERROR, fmt) argument
47 #define ADBG_ERROR(fmt) ghd_err fmt
54 #define ADBG_WARN(fmt) ADBG_FLAG_CHK(ADBG_FLAG_WARN, fmt) argument
55 #define ADBG_TRACE(fmt) ADBG_FLAG_CHK(ADBG_FLAG_TRACE, fmt) argument
56 #define ADBG_INIT(fmt) ADBG_FLAG_CHK(ADBG_FLAG_INIT, fmt) argument
57 #define ADBG_TRANSPORT(fmt) ADBG_FLAG_CHK(ADBG_FLAG_TRANSPORT, fmt) argument
58 #define ADBG_DMA(fmt) ADBG_FLAG_CHK(ADBG_FLAG_DMA, fmt) argument
59 #define ADBG_ARQ(fmt) ADBG_FLAG_CHK(ADBG_FLAG_ARQ, fmt) argument
77 #define ADBG_FLAG_CHK(flag, fmt) if (ata_debug & (flag)) GDBG_PRF(fmt) argument
79 #define ADBG_FLAG_CHK(flag, fmt) argument
/illumos-gate/usr/src/lib/libfakekernel/common/
H A Dprintf.c86 if (fmt[0] == '^') in fakekernel_cprintf()
88 else if (fmt[0] == '!') in fakekernel_cprintf()
90 fmt++; in fakekernel_cprintf()
117 va_start(adx, fmt); in zprintf()
130 panicstr = (char *)fmt; in vpanic()
149 va_start(adx, fmt); in panic()
150 vpanic(fmt, adx); in panic()
159 va_start(adx, fmt); in fm_panic()
160 vpanic(fmt, adx); in fm_panic()
169 vpanic(fmt, adx); in vcmn_err()
[all …]
/illumos-gate/usr/src/contrib/ast/src/lib/libast/uwin/
H A Derr.c63 errorv(fmt, level|ERROR_NOID, ap); in errmsg()
77 va_start(ap, fmt); in err()
84 errmsg(ERROR_ERROR, code, fmt, ap); in verrx()
91 va_start(ap, fmt); in errx()
92 errmsg(ERROR_ERROR, code, fmt, ap); in errx()
101 extern void warn(const char* fmt, ...) in warn() argument
105 va_start(ap, fmt); in warn()
112 errmsg(ERROR_WARNING, 0, fmt, ap); in vwarnx()
115 extern void warnx(const char* fmt, ...) in warnx() argument
119 va_start(ap, fmt); in warnx()
[all …]
/illumos-gate/usr/src/uts/common/os/
H A Dprintf.c97 if (fmt[0] == '^') in cprintf()
102 fmt++; in cprintf()
201 va_start(adx, fmt); in printf()
213 va_start(adx, fmt); in zprintf()
243 va_start(adx, fmt); in uprintf()
245 vuprintf(fmt, adx); in uprintf()
255 vpanic(fmt, adx); in vzdcmn_err()
288 va_start(adx, fmt); in cmn_err()
299 va_start(adx, fmt); in zcmn_err()
310 va_start(adx, fmt); in dev_err()
[all …]
/illumos-gate/usr/src/lib/libxcurses/src/libc/xcurses/
H A Dprintw.c49 printw(const char *fmt, ...) in printw() argument
55 __m_trace("printw(%p = \"%s\", ...)", fmt, fmt); in printw()
58 va_start(ap, fmt); in printw()
72 __m_trace("mvprintw(%d, %d, %p = \"%s\", ...)", y, x, fmt, fmt); in mvprintw()
75 va_start(ap, fmt); in mvprintw()
90 __m_trace("mvwprintw(%p, %d, %d, %p = \"%s\", ...)", w, y, x, fmt, fmt); in mvwprintw()
93 va_start(ap, fmt); in mvwprintw()
95 code = vw_printw(w, fmt, ap); in mvwprintw()
108 __m_trace("wprintw(%p, %p = \"%s\", ...)", w, fmt, fmt); in wprintw()
111 va_start(ap, fmt); in wprintw()
[all …]
H A Dscanw.c49 scanw(const char *fmt, ...) in scanw() argument
55 __m_trace("scanw(%p = \"%s\", ...)", fmt, fmt); in scanw()
58 va_start(ap, fmt); in scanw()
72 __m_trace("mvscanw(%d, %d, %p = \"%s\", ...)", y, x, fmt, fmt); in mvscanw()
75 va_start(ap, fmt); in mvscanw()
90 __m_trace("mvwscanw(%p, %d, %d, %p = \"%s\", ...)", w, y, x, fmt, fmt); in mvwscanw()
93 va_start(ap, fmt); in mvwscanw()
95 code = vw_scanw(w, fmt, ap); in mvwscanw()
108 __m_trace("wscanw(%p, %p = \"%s\", ...)", w, fmt, fmt); in wscanw()
111 va_start(ap, fmt); in wscanw()
[all …]
/illumos-gate/usr/src/cmd/cmd-inet/usr.bin/pppd/
H A Dutils.c202 if (f > fmt) {
209 fmt = f;
211 if (*fmt == 0)
213 c = *++fmt;
219 c = *++fmt;
223 c = *++fmt;
227 c = *++fmt;
231 c = *++fmt;
234 c = *++fmt;
249 c = *++fmt;
[all …]
/illumos-gate/usr/src/uts/common/io/nge/
H A Dnge_log.c47 const char *fmt; member
77 nge_log_data.fmt = "!%s: %s"; in nge_log()
80 va_start(args, fmt); in nge_log()
81 nge_vprt(fmt, args); in nge_log()
97 nge_log_data.fmt = "!%s: %s"; in nge_problem()
100 va_start(args, fmt); in nge_problem()
101 nge_vprt(fmt, args); in nge_problem()
120 va_start(args, fmt); in nge_error()
121 nge_vprt(fmt, args); in nge_error()
186 va_start(args, fmt); in nge_prt()
[all …]
/illumos-gate/usr/src/cmd/smserverd/
H A Dsmediad_err.c46 fatal(const char *fmt, ...) in fatal() argument
50 va_start(ap, fmt); in fatal()
58 quit(const char *fmt, ...) in quit() argument
62 va_start(ap, fmt); in quit()
71 noise(const char *fmt, ...) in noise() argument
75 va_start(ap, fmt); in noise()
81 warning(const char *fmt, ...) in warning() argument
85 va_start(ap, fmt); in warning()
92 info(const char *fmt, ...) in info() argument
101 va_start(ap, fmt); in info()
[all …]
/illumos-gate/usr/src/lib/libc/port/stdio/
H A Dscanf.c47 scanf(const char *fmt, ...) in scanf() argument
52 va_start(ap, fmt); in scanf()
53 ret = vscanf(fmt, ap); in scanf()
66 va_start(ap, fmt); in fscanf()
67 ret = vfscanf(iop, fmt, ap); in fscanf()
80 va_start(ap, fmt); in sscanf()
81 ret = vsscanf(str, fmt, ap); in sscanf()
106 va_start(ap, fmt); in _scanf_c89()
107 ret = _vscanf_c89(fmt, ap); in _scanf_c89()
119 va_start(ap, fmt); in _fscanf_c89()
[all …]
H A Dwscanf.c46 wscanf(const wchar_t *fmt, ...) in wscanf() argument
51 va_start(ap, fmt); in wscanf()
52 ret = vwscanf(fmt, ap); in wscanf()
64 va_start(ap, fmt); in fwscanf()
65 ret = vfwscanf(iop, fmt, ap); in fwscanf()
77 va_start(ap, fmt); in swscanf()
78 ret = vswscanf(wstr, fmt, ap); in swscanf()
104 va_start(ap, fmt); in _wscanf_c89()
105 ret = _vwscanf_c89(fmt, ap); in _wscanf_c89()
117 va_start(ap, fmt); in _fwscanf_c89()
[all …]
/illumos-gate/usr/src/grub/grub-0.97/netboot/
H A Dmisc.c132 for ( ; *fmt != '\0'; ++fmt) in etherboot_vsprintf()
136 buf ? *s++ = *fmt : grub_putchar (*fmt); in etherboot_vsprintf()
152 if (*fmt == '#') in etherboot_vsprintf()
155 fmt++; in etherboot_vsprintf()
158 if (*fmt == 'h') in etherboot_vsprintf()
161 fmt++; in etherboot_vsprintf()
164 if (*fmt == 'h') in etherboot_vsprintf()
167 fmt++; in etherboot_vsprintf()
250 *q++ = *fmt; in etherboot_vsprintf()
267 return etherboot_vsprintf (buf, fmt, ((const int *) &fmt) + 1); in etherboot_sprintf()
[all …]
/illumos-gate/usr/src/uts/common/io/rge/
H A Drge_log.c47 const char *fmt; member
79 va_start(args, fmt); in rge_notice()
80 rge_vprt(fmt, args); in rge_notice()
99 va_start(args, fmt); in rge_log()
100 rge_vprt(fmt, args); in rge_log()
119 va_start(args, fmt); in rge_problem()
120 rge_vprt(fmt, args); in rge_problem()
139 va_start(args, fmt); in rge_error()
140 rge_vprt(fmt, args); in rge_error()
155 va_start(args, fmt); in rge_prt()
[all …]
/illumos-gate/usr/src/lib/libadm/common/
H A Dcktime.c65 if (fmt == NULL) in setmsg()
66 fmt = DEFAULT; in setmsg()
142 if ((fmt != NULL) && (fmtcheck(fmt) == 1)) in cktime_val()
145 if (fmt == NULL) in cktime_val()
146 fmt = DEFAULT; in cktime_val()
270 fmt++; in cktime_val()
284 if ((fmt != NULL) && (fmtcheck(fmt) == 1)) in cktime_err()
296 if ((fmt != NULL) && (fmtcheck(fmt) == 1)) in cktime_hlp()
314 while (*fmt) { in fmtcheck()
355 if ((fmt != NULL) && (fmtcheck(fmt) == 1)) in cktime()
[all …]
H A Dckdate.c76 if ((fmt == NULL) || strcmp(fmt, "%D") == 0) in setmsg()
77 fmt = "%m/%d/%y"; in setmsg()
232 if ((fmt != NULL) && (fmtcheck(fmt) == 1)) in ckdate_err()
244 if ((fmt != NULL) && (fmtcheck(fmt) == 1)) in ckdate_hlp()
262 while (*fmt) { in fmtcheck()
304 if ((fmt != NULL) && (fmtcheck(fmt) == 1)) in ckdate_val()
307 if (fmt == NULL) in ckdate_val()
308 fmt = DEFAULT; in ckdate_val()
312 fmt++; in ckdate_val()
392 fmt++; in ckdate_val()
[all …]
/illumos-gate/usr/src/cmd/vi/port/
H A Dprintf.c85 fmt++; in viprintf()
91 fmt++; in viprintf()
105 fmt++; in viprintf()
112 fmt++; in viprintf()
122 fmt++; in viprintf()
126 while (*fmt>='0' && *fmt<='9') in viprintf()
131 if (*fmt=='.') { in viprintf()
134 fmt++; in viprintf()
138 while (*fmt>='0' && *fmt<='9') in viprintf()
155 switch (*fmt) { in viprintf()
[all …]
/illumos-gate/usr/src/uts/common/io/dmfe/
H A Ddmfe_log.c35 const char *fmt; member
78 prtdata.fmt = "%s: %s"; in dmfe_warning()
81 va_start(args, fmt); in dmfe_warning()
82 dmfe_vprt(fmt, args); in dmfe_warning()
109 va_start(args, fmt); in dmfe_error()
110 dmfe_vprt(fmt, args); in dmfe_error()
126 prtdata.fmt = "%s: %s"; in dmfe_notice()
129 va_start(args, fmt); in dmfe_notice()
130 dmfe_vprt(fmt, args); in dmfe_notice()
149 va_start(args, fmt); in dmfe_log()
[all …]

12345678910>>...46