/titanic_51/usr/src/uts/common/io/xge/hal/include/ |
H A D | xge-debug.h | 127 #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 135 * @fmt: printf like format string 143 #define xge_debug(module, level, fmt) { \ argument 147 xge_trace_aux(fmt); \ 153 #define xge_trace_aux(fmt...) xge_os_trace(g_xge_os_tracebuf, fmt) argument 155 #define xge_trace_aux(fmt argument 158 xge_debug(module,level,fmt...) global() argument 169 xge_debug_stats(xge_debug_level_e level,char * fmt,...) xge_debug_stats() argument 174 xge_debug_stats(level,fmt...) global() argument 179 xge_debug_stats(xge_debug_level_e level,char * fmt,...) xge_debug_stats() argument 181 xge_debug_stats(level,fmt...) global() argument 188 xge_debug_interrupt(xge_debug_level_e level,char * fmt,...) xge_debug_interrupt() argument 193 xge_debug_interrupt(level,fmt...) global() argument 198 xge_debug_interrupt(xge_debug_level_e level,char * fmt,...) xge_debug_interrupt() argument 200 xge_debug_interrupt(level,fmt...) global() argument 206 xge_debug_queue(xge_debug_level_e level,char * fmt,...) xge_debug_queue() argument 211 xge_debug_queue(level,fmt...) global() argument 216 xge_debug_queue(xge_debug_level_e level,char * fmt,...) xge_debug_queue() argument 219 xge_debug_queue(level,fmt...) global() argument 225 xge_debug_mm(xge_debug_level_e level,char * fmt,...) xge_debug_mm() argument 231 xge_debug_mm(level,fmt...) global() argument 236 xge_debug_mm(xge_debug_level_e level,char * fmt,...) xge_debug_mm() argument 239 xge_debug_mm(level,fmt...) global() argument 245 xge_debug_config(xge_debug_level_e level,char * fmt,...) xge_debug_config() argument 250 xge_debug_config(level,fmt...) global() argument 255 xge_debug_config(xge_debug_level_e level,char * fmt,...) xge_debug_config() argument 258 xge_debug_config(level,fmt...) global() argument 264 xge_debug_fifo(xge_debug_level_e level,char * fmt,...) xge_debug_fifo() argument 269 xge_debug_fifo(level,fmt...) global() argument 274 xge_debug_fifo(xge_debug_level_e level,char * fmt,...) xge_debug_fifo() argument 276 xge_debug_fifo(level,fmt...) global() argument 282 xge_debug_ring(xge_debug_level_e level,char * fmt,...) xge_debug_ring() argument 287 xge_debug_ring(level,fmt...) global() argument 292 xge_debug_ring(xge_debug_level_e level,char * fmt,...) xge_debug_ring() argument 294 xge_debug_ring(level,fmt...) global() argument 300 xge_debug_channel(xge_debug_level_e level,char * fmt,...) xge_debug_channel() argument 305 xge_debug_channel(level,fmt...) global() argument 310 xge_debug_channel(xge_debug_level_e level,char * fmt,...) xge_debug_channel() argument 312 xge_debug_channel(level,fmt...) global() argument 318 xge_debug_device(xge_debug_level_e level,char * fmt,...) xge_debug_device() argument 323 xge_debug_device(level,fmt...) global() argument 328 xge_debug_device(xge_debug_level_e level,char * fmt,...) xge_debug_device() argument 330 xge_debug_device(level,fmt...) global() argument 336 xge_debug_osdep(xge_debug_level_e level,char * fmt,...) xge_debug_osdep() argument 341 xge_debug_osdep(level,fmt...) global() argument 346 xge_debug_osdep(xge_debug_level_e level,char * fmt,...) xge_debug_osdep() argument 348 xge_debug_osdep(level,fmt...) global() argument 354 xge_debug_ll(xge_debug_level_e level,char * fmt,...) xge_debug_ll() argument 360 xge_debug_ll(level,fmt...) global() argument 365 xge_debug_ll(xge_debug_level_e level,char * fmt,...) xge_debug_ll() argument 367 xge_debug_ll(level,fmt...) global() argument 373 xge_debug_interrupt(xge_debug_level_e level,char * fmt,...) xge_debug_interrupt() argument 374 xge_debug_stats(xge_debug_level_e level,char * fmt,...) xge_debug_stats() argument 375 xge_debug_queue(xge_debug_level_e level,char * fmt,...) xge_debug_queue() argument 376 xge_debug_mm(xge_debug_level_e level,char * fmt,...) xge_debug_mm() argument 377 xge_debug_config(xge_debug_level_e level,char * fmt,...) xge_debug_config() argument 378 xge_debug_fifo(xge_debug_level_e level,char * fmt,...) xge_debug_fifo() argument 379 xge_debug_ring(xge_debug_level_e level,char * fmt,...) xge_debug_ring() argument 380 xge_debug_channel(xge_debug_level_e level,char * fmt,...) xge_debug_channel() argument 381 xge_debug_device(xge_debug_level_e level,char * fmt,...) xge_debug_device() argument 382 xge_debug_hal(xge_debug_level_e level,char * fmt,...) xge_debug_hal() argument 383 xge_debug_osdep(xge_debug_level_e level,char * fmt,...) xge_debug_osdep() argument 384 xge_debug_ll(xge_debug_level_e level,char * fmt,...) xge_debug_ll() argument [all...] |
/titanic_51/usr/src/lib/libast/common/disc/ |
H A D | sfkeyprintf.c | 42 Sffmt_t fmt; member 156 if (fp->fmt.t_str && fp->fmt.n_str > 0 && (v = fmtbuf(fp->fmt.n_str + 1))) in getfmt() 158 memcpy(v, fp->fmt.t_str, fp->fmt.n_str); in getfmt() 159 v[fp->fmt.n_str] = 0; in getfmt() 188 if (i == ':' && fp->fmt.fmt == 's' && strlen(a) > 4 && !isalnum(*(a + 4))) in getfmt() 204 t = fp->fmt.t_str; in getfmt() 205 fp->fmt.t_str = b; in getfmt() 206 h = (*fp->lookup)(fp->handle, &fp->fmt, a, &s, &n); in getfmt() 207 fp->fmt.t_str = t; in getfmt() 213 h = (*fp->lookup)(fp->handle, &fp->fmt, a, &s, &n); in getfmt() [all …]
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/disc/ |
H A D | sfkeyprintf.c | 42 Sffmt_t fmt; member 156 if (fp->fmt.t_str && fp->fmt.n_str > 0 && (v = fmtbuf(fp->fmt.n_str + 1))) in getfmt() 158 memcpy(v, fp->fmt.t_str, fp->fmt.n_str); in getfmt() 159 v[fp->fmt.n_str] = 0; in getfmt() 188 if (i == ':' && fp->fmt.fmt == 's' && strlen(a) > 4 && !isalnum(*(a + 4))) in getfmt() 204 t = fp->fmt in getfmt() 264 Fmt_t fmt; getfmt() local 345 Fmt_t fmt; sfkeyprintf() local 377 Fmt_t fmt; sfkeyprintf_20000308() local [all...] |
/titanic_51/usr/src/uts/sun/sys/dada/adapters/ghd/ |
H A D | ghd_debug.h | 39 extern void ghd_err(const char *fmt, ...) __PRINTFLIKE(1); 56 #define GDBG_PRF(fmt) prom_printf fmt argument 59 #define GDBG_PRF(fmt) ghd_err fmt argument 64 #define GDBG_FLAG_CHK(flag, fmt) if (ghd_debug_flags & (flag)) GDBG_PRF(fmt) argument 68 #define GDBG_FLAG_CHK(flag, fmt) argument 77 #define GDBG_ERROR(fmt) GDBG_FLAG_CHK(GDBG_FLAG_ERROR, fmt) argument 79 GDBG_ERROR(fmt) global() argument 86 GDBG_INTR(fmt) global() argument 87 GDBG_PEND_INTR(fmt) global() argument 88 GDBG_START(fmt) global() argument 89 GDBG_WARN(fmt) global() argument 90 GDBG_DMA(fmt) global() argument 91 GDBG_PKT(fmt) global() argument 92 GDBG_INIT(fmt) global() argument 93 GDBG_WAITQ(fmt) global() argument [all...] |
/titanic_51/usr/src/uts/intel/io/dktp/hba/ghd/ |
H A D | ghd_debug.h | 39 extern void ghd_err(const char *fmt, ...) __PRINTFLIKE(1); 56 #define GDBG_PRF(fmt) prom_printf fmt argument 59 #define GDBG_PRF(fmt) ghd_err fmt argument 64 #define GDBG_FLAG_CHK(flag, fmt) if (ghd_debug_flags & (flag)) GDBG_PRF(fmt) argument 68 #define GDBG_FLAG_CHK(flag, fmt) argument 77 #define GDBG_ERROR(fmt) GDBG_FLAG_CHK(GDBG_FLAG_ERROR, fmt) argument 79 GDBG_ERROR(fmt) global() argument 86 GDBG_INTR(fmt) global() argument 87 GDBG_PEND_INTR(fmt) global() argument 88 GDBG_START(fmt) global() argument 89 GDBG_WARN(fmt) global() argument 90 GDBG_DMA(fmt) global() argument 91 GDBG_PKT(fmt) global() argument 92 GDBG_INIT(fmt) global() argument 93 GDBG_WAITQ(fmt) global() argument [all...] |
/titanic_51/usr/src/lib/libc/port/gen/ |
H A D | err.c | 89 warncore(FILE *fp, const char *fmt, va_list args) in warncore() argument 98 if (fmt != NULL) { in warncore() 99 (void) vfprintf(fp, fmt, args); in warncore() 115 _vwarnxfp(FILE *fp, const char *fmt, va_list args) in _vwarnxfp() argument 119 lk = warncore(fp, fmt, args); in _vwarnxfp() 124 vwarnx(const char *fmt, va_list args) in vwarnx() argument 126 _vwarnxfp(stderr, fmt, args); in vwarnx() 130 _vwarnfp(FILE *fp, const char *fmt, va_list args) in _vwarnfp() argument 135 lk = warncore(fp, fmt, args); in _vwarnfp() 136 if (fmt ! in _vwarnfp() 145 vwarn(const char * fmt,va_list args) vwarn() argument 152 warnx(const char * fmt,...) warnx() argument 162 _warnfp(FILE * fp,const char * fmt,...) _warnfp() argument 172 _warnxfp(FILE * fp,const char * fmt,...) _warnxfp() argument 183 warn(const char * fmt,...) warn() argument 194 err(int status,const char * fmt,...) err() argument 205 _errfp(FILE * fp,int status,const char * fmt,...) _errfp() argument 216 verr(int status,const char * fmt,va_list args) verr() argument 223 _verrfp(FILE * fp,int status,const char * fmt,va_list args) _verrfp() argument 231 errx(int status,const char * fmt,...) errx() argument 242 _errxfp(FILE * fp,int status,const char * fmt,...) _errxfp() argument 253 verrx(int status,const char * fmt,va_list args) verrx() argument 260 _verrxfp(FILE * fp,int status,const char * fmt,va_list args) _verrxfp() argument [all...] |
H A D | nlspath_checks.c | 259 extract_format(const char *fmt, char *norm, size_t sz, int strict) in extract_format() argument 274 printf("Format \"%s\" canonical form: ", fmt); in extract_format() 277 for (; *fmt; fmt++) { in extract_format() 278 if (*fmt == '%') { in extract_format() 279 if (*++fmt == '%') in extract_format() 282 if (*fmt == '\0') in extract_format() 289 while (*fmt && isdigit(*fmt)) in extract_format() 290 t = t * 10 + *fmt in extract_format() [all...] |
/titanic_51/usr/src/cmd/printf/ |
H A D | printf.c | 96 char *format, *fmt, *start; in main() local 126 fmt = format = *argv; in main() 127 (void) escape(fmt, 1, &len); /* backslash interpretation */ in main() 137 start = fmt; in main() 138 while (fmt < format + len) { in main() 139 if (fmt[0] == '%') { in main() 140 (void) fwrite(start, 1, PTRDIFF(fmt, start), in main() 142 if (fmt[1] == '%') { in main() 145 fmt += 2; in main() 147 fmt in main() 176 doformat(char * fmt,int * rval) doformat() argument 445 escape(char * fmt,int percent,size_t * len) escape() argument [all...] |
/titanic_51/usr/src/uts/intel/io/dktp/controller/ata/ |
H A D | ata_debug.h | 45 #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 ADBG_TRANSPORT(fmt) global() argument 58 ADBG_DMA(fmt) global() argument 59 ADBG_ARQ(fmt) global() argument 77 ADBG_FLAG_CHK(flag,fmt) global() argument 79 ADBG_FLAG_CHK(flag,fmt) global() argument [all...] |
/titanic_51/usr/src/lib/libast/common/uwin/ |
H A D | err.c | 48 errmsg(int level, int code, const char* fmt, va_list ap) in errmsg() argument 63 errorv(fmt, level|ERROR_NOID, ap); in errmsg() 68 extern void verr(int code, const char* fmt, va_list ap) in verr() argument 70 errmsg(ERROR_ERROR|ERROR_SYSTEM, code, fmt, ap); in verr() 73 extern void err(int code, const char* fmt, ...) in err() argument 77 va_start(ap, fmt); in err() 78 errmsg(ERROR_ERROR|ERROR_SYSTEM, code, fmt, ap); in err() 82 extern void verrx(int code, const char* fmt, va_list ap) in verrx() argument 84 errmsg(ERROR_ERROR, code, fmt, ap); in verrx() 87 extern void errx(int code, const char* fmt, ...) in errx() argument [all …]
|
/titanic_51/usr/src/contrib/ast/src/lib/libast/uwin/ |
H A D | err.c | 48 errmsg(int level, int code, const char* fmt, va_list ap) in errmsg() argument 63 errorv(fmt, level|ERROR_NOID, ap); in errmsg() 68 extern void verr(int code, const char* fmt, va_list ap) in verr() argument 70 errmsg(ERROR_ERROR|ERROR_SYSTEM, code, fmt, ap); in verr() 73 extern void err(int code, const char* fmt, ...) in err() argument 77 va_start(ap, fmt); in err() 78 errmsg(ERROR_ERROR|ERROR_SYSTEM, code, fmt, ap); in err() 82 extern void verrx(int code, const char* fmt, va_list ap) in verrx() argument 84 errmsg(ERROR_ERROR, code, fmt, ap); in verrx() 87 extern void errx(int code, const char* fmt, argument 96 vwarn(const char * fmt,va_list ap) vwarn() argument 101 warn(const char * fmt,...) warn() argument 110 vwarnx(const char * fmt,va_list ap) vwarnx() argument 115 warnx(const char * fmt,...) warnx() argument [all...] |
/titanic_51/usr/src/lib/libxcurses/src/libc/xcurses/ |
H A D | printw.c | 49 printw(const char *fmt, ...) in printw() argument 55 __m_trace("printw(%p = \"%s\", ...)", fmt, fmt); in printw() 58 va_start(ap, fmt); in printw() 59 code = vw_printw(stdscr, fmt, ap); in printw() 66 mvprintw(int y, int x, const char *fmt, ...) in mvprintw() argument 72 __m_trace("mvprintw(%d, %d, %p = \"%s\", ...)", y, x, fmt, fmt); in mvprintw() 75 va_start(ap, fmt); in mvprintw() 77 code = vw_printw(stdscr, fmt, a in mvprintw() 84 mvwprintw(WINDOW * w,int y,int x,const char * fmt,...) mvwprintw() argument 102 wprintw(WINDOW * w,const char * fmt,...) wprintw() argument [all...] |
H A D | scanw.c | 49 scanw(const char *fmt, ...) in scanw() argument 55 __m_trace("scanw(%p = \"%s\", ...)", fmt, fmt); in scanw() 58 va_start(ap, fmt); in scanw() 59 code = vw_scanw(stdscr, fmt, ap); in scanw() 66 mvscanw(int y, int x, const char *fmt, ...) in mvscanw() argument 72 __m_trace("mvscanw(%d, %d, %p = \"%s\", ...)", y, x, fmt, fmt); in mvscanw() 75 va_start(ap, fmt); in mvscanw() 77 code = vw_scanw(stdscr, fmt, a in mvscanw() 84 mvwscanw(WINDOW * w,int y,int x,const char * fmt,...) mvwscanw() argument 102 wscanw(WINDOW * w,const char * fmt,...) wscanw() argument [all...] |
/titanic_51/usr/src/uts/common/os/ |
H A D | printf.c | 73 cprintf(const char *fmt, va_list adx, int sl, const char *prefix, in cprintf() argument 93 STRLOG_MAKE_MSGID(fmt, msgid); in cprintf() 95 if (strchr("^!?", fmt[0]) != NULL) { in cprintf() 96 if (fmt[0] == '^') in cprintf() 98 else if (fmt[0] == '!' || in cprintf() 101 fmt++; in cprintf() 119 msgp += vsnprintf(msgp, bufend - msgp, fmt, adx); in cprintf() 182 vzprintf(zoneid_t zoneid, const char *fmt, va_list adx) in vzprintf() argument 184 cprintf(fmt, adx, SL_CONSOLE | SL_NOTE, "", "", caller(), 0, 0, 0, in vzprintf() 189 vprintf(const char *fmt, va_lis argument 196 printf(const char * fmt,...) printf() argument 208 zprintf(zoneid_t zoneid,const char * fmt,...) zprintf() argument 219 vuprintf(const char * fmt,va_list adx) vuprintf() argument 238 uprintf(const char * fmt,...) uprintf() argument 250 vzdcmn_err(zoneid_t zoneid,void * site,int ce,const char * fmt,va_list adx,dev_info_t * dip) vzdcmn_err() argument 263 vzcmn_err(zoneid_t zoneid,int ce,const char * fmt,va_list adx) vzcmn_err() argument 269 vcmn_err(int ce,const char * fmt,va_list adx) vcmn_err() argument 276 cmn_err(int ce,const char * fmt,...) cmn_err() argument 287 zcmn_err(zoneid_t zoneid,int ce,const char * fmt,...) zcmn_err() argument 298 dev_err(dev_info_t * dip,int ce,char * fmt,...) dev_err() argument 339 strlog(short mid,short sid,char level,ushort_t sl,char * fmt,...) strlog() argument 352 vstrlog(short mid,short sid,char level,ushort_t sl,char * fmt,va_list adx) vstrlog() argument [all...] |
/titanic_51/usr/src/cmd/smserverd/ |
H A D | smediad_err.c | 46 fatal(const char *fmt, ...) in fatal() argument 50 va_start(ap, fmt); in fatal() 51 (void) vsyslog(LOG_DAEMON|LOG_CRIT, fmt, ap); in fatal() 58 quit(const char *fmt, ...) in quit() argument 62 va_start(ap, fmt); in quit() 63 (void) vsyslog(LOG_DAEMON|LOG_ERR, fmt, ap); in quit() 71 noise(const char *fmt, ...) in noise() argument 75 va_start(ap, fmt); in noise() 76 (void) vsyslog(LOG_DAEMON|LOG_WARNING, fmt, ap); in noise() 81 warning(const char *fmt, argument 92 info(const char * fmt,...) info() argument 108 debug(uint_t level,const char * fmt,...) debug() argument [all...] |
/titanic_51/usr/src/lib/libc/port/stdio/ |
H A D | scanf.c | 47 scanf(const char *fmt, ...) in scanf() argument 52 va_start(ap, fmt); in scanf() 53 ret = vscanf(fmt, ap); in scanf() 61 fscanf(FILE *iop, const char *fmt, ...) in fscanf() argument 66 va_start(ap, fmt); in fscanf() 67 ret = vfscanf(iop, fmt, ap); in fscanf() 75 sscanf(const char *str, const char *fmt, ...) in sscanf() argument 80 va_start(ap, fmt); in sscanf() 81 ret = vsscanf(str, fmt, ap); in sscanf() 101 _scanf_c89(const char *fmt, argument 114 _fscanf_c89(FILE * iop,const char * fmt,...) _fscanf_c89() argument 127 _sscanf_c89(const char * str,const char * fmt,...) _sscanf_c89() argument [all...] |
H A D | wscanf.c | 46 wscanf(const wchar_t *fmt, ...) in wscanf() argument 51 va_start(ap, fmt); in wscanf() 52 ret = vwscanf(fmt, ap); in wscanf() 59 fwscanf(FILE *iop, const wchar_t *fmt, ...) in fwscanf() argument 64 va_start(ap, fmt); in fwscanf() 65 ret = vfwscanf(iop, fmt, ap); in fwscanf() 72 swscanf(const wchar_t *wstr, const wchar_t *fmt, ...) in swscanf() argument 77 va_start(ap, fmt); in swscanf() 78 ret = vswscanf(wstr, fmt, ap); in swscanf() 99 _wscanf_c89(const wchar_t *fmt, argument 112 _fwscanf_c89(FILE * iop,const wchar_t * fmt,...) _fwscanf_c89() argument 125 _swscanf_c89(const wchar_t * wstr,const wchar_t * fmt,...) _swscanf_c89() argument [all...] |
/titanic_51/usr/src/uts/common/io/nge/ |
H A D | nge_log.c | 47 const char *fmt; member 56 nge_vprt(const char *fmt, va_list args) in nge_vprt() argument 62 (void) vsnprintf(buf, sizeof (buf), fmt, args); in nge_vprt() 63 cmn_err(nge_log_data.level, nge_log_data.fmt, nge_log_data.who, buf); in nge_vprt() 71 nge_log(nge_t *ngep, const char *fmt, ...) in nge_log() argument 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() 91 nge_problem(nge_t *ngep, const char *fmt, ...) in nge_problem() argument 97 nge_log_data.fmt in nge_problem() 111 nge_error(nge_t * ngep,const char * fmt,...) nge_error() argument 180 nge_prt(const char * fmt,...) nge_prt() argument [all...] |
/titanic_51/usr/src/grub/grub-0.97/netboot/ |
H A D | misc.c | 127 etherboot_vsprintf (char *buf, const char *fmt, const int *dp) in etherboot_vsprintf() argument 132 for ( ; *fmt != '\0'; ++fmt) in etherboot_vsprintf() 134 if (*fmt != '%') in etherboot_vsprintf() 136 buf ? *s++ = *fmt : grub_putchar (*fmt); in etherboot_vsprintf() 140 if (*++fmt == 's') in etherboot_vsprintf() 152 if (*fmt == '#') in etherboot_vsprintf() 155 fmt++; in etherboot_vsprintf() 158 if (*fmt in etherboot_vsprintf() 265 etherboot_sprintf(char * buf,const char * fmt,...) etherboot_sprintf() argument 271 etherboot_printf(const char * fmt,...) etherboot_printf() argument [all...] |
/titanic_51/usr/src/uts/common/io/rge/ |
H A D | rge_log.c | 47 const char *fmt; member 56 rge_vprt(const char *fmt, va_list args) in rge_vprt() argument 62 (void) vsnprintf(buf, sizeof (buf), fmt, args); in rge_vprt() 63 cmn_err(rge_log_data.level, rge_log_data.fmt, rge_log_data.who, buf); in rge_vprt() 70 rge_notice(rge_t *rgep, const char *fmt, ...) in rge_notice() argument 76 rge_log_data.fmt = "%s: %s"; in rge_notice() 79 va_start(args, fmt); in rge_notice() 80 rge_vprt(fmt, args); in rge_notice() 90 rge_log(rge_t *rgep, const char *fmt, ...) in rge_log() argument 96 rge_log_data.fmt in rge_log() 110 rge_problem(rge_t * rgep,const char * fmt,...) rge_problem() argument 130 rge_error(rge_t * rgep,const char * fmt,...) rge_error() argument 149 rge_prt(const char * fmt,...) rge_prt() argument [all...] |
/titanic_51/usr/src/lib/libadm/common/ |
H A D | cktime.c | 63 setmsg(char *msg, char *fmt, size_t sz) in setmsg() argument 65 if (fmt == NULL) in setmsg() 66 fmt = DEFAULT; in setmsg() 67 (void) snprintf(msg, sz, "%s <%s>.", ERRMSG, fmt); in setmsg() 137 cktime_val(char *fmt, char *input) in cktime_val() argument 142 if ((fmt != NULL) && (fmtcheck(fmt) == 1)) in cktime_val() 145 if (fmt == NULL) in cktime_val() 146 fmt = DEFAULT; in cktime_val() 148 while (*fmt in cktime_val() 280 cktime_err(char * fmt,char * error) cktime_err() argument 292 cktime_hlp(char * fmt,char * help) cktime_hlp() argument 310 fmtcheck(char * fmt) fmtcheck() argument 349 cktime(char * tod,char * fmt,char * defstr,char * error,char * help,char * prompt) cktime() argument [all...] |
/titanic_51/usr/src/cmd/vi/port/ |
H A D | printf.c | 71 viprintf(unsigned char *fmt, ...) in viprintf() argument 84 va_start(ap, fmt); in viprintf() 88 length2 = mbtowc(&wfcode, (char *)fmt, MB_LEN_MAX); in viprintf() 90 if (*fmt == '\0') { in viprintf() 91 fmt++; in viprintf() 94 putchar(*fmt++); in viprintf() 97 fmt++; in viprintf() 102 fmt += length2; in viprintf() 109 if (*fmt == '-') { in viprintf() 111 fmt in viprintf() [all...] |
/titanic_51/usr/src/uts/sun4u/starcat/sys/ |
H A D | sc_cvc.h | 56 #define CVC_DBG0(flag, fmt) \ argument 57 cvc_dbg(flag, fmt, 0, 0, 0, 0, 0); 58 #define CVC_DBG1(flag, fmt, a1) \ argument 59 cvc_dbg(flag, fmt, (uintptr_t)(a1), 0, 0, 0, 0); 60 #define CVC_DBG2(flag, fmt, a1, a2) \ argument 61 cvc_dbg(flag, fmt, (uintptr_t)(a1), (uintptr_t)(a2), 0, 0, 0); 62 #define CVC_DBG3(flag, fmt, a1, a2, a3) \ argument 63 cvc_dbg(flag, fmt, (uintptr_t)(a1), (uintptr_t)(a2), \ 65 #define CVC_DBG4(flag, fmt, a1, a2, a3, a4) \ argument 66 cvc_dbg(flag, fmt, (uintptr_ 68 CVC_DBG5(flag,fmt,a1,a2,a3,a4,a5) global() argument [all...] |
/titanic_51/usr/src/uts/common/io/dmfe/ |
H A D | dmfe_log.c | 35 const char *fmt; member 55 dmfe_vprt(const char *fmt, va_list args) in dmfe_vprt() argument 61 (void) vsnprintf(buf, sizeof (buf), fmt, args); in dmfe_vprt() 62 cmn_err(prtdata.level, prtdata.fmt, prtdata.ifname, buf); in dmfe_vprt() 70 dmfe_warning(dmfe_t *dmfep, const char *fmt, ...) in dmfe_warning() argument 78 prtdata.fmt = "%s: %s"; in dmfe_warning() 81 va_start(args, fmt); in dmfe_warning() 82 dmfe_vprt(fmt, args); in dmfe_warning() 100 dmfe_error(dmfe_t *dmfep, const char *fmt, ...) in dmfe_error() argument 106 prtdata.fmt in dmfe_error() 120 dmfe_notice(dmfe_t * dmfep,const char * fmt,...) dmfe_notice() argument 140 dmfe_log(dmfe_t * dmfep,const char * fmt,...) dmfe_log() argument [all...] |
/titanic_51/usr/src/cmd/cmd-inet/usr.bin/pppd/ |
H A D | utils.c | 113 slprintf __V((char *buf, int buflen, const char *fmt, ...)) in slprintf() argument 119 va_start(args, fmt); in slprintf() 123 const char *fmt; in slprintf() local 127 fmt = va_arg(args, const char *); in slprintf() 129 n = vslprintf(buf, buflen, fmt, args); in slprintf() 138 flprintf __V((FILE *strptr, const char *fmt, ...)) in flprintf() argument 145 va_start(args, fmt); in flprintf() 148 const char *fmt; in flprintf() local 151 fmt = va_arg(args, const char *); in flprintf() 153 n = vslprintf(buf, sizeof (buf), fmt, arg in flprintf() 179 vslprintf(buf,buflen,fmt,args) vslprintf() argument 479 vslp_printer(void * arg,const char * fmt,...) vslp_printer() argument 489 const char *fmt; vslp_printer() local 568 pr_log(void * arg,const char * fmt,...) pr_log() argument 578 const char *fmt; pr_log() local 638 logit(level,fmt,args) logit() argument 661 fatal(const char * fmt,...) fatal() argument 668 const char *fmt; fatal() local 683 error(const char * fmt,...) error() argument 690 const char *fmt; error() local 703 warn(const char * fmt,...) warn() argument 710 const char *fmt; warn() local 723 notice(const char * fmt,...) notice() argument 730 const char *fmt; notice() local 743 info(const char * fmt,...) info() argument 750 const char *fmt; info() local 763 dbglog(const char * fmt,...) dbglog() argument 770 const char *fmt; dbglog() local [all...] |