Searched refs:fmt (Results 251 - 275 of 1087) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/native_client_sdk/src/libraries/ppapi_simple/
H A Dps_instance.h68 void Trace(const char *fmt, ...);
69 void Log(const char *fmt, ...);
70 void Warn(const char *fmt, ...);
71 void Error(const char *fmt, ...);
131 void VALog(Verbosity verbosity, const char *fmt, va_list args);
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_util.cpp100 String Format(const char* fmt, ...) {
102 va_start(args, fmt);
103 String result(FormatArgs(fmt, args));
108 String FormatArgs(const char* fmt, va_list args) {
113 int ret = vsnprintf(&result[0], result.capacity(), fmt, args2);
/external/chromium_org/third_party/angle/tests/gles_conformance_tests/
H A Dgles_conformance_tests.cpp22 static std::vector<char> FormatArg(const char* fmt, ...) argument
25 va_start(vararg, fmt);
26 int len = vsnprintf(NULL, 0, fmt, vararg);
31 va_start(vararg, fmt);
32 vsnprintf(buf.data(), buf.size(), fmt, vararg);
/external/chromium_org/third_party/icu/source/test/compat/
H A Dtzdate.c74 UDateFormat *fmt; local
82 fmt = udat_open(style, style, 0, tz, -1,NULL,0, &status);
84 len = udat_format(fmt, timeToCheck, 0, len, 0, &status);
94 udat_format(fmt, timeToCheck, s, len + 1, 0, &status);
105 udat_close(fmt);
/external/deqp/framework/opengl/
H A DgluStrUtil.cpp33 std::ostream& operator<< (std::ostream& str, EnumPointerFmt fmt) argument
35 if (fmt.value)
38 for (deUint32 ndx = 0; ndx < fmt.size; ndx++)
42 str << tcu::Format::Enum(fmt.getName, fmt.value[ndx]);
/external/e2fsprogs/lib/quota/
H A Dquotaio.h110 int (*check_file) (struct quota_handle *h, int type, int fmt);
138 ext2_ino_t qf_ino, int type, int fmt, int flags);
143 int type, int fmt);
161 const char *quota_get_qf_name(int type, int fmt, char *buf);
162 const char *quota_get_qf_path(const char *mntpt, int qtype, int fmt,
H A Dquotaio.c47 const char *quota_get_qf_name(int type, int fmt, char *buf) argument
52 basenames[fmt], extensions[type]);
57 const char *quota_get_qf_path(const char *mntpt, int qtype, int fmt, argument
67 strncat(path_buf, quota_get_qf_name(qtype, fmt, qf_name),
200 ext2_ino_t qf_ino, int type, int fmt, int flags)
205 if (fmt == -1)
206 fmt = QFMT_VFS_V1;
226 h->qh_fmt = fmt;
231 (h->qh_ops->check_file(h, type, fmt) == 0)) {
282 errcode_t quota_file_create(struct quota_handle *h, ext2_filsys fs, int type, int fmt) argument
199 quota_file_open(struct quota_handle *h, ext2_filsys fs, ext2_ino_t qf_ino, int type, int fmt, int flags) argument
[all...]
/external/icu/icu4c/source/test/compat/
H A Dtzdate.c74 UDateFormat *fmt; local
82 fmt = udat_open(style, style, 0, tz, -1,NULL,0, &status);
84 len = udat_format(fmt, timeToCheck, 0, len, 0, &status);
94 udat_format(fmt, timeToCheck, s, len + 1, 0, &status);
105 udat_close(fmt);
/external/linux-tools-perf/perf-3.12.0/tools/lib/traceevent/
H A Dtrace-seq.c90 * @fmt: printf format string
102 trace_seq_printf(struct trace_seq *s, const char *fmt, ...) argument
113 va_start(ap, fmt);
114 ret = vsnprintf(s->buffer + s->len, len, fmt, ap);
130 * @fmt: printf format string
139 trace_seq_vprintf(struct trace_seq *s, const char *fmt, va_list args) argument
149 ret = vsnprintf(s->buffer + s->len, len, fmt, args);
/external/qemu/
H A Dmonitor-android.c105 void monitor_vprintf(Monitor* mon, const char* fmt, va_list args) { argument
107 vsnprintf(buf, sizeof(buf), fmt, args);
111 void monitor_printf(Monitor *mon, const char *fmt, ...) argument
114 va_start(ap, fmt);
115 monitor_vprintf(mon, fmt, ap);
/external/deqp/framework/common/
H A DtcuFormatUtil.hpp169 inline std::ostream& operator<< (std::ostream& stream, Enum fmt) { return fmt.toStream(stream); } argument
194 std::ostream& operator<< (std::ostream& str, const Array<Iterator>& fmt) argument
197 for (Iterator cur = fmt.begin; cur != fmt.end; ++cur)
199 if (cur != fmt.begin)
208 std::ostream& operator<< (std::ostream& str, const ArrayPointer<T>& fmt) argument
210 if (fmt.arr != DE_NULL)
211 return str << Array<const T*>(fmt.arr, fmt
[all...]
/external/icu/icu4c/source/samples/date/
H A Ddate.c248 UDateFormat *fmt; local
263 fmt = udat_open(style, style, 0, tz, -1,NULL,0, status);
266 udat_applyPattern(fmt,FALSE,uFormat,-1);
268 len = udat_format(fmt, when, 0, len, 0, status);
273 udat_format(fmt, when, s, len + 1, 0, status);
287 udat_close(fmt);
293 UDateFormat *fmt = NULL; local
318 fmt = udat_open(style, style, 0, tz, -1,NULL,0, status);
321 udat_applyPattern(fmt,FALSE,uFormat,-1);
325 when = udat_parse(fmt, uPars
[all...]
/external/icu/icu4c/source/test/intltest/
H A Dmsfmrgts.cpp158 MessageFormat *fmt = new MessageFormat("{0,choice,0#no files|1#one file|1< {0,number,integer} files}", status);
162 pat = fmt->toPattern(pat);
170 delete fmt;
207 NumberFormat *fmt = 0; local
218 fmt = NumberFormat::createInstance(status);
220 case Formattable::kLong: fmt->format(obj.getLong(), temp); break;
221 case Formattable::kInt64: fmt->format(obj.getInt64(), temp); break;
222 case Formattable::kDouble: fmt->format(obj.getDouble(), temp); break;
233 fmt = NumberFormat::createInstance(status);
235 case Formattable::kLong: fmt
287 MessageFormat *fmt = new MessageFormat("There are {0} apples growing on the {1} tree.", status); local
586 ChoiceFormat *fmt = new ChoiceFormat( local
644 ChoiceFormat *fmt = new ChoiceFormat(pattern, status); local
993 MessageFormat *fmt = new MessageFormat("",status); local
[all...]
H A Ddtfmrgts.cpp128 DateFormat *fmt = DateFormat::createDateTimeInstance(DateFormat::SHORT, local
130 if (fmt == NULL) {
137 str = fmt->format(dt, str);
198 fmt->format(dt, buf, pos);
219 delete fmt;
231 SimpleDateFormat *fmt = new SimpleDateFormat(UnicodeString("yyMMdd"), Locale::getUS(), status); local
233 delete fmt;
237 fmt->set2DigitYearStart(start, status);
238 failure(status, "fmt->setTwoDigitStartDate");
239 if( (fmt
287 SimpleDateFormat *fmt; local
306 aux917( SimpleDateFormat *fmt, UnicodeString& str ) argument
351 DateFormat *fmt = DateFormat::createDateTimeInstance( DateFormat::FULL, local
1015 SimpleDateFormat *fmt = new SimpleDateFormat(dateFormat, status); local
1198 DateFormat& fmt = *(DateFormat*)&sfmt; // Yuck: See j25 local
1243 DateFormat *fmt = DateFormat::createDateTimeInstance(DateFormat::NONE, local
[all...]
H A Dnumfmtst.cpp241 DecimalFormat fmt(pat[i], sym, status);
243 UnicodeString newp; fmt.toPattern(newp);
248 UnicodeString s; (*(NumberFormat*)&fmt).format((int32_t)0, s);
253 logln((UnicodeString)"Min integer digits = " + fmt.getMinimumIntegerDigits());
376 DecimalFormat fmt(pat[p], sym, status);
380 fmt.toPattern(pattern) + "\"");
384 UnicodeString s; (*(NumberFormat*)&fmt).format(val[v], s);
391 fmt.parse(s, af, pos);
432 (*(NumberFormat*)&fmt).format(lval[v], s);
439 fmt
467 DecimalFormat* fmt = (DecimalFormat*)NumberFormat::createCurrencyInstance("en_US", status); local
610 DecimalFormat *fmt = new DecimalFormat(*pat, *sym, status); local
652 DecimalFormat *fmt = new DecimalFormat(pat, *sym, status); local
796 NumberFormat* fmt = local
2166 parseCurrencyAmount(const UnicodeString& str, const NumberFormat& fmt, UChar delim, Formattable& result, UErrorCode& ec) argument
2190 DecimalFormat *ref = 0, *fmt = 0; local
2418 expect3(NumberFormat& fmt, const Formattable& n, const UnicodeString& str) argument
2424 expect2(NumberFormat& fmt, const Formattable& n, const UnicodeString& str) argument
2430 expect2(NumberFormat* fmt, const Formattable& n, const UnicodeString& exp, UErrorCode status) argument
2441 expect(NumberFormat& fmt, const UnicodeString& str, const Formattable& n) argument
2462 expect_rbnf(NumberFormat& fmt, const UnicodeString& str, const Formattable& n) argument
2479 expect_rbnf(NumberFormat& fmt, const Formattable& n, const UnicodeString& exp, UBool rt) argument
2515 expect(NumberFormat& fmt, const Formattable& n, const UnicodeString& exp, UBool rt) argument
2553 expect(NumberFormat* fmt, const Formattable& n, const UnicodeString& exp, UBool rt, UErrorCode status) argument
2567 DecimalFormat& fmt = * (DecimalFormat*) &nf; local
2605 expectPat(DecimalFormat& fmt, const UnicodeString& exp) argument
2615 expectPad(DecimalFormat& fmt, const UnicodeString& pat, int32_t pos) argument
2619 expectPad(DecimalFormat& fmt, const UnicodeString& pat, int32_t pos, int32_t width, UChar pad) argument
2623 expectPad(DecimalFormat& fmt, const UnicodeString& pat, int32_t pos, int32_t width, const UnicodeString& pad) argument
2690 expectParseCurrency(const NumberFormat &fmt, const UChar* currency, double amount, const char *text) argument
3146 NumberFormat *fmt = (NumberFormat *) origFmt->clone(); local
3235 DecimalFormat* fmt = new DecimalFormat(pat, new DecimalFormatSymbols(*sym), status); local
3337 DecimalFormat* fmt = new DecimalFormat(pat, sym, status); local
6534 NumberFormat* fmt = NumberFormat::createCurrencyInstance("ja_JP", status); local
6610 NumberFormat *fmt= NumberFormat::createInstance(Locale(loc), status); local
6676 UNumberFormat* fmt = unum_open(UNUM_PATTERN_DECIMAL,pattern,1,NULL,NULL,&status); local
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/winsys/sw/android/
H A Dandroid_sw_winsys.cpp196 int fmt = -1; local
200 fmt = HAL_PIXEL_FORMAT_RGBA_8888;
203 fmt = HAL_PIXEL_FORMAT_RGBX_8888;
206 fmt = HAL_PIXEL_FORMAT_RGB_888;
209 fmt = HAL_PIXEL_FORMAT_RGB_565;
212 fmt = HAL_PIXEL_FORMAT_BGRA_8888;
218 return (fmt != -1);
/external/libpcap/tests/
H A Dfiltertest.c108 error(const char *fmt, ...) argument
113 va_start(ap, fmt);
114 (void)vfprintf(stderr, fmt, ap);
116 if (*fmt) {
117 fmt += strlen(fmt);
118 if (fmt[-1] != '\n')
/external/mesa3d/src/gallium/winsys/sw/android/
H A Dandroid_sw_winsys.cpp196 int fmt = -1; local
200 fmt = HAL_PIXEL_FORMAT_RGBA_8888;
203 fmt = HAL_PIXEL_FORMAT_RGBX_8888;
206 fmt = HAL_PIXEL_FORMAT_RGB_888;
209 fmt = HAL_PIXEL_FORMAT_RGB_565;
212 fmt = HAL_PIXEL_FORMAT_BGRA_8888;
218 return (fmt != -1);
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dwpa_debug.h62 * @fmt: printf format string, followed by optional arguments
70 void wpa_printf(int level, const char *fmt, ...)
173 * @fmt: printf format string, followed by optional arguments
182 void wpa_msg(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
189 * @fmt: printf format string, followed by optional arguments
196 void wpa_msg_ctrl(void *ctx, int level, const char *fmt, ...)
204 * @fmt: printf format string, followed by optional arguments
212 void wpa_msg_global(void *ctx, int level, const char *fmt, ...)
220 * @fmt: printf format string, followed by optional arguments
227 void wpa_msg_global_ctrl(void *ctx, int level, const char *fmt,
[all...]
/external/wpa_supplicant_8/src/utils/
H A Dwpa_debug.h62 * @fmt: printf format string, followed by optional arguments
70 void wpa_printf(int level, const char *fmt, ...)
173 * @fmt: printf format string, followed by optional arguments
182 void wpa_msg(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
189 * @fmt: printf format string, followed by optional arguments
196 void wpa_msg_ctrl(void *ctx, int level, const char *fmt, ...)
204 * @fmt: printf format string, followed by optional arguments
212 void wpa_msg_global(void *ctx, int level, const char *fmt, ...)
220 * @fmt: printf format string, followed by optional arguments
227 void wpa_msg_global_ctrl(void *ctx, int level, const char *fmt,
[all...]
/external/wpa_supplicant_8/wpa_supplicant/src/utils/
H A Dwpa_debug.h62 * @fmt: printf format string, followed by optional arguments
70 void wpa_printf(int level, const char *fmt, ...)
173 * @fmt: printf format string, followed by optional arguments
182 void wpa_msg(void *ctx, int level, const char *fmt, ...) PRINTF_FORMAT(3, 4);
189 * @fmt: printf format string, followed by optional arguments
196 void wpa_msg_ctrl(void *ctx, int level, const char *fmt, ...)
204 * @fmt: printf format string, followed by optional arguments
212 void wpa_msg_global(void *ctx, int level, const char *fmt, ...)
220 * @fmt: printf format string, followed by optional arguments
227 void wpa_msg_global_ctrl(void *ctx, int level, const char *fmt,
[all...]
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/x11/
H A Dnative_ximage.c298 enum pipe_format fmt; local
305 fmt = PIPE_FORMAT_B8G8R8A8_UNORM;
308 fmt = PIPE_FORMAT_B8G8R8X8_UNORM;
311 fmt = PIPE_FORMAT_B5G6R5_UNORM;
314 fmt = PIPE_FORMAT_NONE;
318 return fmt;
331 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix); local
334 if (fmt != PIPE_FORMAT_NONE) {
336 if (xdpy->configs[i].base.color_format == fmt) {
354 enum pipe_format fmt; local
457 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix); local
[all...]
/external/mesa3d/src/gallium/state_trackers/egl/x11/
H A Dnative_ximage.c298 enum pipe_format fmt; local
305 fmt = PIPE_FORMAT_B8G8R8A8_UNORM;
308 fmt = PIPE_FORMAT_B8G8R8X8_UNORM;
311 fmt = PIPE_FORMAT_B5G6R5_UNORM;
314 fmt = PIPE_FORMAT_NONE;
318 return fmt;
331 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix); local
334 if (fmt != PIPE_FORMAT_NONE) {
336 if (xdpy->configs[i].base.color_format == fmt) {
354 enum pipe_format fmt; local
457 enum pipe_format fmt = get_pixmap_format(&xdpy->base, pix); local
[all...]
/external/icu/icu4c/source/i18n/
H A Dfmtable.cpp907 UFormattable *fmt = (new Formattable())->toUFormattable(); local
909 if( fmt == NULL ) {
912 return fmt;
916 ufmt_close(UFormattable *fmt) { argument
917 Formattable *obj = Formattable::fromUFormattable(fmt);
923 ufmt_getType(const UFormattable *fmt, UErrorCode *status) { argument
927 const Formattable *obj = Formattable::fromUFormattable(fmt);
933 ufmt_isNumeric(const UFormattable *fmt) { argument
934 const Formattable *obj = Formattable::fromUFormattable(fmt);
939 ufmt_getDate(const UFormattable *fmt, UErrorCod argument
946 ufmt_getDouble(UFormattable *fmt, UErrorCode *status) argument
953 ufmt_getLong(UFormattable *fmt, UErrorCode *status) argument
961 ufmt_getObject(const UFormattable *fmt, UErrorCode *status) argument
974 ufmt_getUChars(UFormattable *fmt, int32_t *len, UErrorCode *status) argument
994 ufmt_getArrayLength(const UFormattable* fmt, UErrorCode *status) argument
1003 ufmt_getArrayItemByIndex(UFormattable* fmt, int32_t n, UErrorCode *status) argument
1018 ufmt_getDecNumChars(UFormattable *fmt, int32_t *len, UErrorCode *status) argument
1039 ufmt_getInt64(UFormattable *fmt, UErrorCode *status) argument
[all...]
/external/chromium_org/third_party/skia/third_party/lua/src/
H A Dlobject.c179 const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) { argument
182 const char *e = strchr(fmt, '%');
184 luaD_checkstack(L, 2); /* fmt + item */
185 pushstr(L, fmt, e - fmt);
224 fmt = e+2;
227 pushstr(L, fmt, strlen(fmt));
233 const char *luaO_pushfstring (lua_State *L, const char *fmt, ...) { argument
236 va_start(argp, fmt);
[all...]

Completed in 668 milliseconds

<<11121314151617181920>>