Searched refs:format (Results 1 - 25 of 31) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/
H A Dfprintf_stderr.c38 int (*vprintf_stderr_func)(const char *format, va_list ap);
49 int fprintf_stderr(const char *format, ...) argument
54 va_start(args, format);
56 retval = vprintf(format, args);
58 retval = (*vprintf_stderr_func)(format, args);
H A Dmach_error.c68 int fprintf_stderr(const char *format, ...);
/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dmisc.c49 void kld_error_vprintf(const char *format, va_list ap) { argument
50 _doprnt(format, &ap, &conslog_putc, 10);
H A Dload.h134 void (*)(const char * format, ...));
136 void (*)(const char * format, ...));
138 int (*)(int default_answer, const char * format, ...));
140 int (*)(int default_answer, const char * format, ...));
142 const char * (*)(const char * format, ...));
144 void kload_log_message(const char * format, ...);
145 void kload_log_error(const char * format, ...);
H A Dload.c156 static void __kload_null_log(const char * format, ...);
157 static void __kload_null_err_log(const char * format, ...);
158 static int __kload_null_approve(int default_answer, const char * format, ...);
159 static int __kload_null_veto(int default_answer, const char * format, ...);
160 static const char * __kload_null_input(const char * format, ...);
162 void (*__kload_log_func)(const char * format, ...) =
164 void (*__kload_err_log_func)(const char * format, ...) = &__kload_null_err_log;
166 const char * format, ...) = &__kload_null_approve;
168 const char * format, ...) = &__kload_null_veto;
169 const char * (*__kload_input_func)(const char * format,
2638 kload_set_log_function( void (*func)(const char * format, ...)) argument
2652 kload_set_error_log_function( void (*func)(const char * format, ...)) argument
2666 kload_set_user_approve_function( int (*func)(int default_answer, const char * format, ...)) argument
2680 kload_set_user_veto_function( int (*func)(int default_answer, const char * format, ...)) argument
2694 kload_set_user_input_function( const char * (*func)(const char * format, ...)) argument
2709 kload_log_message(const char * format, ...) argument
2743 kload_log_error(const char * format, ...) argument
2775 __kload_null_log(const char * format, ...) argument
2783 __kload_null_err_log(const char * format, ...) argument
2791 __kload_null_approve(int default_answer, const char * format, ...) argument
2799 __kload_null_veto(int default_answer, const char * format, ...) argument
2807 __kload_null_input(const char * format, ...) argument
2816 kld_error_vprintf(const char * format, va_list ap) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/iokit/Kernel/
H A DIOKitDebug.cpp71 char format[] = "%xxxs"; local
85 snprintf(format + 1, sizeof(format) - 1, "%ds", 2 * next->getDepth( plane ));
86 IOLog( format, "");
128 char format[] = "%xxxs"; local
141 snprintf(format + 1, sizeof(format) - 1, "%ds", 2 * next->getDepth( plane ));
142 dbugprintf( format, "");
H A DIOLib.cpp711 void IOLog(const char *format, ...) argument
717 va_start(ap, format);
718 _doprnt(format, &ap, conslog_putc, 16);
H A DIODeviceTreeSupport.cpp1162 hdr->format = 1;
/macosx-10.5.8/xnu-1228.15.4/pexpert/i386/
H A Dpe_kprintf.c68 static void _kprintf(const char *format, ...) argument
72 va_start(listp, format);
73 _doprnt(format, &listp, PE_kputc, 16);
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dmisc_protos.h119 extern int printf(const char *format, ...) __printflike(1,2);
121 extern void dbugprintf(const char *format, ...) __printflike(1,2);
123 extern int kdb_printf(const char *format, ...) __printflike(1,2);
125 extern int kdb_log(const char *format, ...) __printflike(1,2);
/macosx-10.5.8/xnu-1228.15.4/EXTERNAL_HEADERS/mach-o/
H A Dkld.h48 extern void kld_error_vprintf(const char *format, va_list ap);
/macosx-10.5.8/xnu-1228.15.4/iokit/IOKit/
H A Dsystem.h69 extern void _doprnt( const char *format, va_list *arg,
H A DIOLib.h294 @param format A printf() style format string (see printf() documentation).
295 @param other arguments described by the format string. */
297 void IOLog(const char *format, ...)
298 __attribute__((format(printf, 1, 2)));
302 void kprintf(const char *format, ...);
H A DIODeviceTreeSupport.h94 unsigned int format:4; member in struct:IONVRAMDescriptor
/macosx-10.5.8/xnu-1228.15.4/libkern/c++/
H A DOSString.cpp140 OSString *OSString::stringWithFormat(const char *format, ...)
146 if (!format)
149 va_start(argList, format);
151 me->length = vsnprintf(me->string, 256, format, argList);
/macosx-10.5.8/xnu-1228.15.4/libsyscall/mach/headers/
H A Dmach_init.h121 extern int (*vprintf_stderr_func)(const char *format, va_list ap);
/macosx-10.5.8/xnu-1228.15.4/pexpert/pexpert/i386/
H A Dprotos.h73 extern int sprintf(char * str, const char * format, ...);
/macosx-10.5.8/xnu-1228.15.4/bsd/kern/
H A Dsubr_prf.c77 * Fixed tharshing format in many functions. Cleanup.
318 _printf(int flags, struct tty *ttyp, const char *format, ...) argument
328 va_start(ap, format);
329 __doprnt(format, &ap, putchar, &pca, 10);
483 snprintf(char *str, size_t size, const char *format, ...) argument
488 va_start(ap, format);
489 retval = vsnprintf(str, size, format, ap);
498 vsnprintf(char *str, size_t size, const char *format, va_list ap) argument
505 retval = __doprnt(format, &ap, snprintf_func, &info, 10);
H A Dkern_proc.c1353 * corefilename is a printf-like string, with three format specifiers:
1365 const char *format, *appendstr; local
1372 format = corefilename;
1373 for (i = 0, n = 0; n < cf_name_len && format[i]; i++) {
1374 switch (format[i]) {
1377 switch (format[i]) {
1395 "Unknown format character %c in `%s'\n",
1396 format[i], format);
1405 cf_name[n++] = format[
[all...]
/macosx-10.5.8/xnu-1228.15.4/osfmk/profiling/
H A Dprofile-internal.h305 prof_flag_t init_format; /* != 0 if output format has been chosen */
333 extern int _profile_printf(const char *, ...) __attribute__((format(printf,1,2)));
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Ddtrace_glue.c1475 dtrace_vpanic(const char *format, va_list alist) argument
1477 vuprintf( format, alist );
1485 vuprintf(const char *format, va_list ap) argument
1487 return prf(format, ap, TOTTY, NULL);
1491 void cmn_err( int level, const char *format, ... ) argument
1496 va_start(alist, format);
1497 vuprintf(format, alist);
H A Ddtrace.c582 dtrace_panic(const char *format, ...) argument
586 va_start(alist, format);
587 dtrace_vpanic(format, alist);
7742 dtrace_difo_err(uint_t pc, const char *format, ...)
7748 va_start(alist, format);
7749 (void) vuprintf(format, alist);
7754 dtrace_errdebug(format);
8812 dtrace_format_remove(dtrace_state_t *state, uint16_t format)
8817 ASSERT(format <= state->dts_nformats);
8818 ASSERT(state->dts_formats[format
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/i386/
H A Dcons.c245 kprintf( const char *format, ...)
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet/
H A Dip_fw2.c272 extern void ipfwsyslog( int level, const char *format,...);
290 void ipfwsyslog( int level, const char *format,...) argument
301 va_start( ap, format );
302 loglen = vsnprintf(msgBuf, msgsize, format, ap);
1479 * src_port, dst_port port numbers, in HOST format. Only
1482 * src_ip, dst_ip ip addresses, in NETWORK format.
1486 u_int16_t src_port = 0, dst_port = 0; /* NOTE: host format */
1487 struct in_addr src_ip = { 0 } , dst_ip = { 0 }; /* NOTE: network format */
/macosx-10.5.8/xnu-1228.15.4/bsd/netinet6/
H A Dudp6_usrreq.c120 extern void ipfwsyslog( int level, const char *format,...);
269 * Construct sockaddr format source address.
430 * Construct sockaddr format source address.

Completed in 116 milliseconds

12