Searched refs:fmt (Results 1 - 25 of 113) sorted by last modified time

12345

/haiku/headers/os/drivers/
H A DKernelExport.h208 extern void kprintf(const char *fmt, ...) _PRINTFLIKE(1, 2);
/haiku/src/kits/tracker/
H A DUtilities.h510 va_start(ap, fmt);
511 vfprintf(logFile, fmt, ap);
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DACPICAHaiku.cpp360 * PARAMETERS: fmt, ... Standard printf format
368 AcpiOsPrintf(const char *fmt, ...) argument
373 va_start(args, fmt);
374 AcpiOsVprintf(fmt, args);
383 * PARAMETERS: fmt Standard printf format
392 AcpiOsVprintf(const char *fmt, va_list args) argument
402 vfprintf(AcpiGbl_DebugFile, fmt, args);
410 vfprintf(AcpiGbl_OutputFile, fmt, args);
414 vsnprintf(outputBuffer, 1024, fmt, args);
424 * PARAMETERS: fmt Standar
[all...]
/haiku/src/system/libnetwork/netresolv/
H A Dport_before.h54 #define ISC_FORMAT_PRINTF(fmt, args) \
55 __attribute__((__format__(__printf__, fmt, args)))
57 #define ISC_FORMAT_PRINTF(fmt, args)
/haiku/src/system/libnetwork/netresolv/isc/
H A Deventlib_p.h263 void evPrintf(const evContext_p *ctx, int level, const char *fmt, ...)
/haiku/src/apps/cortex/addons/common/
H A DAudioFilterNode.cpp449 char fmt[256]; local
450 string_for_format(*ioFormat, fmt, 255);
454 fmt));
920 // char fmt[256];
921 // string_for_format(*ioFormat, fmt, 255);
925 // fmt));
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DOpenSoundNode.cpp358 int fmt = OpenSoundDevice::select_oss_format(ai->oformats); local
360 = OpenSoundDevice::convert_oss_format_to_media_format(fmt);
362 = OpenSoundDevice::convert_oss_format_to_valid_bits(fmt);
475 int fmt = gSupportedFormats[f] & engine->Info()->oformats; local
476 if (fmt == 0)
482 status_t err = engine->PreferredFormatFor(fmt, mediaInput.format);
495 NodeInput* input = new (nothrow) NodeInput(mediaInput, i, fmt,
519 int fmt = gSupportedFormats[f] & engine->Info()->iformats; local
520 if (fmt == 0)
526 status_t err = engine->PreferredFormatFor(fmt, preferredForma
[all...]
H A DOpenSoundDeviceEngine.cpp219 int fmt = -1; local
221 if (ioctl(fFD, SNDCTL_DSP_GETFMTS, &fmt, sizeof(int)) < 0) {
226 return fmt;
229 status_t OpenSoundDeviceEngine::SetFormat(int fmt) argument
232 if (ioctl(fFD, SNDCTL_DSP_SETFMT, &fmt, sizeof(int)) < 0) {
237 PRINT(("OpenSoundDeviceEngine::%s: 0x%08x\n", __FUNCTION__, fmt));
441 OpenSoundDeviceEngine::WildcardFormatFor(int fmt, media_format &format, argument
446 fmt &= rec ? Info()->iformats : Info()->oformats;
447 if (fmt == 0)
449 err = OpenSoundDevice::get_media_format_for(fmt, forma
473 PreferredFormatFor(int fmt, media_format &format, bool rec) argument
513 AcceptFormatFor(int fmt, media_format &format, bool rec) argument
619 SpecializeFormatFor(int fmt, media_format &format, bool rec) argument
[all...]
/haiku/src/add-ons/media/media-add-ons/esound_sink/
H A DESDEndpoint.cpp327 esd_format_t fmt = 0; local
334 fmt |= ESD_BITS8;
337 fmt |= ESD_BITS16;
344 fmt |= ESD_MONO;
347 fmt |= ESD_STEREO;
352 fmt |= ESD_STREAM | ESD_FUNC_PLAY;
353 PRINT(("SetFormat: %08lx\n", (long)fmt));
354 fDefaultFormat = fmt;
366 uint32 fmt; member in struct:serverinfo
372 PRINT(("err 0x%08lx, version: %lu, rate: %lu, fmt
[all...]
/haiku/src/add-ons/media/media-add-ons/dvb/
H A DDVBMediaNode.cpp1663 media_format fmt = fOutputRawAudio.format; local
1664 err = fAudioDecoder->SetOutputFormat(&fmt);
1671 PrintFormat(fmt);
1674 if (format_is_compatible(fmt, fOutputRawAudio.format)) {
1676 fOutputRawAudio.format = fmt;
1682 &fmt);
1685 PrintFormat(fmt);
1686 fOutputRawAudio.format = fmt;
1852 media_format fmt = fOutputRawVideo.format; local
1853 err = fVideoDecoder->SetOutputFormat(&fmt);
[all...]
/haiku/src/libs/compat/freebsd_network/
H A Dbus.cpp494 const char* fmt, ...)
493 bus_describe_intr(device_t dev, struct resource *irq, void *cookie, const char* fmt, ...) argument
/haiku/src/add-ons/kernel/file_systems/websearchfs/
H A Dksocket.h30 #define kmessage(fmt, ...) printf(fmt "\n", ##__VA_ARGS__)
52 #define kmessage(fmt, ...) printf(fmt "\n", ##__VA_ARGS__)
78 #define kmessage(fmt, ...) dprintf("ksocket: " fmt "\n", ##__VA_ARGS__)
/haiku/src/add-ons/kernel/file_systems/ntfs/utils/
H A Dutils.c1169 char *ntfs_utils_reformat(char *out, int sz, const char *fmt) argument
1177 f = fmt;
H A Dutils.h109 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/src/add-ons/media/media-add-ons/mixer/
H A DMixerUtils.cpp284 const char *fmt; local
287 fmt = "float";
292 fmt = fmtstr;
294 fmt = "32 bit";
298 fmt = "16 bit";
301 fmt = "8 bit";
304 fmt = "8 bit unsigned";
307 fmt = "unknown";
314 sprintf(str, "%d.%d kHz %s", a, b / 100, fmt);
316 sprintf(str, "%d kHz %s", a, fmt);
[all...]
/haiku/src/system/libroot/posix/musl/time/
H A Dstrftime.c51 const char *fmt = "-"; local
84 fmt = "%m/%d/%y";
87 fmt = "%Y-%m-%d";
125 fmt = "%H:%M";
138 fmt = "%H:%M:%S";
188 fmt = __tm_to_tzname(tm);
205 fmt = __nl_langinfo_l(item, loc);
207 *l = strlen(fmt);
208 return fmt;
210 fmt
[all...]
/haiku/src/system/libroot/posix/stdlib/
H A Dstrfmon.c67 while (isdigit((unsigned char)*fmt)) { \
71 VAR += *fmt - '0'; \
74 fmt++; \
124 const char *fmt; /* current format poistion pointer */ local
146 fmt = format;
151 while (*fmt) {
153 if (*fmt != '%')
159 if (*(fmt+1) == '%') {
160 fmt++;
162 PRINT(*fmt
519 char fmt[32]; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/ralinkwifi/dev/ral/
H A Drt2661.c72 #define DPRINTF(sc, fmt, ...) do { \
74 printf(fmt, __VA_ARGS__); \
76 #define DPRINTFN(sc, n, fmt, ...) do { \
78 printf(fmt, __VA_ARGS__); \
81 #define DPRINTF(sc, fmt, ...)
82 #define DPRINTFN(sc, n, fmt, ...)
H A Drt2560.c75 #define DPRINTF(sc, fmt, ...) do { \
77 printf(fmt, __VA_ARGS__); \
79 #define DPRINTFN(sc, n, fmt, ...) do { \
81 printf(fmt, __VA_ARGS__); \
84 #define DPRINTF(sc, fmt, ...)
85 #define DPRINTFN(sc, n, fmt, ...)
/haiku/src/libs/compat/freebsd_network/compat/sys/
H A Dsystm.h88 static inline void log(int level, const char *fmt, ...) { } argument
95 #define vprintf(fmt, vl) driver_vprintf(fmt, vl)
H A Dbus.h98 const char* fmt, ...);
/haiku/headers/libs/agg/dbg_new/
H A Dagg_dbg_new.h39 inline void printf(char* fmt, ...) argument
44 va_start(arg, fmt);
45 vsprintf(msg, fmt, arg);
/haiku/src/add-ons/kernel/drivers/network/ether/ipro1000/dev/e1000/
H A De1000_defines.h1524 #define ERROR_REPORT(fmt) do { } while (0)
/haiku/src/libs/compat/freebsd_network/compat/dev/usb/
H A Dusb_debug.h38 #define DPRINTFN(n,fmt,...) do { \
40 printf("%s: " fmt, \
/haiku/src/libs/bsd/
H A Derr.c48 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...]

Completed in 200 milliseconds

12345