Home
last modified time | relevance | path

Searched full:fmt (Results 1 – 25 of 2625) sorted by relevance

12345678910>>...105

/third_party/mesa3d/src/panfrost/lib/
Dpan_format.c148 #define FMT(pipe, mali, swizzle, srgb, flags) \ macro
163 #define FMT(pipe, mali, swizzle, srgb, flags) \ macro
173 FMT(NONE, CONSTANT, 0000, L, VTR_),
176 FMT(ETC1_RGB8, ETC2_RGB8, RGB1, L, _T__),
177 FMT(ETC2_RGB8, ETC2_RGB8, RGB1, L, _T__),
178 FMT(ETC2_SRGB8, ETC2_RGB8, RGB1, S, _T__),
179 FMT(ETC2_R11_UNORM, ETC2_R11_UNORM, R001, L, _T__),
180 FMT(ETC2_RGBA8, ETC2_RGBA8, RGBA, L, _T__),
181 FMT(ETC2_SRGBA8, ETC2_RGBA8, RGBA, S, _T__),
182 FMT(ETC2_RG11_UNORM, ETC2_RG11_UNORM, RG01, L, _T__),
[all …]
/third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/
Dtest_VIDIOC_FMT.c209 dprintf("\tformat = {.type=0x%X, .fmt.pix = { " in do_get_formats()
220 format.fmt.pix.width, in do_get_formats()
221 format.fmt.pix.height, in do_get_formats()
222 format.fmt.pix.pixelformat, in do_get_formats()
223 format.fmt.pix.field, in do_get_formats()
224 format.fmt.pix.bytesperline, in do_get_formats()
225 format.fmt.pix.sizeimage, in do_get_formats()
226 format.fmt.pix.colorspace, format.fmt.pix.priv); in do_get_formats()
227 if (sizeof(format.fmt.pix) < in do_get_formats()
228 sizeof(format.fmt.raw_data)) { in do_get_formats()
[all …]
/third_party/icu/tools/multi/proj/icu4cscan/
Dicucaps.xml34 af <!-- open:ok syms:40/42#189:ok fmt:ok -->
35 af_NA <!-- open:ok syms:40/42#189:ok fmt:ok -->
36 af_ZA <!-- open:ok syms:40/42#189:ok fmt:ok -->
37 agq <!-- open:ok syms:40/42#309:ok fmt:ok -->
38 agq_CM <!-- open:ok syms:40/42#309:ok fmt:ok -->
39 ak <!-- open:ok syms:40/42#283:ok fmt:ok -->
40 ak_GH <!-- open:ok syms:40/42#283:ok fmt:ok -->
41 am <!-- open:ok syms:40/42#131:ok fmt:ok -->
42 am_ET <!-- open:ok syms:40/42#131:ok fmt:ok -->
43 ar <!-- open:ok syms:40/42#220:ok fmt:ok -->
[all …]
/third_party/rust/crates/syn/tests/debug/
Dgen.rs8 use std::fmt::{self, Debug, Display};
10 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
17 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
19 Debug::fmt(Lite(&self.0), formatter)?; in fmt()
30 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
42 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
53 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
55 Debug::fmt(Lite(&self.0.1), formatter)?; in fmt()
70 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
78 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
[all …]
Dmod.rs12 use std::fmt::{self, Debug};
36 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
42 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
48 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
54 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
60 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
66 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
72 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
89 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() function
90 Debug::fmt(Lite(self.value), formatter) in fmt()
[all …]
/third_party/musl/libc-test/src/functionalext/unittest/
Dunit_test_hilog_vsnprint_f_p.c26 static int vsprintf_test(char *strDest, size_t destMax, size_t count, int priv, const char *fmt, ..… in vsprintf_test() argument
30 va_start(ap, fmt); in vsprintf_test()
31 ret = vsnprintfp_s(strDest, destMax, count, priv, fmt, ap); in vsprintf_test()
44 char *fmt = "MUSL"; in vsnprintfp_s_0010() local
45 int ret = vsprintf_test(buf, MAX_LOG_LEN, MAX_LOG_LEN - 1, true, fmt); in vsnprintfp_s_0010()
52 * @tc.desc : test vsnprintf both param buf and fmt are NULL
58 char *fmt = NULL; in vsnprintfp_s_0020() local
59 int ret = vsprintf_test(buf, MAX_LOG_LEN, MAX_LOG_LEN - 1, true, fmt); in vsnprintfp_s_0020()
71 char *fmt = "MUSL"; in vsnprintfp_s_0030() local
72 int ret = vsprintf_test(buf, MAX_LOG_LEN - 1, MAX_LOG_LEN, true, fmt); in vsnprintfp_s_0030()
[all …]
/third_party/rust/crates/syn/src/gen/
Ddebug.rs5 use std::fmt::{self, Debug};
9 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
19 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
21 fn debug(&self, formatter: &mut fmt::Formatter, name: &str) -> fmt::Result { in fmt()
36 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
50 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
62 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
74 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
89 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
101 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result { in fmt() method
[all …]
/third_party/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/ast/
Dast.go20 "fmt"
37 fmt.Fprintf(&sb, "%v", e)
38 fmt.Fprintln(&sb)
41 fmt.Fprintf(&sb, "%v", p)
42 fmt.Fprintln(&sb)
45 fmt.Fprintf(&sb, "%v", m)
46 fmt.Fprintln(&sb)
49 fmt.Fprintf(&sb, "%v", f)
50 fmt.Fprintln(&sb)
62 // Format implements the fmt.Formatter interface
[all …]
/third_party/skia/modules/skparagraph/src/
Dlog.h31 #define LOGD(fmt, ...) HILOG_DEBUG(LOG_CORE, "%{public}s: " fmt, __func__, ##__VA_ARGS__) argument
32 #define LOGI(fmt, ...) HILOG_INFO(LOG_CORE, "%{public}s: " fmt, __func__, ##__VA_ARGS__) argument
33 #define LOGW(fmt, ...) HILOG_WARN(LOG_CORE, "%{public}s: " fmt, __func__, ##__VA_ARGS__) argument
34 #define LOGE(fmt, ...) HILOG_ERROR(LOG_CORE, "%{public}s: " fmt, __func__, ##__VA_ARGS__) argument
36 #define TEXT_LOGD(fmt, ...) HILOG_DEBUG(LOG_CORE, "%{public}s: " fmt, __func__, ##__VA_ARGS__) argument
37 #define TEXT_LOGI(fmt, ...) HILOG_INFO(LOG_CORE, "%{public}s: " fmt, __func__, ##__VA_ARGS__) argument
38 #define TEXT_LOGW(fmt, ...) HILOG_WARN(LOG_CORE, "%{public}s: " fmt, __func__, ##__VA_ARGS__) argument
39 #define TEXT_LOGE(fmt, ...) HILOG_ERROR(LOG_CORE, "%{public}s: " fmt, __func__, ##__VA_ARGS__) argument
68 #define TEXT_LOGI_LIMIT3_HOUR(fmt, ...) \ argument
71 LOGD(fmt, ##__VA_ARGS__); \
[all …]
/third_party/rust/crates/serde/serde/src/ser/
Dfmt.rs4 impl Error for fmt::Error {
6 fmt::Error in custom()
13 fn $f(self, v: $t) -> fmt::Result {
14 Display::fmt(&v, self)
23 /// use std::fmt::{self, Display};
33 /// fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
38 impl<'a, 'b> Serializer for &'a mut fmt::Formatter<'b> {
40 type Error = fmt::Error;
41 type SerializeSeq = Impossible<(), fmt::Error>;
42 type SerializeTuple = Impossible<(), fmt::Error>;
[all …]
/third_party/pulseaudio/include/log/
Daudio_log.h34 #define DECORATOR_HILOG(op, fmt, args...) \ argument
36 op(LOG_CORE, "[%{public}s]" fmt, __FUNCTION__, ##args); \
39 #define DECORATOR_HILOG(op, fmt, args...) \ argument
41 op(LOG_CORE, "{%s()-%s:%d} " fmt, __FUNCTION__, __FILENAME__, __LINE__, ##args); \
45 #define AUDIO_DEBUG_LOG(fmt, ...) DECORATOR_HILOG(HILOG_DEBUG, fmt, ##__VA_ARGS__) argument
46 #define AUDIO_ERR_LOG(fmt, ...) DECORATOR_HILOG(HILOG_ERROR, fmt, ##__VA_ARGS__) argument
47 #define AUDIO_WARNING_LOG(fmt, ...) DECORATOR_HILOG(HILOG_WARN, fmt, ##__VA_ARGS__) argument
48 #define AUDIO_INFO_LOG(fmt, ...) DECORATOR_HILOG(HILOG_INFO, fmt, ##__VA_ARGS__) argument
49 #define AUDIO_FATAL_LOG(fmt, ...) DECORATOR_HILOG(HILOG_FATAL, fmt, ##__VA_ARGS__) argument
57 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRoundTripTest.java46 NumberFormat fmt = null; in TestNumberFormatRoundTrip() local
51 fmt = NumberFormat.getInstance(); in TestNumberFormatRoundTrip()
52 _test(fmt); in TestNumberFormatRoundTrip()
55 fmt = NumberFormat.getCurrencyInstance(); in TestNumberFormatRoundTrip()
56 _test(fmt); in TestNumberFormatRoundTrip()
59 fmt = NumberFormat.getPercentInstance(); in TestNumberFormatRoundTrip()
60 _test(fmt); in TestNumberFormatRoundTrip()
73 fmt = NumberFormat.getInstance(loc[i]); in TestNumberFormatRoundTrip()
74 _test(fmt); in TestNumberFormatRoundTrip()
76 fmt = NumberFormat.getCurrencyInstance(loc[i]); in TestNumberFormatRoundTrip()
[all …]
DNumberFormatDataDrivenTest.java126 DecimalFormat fmt = createDecimalFormat(tuple);
127 String actual = fmt.format(toNumber(tuple.format));
137 DecimalFormat fmt = createDecimalFormat(tuple);
141 String actual = fmt.toPattern();
148 String actual = fmt.toLocalizedPattern();
158 DecimalFormat fmt = createDecimalFormat(tuple);
160 Number actual = fmt.parse(tuple.parse, ppos);
166 DecimalFormat fmt = createDecimalFormat(tuple);
168 CurrencyAmount actual = fmt.parseCurrency(tuple.parse, ppos);
177 DecimalFormat fmt = new DecimalFormat(tuple.pattern == null ? "0" : tuple.pattern,
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatRoundTripTest.java49 NumberFormat fmt = null; in TestNumberFormatRoundTrip() local
54 fmt = NumberFormat.getInstance(); in TestNumberFormatRoundTrip()
55 _test(fmt); in TestNumberFormatRoundTrip()
58 fmt = NumberFormat.getCurrencyInstance(); in TestNumberFormatRoundTrip()
59 _test(fmt); in TestNumberFormatRoundTrip()
62 fmt = NumberFormat.getPercentInstance(); in TestNumberFormatRoundTrip()
63 _test(fmt); in TestNumberFormatRoundTrip()
76 fmt = NumberFormat.getInstance(loc[i]); in TestNumberFormatRoundTrip()
77 _test(fmt); in TestNumberFormatRoundTrip()
79 fmt = NumberFormat.getCurrencyInstance(loc[i]); in TestNumberFormatRoundTrip()
[all …]
DNumberFormatDataDrivenTest.java129 DecimalFormat fmt = createDecimalFormat(tuple);
130 String actual = fmt.format(toNumber(tuple.format));
140 DecimalFormat fmt = createDecimalFormat(tuple);
144 String actual = fmt.toPattern();
151 String actual = fmt.toLocalizedPattern();
161 DecimalFormat fmt = createDecimalFormat(tuple);
163 Number actual = fmt.parse(tuple.parse, ppos);
169 DecimalFormat fmt = createDecimalFormat(tuple);
171 CurrencyAmount actual = fmt.parseCurrency(tuple.parse, ppos);
180 DecimalFormat fmt = new DecimalFormat(tuple.pattern == null ? "0" : tuple.pattern,
[all …]
/third_party/rust/crates/codespan/codespan/src/
Dindex.rs5 use std::fmt;
45 impl fmt::Debug for LineIndex {
46 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
48 self.0.fmt(f)?; in fmt()
53 impl fmt::Display for LineIndex {
54 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
55 self.0.fmt(f) in fmt()
71 impl fmt::Debug for LineNumber {
72 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
74 self.0.fmt(f)?; in fmt()
[all …]
/third_party/musl/src/locale/
Dstrfmon.c8 static ssize_t vstrfmon_l(char *s, size_t n, locale_t loc, const char *fmt, va_list ap) in vstrfmon_l() argument
15 for (; n && *fmt; ) { in vstrfmon_l()
16 if (*fmt != '%') { in vstrfmon_l()
18 *s++ = *fmt++; in vstrfmon_l()
22 fmt++; in vstrfmon_l()
23 if (*fmt == '%') goto literal; in vstrfmon_l()
30 for (; ; fmt++) { in vstrfmon_l()
31 switch (*fmt) { in vstrfmon_l()
33 fill = *++fmt; in vstrfmon_l()
52 for (fw=0; isdigit(*fmt); fmt++) in vstrfmon_l()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dnmfmtrt.cpp95 NumberFormat *fmt = NULL; in start() local
99 fmt = NumberFormat::createInstance(status); in start()
101 test(fmt); in start()
103 delete fmt; in start()
105 fmt = NumberFormat::createCurrencyInstance(status); in start()
107 test(fmt); in start()
109 delete fmt; in start()
111 fmt = NumberFormat::createPercentInstance(status); in start()
113 test(fmt); in start()
115 delete fmt; in start()
[all …]
/third_party/rust/crates/quote/src/
Dident_fragment.rs2 use core::fmt;
15 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result; in fmt() method
30 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
31 IdentFragment::fmt(*self, f) in fmt()
40 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
41 IdentFragment::fmt(*self, f) in fmt()
50 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
53 fmt::Display::fmt(id, f) in fmt()
55 fmt::Display::fmt(&id[..], f) in fmt()
68 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() function
[all …]
/third_party/musl/src/legacy/
Derr.c8 void vwarn(const char *fmt, va_list ap) in vwarn() argument
11 if (fmt) { in vwarn()
12 vfprintf(stderr, fmt, ap); in vwarn()
18 void vwarnx(const char *fmt, va_list ap) in vwarnx() argument
21 if (fmt) vfprintf(stderr, fmt, ap); in vwarnx()
25 _Noreturn void verr(int status, const char *fmt, va_list ap) in verr() argument
27 vwarn(fmt, ap); in verr()
31 _Noreturn void verrx(int status, const char *fmt, va_list ap) in verrx() argument
33 vwarnx(fmt, ap); in verrx()
37 void warn(const char *fmt, ...) in warn() argument
[all …]
/third_party/mesa3d/src/util/
Dlog.h53 #define mesa_loge(fmt, ...) mesa_log(MESA_LOG_ERROR, (MESA_LOG_TAG), (fmt), ##__VA_ARGS__) argument
54 #define mesa_logw(fmt, ...) mesa_log(MESA_LOG_WARN, (MESA_LOG_TAG), (fmt), ##__VA_ARGS__) argument
55 #define mesa_logi(fmt, ...) mesa_log(MESA_LOG_INFO, (MESA_LOG_TAG), (fmt), ##__VA_ARGS__) argument
57 #define mesa_logd(fmt, ...) mesa_log(MESA_LOG_DEBUG, (MESA_LOG_TAG), (fmt), ##__VA_ARGS__) argument
59 #define mesa_logd(fmt, ...) __mesa_log_use_args((fmt), ##__VA_ARGS__) argument
62 #define mesa_loge_v(fmt, va) mesa_log_v(MESA_LOG_ERROR, (MESA_LOG_TAG), (fmt), (va)) argument
63 #define mesa_logw_v(fmt, va) mesa_log_v(MESA_LOG_WARN, (MESA_LOG_TAG), (fmt), (va)) argument
64 #define mesa_logi_v(fmt, va) mesa_log_v(MESA_LOG_INFO, (MESA_LOG_TAG), (fmt), (va)) argument
66 #define mesa_logd_v(fmt, va) mesa_log_v(MESA_LOG_DEBUG, (MESA_LOG_TAG), (fmt), (va)) argument
68 #define mesa_logd_v(fmt, va) __mesa_log_use_args((fmt), (va)) argument
[all …]
/third_party/rust/crates/rust-openssl/openssl/src/
Dstring.rs5 use std::fmt;
19 impl fmt::Display for OpensslString {
20 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
21 fmt::Display::fmt(&**self, f) in fmt()
25 impl fmt::Debug for OpensslString {
26 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
27 fmt::Debug::fmt(&**self, f) in fmt()
70 impl fmt::Display for OpensslStringRef {
71 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method
72 fmt::Display::fmt(&**self, f) in fmt()
[all …]
/third_party/rust/crates/bitflags/tests/compile-fail/non_integer_base/
Dall_defined.rs2 fmt::{
72 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
73 Debug::fmt(&self.0, f) in fmt()
78 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
79 Display::fmt(&self.0, f) in fmt()
84 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
85 LowerHex::fmt(&self.0, f) in fmt()
90 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
91 UpperHex::fmt(&self.0, f) in fmt()
96 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
[all …]
/third_party/python/Lib/test/
Dtest_plistlib.py414 def _create(self, fmt=None): argument
462 for fmt in ALL_FORMATS:
463 with self.subTest(fmt=fmt):
464 self.assertRaises(TypeError, plistlib.dumps, pl, fmt=fmt)
477 for fmt in ALL_FORMATS:
478 with self.subTest(pl=pl, fmt=fmt):
479 data = plistlib.dumps(pl, fmt=fmt)
483 data2 = plistlib.dumps(pl2, fmt=fmt)
486 for fmt in ALL_FORMATS:
488 with self.subTest(pl=pl, fmt=fmt):
[all …]
/third_party/vk-gl-cts/framework/egl/
DegluCallLogWrapper.cpp61 std::ostream& operator<< (std::ostream& str, PointerFmt<T> fmt) in operator <<() argument
63 if (fmt.arr != DE_NULL) in operator <<()
66 for (deUint32 ndx = 0; ndx < fmt.size; ndx++) in operator <<()
70 str << fmt.arr[ndx]; in operator <<()
98 inline std::ostream& operator<< (std::ostream& str, EnumPointerFmt fmt) in operator <<() argument
100 if (fmt.value) in operator <<()
101 return str << tcu::Format::Enum<int, 2>(fmt.getName, *fmt.value); in operator <<()
120 inline std::ostream& operator<< (std::ostream& str, StringFmt fmt) in operator <<() argument
122 return str << (fmt.str ? fmt.str : "NULL"); in operator <<()
139 inline std::ostream& operator<< (std::ostream& str, const ConfigAttribValuePointerFmt& fmt) in operator <<() argument
[all …]

12345678910>>...105