/commonlibrary/ets_utils/js_sys_module/console/ |
H A D | log.h | 39 #define HILOG_FATAL(fmt, ...) ((void)HILOG_IMPL(LOG_APP, LOG_FATAL, LOG_DOMAIN, LOG_TAG, fmt, ##__VA_ARGS__)) 40 #define HILOG_ERROR(fmt, ...) ((void)HILOG_IMPL(LOG_APP, LOG_ERROR, LOG_DOMAIN, LOG_TAG, fmt, ##__VA_ARGS__)) 41 #define HILOG_WARN(fmt, ...) ((void)HILOG_IMPL(LOG_APP, LOG_WARN, LOG_DOMAIN, LOG_TAG, fmt, ##__VA_ARGS__)) 42 #define HILOG_INFO(fmt, ...) ((void)HILOG_IMPL(LOG_APP, LOG_INFO, LOG_DOMAIN, LOG_TAG, fmt, ##__VA_ARGS__)) 43 #define HILOG_DEBUG(fmt, ...) ((void)HILOG_IMPL(LOG_APP, LOG_DEBUG, LOG_DOMAIN, LOG_TAG, fmt, ##__VA_ARGS_ [all...] |
/commonlibrary/ets_utils/tools/ |
H A D | log.h | 40 #define HILOG_FATAL(fmt, ...) \ 42 "[(%{public}s:%{public}d)(%{public}s)] " fmt, "", __LINE__, __FUNCTION__, ##__VA_ARGS__)) 43 #define HILOG_ERROR(fmt, ...) \ 45 "[(%{public}s:%{public}d)(%{public}s)] " fmt, "", __LINE__, __FUNCTION__, ##__VA_ARGS__)) 46 #define HILOG_WARN(fmt, ...) \ 48 "[(%{public}s:%{public}d)(%{public}s)] " fmt, "", __LINE__, __FUNCTION__, ##__VA_ARGS__)) 49 #define HILOG_INFO(fmt, ...) \ 51 "[(%{public}s:%{public}d)(%{public}s)] " fmt, "", __LINE__, __FUNCTION__, ##__VA_ARGS__)) 52 #define HILOG_DEBUG(fmt, ...) \ 54 "[(%{public}s:%{public}d)(%{public}s)] " fmt, "", __LINE_ [all...] |
/commonlibrary/memory_utils/libpurgeablemem/c/include/ |
H A D | pm_log_c.h | 39 #define PM_HILOG_ERROR_C(logCore, fmt, ...) \
41 LOG_CORE, "[%{public}s(%{public}s:%{public}d)]" fmt, PM_FILENAME, __FUNCTION__, __LINE__, ##__VA_ARGS__)
43 #define PM_HILOG_INFO_C(logCore, fmt, ...) \
45 LOG_CORE, "[%{public}s(%{public}s:%{public}d)]" fmt, PM_FILENAME, __FUNCTION__, __LINE__, ##__VA_ARGS__)
47 #define PM_HILOG_DEBUG_C(logCore, fmt, ...) \
49 LOG_CORE, "[%{public}s(%{public}s:%{public}d)]" fmt, PM_FILENAME, __FUNCTION__, __LINE__, ##__VA_ARGS__)
|
/commonlibrary/memory_utils/libpurgeablemem/cpp/include/ |
H A D | pm_log.h | 41 #define PM_HILOG_ERROR(logCore, fmt, ...) \
43 LOG_CORE, "[%{public}s(%{public}s:%{public}d)]" fmt, PM_FILENAME, __FUNCTION__, __LINE__, ##__VA_ARGS__)
45 #define PM_HILOG_INFO(logCore, fmt, ...) \
47 LOG_CORE, "[%{public}s(%{public}s:%{public}d)]" fmt, PM_FILENAME, __FUNCTION__, __LINE__, ##__VA_ARGS__)
49 #define PM_HILOG_DEBUG(logCore, fmt, ...) \
51 LOG_CORE, "[%{public}s(%{public}s:%{public}d)]" fmt, PM_FILENAME, __FUNCTION__, __LINE__, ##__VA_ARGS__)
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ |
H A D | error.rs | 20 use std::fmt; 145 impl fmt::Display for StackError { 146 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() functions 207 impl fmt::Display for ErrorStack { 208 fn fmt(&self, fmt: &mut fmt::Formatter) -> fmt functions 302 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt() functions 311 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt() functions 319 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt() functions 327 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt() functions [all...] |
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/sync/ |
H A D | mutex.rs | 18 use std::fmt; 19 use std::fmt::{Display, Formatter}; 50 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() functions 160 impl<T: ?Sized + fmt::Debug> fmt::Debug for MutexGuard<'_, T> { 161 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() functions 162 fmt::Debug::fmt( in fmt() 167 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { fmt() functions [all...] |
H A D | error.rs | 17 use std::fmt::{Debug, Display, Formatter}; 24 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() functions 36 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() functions 53 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() functions 73 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() functions 95 fn fmt( functions 114 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { fmt() functions [all...] |
H A D | rwlock.rs | 17 use std::fmt; 282 impl<T: ?Sized + fmt::Debug> fmt::Debug for RwLockReadGuard<'_, T> { 283 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() functions 284 fmt::Debug::fmt(&**self, f) in fmt() 288 impl<T: ?Sized + fmt::Display> fmt in fmt() 289 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt() functions 311 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt() functions 317 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { fmt() functions [all...] |
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/ |
H A D | overlapped.rs | 14 use std::fmt; 26 impl fmt::Debug for Overlapped { 27 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() functions
|
H A D | io_status_block.rs | 14 use std::fmt; 45 impl fmt::Debug for IoStatusBlock { 46 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { functions
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/ |
H A D | poll.rs | 64 impl std::fmt::Debug for Poll { 65 fn fmt(&self, fmt: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { in fmt() functions 66 write!(fmt, "({:?})", self.selector) in fmt() 76 /// 2. Check its fmt debug info in fmt() 82 let fmt = format!("{:?}", poll); in fmt() 83 assert!(fmt.contains("epoll fd:")); in fmt() 84 assert!(fmt in fmt() [all...] |
H A D | waker.rs | 42 /// 2. Check its fmt debug info 50 let fmt = format!("{:?}", waker); in ut_waker_debug_info() 51 assert!(fmt.contains("fd:")); in ut_waker_debug_info() 52 assert!(fmt.contains("read:")); in ut_waker_debug_info() 53 assert!(fmt.contains("write:")); in ut_waker_debug_info()
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/unix/uds/ |
H A D | socket_addr.rs | 18 use std::{ascii, fmt}; 76 impl fmt::Debug for SocketAddr { 77 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() functions 80 return write!(fmt, "(unnamed)"); 86 write!(fmt, "(unnamed)") 88 write!(fmt, "\"")?; 91 write!(fmt, "{}", byt [all...] |
/commonlibrary/rust/ylong_runtime/ylong_io/tests/ |
H A D | uds_test.rs | 141 let fmt = format!("{addr:?}"); in sdv_uds_send_recv() 142 assert_eq!(&fmt, "(unnamed)"); in sdv_uds_send_recv() 145 let fmt = format!("{addr:?}"); in sdv_uds_send_recv() 146 assert_eq!(&fmt, "(unnamed)"); in sdv_uds_send_recv() 166 let fmt = format!("{addr:?}"); in sdv_uds_send_recv() 167 assert_eq!(&fmt, "(unnamed)"); in sdv_uds_send_recv() 174 let fmt = format!("{receiver:?}"); in sdv_uds_send_recv() 176 assert!(fmt.contains(&expected)); in sdv_uds_send_recv() 177 assert!(fmt.contains("local: (unnamed), peer: (unnamed)")); in sdv_uds_send_recv()
|
/commonlibrary/rust/ylong_json/src/value/object/ |
H A D | btree.rs | 15 use core::fmt::{Debug, Display, Formatter}; 194 fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { in fmt() functions 207 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() functions 208 Display::fmt(self, f) in fmt() 236 /// UT test for `Object::fmt`. in fmt() 243 /// 2. Calls `Object::fmt` on it. in fmt()
|
H A D | vec.rs | 15 use core::fmt::{Debug, Display, Formatter}; 246 fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { in fmt() functions 259 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() functions 260 Display::fmt(self, f) in fmt() 323 /// UT test for `Object::fmt`. in fmt() 330 /// 2. Calls `Object::fmt` on it. in fmt()
|
/commonlibrary/rust/ylong_runtime/ylong_io/src/sys/windows/tcp/ |
H A D | listener.rs | 14 use std::fmt::Formatter; 17 use std::{fmt, io, net}; 164 impl fmt::Debug for TcpListener { 165 fn fmt(&self, f: &mut Formatter<'_>) -> fmt::Result { in fmt() functions 166 self.inner.fmt(f) in fmt()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/net/sys/unix/ |
H A D | listener.rs | 14 use std::fmt; 111 impl fmt::Debug for UnixListener { 112 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() functions 113 self.source.fmt(f) in fmt()
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/util/c_openssl/ssl/ |
H A D | error.rs | 14 use core::fmt; 68 impl fmt::Display for SslError { 69 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() functions 136 impl fmt::Display for SslErrorCode { 137 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() functions 157 impl<S: fmt 167 fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { fmt() functions [all...] |
H A D | stream.rs | 14 use core::fmt; 98 impl<S> fmt::Debug for SslStream<S> 100 S: fmt::Debug, 102 fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() functions
|
H A D | ctx.rs | 14 use core::{fmt, mem, ptr}; 64 impl fmt::Debug for SslContext { 65 fn fmt(&self, fmt: &mut fmt::Formatter<'_>) -> fmt::Result { in fmt() functions 66 write!(fmt, "SslContext") in fmt()
|
/commonlibrary/rust/ylong_runtime/ylong_runtime/src/time/ |
H A D | error.rs | 14 use std::fmt::{Display, Formatter}; 22 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() functions
|
/commonlibrary/rust/ylong_http/ylong_http_client/src/ |
H A D | error.rs | 17 use core::fmt::{Debug, Display, Formatter}; 181 fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { in fmt() functions 190 fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { in fmt() functions 284 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() functions 287 Self::Dns(err) => Debug::fmt(err, f), in fmt() 289 Self::Tls(err) => Debug::fmt(err, f), in fmt() 290 Self::Io(err) => Debug::fmt(er in fmt() 298 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { fmt() functions [all...] |
/commonlibrary/rust/ylong_json/src/value/ |
H A D | number.rs | 15 use core::fmt::{Display, Formatter}; 16 use std::fmt::Debug; 165 fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { in fmt() functions 175 fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { in fmt() functions 176 Display::fmt(self, f) in fmt() 224 /// UT test for `Number::fmt`. 231 /// 2. Calls `Number::fmt`.
|
/commonlibrary/rust/ylong_json/src/value/array/ |
H A D | vec.rs | 15 use core::fmt::{Debug, Display, Formatter}; 257 fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { in fmt() functions 270 fn fmt(&self, f: &mut Formatter<'_>) -> core::fmt::Result { in fmt() functions 271 Display::fmt(self, f) in fmt() 381 /// UT test for `Array::fmt`. in fmt() 388 /// 2. Calls `Array::fmt`. in fmt()
|