| /third_party/rust/rust/library/core/tests/fmt/ |
| D | builders.rs | 2 use std::fmt; 8 impl fmt::Debug for Foo { in test_empty() 9 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { in test_empty() method 10 fmt.debug_struct("Foo").finish() in test_empty() 22 impl fmt::Debug for Foo { in test_single() 23 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { in test_single() method 24 fmt.debug_struct("Foo").field("bar", &true).finish() in test_single() 41 impl fmt::Debug for Foo { in test_multiple() 42 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { in test_multiple() method 43 fmt.debug_struct("Foo") in test_multiple() [all …]
|
| /third_party/rust/rust/src/tools/clippy/tests/ui/ |
| D | recursive_format_impl.rs | 10 use std::fmt; 14 fn fmt(&self) { in fmt() method 20 fn fmt(&self) {} in fmt() method 24 fn fmt(&self) { in fmt() method 29 impl fmt::Display for A { 30 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 35 fn fmt(a: A) { in fmt() function 49 impl fmt::Display for C { 50 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 60 impl std::fmt::Display for D { [all …]
|
| D | missing_fields_in_debug.rs | 4 use std::fmt; 13 impl fmt::Debug for NamedStruct1Ignored { 15 fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 31 impl fmt::Debug for NamedStructMultipleIgnored { 33 fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 45 impl fmt::Debug for Unit { 46 fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 53 impl fmt::Debug for UnnamedStruct1Ignored { 54 fn fmt(&self, formatter: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 62 impl fmt::Debug for UnnamedStructMultipleIgnored { [all …]
|
| /third_party/ltp/testcases/kernel/device-drivers/v4l/user_space/ |
| D | test_VIDIOC_FMT.c | 209 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/mesa3d/src/panfrost/lib/ |
| D | pan_format.c | 130 #define FMT(pipe, mali, swizzle, srgb, flags) \ macro 175 FMT(NONE, CONSTANT, 0000, L, VTR_), 277 FMT(R5G6B5_UNORM, RGB565, RGB1, L, VTR_), 278 FMT(B5G6R5_UNORM, RGB565, BGR1, L, VTR_), 279 FMT(R5G5B5X1_UNORM, RGB5_A1_UNORM, RGB1, L, VT__), 280 FMT(B5G5R5X1_UNORM, RGB5_A1_UNORM, BGR1, L, VT__), 281 FMT(R5G5B5A1_UNORM, RGB5_A1_UNORM, RGBA, L, VTR_), 282 FMT(B5G5R5A1_UNORM, RGB5_A1_UNORM, BGRA, L, VTR_), 283 FMT(R10G10B10X2_UNORM, RGB10_A2_UNORM, RGB1, L, VTR_), 284 FMT(B10G10R10X2_UNORM, RGB10_A2_UNORM, BGR1, L, VTR_), [all …]
|
| /third_party/rust/rust/library/core/src/fmt/ |
| D | builders.rs | 3 use crate::fmt::{self, Debug, Formatter}; 6 buf: &'buf mut (dyn fmt::Write + 'buf), 21 fn wrap<'slot, 'fmt: 'buf + 'slot>( in wrap() 22 fmt: &'fmt mut fmt::Formatter<'_>, in wrap() 25 ) -> fmt::Formatter<'slot> { in wrap() 26 fmt.wrap_buf(move |buf| slot.insert(PadAdapter { buf, state })) in wrap() 30 impl fmt::Write for PadAdapter<'_, '_> { 31 fn write_str(&mut self, s: &str) -> fmt::Result { in write_str() 45 /// A struct to help with [`fmt::Debug`](Debug) implementations. 48 /// [`Debug::fmt`] implementation. [all …]
|
| /third_party/icu/tools/multi/proj/icu4cscan/ |
| D | icucaps.xml | 34 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/rust/src/tools/rust-analyzer/crates/hir-ty/src/ |
| D | interner.rs | 10 use std::fmt; 19 impl<T: fmt::Debug> fmt::Debug for InternedWrapper<T> { 20 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 21 fmt::Debug::fmt(&self.0, f) in fmt() 71 fmt: &mut fmt::Formatter<'_>, in debug_adt_id() 72 ) -> Option<fmt::Result> { in debug_adt_id() 73 tls::with_current_program(|prog| Some(prog?.debug_struct_id(type_kind_id, fmt))) in debug_adt_id() 78 fmt: &mut fmt::Formatter<'_>, in debug_trait_id() 79 ) -> Option<fmt::Result> { in debug_trait_id() 80 tls::with_current_program(|prog| Some(prog?.debug_trait_id(type_kind_id, fmt))) in debug_trait_id() [all …]
|
| /third_party/rust/crates/syn/tests/debug/ |
| D | gen.rs | 8 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 …]
|
| D | mod.rs | 12 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/skia/third_party/externals/tint/tools/src/cmd/intrinsic-gen/ast/ |
| D | ast.go | 20 "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/musl/libc-test/src/functionalext/unittest/ |
| D | unit_test_hilog_vsnprint_f_p.c | 26 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/skia/modules/skparagraph/src/ |
| D | log.h | 31 #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/skia/m133/modules/skparagraph/src/ |
| D | log.h | 31 #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/ |
| D | fmt.rs | 4 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/rust/crates/syn/src/gen/ |
| D | debug.rs | 5 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/rust/rust/src/tools/rust-analyzer/crates/syntax/src/ast/generated/ |
| D | tokens.rs | 13 impl std::fmt::Display for Whitespace { 14 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method 15 std::fmt::Display::fmt(&self.syntax, f) in fmt() 34 impl std::fmt::Display for Comment { 35 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method 36 std::fmt::Display::fmt(&self.syntax, f) in fmt() 55 impl std::fmt::Display for String { 56 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method 57 std::fmt::Display::fmt(&self.syntax, f) in fmt() 76 impl std::fmt::Display for ByteString { [all …]
|
| D | nodes.rs | 4218 impl std::fmt::Display for GenericArg { 4219 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method 4220 std::fmt::Display::fmt(self.syntax(), f) in fmt() 4223 impl std::fmt::Display for Type { 4224 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method 4225 std::fmt::Display::fmt(self.syntax(), f) in fmt() 4228 impl std::fmt::Display for Expr { 4229 fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() method 4230 std::fmt::Display::fmt(self.syntax(), f) in fmt() 4233 impl std::fmt::Display for Item { [all …]
|
| /third_party/pulseaudio/include/log/ |
| D | audio_log.h | 34 #define DECORATOR_HILOG(op, fmt, args...) \ argument 36 op(LOG_CORE, fmt, ##args); \ 39 #define DECORATOR_HILOG(op, fmt, args...) \ argument 41 op(LOG_CORE, fmt, ##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/ |
| D | NumberFormatRoundTripTest.java | 46 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 …]
|
| /third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/ |
| D | NumberFormatRoundTripTest.java | 49 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 …]
|
| /third_party/rust/crates/codespan/codespan/src/ |
| D | index.rs | 5 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/ |
| D | strfmon.c | 8 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/rust/rust/src/tools/rust-analyzer/crates/ide-assists/src/handlers/ |
| D | merge_imports.rs | 22 // use std::$0fmt::Formatter; 27 // use std::{fmt::Formatter, io}; 150 use std::fmt$0::{Display, Debug}; in test_merge_equal() 151 use std::fmt::{Display, Debug}; in test_merge_equal() 154 use std::fmt::{Display, Debug}; in test_merge_equal() 164 use std::fmt$0::Debug; in test_merge_first() 165 use std::fmt::Display; in test_merge_first() 168 use std::fmt::{Debug, Display}; in test_merge_first() 178 use std::fmt::Debug; in test_merge_second() 179 use std::fmt$0::Display; in test_merge_second() [all …]
|
| /third_party/rust/crates/quote/src/ |
| D | ident_fragment.rs | 2 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 …]
|