/packages/modules/Bluetooth/tools/rootcanal/lib/ |
D | log.cc | 39 static std::array<fmt::text_style, 5> text_style = { 40 fmt::fg(fmt::color::dim_gray), 41 fmt::fg(fmt::color::floral_white), 42 fmt::emphasis::bold | fmt::fg(fmt::color::yellow), 43 fmt::emphasis::bold | fmt::fg(fmt::color::orange_red), 44 fmt::emphasis::bold | fmt::fg(fmt::color::red), 47 static std::array<fmt::color, 16> text_color = { 48 fmt::color::cadet_blue, fmt::color::aquamarine, 49 fmt::color::indian_red, fmt::color::blue_violet, 50 fmt::color::chartreuse, fmt::color::medium_sea_green, [all …]
|
/packages/modules/Bluetooth/system/log/include/bluetooth/ |
D | log.h | 58 fmt::string_view fmt, fmt::format_args vargs); 85 log(fmt::format_string<T...> fmt, T&&... args, 87 vlog(level, LOG_TAG, location, static_cast<fmt::string_view>(fmt), 88 fmt::make_format_args(format_replace(args)...)); 95 log(fmt::format_string<T...>, T&&...) -> log<level, T...>; 140 error(fmt::format_string<T...>, T&&...) -> error<T...>; 142 warn(fmt::format_string<T...>, T&&...) -> warn<T...>; 144 info(fmt::format_string<T...>, T&&...) -> info<T...>; 146 debug(fmt::format_string<T...>, T&&...) -> debug<T...>; 148 verbose(fmt::format_string<T...>, T&&...) -> verbose<T...>; [all …]
|
/packages/modules/Virtualization/libs/bssl/error/src/ |
D | code.rs | 15 use core::fmt; 33 impl fmt::Display for ReasonCode { 34 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 60 impl fmt::Display for GlobalError { 61 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 102 impl fmt::Display for CipherError { 103 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 157 impl fmt::Display for EcError { 158 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 185 impl fmt::Display for EcdsaError { [all …]
|
/packages/modules/DnsResolver/ |
D | res_debug.cpp | 149 if (errno != ENODEV) fmt::format_to(out, "ns_parserr: {}", strerror(errno)); in do_section() 156 fmt::format_to(out, ";; {} SECTION:\n", p_section(section, opcode)); in do_section() 159 fmt::format_to(out, ";;\t{}, type = {}, class = {}\n", ns_rr_name(rr), in do_section() 166 fmt::format_to(out, "; EDNS: version: {}, udp={}, flags={}\n", (rr.ttl >> 16) & 0xff, in do_section() 176 fmt::format_to(out, "; NSID: "); in do_section() 178 fmt::format_to(out, "; NSID\n"); in do_section() 180 fmt::format_to(out, "; NSID: "); in do_section() 182 fmt::format_to(out, "{:02x} ", cp[i]); in do_section() 184 fmt::format_to(out, " ("); in do_section() 186 fmt::format_to(out, "{} ", isprint(cp[i]) ? cp[i] : '.'); in do_section() [all …]
|
/packages/modules/Virtualization/vmbase/src/hvc/ |
D | trng.rs | 15 use core::fmt; 33 impl fmt::Display for Error { 34 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 66 impl fmt::Display for Version { 67 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 72 impl fmt::Debug for Version { 73 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 74 fmt::Display::fmt(self, f) in fmt()
|
/packages/modules/Connectivity/staticlibs/native/tcutils/ |
D | logging.h | 28 static inline void ALOGE(const char *fmt...) { in ALOGE() argument 30 va_start(args, fmt); in ALOGE() 31 __android_log_vprint(ANDROID_LOG_ERROR, LOG_TAG, fmt, args); in ALOGE() 35 static inline void ALOGW(const char *fmt...) { in ALOGW() argument 37 va_start(args, fmt); in ALOGW() 38 __android_log_vprint(ANDROID_LOG_WARN, LOG_TAG, fmt, args); in ALOGW() 42 static inline void ALOGI(const char *fmt...) { in ALOGI() argument 44 va_start(args, fmt); in ALOGI() 45 __android_log_vprint(ANDROID_LOG_INFO, LOG_TAG, fmt, args); in ALOGI() 49 static inline void ALOGD(const char *fmt...) { in ALOGD() argument [all …]
|
/packages/modules/Bluetooth/system/log/src/ |
D | truncating_buffer_test.cc | 30 fmt::format_to(std::back_insert_iterator(buffer_1), "ab"); 31 fmt::format_to(std::back_insert_iterator(buffer_2), "ab"); 41 fmt::format_to(std::back_insert_iterator(buffer_1), "αβ"); 42 fmt::format_to(std::back_insert_iterator(buffer_2), "αβ"); 43 fmt::format_to(std::back_insert_iterator(buffer_3), "αβ"); 55 fmt::format_to(std::back_insert_iterator(buffer_1), "ພຮ"); 56 fmt::format_to(std::back_insert_iterator(buffer_2), "ພຮ"); 57 fmt::format_to(std::back_insert_iterator(buffer_3), "ພຮ"); 58 fmt::format_to(std::back_insert_iterator(buffer_4), "ພຮ"); 72 fmt::format_to(std::back_insert_iterator(buffer_1), ""); [all …]
|
D | vlog_android.cc | 30 fmt::string_view fmt, fmt::format_args vargs) { in vlog() argument 49 fmt::format_to(std::back_insert_iterator(buffer), "{}:{} {}: ", file_name, in vlog() 51 fmt::vformat_to(std::back_insert_iterator(buffer), fmt, vargs); in vlog()
|
D | vlog_syslog.cc | 52 fmt::string_view fmt, fmt::format_args vargs) { in vlog() argument 85 fmt::format_to(std::back_insert_iterator(buffer), "{} {}:{} {}: ", tag, in vlog() 89 fmt::vformat_to(std::back_insert_iterator(buffer), fmt, vargs); in vlog()
|
/packages/modules/Virtualization/vmbase/src/ |
D | exceptions.rs | 23 use core::fmt; 46 impl fmt::Display for HandleExceptionError { 47 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 92 impl fmt::Display for Esr { 93 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 110 impl fmt::Display for ArmException { 111 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 127 pub fn print<T: fmt::Display>(&self, exception_name: &str, obj: T, elr: u64) { in print()
|
D | rand.rs | 18 use core::fmt; 54 impl fmt::Display for Error { 55 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 66 impl fmt::Debug for Error { 67 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
|
/packages/modules/Connectivity/clatd/ |
D | logging.c | 31 void logmsg(int prio, const char *fmt, ...) { in logmsg() argument 34 va_start(ap, fmt); in logmsg() 35 __android_log_vprint(prio, "clatd", fmt, ap); in logmsg() 46 void logmsg_dbg(int prio, const char *fmt, ...) { in logmsg_dbg() argument 49 va_start(ap, fmt); in logmsg_dbg() 50 __android_log_vprint(prio, "clatd", fmt, ap); in logmsg_dbg() 54 void logmsg_dbg(__attribute__((unused)) int prio, __attribute__((unused)) const char *fmt, ...) {} in logmsg_dbg() argument
|
/packages/services/Car/cpp/evs/sampleDriver/hidl/ |
D | VideoCapture.cpp | 92 format.fmt.pix.pixelformat = V4L2_PIX_FMT_YUYV; in open() 93 format.fmt.pix.width = width; in open() 94 format.fmt.pix.height = height; in open() 95 LOG(INFO) << "Requesting format: " << ((char*)&format.fmt.pix.pixelformat)[0] in open() 96 << ((char*)&format.fmt.pix.pixelformat)[1] << ((char*)&format.fmt.pix.pixelformat)[2] in open() 97 << ((char*)&format.fmt.pix.pixelformat)[3] << "(" << std::hex << std::setw(8) in open() 98 << format.fmt.pix.pixelformat << ")"; in open() 107 mFormat = format.fmt.pix.pixelformat; in open() 108 mWidth = format.fmt.pix.width; in open() 109 mHeight = format.fmt.pix.height; in open() [all …]
|
/packages/services/Car/cpp/evs/sampleDriver/aidl/src/ |
D | VideoCapture.cpp | 92 format.fmt.pix.pixelformat = V4L2_PIX_FMT_YUYV; in open() 93 format.fmt.pix.width = width; in open() 94 format.fmt.pix.height = height; in open() 95 LOG(INFO) << "Requesting format: " << ((char*)&format.fmt.pix.pixelformat)[0] in open() 96 << ((char*)&format.fmt.pix.pixelformat)[1] << ((char*)&format.fmt.pix.pixelformat)[2] in open() 97 << ((char*)&format.fmt.pix.pixelformat)[3] << "(" << std::hex << std::setw(8) in open() 98 << format.fmt.pix.pixelformat << ")"; in open() 107 mFormat = format.fmt.pix.pixelformat; in open() 108 mWidth = format.fmt.pix.width; in open() 109 mHeight = format.fmt.pix.height; in open() [all …]
|
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/include/netdutils/ |
D | Log.h | 128 void log(const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3))) { in log() argument 132 va_start(ap, fmt); in log() 133 StringAppendV(&result, fmt, ap); in log() 143 void info(const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3))) { in info() argument 147 va_start(ap, fmt); in info() 148 StringAppendV(&result, fmt, ap); in info() 158 void warn(const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3))) { in warn() argument 162 va_start(ap, fmt); in warn() 163 StringAppendV(&result, fmt, ap); in warn() 173 void error(const char* fmt, ...) __attribute__((__format__(__printf__, 2, 3))) { in error() argument [all …]
|
/packages/modules/Virtualization/vmbase/src/memory/ |
D | error.rs | 17 use core::fmt; 58 impl fmt::Display for MemoryTrackerError { 59 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method 69 Self::Hypervisor(e) => e.fmt(f), in fmt()
|
/packages/inputmethods/LatinIME/native/jni/src/ |
D | defines.h | 107 #define AKLOGE(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) argument 108 #define AKLOGI(fmt, ...) printf(fmt "\n", ##__VA_ARGS__) argument 110 #define AKLOGE(fmt, ...) __android_log_print(ANDROID_LOG_ERROR, LOG_TAG, fmt, ##__VA_ARGS__) argument 111 #define AKLOGI(fmt, ...) __android_log_print(ANDROID_LOG_INFO, LOG_TAG, fmt, ##__VA_ARGS__) argument 167 #define AKLOGE(fmt, ...) argument 168 #define AKLOGI(fmt, ...) argument
|
/packages/modules/Bluetooth/system/stack/mmc/test/mock/ |
D | mock_embdrv_lc3.h | 44 enum lc3_pcm_format fmt, void* pcm, int stride)> 46 enum lc3_pcm_format fmt, void* pcm, 49 enum lc3_pcm_format fmt, void* pcm, int stride) { in operator() 50 return body(decoder, in, nbytes, fmt, pcm, stride); in operator() 82 std::function<int(struct lc3_encoder* encoder, enum lc3_pcm_format fmt, 84 body{[](struct lc3_encoder* encoder, enum lc3_pcm_format fmt, 87 int operator()(struct lc3_encoder* encoder, enum lc3_pcm_format fmt, in operator() 89 return body(encoder, fmt, pcm, stride, nbytes, out); in operator()
|
/packages/modules/Virtualization/vmbase/src/hyp/ |
D | error.rs | 17 use core::{fmt, result}; 38 impl fmt::Display for Error { 39 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
|
/packages/modules/Virtualization/pvmfw/avb/src/ |
D | error.rs | 19 use core::fmt; 46 impl fmt::Display for PvmfwVerifyError { 47 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
|
/packages/modules/Virtualization/libs/dice/open_dice/src/ |
D | error.rs | 18 use std::{fmt, result}; 38 impl fmt::Display for DiceError { 39 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
|
/packages/modules/DnsResolver/doh/ |
D | boot_time.rs | 29 use std::fmt; 48 impl fmt::Display for Elapsed { 49 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 50 "deadline has elapsed".fmt(fmt) in fmt()
|
/packages/modules/Bluetooth/floss/hcidoc/src/groups/ |
D | informational.rs | 6 use std::fmt; 48 impl fmt::Display for AddressType { 49 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 84 impl fmt::Display for InitiatorType { 85 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 169 impl fmt::Display for DeviceInformation { 170 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 366 impl fmt::Display for AclInformation { 367 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() method 400 impl fmt::Display for ProfileType { [all …]
|
/packages/services/DeviceAsWebcam/tests/ |
D | linux_webcam_test.py | 217 fmt = v4l2.v4l2_format() 218 fmt.type = v4l2.V4L2_BUF_TYPE_VIDEO_CAPTURE 219 fmt.fmt.pix.pixelformat = fmtdesc.pixelformat 224 fmt.fmt.pix.width = frmsize.discrete.width 225 fmt.fmt.pix.height = frmsize.discrete.height 227 ioctl_retry_error(video_device, v4l2.VIDIOC_S_FMT, fmt, 230 ioctl_retry_error(video_device, v4l2.VIDIOC_G_FMT, fmt,
|
/packages/modules/Bluetooth/system/gd/rust/common/src/ |
D | init_flags.rs | 5 use std::fmt; 149 impl fmt::Display for $name { impl 150 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { 191 impl fmt::Display for ExplicitTagSettings { 192 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { in fmt() method
|