Searched refs:fmt (Results 126 - 150 of 1482) sorted by relevance

1234567891011>>

/external/mesa3d/src/compiler/glsl/
H A Dprogram.h50 linker_error(struct gl_shader_program *prog, const char *fmt, ...)
54 linker_warning(struct gl_shader_program *prog, const char *fmt, ...)
/external/mesa3d/src/gallium/drivers/i915/
H A Di915_debug.h58 I915_DBG(unsigned flags, const char *fmt, ...) argument
63 va_start(args, fmt);
64 debug_vprintf(fmt, args);
70 static inline void I915_DBG(unsigned flags, const char *fmt, ...) {} argument
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_debug.h58 SVGA_DBG( unsigned flag, const char *fmt, ... ) argument
65 va_start( args, fmt );
66 debug_vprintf( fmt, args );
71 (void)fmt;
/external/selinux/libsepol/cil/src/
H A Dcil_mem.h38 int cil_asprintf(char **strp, const char *fmt, ...);
/external/skia/src/utils/
H A DSkJSONWriter.cpp33 void SkJSONWriter::appendf(const char* fmt, ...) { argument
37 va_start(argp, fmt);
39 int length = _vsnprintf_s(buffer, kBufferSize, _TRUNCATE, fmt, argp);
41 int length = vsnprintf(buffer, kBufferSize, fmt, argp);
/external/skqp/src/utils/
H A DSkJSONWriter.cpp33 void SkJSONWriter::appendf(const char* fmt, ...) { argument
37 va_start(argp, fmt);
39 int length = _vsnprintf_s(buffer, kBufferSize, _TRUNCATE, fmt, argp);
41 int length = vsnprintf(buffer, kBufferSize, fmt, argp);
/external/clang/test/SemaCXX/
H A Dformat-strings.cpp26 const char *gettext(const char *fmt) __attribute__((format_arg(2)));
32 static const char *gettext_static(const char *fmt) __attribute__((format_arg(1)));
33 static int printf_static(const char *fmt, ...) __attribute__((format(printf, 1, 2)));
60 int Foo::printf(const char *fmt, ...) { argument
62 va_start(ap,fmt);
63 const char * const format = fmt;
66 const char *format2 = fmt;
72 int Foo::printf2(const char *fmt, ...) { argument
74 va_start(ap,fmt);
75 vprintf(fmt, a
[all...]
/external/ltp/lib/
H A Dself_exec.c42 int asprintf(char **app, const char *fmt, ...) argument
51 va_start(ptr, fmt);
52 rv = vsnprintf(NULL, 0, fmt, ptr);
64 va_start(ptr, fmt);
65 rv = vsnprintf(p, rv, fmt, ptr);
71 void maybe_run_child(void (*child) (), const char *fmt, ...) argument
94 va_start(ap, fmt);
96 for (p = fmt; *p; p++) {
164 int self_exec(const char *argv0, const char *fmt, ...) argument
184 va_start(ap, fmt);
[all...]
H A Dsafe_file_ops.c45 static int count_scanf_conversions(const char *fmt) argument
50 while (*fmt) {
51 switch (*fmt) {
71 fmt++;
78 const char *path, const char *fmt, ...)
93 exp_convs = count_scanf_conversions(fmt);
95 va_start(va, fmt);
96 ret = vfscanf(f, fmt, va);
133 const char *path, const char *fmt, ...)
148 exp_convs = count_scanf_conversions(fmt);
77 file_scanf(const char *file, const int lineno, const char *path, const char *fmt, ...) argument
131 safe_file_scanf(const char *file, const int lineno, void (*cleanup_fn) (void), const char *path, const char *fmt, ...) argument
182 file_lines_scanf(const char *file, const int lineno, void (*cleanup_fn)(void), int strict, const char *path, const char *fmt, ...) argument
227 file_printf(const char *file, const int lineno, const char *path, const char *fmt, ...) argument
271 safe_file_printf(const char *file, const int lineno, void (*cleanup_fn) (void), const char *path, const char *fmt, ...) argument
[all...]
/external/icu/android_icu4j/src/main/java/android/icu/text/
H A DCurrencyFormat.java40 private NumberFormat fmt; field in class:CurrencyFormat
47 fmt = NumberFormat.getCurrencyInstance(locale.toLocale());
56 result.fmt = (NumberFormat) fmt.clone();
70 fmt.setCurrency(currency.getCurrency());
71 return fmt.format(currency.getNumber(), toAppendTo, pos);
80 return fmt.parseCurrency(source, pos);
121 return new CurrencyFormat(fmt.getLocale(ULocale.ACTUAL_LOCALE));
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
H A DCurrencyFormat.java39 private NumberFormat fmt; field in class:CurrencyFormat
46 fmt = NumberFormat.getCurrencyInstance(locale.toLocale());
55 result.fmt = (NumberFormat) fmt.clone();
69 fmt.setCurrency(currency.getCurrency());
70 return fmt.format(currency.getNumber(), toAppendTo, pos);
79 return fmt.parseCurrency(source, pos);
120 return new CurrencyFormat(fmt.getLocale(ULocale.ACTUAL_LOCALE));
/external/ltp/include/
H A Dtst_safe_stdio.h31 #define SAFE_ASPRINTF(strp, fmt, ...) \
32 safe_asprintf(__FILE__, __LINE__, NULL, strp, fmt, __VA_ARGS__)
/external/mesa3d/src/gallium/drivers/nouveau/
H A Dnouveau_debug.h18 #define NOUVEAU_ERR(fmt, args...) \
19 fprintf(stderr, "%s:%d - " fmt, __FUNCTION__, __LINE__, ##args)
/external/sonivox/arm-wt-22k/host_src/
H A Deas_report.c187 void EAS_Report (int severity, const char *fmt, ...) argument
196 va_start(vargs, fmt);
199 vfprintf(debugFile, fmt, vargs);
205 vprintf(fmt, vargs);
217 void EAS_ReportX (int severity, const char *fmt, ...) argument
226 va_start(vargs, fmt);
229 vfprintf(debugFile, fmt, vargs);
235 vprintf(fmt, vargs);
/external/chromium-trace/catapult/common/py_vulcanize/third_party/rcssmin/_setup/py2/term/
H A D_term.py86 def write(fmt, **kwargs):
90 _sys.stdout.write(fmt % parm)
104 def yellow(fmt, **kwargs):
106 announce("%%(BOLD)s%%(YELLOW)s%s%%(NORMAL)s" % fmt, **kwargs)
109 def announce(fmt, **kwargs):
111 write(fmt, **kwargs)
/external/syslinux/com32/elflink/ldlinux/
H A Drefstr.c67 int vrsprintf(const char **bufp, const char *fmt, va_list ap) argument
74 len = vsnprintf(NULL, 0, fmt, ap1);
81 return vsnprintf(p, len + 1, fmt, ap);
84 int rsprintf(const char **bufp, const char *fmt, ...) argument
89 va_start(ap, fmt);
90 rv = vrsprintf(bufp, fmt, ap);
/external/syslinux/com32/menu/
H A Drefstr.c66 int vrsprintf(const char **bufp, const char *fmt, va_list ap) argument
73 len = vsnprintf(NULL, 0, fmt, ap1);
80 return vsnprintf(p, len + 1, fmt, ap);
83 int rsprintf(const char **bufp, const char *fmt, ...) argument
88 va_start(ap, fmt);
89 rv = vrsprintf(bufp, fmt, ap);
/external/toybox/toys/lsb/
H A Dseq.c30 char *fmt;
71 if (toys.optflags & FLAG_f) insanitize(TT.fmt);
72 else sprintf(TT.fmt = toybuf, "%%.%df", TT.precision);
80 len = maxof(len, snprintf(0, 0, TT.fmt, dd));
82 sprintf(TT.fmt = toybuf, "%%0%d.%df", len, TT.precision);
96 printf(TT.fmt, dd);
/external/adhd/cras/src/tests/
H A Diodev_unittest.cc268 struct cras_audio_format fmt; local
271 fmt.format = SND_PCM_FORMAT_S16_LE;
272 fmt.frame_rate = 48000;
273 fmt.num_channels = 2;
276 rc = cras_iodev_set_format(&iodev_, &fmt);
286 struct cras_audio_format fmt; local
289 fmt.format = SND_PCM_FORMAT_S32_LE;
290 fmt.frame_rate = 48000;
291 fmt.num_channels = 2;
294 rc = cras_iodev_set_format(&iodev_, &fmt);
304 struct cras_audio_format fmt; local
322 struct cras_audio_format fmt; local
336 struct cras_audio_format fmt; local
354 struct cras_audio_format fmt; local
372 struct cras_audio_format fmt; local
386 struct cras_audio_format fmt; local
400 struct cras_audio_format fmt; local
422 struct cras_audio_format fmt; local
444 struct cras_audio_format fmt; local
464 struct cras_audio_format fmt; local
491 struct cras_audio_format fmt; local
558 pre_dsp_hook(const uint8_t *frames, unsigned int nframes, const struct cras_audio_format *fmt, void *cb_data) argument
567 post_dsp_hook(const uint8_t *frames, unsigned int nframes, const struct cras_audio_format *fmt, void *cb_data) argument
577 struct cras_audio_format fmt; local
633 struct cras_audio_format fmt; local
662 struct cras_audio_format fmt; local
705 struct cras_audio_format fmt; local
752 struct cras_audio_format fmt; local
781 struct cras_audio_format fmt; local
814 struct cras_audio_format fmt; local
842 struct cras_audio_format fmt; local
912 struct cras_audio_format fmt; local
968 struct cras_audio_format fmt; local
1257 struct cras_audio_format fmt; local
1411 struct cras_audio_format fmt; local
1443 struct cras_audio_format fmt; local
1499 struct cras_audio_format fmt; local
1679 struct cras_audio_format fmt; local
1742 struct cras_audio_format fmt; local
1928 struct cras_audio_format fmt; local
2163 cras_audio_area_config_channels(struct cras_audio_area *area, const struct cras_audio_format *fmt) argument
2198 cras_scale_buffer(snd_pcm_format_t fmt, uint8_t *buffer, unsigned int count, float scaler) argument
2205 cras_scale_buffer_increment(snd_pcm_format_t fmt, uint8_t *buff, unsigned int frame, float scaler, float increment, int channel) argument
[all...]
/external/eigen/Eigen/src/Core/
H A DIO.h22 std::ostream & print_matrix(std::ostream & s, const Derived& _m, const IOFormat& fmt);
127 * print the matrix \a _m to the output stream \a s using the output format \a fmt */
129 std::ostream & print_matrix(std::ostream & s, const Derived& _m, const IOFormat& fmt) argument
133 s << fmt.matPrefix << fmt.matSuffix;
143 if(fmt.precision == StreamPrecision)
147 else if(fmt.precision == FullPrecision)
160 explicit_precision = fmt.precision;
166 bool align_cols = !(fmt.flags & DontAlignCols);
179 s << fmt
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dscientificnumberformattertest.cpp55 LocalPointer<ScientificNumberFormatter> fmt(
61 fmt->format(1.23456e-78, appendTo, status);
69 fmt.adoptInstead(
76 fmt->format(1.23456e-78, appendTo, status);
84 LocalPointer<ScientificNumberFormatter> fmt3(fmt->clone());
103 LocalPointer<ScientificNumberFormatter> fmt(
109 fmt->format(1.23456e-78, appendTo, status);
130 LocalPointer<ScientificNumberFormatter> fmt(
136 fmt->format(6.02e23, appendTo, status);
157 LocalPointer<ScientificNumberFormatter> fmt(
[all...]
/external/libpcap/tests/
H A Dopentest.c241 error(const char *fmt, ...) argument
246 va_start(ap, fmt);
247 (void)vfprintf(stderr, fmt, ap);
249 if (*fmt) {
250 fmt += strlen(fmt);
251 if (fmt[-1] != '\n')
260 warning(const char *fmt, ...) argument
265 va_start(ap, fmt);
266 (void)vfprintf(stderr, fmt, a
[all...]
/external/libxcam/xcore/
H A Dv4l2_buffer_proxy.cpp82 info.format = format.fmt.pix.pixelformat;
84 info.width = format.fmt.pix.width;
85 info.height = format.fmt.pix.height;
88 info.size = format.fmt.pix.sizeimage;
89 switch (format.fmt.pix.pixelformat) {
93 info.strides [0] = format.fmt.pix.bytesperline * 2 / 3;
96 info.offsets[1] = info.strides [0] * format.fmt.pix.height;
100 info.strides [0] = format.fmt.pix.bytesperline / 2;
104 info.offsets[1] = info.strides [0] * format.fmt.pix.height;
105 info.offsets[2] = info.offsets[1] + info.strides [1] * format.fmt
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_ossaudiodev.py101 (fmt, channels, rate) = config
102 if (dsp.setfmt(fmt) == fmt and
112 result = dsp.setparameters(fmt, channels, rate, False)
113 self.assertEqual(result, (fmt, channels, rate),
116 result = dsp.setparameters(fmt, channels, rate, True)
117 self.assertEqual(result, (fmt, channels, rate),
126 fmt = AFMT_S16_NE
129 for config in [(fmt, 300, rate), # ridiculous nchannels
130 (fmt,
[all...]
/external/freetype/builds/wince/
H A Dftdebug.c74 FT_Message( const char* fmt, argument
81 va_start( ap, fmt );
82 vfprintf( stderr, fmt, ap );
84 vsprintf( buf, fmt, ap );
91 FT_Panic( const char* fmt, argument
98 va_start( ap, fmt );
99 vsprintf( buf, fmt, ap );

Completed in 5952 milliseconds

1234567891011>>