/haiku/src/libs/bsd/ |
H A D | err.c | 48 void _err(int eval, const char *fmt, ...); 49 void _warn(const char *fmt, ...); 74 _err(int eval, const char *fmt, ...) argument 77 va_start(ap, fmt); 78 verrc(eval, errno, fmt, ap); 83 verr(int eval, const char *fmt, va_list ap) argument 85 verrc(eval, errno, fmt, ap); 89 errc(int eval, int code, const char *fmt, ...) argument 92 va_start(ap, fmt); 93 verrc(eval, code, fmt, a 98 verrc(int eval, int code, const char *fmt, va_list ap) argument 114 errx(int eval, const char *fmt, ...) argument 123 verrx(int eval, const char *fmt, va_list ap) argument 139 _warn(const char *fmt, ...) argument 148 vwarn(const char *fmt, va_list ap) argument 154 warnc(int code, const char *fmt, ...) argument 163 vwarnc(int code, const char *fmt, va_list ap) argument 180 warnx(const char *fmt, ...) argument 189 vwarnx(const char *fmt, va_list ap) argument [all...] |
/haiku/src/add-ons/media/media-add-ons/opensound/ |
H A D | OpenSoundDevice.cpp | 60 uint32 OpenSoundDevice::convert_oss_format_to_media_format(int fmt) argument 62 if (fmt & AFMT_FLOAT) 64 if (fmt & AFMT_S32_LE || 65 fmt & AFMT_S24_LE || 66 fmt & AFMT_S32_BE || 67 fmt & AFMT_S24_BE) 69 if (fmt & AFMT_S16_LE || 70 fmt & AFMT_S16_BE) /* U16 unsupported */ 72 if (fmt & AFMT_S8) 74 if (fmt 80 convert_oss_format_to_endian(int fmt) argument 101 convert_oss_format_to_valid_bits(int fmt) argument 119 convert_media_format_to_oss_format(uint32 fmt) argument 163 select_oss_format(int fmt) argument 188 get_media_format_description_for(int fmt, media_format_description *desc, int count) argument 298 get_media_format_for(int fmt, media_format &format) argument [all...] |
H A D | OpenSoundDevice.h | 82 static uint32 convert_oss_format_to_media_format(int fmt); 83 static int convert_oss_format_to_endian(int fmt); 84 static int16 convert_oss_format_to_valid_bits(int fmt); 85 static int convert_media_format_to_oss_format(uint32 fmt); 87 static int select_oss_format(int fmt); 89 static status_t get_media_format_description_for(int fmt, media_format_description *desc, int count=1); 91 static status_t get_media_format_for(int fmt, media_format &format);
|
H A D | OpenSoundDeviceEngine.h | 50 status_t SetFormat(int fmt); 73 status_t WildcardFormatFor(int fmt, media_format &format, bool rec=false); 75 status_t PreferredFormatFor(int fmt, media_format &format, bool rec=false); 77 status_t AcceptFormatFor(int fmt, media_format &format, bool rec=false); 79 status_t SpecializeFormatFor(int fmt, media_format &format, bool rec=true);
|
/haiku/src/apps/icon-o-matic/import_export/svg/ |
H A D | SVGException.h | 40 exception(const char* fmt, ...) : argument 43 if(fmt) 47 va_start(arg, fmt); 48 vsprintf(m_msg, fmt, arg);
|
/haiku/src/add-ons/media/media-add-ons/mixer/ |
H A D | MixerDebug.h | 24 inline void ERROR(const char *fmt, ...) { va_list ap; va_start(ap, fmt); printf("### ERROR: "); vprintf(fmt, ap); va_end(ap); } argument 25 inline void PRINT(int level, const char *fmt, ...) { va_list ap; if (level > DEBUG) return; va_start(ap, fmt); vprintf(fmt, ap); va_end(ap); } argument 28 # define PRINT_INPUT(_text, _in) do { char _buf[300]; string_for_format((_in).format, _buf, sizeof(_buf)); printf("%s node(node %" B_PRId32 ", port %" B_PRId32 "); source(port %" B_PRId32 ", id %" B_PRId32 "); dest(port %" B_PRId32 ", id %" B_PRId32 "); fmt(%s); name(%s)\n", (_text), (_in).node.node, (_in).node.port, (_in).source.port, (_in).source.id, (_in).destination.port, (_in).destination.id, _buf, (_in).name); } while (0) 29 # define PRINT_OUTPUT(_text, _out) do { char _buf[300]; string_for_format((_out).format, _buf, sizeof(_buf)); printf("%s node(node %" B_PRId32 ", port %" B_PRId32 "); source(port %" B_PRId32 ", id %" B_PRId32 "); dest(port %" B_PRId32 ", id %" B_PRId32 "); fmt(%s); name(%s)\n", (_text), (_out).node.node, (_out).node.port, (_out).source.port, (_out).source.id, (_out).destination.port, (_out).destination.id, _buf, (_out).name); } while (0) 30 # define PRINT_CHANNEL_MASK(fmt) do { char s[200]; StringForChannelMask(s, (fmt) [all...] |
/haiku/src/add-ons/accelerants/matrox/engine/ |
H A D | mga_support.c | 18 void mga_log(char *fmt, ...) argument 34 va_start(args,fmt); 35 vsprintf (buffer, fmt, args);
|
/haiku/src/add-ons/accelerants/neomagic/engine/ |
H A D | nm_support.c | 18 void nm_log(char *fmt, ...) argument 30 va_start(args,fmt); 31 vsprintf (buffer, fmt, args);
|
/haiku/src/add-ons/accelerants/nvidia/engine/ |
H A D | nv_support.c | 18 void nv_log(char *fmt, ...) argument 34 va_start(args,fmt); 35 vsprintf (buffer, fmt, args);
|
/haiku/src/add-ons/accelerants/skeleton/engine/ |
H A D | support.c | 18 void eng_log(char *fmt, ...) argument 30 va_start(args,fmt); 31 vsprintf (buffer, fmt, args);
|
/haiku/src/add-ons/accelerants/via/engine/ |
H A D | support.c | 18 void eng_log(char *fmt, ...) argument 30 va_start(args,fmt); 31 vsprintf (buffer, fmt, args);
|
/haiku/src/kits/media/ |
H A D | TrackReader.cpp | 105 media_format fmt; local 106 if (track->DecodedFormat(&fmt) != B_OK) 108 if (fmt.type == B_MEDIA_RAW_AUDIO) { 137 media_format fmt; local 138 fmt.Clear(); //wildcard 139 memcpy(&fmt.u.raw_audio, &fFormat, sizeof(fFormat)); 140 fmt.type = B_MEDIA_RAW_AUDIO; 142 if (track->DecodedFormat(&fmt) == B_OK) { 143 memcpy(&fFormat, &fmt.u.raw_audio, sizeof(fFormat)); 149 fmt [all...] |
/haiku/headers/libs/udis86/libudis86/ |
H A D | syn.h | 39 int ud_asmprintf(struct ud *u, const char *fmt, ...) 42 int ud_asmprintf(struct ud *u, const char *fmt, ...);
|
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/ |
H A D | utils.h | 109 char *ntfs_utils_reformat(char *out, int sz, const char *fmt); 111 #define ntfs_log_redirect(fn,fi,li,le,d,fmt, args...) \ 113 ntfs_utils_reformat(_b,MAX_FMT,fmt), args); } while (0) 114 #define printf(fmt, args...) \ 116 printf(ntfs_utils_reformat(_b,MAX_FMT,fmt), args); } while (0) 117 #define fprintf(str, fmt, args...) \ 119 fprintf(str, ntfs_utils_reformat(_b,MAX_FMT,fmt), args); } while (0) 120 #define vfprintf(file, fmt, args) \ 122 ntfs_utils_reformat(_b,MAX_FMT,fmt), args); } while (0)
|
/haiku/headers/private/bluetooth/ |
H A D | debug.h | 14 inline void ERROR(const char *fmt, ...) argument 17 va_start(ap, fmt); 19 vprintf(fmt, ap); va_end(ap); 22 inline void PRINT(int level, const char *fmt, ...) 27 va_start(ap, fmt); 28 vprintf(fmt, ap); 32 inline void PRINT(const char *fmt, ...) 35 va_start(ap, fmt); 36 vprintf(fmt, ap);
|
/haiku/src/libs/compat/freebsd_iflib/ |
H A D | kthread.cpp | 16 struct thread **newtdp, int flags, int pages, const char *fmt, ...) 20 va_start(ap, fmt); 21 vsnprintf(name, sizeof(name), fmt, ap); 15 kthread_add(void (*func)(void *), void *arg, void* p, struct thread **newtdp, int flags, int pages, const char *fmt, ...) argument
|
/haiku/headers/libs/agg/dbg_new/ |
H A D | agg_dbg_new.h | 39 inline void printf(char* fmt, ...) argument 44 va_start(arg, fmt); 45 vsprintf(msg, fmt, arg);
|
/haiku/src/add-ons/kernel/drivers/audio/ac97/sis7018/ |
H A D | Settings.h | 19 void SiS7018_trace(bool force, const char *func, const char *fmt, ...);
|
/haiku/src/add-ons/kernel/drivers/network/ether/usb_asix/ |
H A D | Settings.h | 24 void usb_asix_trace(bool force, const char *func, const char *fmt, ...);
|
/haiku/src/system/libroot/posix/glibc/stdio-common/ |
H A D | printf-prs.c | 75 parse_printf_format (fmt, n, argtypes) 76 const char *fmt; 89 for (fmt = find_spec (fmt, &mbstate); *fmt != '\0'; fmt = spec.next_fmt) 92 nargs += parse_one_spec (fmt, nargs, &spec, &max_ref_arg, &mbstate);
|
H A D | printf-parse.c | 65 parse_printf_format(const char *fmt, size_t n, int *argtypes) argument 73 for (fmt = find_spec(fmt /*, &mbstate*/); *fmt != '\0'; fmt = spec.next_fmt) { 75 nargs += parse_one_spec(fmt, nargs, &spec, &max_ref_arg /*, &mbstate*/);
|
/haiku/src/add-ons/accelerants/3dfx/ |
H A D | 3dfx_draw.cpp | 31 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1]; local 34 OUTREG32(DST_FORMAT, fmt); 60 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1]; local 63 OUTREG32(DST_FORMAT, fmt); 89 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1]; local 92 OUTREG32(DST_FORMAT, fmt); 116 uint32 fmt = mode.bytesPerRow | fmtColorDepth[mode.bytesPerPixel - 1]; local 119 OUTREG32(DST_FORMAT, fmt); 120 OUTREG32(SRC_FORMAT, fmt);
|
/haiku/src/system/libroot/os/ |
H A D | debug.c | 205 _debugPrintf(const char *fmt, ...) argument 213 va_start(ap, fmt); 214 ret = vfprintf(stdout, fmt, ap); 222 _sPrintf(const char *fmt, ...) argument 231 va_start(ap, fmt); 232 ret = vsnprintf(buffer, sizeof(buffer), fmt, ap); 243 _xdebugPrintf(const char *fmt, ...) argument 248 va_start(ap, fmt); 249 ret = vfprintf(stdout, fmt, ap);
|
/haiku/headers/private/drivers/ |
H A D | ksocket.h | 30 #define kmessage(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) 54 #define kmessage(fmt, ...) dprintf(fmt "\n", ##__VA_ARGS__) 80 #define kmessage(fmt, ...) dprintf("ksocket: " fmt "\n", ##__VA_ARGS__)
|
/haiku/src/add-ons/kernel/file_systems/nfs/ |
H A D | ksocket.h | 30 #define kmessage(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) 55 #define kmessage(fmt, ...) dprintf("ksocket: " fmt "\n", ##__VA_ARGS__) 93 #define kmessage(fmt, ...) dprintf("ksocket: " fmt "\n", ##__VA_ARGS__)
|