Searched refs:fmt (Results 51 - 75 of 1482) sorted by relevance

1234567891011>>

/external/libpcap/tests/
H A Dreactivatetest.c69 error(const char *fmt, ...) argument
74 va_start(ap, fmt);
75 (void)vfprintf(stderr, fmt, ap);
77 if (*fmt) {
78 fmt += strlen(fmt);
79 if (fmt[-1] != '\n')
/external/mesa3d/src/gallium/state_trackers/nine/
H A Dnine_debug.h31 const char *fmt,
34 #define ERR(fmt, ...) _nine_debug_printf(DBG_ERROR, __FUNCTION__, fmt, ## __VA_ARGS__)
37 #define WARN(fmt, ...) _nine_debug_printf(DBG_WARN, __FUNCTION__, fmt, ## __VA_ARGS__)
38 #define WARN_ONCE(fmt, ...) \
43 _nine_debug_printf(DBG_WARN, __FUNCTION__, fmt, ## __VA_ARGS__); \
47 #define WARN(fmt, ...)
48 #define WARN_ONCE(fmt, ...)
52 #define DBG_FLAG(flag, fmt,
[all...]
/external/libevent/
H A Dlog.c111 event_err(int eval, const char *fmt, ...) argument
115 va_start(ap, fmt);
116 event_logv_(EVENT_LOG_ERR, strerror(errno), fmt, ap);
122 event_warn(const char *fmt, ...) argument
126 va_start(ap, fmt);
127 event_logv_(EVENT_LOG_WARN, strerror(errno), fmt, ap);
132 event_sock_err(int eval, evutil_socket_t sock, const char *fmt, ...) argument
137 va_start(ap, fmt);
138 event_logv_(EVENT_LOG_ERR, evutil_socket_error_to_string(err), fmt, ap);
144 event_sock_warn(evutil_socket_t sock, const char *fmt, argument
155 event_errx(int eval, const char *fmt, ...) argument
166 event_warnx(const char *fmt, ...) argument
176 event_msgx(const char *fmt, ...) argument
186 event_debugx_(const char *fmt, ...) argument
196 event_logv_(int severity, const char *errstr, const char *fmt, va_list ap) argument
[all...]
H A Dlog-internal.h59 void event_err(int eval, const char *fmt, ...) EV_CHECK_FMT(2,3) EV_NORETURN;
60 void event_warn(const char *fmt, ...) EV_CHECK_FMT(1,2);
61 void event_sock_err(int eval, evutil_socket_t sock, const char *fmt, ...) EV_CHECK_FMT(3,4) EV_NORETURN;
62 void event_sock_warn(evutil_socket_t sock, const char *fmt, ...) EV_CHECK_FMT(2,3);
63 void event_errx(int eval, const char *fmt, ...) EV_CHECK_FMT(2,3) EV_NORETURN;
64 void event_warnx(const char *fmt, ...) EV_CHECK_FMT(1,2);
65 void event_msgx(const char *fmt, ...) EV_CHECK_FMT(1,2);
66 void event_debugx_(const char *fmt, ...) EV_CHECK_FMT(1,2);
68 void event_logv_(int severity, const char *errstr, const char *fmt, va_list ap)
/external/libcxx/test/std/re/re.results/re.results.form/
H A Dform1.pass.cpp33 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local
35 fmt, fmt + std::char_traits<char>::length(fmt)).base();
46 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local
48 fmt, fmt + std::char_traits<char>::length(fmt)).base();
58 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local
60 fmt, fm
70 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local
83 const char fmt[] = "match: &, m[1]: \\\\1, m[2]: \\\\2"; local
97 const char fmt[] = "match: &, m[1]: \\\\1, m[2]: \\\\2"; local
110 const char fmt[] = "match: &, m[1]: \\\\1, m[2]: \\\\2"; local
124 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local
136 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local
149 const wchar_t fmt[] = L"match: &, m[1]: \\\\1, m[2]: \\\\2"; local
[all...]
H A Dform3.pass.cpp16 // format(const basic_string<char_type, ST, SA>& fmt,
36 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2");
37 nstr out = m.format(fmt);
45 nstr fmt("prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2");
46 nstr out = m.format(fmt, std::regex_constants::format_sed);
54 nstr fmt("match: &, m[1]: \\1, m[2]: \\2");
55 nstr out = m.format(fmt, std::regex_constants::format_sed);
64 wstr fmt(L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2");
65 wstr out = m.format(fmt);
73 wstr fmt(
[all...]
H A Dform4.pass.cpp15 // format(const char_type* fmt,
31 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local
32 std::string out = m.format(fmt);
40 const char fmt[] = "prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local
41 std::string out = m.format(fmt, std::regex_constants::format_sed);
49 const char fmt[] = "match: &, m[1]: \\1, m[2]: \\2"; local
50 std::string out = m.format(fmt, std::regex_constants::format_sed);
59 const wchar_t fmt[] = L"prefix: $`, match: $&, suffix: $', m[1]: $1, m[2]: $2"; local
60 std::wstring out = m.format(fmt);
68 const wchar_t fmt[] local
77 const wchar_t fmt[] = L"match: &, m[1]: \\\\1, m[2]: \\\\2"; local
[all...]
/external/syslinux/gpxe/src/core/
H A Dvsprintf.c161 * @v fmt Format string
165 size_t vcprintf ( struct printf_context *ctx, const char *fmt, va_list args ) { argument
176 for ( ; *fmt ; fmt++ ) {
178 if ( *fmt != '%' ) {
179 cputchar ( ctx, *fmt );
182 fmt++;
185 for ( ; ; fmt++ ) {
186 if ( *fmt == '#' ) {
188 } else if ( *fmt
302 vsnprintf( char *buf, size_t size, const char *fmt, va_list args ) argument
333 snprintf( char *buf, size_t size, const char *fmt, ... ) argument
352 vssnprintf( char *buf, ssize_t ssize, const char *fmt, va_list args ) argument
371 ssnprintf( char *buf, ssize_t ssize, const char *fmt, ... ) argument
400 vprintf( const char *fmt, va_list args ) argument
415 printf( const char *fmt, ... ) argument
[all...]
H A Dasprintf.c13 * @v fmt Format string
17 int vasprintf ( char **strp, const char *fmt, va_list args ) { argument
23 len = ( vsnprintf ( NULL, 0, fmt, args_tmp ) + 1 );
30 return vsnprintf ( *strp, len, fmt, args );
37 * @v fmt Format string
41 int asprintf ( char **strp, const char *fmt, ... ) { argument
45 va_start ( args, fmt );
46 len = vasprintf ( strp, fmt, args );
/external/python/cpython3/Lib/test/
H A Dtest_plistlib.py102 def _create(self, fmt=None):
150 for fmt in ALL_FORMATS:
151 with self.subTest(fmt=fmt):
152 self.assertRaises(TypeError, plistlib.dumps, pl, fmt=fmt)
157 for fmt in ALL_FORMATS:
158 with self.subTest(pl=pl, fmt=fmt):
159 data = plistlib.dumps(pl, fmt
[all...]
/external/mesa3d/src/gallium/drivers/etnaviv/
H A Detnaviv_debug.h59 #define DBG_F(flag, fmt, ...) \
62 debug_printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__, \
66 #define DBG(fmt, ...) \
69 debug_printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__, \
74 #define BUG(fmt, ...) \
76 printf("%s:%d: " fmt "\n", __FUNCTION__, __LINE__, ##__VA_ARGS__); \
/external/syslinux/memdisk/
H A Dconio.c177 int vsprintf(char *buf, const char *fmt, va_list args) argument
192 for (str = buf; *fmt; ++fmt) {
193 if (*fmt != '%') {
194 *str++ = *fmt;
201 ++fmt; /* this also skips first '%' */
202 switch (*fmt) {
222 if (isdigit(*fmt))
223 field_width = skip_atoi(&fmt);
224 else if (*fmt
360 vprintf(const char *fmt, va_list args) argument
370 printf(const char *fmt, ...) argument
384 die(const char *fmt, ...) argument
[all...]
/external/syslinux/gpxe/src/include/gpxe/
H A Dvsprintf.h67 extern size_t vcprintf ( struct printf_context *ctx, const char *fmt,
69 extern int vssnprintf ( char *buf, ssize_t ssize, const char *fmt,
72 ssnprintf ( char *buf, ssize_t ssize, const char *fmt, ... );
/external/tcpdump/
H A Dvfprintf.c39 vfprintf(f, fmt, args)
41 char *fmt;
52 ret = _doprnt(fmt, args, f);
/external/adhd/cras/src/server/
H A Dcras_mix.h21 * fmt - The format (SND_PCM_FORMAT_*)
29 void cras_scale_buffer_increment(snd_pcm_format_t fmt, uint8_t *buff,
35 * fmt - The format (SND_PCM_FORMAT_*)
41 void cras_scale_buffer(snd_pcm_format_t fmt, uint8_t *buff, unsigned int count,
46 * fmt - The format (SND_PCM_FORMAT_*)
54 void cras_mix_add(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src,
60 * fmt - The format (SND_PCM_FORMAT_*)
68 void cras_mix_add_scale_stride(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src,
/external/clang/test/Frontend/
H A Dsource-col-map.c19 extern int printf(const char *fmt, ...);
/external/fio/lib/
H A Dpattern.h12 const char *fmt; member in struct:pattern_fmt_desc
30 struct pattern_fmt *fmt,
34 struct pattern_fmt *fmt, unsigned int fmt_sz,
38 struct pattern_fmt *fmt, unsigned int fmt_sz,
/external/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_printf.h39 const char *fmt, ...);
/external/syslinux/com32/include/
H A Ddprintf.h33 #define vdprintf(fmt, ap) \
35 vprintf(fmt, ap)
45 # define dprintf2(fmt, ...) ((void)(0))
46 # define vdprintf2(fmt, ap) ((void)(0))
/external/icu/icu4c/source/test/intltest/
H A Dnumfmtst.h226 void expectParseCurrency(const NumberFormat &fmt, const UChar* currency, double amount, const char *text);
236 void expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str);
238 void expect3(NumberFormat& fmt, const Formattable& n, const UnicodeString& str);
240 void expect2(NumberFormat& fmt, const Formattable& n, const char* str) { argument
241 expect2(fmt, n, UnicodeString(str, ""));
244 void expect2(NumberFormat* fmt, const Formattable& n, const UnicodeString& str, UErrorCode ec);
246 void expect2(NumberFormat* fmt, const Formattable& n, const char* str, UErrorCode ec) { argument
247 expect2(fmt, n, UnicodeString(str, ""), ec);
250 void expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n);
252 void expect(NumberFormat& fmt, cons argument
259 expect(NumberFormat& fmt, const Formattable& n, const char *exp, UBool rt=TRUE) argument
267 expect(NumberFormat* fmt, const Formattable& n, const char *exp, UBool rt, UErrorCode errorCode) argument
272 expect(NumberFormat* fmt, const Formattable& n, const UnicodeString& exp, UErrorCode errorCode) argument
277 expect(NumberFormat* fmt, const Formattable& n, const char *exp, UErrorCode errorCode) argument
288 expectPad(DecimalFormat& fmt, const char *pat, int32_t pos, int32_t width, UChar pad) argument
296 expectPad(DecimalFormat& fmt, const char *pat, int32_t pos, int32_t width, const UnicodeString& pad) argument
303 expectPat(DecimalFormat& fmt, const char *exp) argument
310 expectPad(DecimalFormat& fmt, const char *pat, int32_t pos) argument
[all...]
/external/perfetto/include/perfetto/base/
H A Dlogging.h67 #define PERFETTO_XLOG_STDERR(level, fmt, ...) \
68 fprintf(stderr, "\x1b[90m%-24.24s\x1b[0m %s" fmt "\x1b[0m\n", \
76 #define PERFETTO_XLOG(level, fmt, ...) \
80 "%s " fmt, ::perfetto::base::Basename(__FILE__ ":" PERFETTO_LOG_LINE), \
82 PERFETTO_XLOG_STDERR(level, fmt, ##__VA_ARGS__); \
94 #define PERFETTO_LOG(fmt, ...) PERFETTO_XLOG(kLogInfo, fmt, ##__VA_ARGS__)
95 #define PERFETTO_ILOG(fmt, ...) PERFETTO_XLOG(kLogImportant, fmt, ##__VA_ARGS__)
96 #define PERFETTO_ELOG(fmt,
[all...]
/external/adhd/cras/src/tests/
H A Daudio_area_unittest.cc31 struct cras_audio_format fmt; local
34 fmt.num_channels = 2;
35 fmt.format = SND_PCM_FORMAT_S16_LE;
37 fmt.channel_layout[i] = stereo[i];
41 cras_audio_area_config_channels(a1, &fmt);
42 cras_audio_area_config_channels(a2, &fmt);
43 cras_audio_area_config_buf_pointers(a1, &fmt, (uint8_t *)buf1);
44 cras_audio_area_config_buf_pointers(a2, &fmt, (uint8_t *)buf2);
51 cras_audio_area_copy(a1, 0, &fmt, a2, 0, 1.0);
60 struct cras_audio_format fmt; local
98 struct cras_audio_format fmt; local
131 struct cras_audio_format fmt; local
204 struct cras_audio_format fmt; local
236 struct cras_audio_format fmt; local
313 cras_mix_add_scale_stride(snd_pcm_format_t fmt, uint8_t *dst, uint8_t *src, unsigned int count, unsigned int dst_stride, unsigned int src_stride, float scaler) argument
[all...]
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
H A DSimpleFormatterTest.java37 SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}");
41 fmt.getArgumentLimit());
45 fmt.format("unused"));
49 fmt.format((CharSequence[])null));
53 fmt.toString());
58 fmt.formatAndAppend(new StringBuilder(), offsets).toString());
66 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString());
70 fmt.formatAndReplace(new StringBuilder(), null, (CharSequence[])null).toString());
96 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c");
97 assertEquals("{20} count", 21, fmt
[all...]
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
H A DSimpleFormatterTest.java34 SimpleFormatter fmt = SimpleFormatter.compile("This doesn''t have templates '{0}");
38 fmt.getArgumentLimit());
42 fmt.format("unused"));
46 fmt.format((CharSequence[])null));
50 fmt.toString());
55 fmt.formatAndAppend(new StringBuilder(), offsets).toString());
63 fmt.formatAndAppend(new StringBuilder(), null, (CharSequence[])null).toString());
67 fmt.formatAndReplace(new StringBuilder(), null, (CharSequence[])null).toString());
93 SimpleFormatter fmt = SimpleFormatter.compile("a{20}c");
94 assertEquals("{20} count", 21, fmt
[all...]
/external/syslinux/dos/
H A Dprintf.c112 int sprintf(char *buf, const char *fmt, ...);
114 int vsprintf(char *buf, const char *fmt, va_list args) argument
129 for (str = buf; *fmt; ++fmt) {
130 if (*fmt != '%') {
131 *str++ = *fmt;
138 ++fmt; /* this also skips first '%' */
139 switch (*fmt) {
159 if (isdigit(*fmt))
160 field_width = skip_atou(&fmt);
284 sprintf(char *buf, const char *fmt, ...) argument
295 printf(const char *fmt, ...) argument
[all...]

Completed in 730 milliseconds

1234567891011>>