Home
last modified time | relevance | path

Searched refs:format (Results 76 – 100 of 773) sorted by relevance

12345678910>>...31

/illumos-gate/usr/src/uts/common/os/
H A Dpanic.c209 panicsys(const char *format, va_list alist, struct regs *rp, int on_panic_stack) in panicsys() argument
274 PANICBUFSIZE - pdp->pd_msgoff, format, alist); in panicsys()
285 panicstr = (char *)format; in panicsys()
338 vprintf(format, alist); in panicsys()
362 vprintf(format, alist); in panicsys()
402 panic(const char *format, ...) in panic() argument
406 va_start(alist, format); in panic()
407 vpanic(format, alist); in panic()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/bltins/
H A Dprint.c177 char *format = 0; in b_print() local
187 format = 0; in b_print()
291 if(format) in b_print()
292 format = genformat(format); in b_print()
321 if(format) in b_print()
470 stakputs(format); in genformat()
721 switch(format) in extend()
728 format = 's'; in extend()
776 switch(format) in extend()
806 format = *fp; in extend()
[all …]
/illumos-gate/usr/src/cmd/audio/audioconvert/
H A Dparse.cc86 format_type& format) in fileformat_parse() argument
90 format = F_SUN; in fileformat_parse()
92 format = F_RAW; in fileformat_parse()
140 format_type& format, in parse_format() argument
150 format = F_SUN; in parse_format()
204 if (fileformat_parse(val, format) < 0) { in parse_format()
229 (fileformat_parse(val, format) < 0)) { in parse_format()
/illumos-gate/usr/src/test/libc-tests/tests/common/
H A Dtest_common.c60 test_start(const char *format, ...) in test_start() argument
67 va_start(args, format); in test_start()
68 (void) vasprintf(&s, format, args); in test_start()
96 test_failed(test_t t, const char *format, ...) in test_failed() argument
103 va_start(args, format); in test_failed()
104 (void) vprintf(format, args); in test_failed()
117 va_start(args, format); in test_failed()
118 (void) vprintf(format, args); in test_failed()
176 test_debugf(test_t t, const char *format, ...) in test_debugf() argument
189 va_start(args, format); in test_debugf()
[all …]
/illumos-gate/usr/src/cmd/fm/fminject/common/
H A Dinj_lex.l119 yyerror(const char *format, ...)
126 if (*format == ' ') {
128 format++;
132 va_start(ap, format);
133 (void) vfprintf(stderr, format, ap);
136 if (strchr(format, '\n') == NULL)
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dpfmt_print.c59 __pfmt_print(FILE *stream, long flag, const char *format, in __pfmt_print() argument
70 if (format && !(flag & (long)MM_NOGET)) { in __pfmt_print()
72 ptr = format; in __pfmt_print()
88 format = __gtxt(catbuf, txtmsgnum, ptr); in __pfmt_print()
93 *text_ptr = format; in __pfmt_print()
156 if ((status = vfprintf(stream, format, args)) < 0) in __pfmt_print()
/illumos-gate/usr/src/cmd/hal/hald/
H A Dlogger.c137 logger_emit (const char *format, ...) in logger_emit() argument
152 va_start (args, format); in logger_emit()
153 vsnprintf (buf, sizeof (buf), format, args); in logger_emit()
210 logger_forward_debug (const char *format, ...) in logger_forward_debug() argument
226 va_start (args, format); in logger_forward_debug()
227 vsnprintf (buf, sizeof (buf), format, args); in logger_forward_debug()
/illumos-gate/usr/src/uts/common/io/usb/clients/audio/usb_as/
H A Dusb_as.c1654 * format->fmt_chns; in usb_as_get_pktsize()
2043 kmem_free(format, len); in usb_as_handle_descriptors()
2056 format->bFormatType, in usb_as_handle_descriptors()
2057 format->bNrChannels, in usb_as_handle_descriptors()
2058 format->bSubFrameSize, in usb_as_handle_descriptors()
2092 kmem_free(format, len); in usb_as_handle_descriptors()
2292 format->bNrChannels; in usb_as_prepare_registration_data()
2296 format->bFormatType; in usb_as_prepare_registration_data()
2342 format->bNrChannels, format->bSubFrameSize, in usb_as_valid_format()
2343 format->bBitResolution, format->bSamFreqType, in usb_as_valid_format()
[all …]
/illumos-gate/usr/src/cmd/mdb/common/libstandctf/
H A Dctf_subr.c136 ctf_dprintf(const char *format, ...) in ctf_dprintf() argument
140 va_start(alist, format); in ctf_dprintf()
141 mdb_dvprintf(MDB_DBG_CTF, format, alist); in ctf_dprintf()
160 ctf_vsnprintf(char *buf, size_t nbytes, const char *format, va_list alist) in ctf_vsnprintf() argument
162 return ((int)mdb_iob_vsnprintf(buf, nbytes, format, alist)); in ctf_vsnprintf()
/illumos-gate/usr/src/lib/libuutil/common/
H A Duu_alloc.c108 uu_msprintf(const char *format, ...) in uu_msprintf() argument
115 va_start(args, format); in uu_msprintf()
116 M = vsnprintf(attic, 1, format, args); in uu_msprintf()
124 va_start(args, format); in uu_msprintf()
125 M = vsnprintf(b, m + 1, format, args); in uu_msprintf()
/illumos-gate/usr/src/lib/libc/port/print/
H A Dvsprintf.c54 _vsprintf_c89(char *string, const char *format, va_list ap) in _vsprintf_c89() argument
56 vsprintf(char *string, const char *format, va_list ap) in _vsprintf_c89()
66 count = _ndoprnt(format, ap, &siop, _F_INTMAX32); in _vsprintf_c89()
68 count = _ndoprnt(format, ap, &siop, 0); in _vsprintf_c89()
H A Dvprintf.c56 _vprintf_c89(const char *format, va_list ap) in _vprintf_c89() argument
58 vprintf(const char *format, va_list ap) in _vprintf_c89()
82 count = _ndoprnt(format, ap, stdout, _F_INTMAX32); in _vprintf_c89()
84 count = _ndoprnt(format, ap, stdout, 0); in _vprintf_c89()
H A Dvfprintf.c55 _vfprintf_c89(FILE *iop, const char *format, va_list ap) in _vfprintf_c89() argument
57 vfprintf(FILE *iop, const char *format, va_list ap) in _vfprintf_c89()
81 count = _ndoprnt(format, ap, iop, _F_INTMAX32); in _vfprintf_c89()
83 count = _ndoprnt(format, ap, iop, 0); in _vfprintf_c89()
H A Dvsnprintf.c54 _vsnprintf_c89(char *string, size_t n, const char *format, va_list ap) in _vsnprintf_c89() argument
56 vsnprintf(char *string, size_t n, const char *format, va_list ap) in _vsnprintf_c89()
94 count = _ndoprnt(format, ap, &siop, _F_INTMAX32); in _vsnprintf_c89()
96 count = _ndoprnt(format, ap, &siop, 0); in _vsnprintf_c89()
/illumos-gate/usr/src/cmd/abi/spectrans/spec2trace/
H A Dprintfuncs.c150 char *format; in generate_printfunc_calls() local
174 format = "\tspf_prtype(ABISTREAM, pf_%s_str, %d, " in generate_printfunc_calls()
177 format = "\tspf_prtype(ABISTREAM, pf_%s_str, %d, " in generate_printfunc_calls()
180 (void) fprintf(Bodyfp, format, pf_str_name, li, name); in generate_printfunc_calls()
192 format = "\tspf_prtype(ABISTREAM, pf_%s_str, %d, " in generate_printfunc_calls()
195 format = "\tspf_prtype(ABISTREAM, pf_%s_str, %d, " in generate_printfunc_calls()
199 (void) fprintf(Bodyfp, format, pf_str_name, li); in generate_printfunc_calls()
/illumos-gate/usr/src/cmd/sendmail/libsm/
H A Dexc.c58 char format; local
78 format = '\0';
81 format = *p++;
86 format);
107 format == 'o' ? "%o"
108 : format == 'x' ? "%x"
115 format == 'o' ? "%lo"
116 : format == 'x' ? "%lx"
128 if (format)
129 (void) sm_io_putc(stream, SM_TIME_DEFAULT, format);
/illumos-gate/usr/src/lib/libc/port/locale/
H A Dwcsftime.c61 __wcsftime_xpg5(wchar_t *wcs, size_t maxsize, const wchar_t *format, in __wcsftime_xpg5() argument
79 formatp = format; in __wcsftime_xpg5()
122 wcsftime(wchar_t *wcs, size_t maxsize, const char *format, in wcsftime() argument
130 len = strlen(format) + 1; in wcsftime()
132 if (mbstowcs(wfmt, format, len) == (size_t)-1) { in wcsftime()
/illumos-gate/usr/src/lib/fm/libfmd_snmp/common/
H A DsunFM_impl.h41 extern void sunFm_panic(const char *format, ...) __NORETURN;
42 extern void sunFm_vpanic(const char *format, va_list ap) __NORETURN;
46 extern void sunFm_panic(const char *format, ...);
47 extern void sunFm_vpanic(const char *format, va_list ap);
/illumos-gate/usr/src/contrib/ast/src/lib/libcmd/
H A Dvmstate.c57 char* format; member
112 *ps = (char*)state->format; in key()
163 state.format = opt_info.arg; in b_vmstate()
177 if (!state.format) in b_vmstate()
178 state.format = FORMAT; in b_vmstate()
194 sfkeyprintf(sfstdout, &state, state.format, key, NiL); in b_vmstate()
/illumos-gate/usr/src/cmd/sgs/demo_rdb/common/
H A Dutils.c98 print_mem(struct ps_prochandle *ph, ulong_t address, int count, char *format) in print_mem() argument
102 if ((*format == 'X') || (*format == 'x')) { in print_mem()
123 if (*format == 'b') { in print_mem()
144 if (*format == 's') { in print_mem()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastquery.c43 astquery(int quit, const char* format, ...) in astquery() argument
56 va_start(ap, format); in astquery()
57 if (!format) in astquery()
85 sfvprintf(op, format, ap); in astquery()
/illumos-gate/usr/src/test/os-tests/tests/poll/
H A Dpoll_test.c100 debug_log(const char *format, ...) in debug_log() argument
110 va_start(args, format); in debug_log()
111 (void) vprintf(format, args); in debug_log()
116 test_start(const char *testName, const char *format, ...) in test_start() argument
122 va_start(args, format); in test_start()
123 (void) vprintf(format, args); in test_start()
129 test_failed(const char *testName, const char *format, ...) in test_failed() argument
135 va_start(args, format); in test_failed()
136 (void) vprintf(format, args); in test_failed()
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dchar_io.c200 grub_vprintf (const char *format, int *dataptr) in grub_vprintf() argument
206 while ((c = *(format++)) != 0) in grub_vprintf()
212 while ((c = *(format++)) != 0) { in grub_vprintf()
933 while ((c = *format++) != 0) in grub_vsprintf()
941 while (c = *(format++)) { in grub_vsprintf()
1002 int *dataptr = (int *) &format; in grub_sprintf()
1011 noisy_printf (const char *format,...) in noisy_printf() argument
1013 int *dataptr = (int *) &format; in noisy_printf()
1016 grub_vprintf(format, dataptr); in noisy_printf()
1024 grub_printf (const char *format,...) in grub_printf() argument
[all …]
/illumos-gate/usr/src/cmd/fm/fmd/common/
H A Dfmd_trace.c104 fmd_trace_none(fmd_tracebuf_t *tbp, uint_t tag, const char *format, va_list ap) in fmd_trace_none() argument
110 fmd_trace_lite(fmd_tracebuf_t *tbp, uint_t tag, const char *format, va_list ap) in fmd_trace_lite() argument
127 (void) vsnprintf(trp->tr_msg, sizeof (trp->tr_msg), format, ap); in fmd_trace_lite()
142 fmd_trace_full(fmd_tracebuf_t *tbp, uint_t tag, const char *format, va_list ap) in fmd_trace_full() argument
166 fmd_vdprintf(tag, format, ap); in fmd_trace_full()
168 (void) vsnprintf(trp->tr_msg, sizeof (trp->tr_msg), format, ap); in fmd_trace_full()
/illumos-gate/usr/src/uts/common/sys/sata/adapters/si3124/
H A Dsi3124var.h268 #define SIDBG(flag, format, args ...) \ argument
270 si_log(NULL, NULL, format, ## args); \
273 #define SIDBG_P(flag, si_portp, format, args ...) \ argument
275 si_log(NULL, si_portp, format, ## args); \
278 #define SIDBG_C(flag, si_ctlp, format, args ...) \ argument
280 si_log(si_ctlp, NULL, format, ## args); \

12345678910>>...31