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

1234567891011>>

/haiku/src/system/libroot/posix/glibc/libio/
H A Dvwscanf.c32 vwscanf (format, args)
33 const wchar_t *format;
36 return _IO_vfwscanf (_IO_stdin, format, args, NULL);
H A Dvscanf.c34 _IO_vscanf (format, args)
35 const char *format;
38 return INTUSE(_IO_vfscanf) (_IO_stdin, format, args, NULL);
H A Dvwprintf.c24 format string FORMAT, using the argument list in ARG. */
26 vwprintf (format, arg)
27 const wchar_t *format;
30 return __vfwprintf (stdout, format, arg);
/haiku/src/apps/cortex/addons/common/
H A DSoundUtils.cpp61 const media_raw_audio_format & format)
63 // The media_raw_audio_format format constants encode the
66 // is what makes a format "raw".
67 int bytesPerSample = format.format & 0xf;
68 return bytesPerSample * format.channel_count;
73 const media_raw_audio_format & format)
79 if (bytes_per_frame(format) > 0) {
80 frames = format.buffer_size / bytes_per_frame(format);
60 bytes_per_frame( const media_raw_audio_format & format) argument
72 frames_per_buffer( const media_raw_audio_format & format) argument
86 buffer_duration( const media_raw_audio_format & format) argument
104 frames_duration( const media_raw_audio_format & format, int64 num_frames) argument
117 buffers_for_duration( const media_raw_audio_format & format, bigtime_t duration) argument
130 frames_for_duration( const media_raw_audio_format & format, bigtime_t duration) argument
[all...]
/haiku/src/apps/cortex/support/
H A DSoundUtils.cpp61 const media_raw_audio_format & format)
63 // The media_raw_audio_format format constants encode the
66 // is what makes a format "raw".
67 int bytesPerSample = format.format & 0xf;
68 return bytesPerSample * format.channel_count;
73 const media_raw_audio_format & format)
79 if (bytes_per_frame(format) > 0) {
80 frames = format.buffer_size / bytes_per_frame(format);
60 bytes_per_frame( const media_raw_audio_format & format) argument
72 frames_per_buffer( const media_raw_audio_format & format) argument
86 buffer_duration( const media_raw_audio_format & format) argument
104 frames_duration( const media_raw_audio_format & format, int64 num_frames) argument
117 buffers_for_duration( const media_raw_audio_format & format, bigtime_t duration) argument
130 frames_for_duration( const media_raw_audio_format & format, bigtime_t duration) argument
[all...]
/haiku/src/add-ons/kernel/drivers/disk/nvme/compat/
H A Dnvme_log.h15 void nvme_log(enum nvme_log_level level, const char *format, ...)
16 __attribute__((format(printf, 2, 3)));
17 void nvme_vlog(enum nvme_log_level level, const char *format, va_list ap)
18 __attribute__((format(printf,2,0)));
21 #define nvme_emerg(format, args...) \
23 "libnvme (FATAL): " format, \
26 #define nvme_alert(format, args...) \
28 "libnvme (ALERT): " format, \
31 #define nvme_crit(format, args...) \
33 "libnvme (CRITICAL): " format, \
[all...]
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dvprintf.c26 format string FORMAT, using the argument list in ARG. */
28 vprintf (format, arg)
29 const char *format;
32 return vfprintf (stdout, format, arg);
H A Dscanf.c27 /* Read formatted input from stdin according to the format string FORMAT. */
30 scanf (const char *format, ...) argument
35 va_start (arg, format);
37 done = INTUSE(_IO_vfscanf) (stdin, format, arg, NULL);
39 done = vfscanf (stdin, format, arg);
/haiku/src/tests/system/boot/loader/
H A Dplatform_debug.cpp14 panic(const char *format, ...) argument
19 va_start(args, format);
20 vprintf(format, args);
26 dprintf(const char *format, ...) argument
30 va_start(args, format);
31 vprintf(format, args);
/haiku/src/add-ons/media/media-add-ons/mixer/
H A DMixerUtils.cpp22 const char *StringForFormat(char *str, const media_format & format);
71 fix_multiaudio_format(media_multi_audio_format *format) argument
73 if (format->format == media_raw_audio_format::B_AUDIO_INT) {
74 if (format->valid_bits != 0 && (format->valid_bits < 16 || format->valid_bits >= 32))
75 format->valid_bits = 0;
77 switch (format->channel_count) {
79 format
238 bytes_per_sample(const media_multi_audio_format & format) argument
244 bytes_per_frame(const media_multi_audio_format & format) argument
250 frames_per_buffer(const media_multi_audio_format & format) argument
260 buffer_duration(const media_multi_audio_format & format) argument
281 StringForFormat(char *str, const media_format & format) argument
[all...]
/haiku/headers/private/fs_shell/
H A Dfssh_stdio.h24 extern int fssh_sprintf(char *string, char const *format, ...)
25 __attribute__ ((format (__printf__, 2, 3)));
27 char const *format, ...)
28 __attribute__ ((format (__printf__, 3, 4)));
29 extern int fssh_vsprintf(char *string, char const *format, va_list ap);
31 char const *format, va_list ap);
33 extern int fssh_sscanf(char const *str, char const *format, ...);
34 extern int fssh_vsscanf(char const *str, char const *format, va_list ap);
/haiku/headers/posix/
H A Dstdio_pre.h17 #define __PRINTFLIKE(format, varargs) __attribute__ ((__format__ (__printf__, format, varargs)))
18 #define __SCANFLIKE(format, varargs) __attribute__((__format__ (__scanf__, format, varargs)))
/haiku/src/apps/mediaplayer/support/
H A DColorSpaceToString.h11 const char* color_space_to_string(color_space format);
/haiku/src/add-ons/media/media-add-ons/opensound/
H A DSupportFunctions.h11 bytes_per_frame(const media_format& format) argument
13 int32 channelCount = format.u.raw_audio.channel_count;
14 size_t sampleSize = format.u.raw_audio.format
21 time_for_buffer(size_t size, const media_format& format) argument
23 int32 frameSize = bytes_per_frame(format);
24 float frameRate = format.u.raw_audio.frame_rate;
/haiku/src/tools/fs_shell/
H A Dstdio.cpp13 fssh_sprintf(char *string, char const *format, ...) argument
16 va_start(args, format);
18 int result = vsprintf(string, format, args);
27 fssh_snprintf(char *string, fssh_size_t size, char const *format, ...) argument
30 va_start(args, format);
32 int result = vsnprintf(string, size, format, args);
41 fssh_vsprintf(char *string, char const *format, va_list ap) argument
43 return vsprintf(string, format, ap);
48 fssh_vsnprintf(char *string, fssh_size_t size, char const *format, va_list ap) argument
50 return vsnprintf(string, size, format, a
55 fssh_sscanf(char const *str, char const *format, ...) argument
69 fssh_vsscanf(char const *str, char const *format, va_list ap) argument
[all...]
/haiku/src/system/boot/platform/openfirmware/
H A Ddebug.cpp15 panic(const char* format, ...) argument
22 va_start(list, format);
23 vprintf(format, list);
31 dprintf(const char* format, ...) argument
35 va_start(list, format);
36 vprintf(format, list);
/haiku/src/tests/system/kernel/unit/
H A DTestOutput.h19 virtual int PrintArgs(const char* format, va_list args) = 0;
20 inline int Print(const char* format,...);
29 virtual int PrintArgs(const char* format, va_list args);
38 TestOutput::Print(const char* format,...) argument
41 va_start(args, format);
42 int result = PrintArgs(format, args);
/haiku/src/bin/package/
H A Dcommand_info.cpp23 const char* format = "name: %name% version: %version%\n"; local
27 { "format", required_argument, 0, 'f' },
39 format = optarg;
73 // parse format string and produce output
75 while (*format != '\0') {
76 char c = *format++;
80 const char* start = format;
81 while (*format != '\0' && *format != '%')
82 format
[all...]
/haiku/src/add-ons/media/media-add-ons/demultiplexer/
H A Dmisc.h17 void print_multistream_format(media_multistream_format * format);
19 void print_media_format(media_format * format);
/haiku/src/kits/package/hpkg/
H A DStandardErrorOutput.cpp18 BStandardErrorOutput::PrintErrorVarArgs(const char* format, va_list args) argument
20 vfprintf(stderr, format, args);
/haiku/src/add-ons/media/media-add-ons/
H A Dmisc.h17 void print_multistream_format(media_multistream_format * format);
19 void print_media_format(media_format * format);
/haiku/src/system/boot/platform/efi/
H A Ddebug.cpp18 dprintf_args(const char *format, va_list args) argument
21 int length = vsnprintf(buffer, sizeof(buffer), format, args);
30 dprintf(const char *format, ...) argument
34 va_start(args, format);
35 dprintf_args(format, args);
41 panic(const char *format, ...) argument
49 va_start(args, format);
50 vprintf(format, args);
/haiku/src/add-ons/accelerants/common/
H A Dddc_int.h15 void _sPrintf(const char *format, ...);
/haiku/src/add-ons/media/plugins/ffmpeg/
H A DDemuxerTable.h14 const media_file_format* demuxer_format_for(AVInputFormat* format);
/haiku/src/add-ons/kernel/busses/ata/promise_tx2/
H A Dwrapper.h60 #define SHOW_FLOW(seriousness, format, param...) \
62 dprintf( "%s"##format"\n", FUNC_NAME, param ); DEBUG_WAIT \
65 #define SHOW_FLOW0(seriousness, format) \
67 dprintf( "%s"##format"\n", FUNC_NAME); DEBUG_WAIT \
70 #define SHOW_INFO(seriousness, format, param...) \
72 dprintf( "%s"##format"\n", FUNC_NAME, param ); DEBUG_WAIT \
75 #define SHOW_INFO0(seriousness, format) \
77 dprintf( "%s"##format"\n", FUNC_NAME); DEBUG_WAIT \
80 #define SHOW_ERROR(seriousness, format, param...) \
82 dprintf( "%s"##format"\
[all...]

Completed in 297 milliseconds

1234567891011>>