/drivers/hdf_core/framework/tools/hdi-gen/util/ |
D | logger.cpp | 22 va_list args; in D() local 23 va_start(args, format); in D() 24 Log(tag, format, args); in D() 25 va_end(args); in D() 34 va_list args; in E() local 35 va_start(args, format); in E() 36 Err(tag, format, args); in E() 37 va_end(args); in E() 46 va_list args; in V() local 47 va_start(args, format); in V() [all …]
|
D | string_builder.cpp | 79 va_list args; in AppendFormat() local 82 va_start(args, format); in AppendFormat() 83 va_copy(argsCopy, args); in AppendFormat() 86 …int len = vsnprintf_s(buf, StringHelper::lineMaxSize, StringHelper::lineMaxSize - 1, format, args); in AppendFormat() 88 va_end(args); in AppendFormat() 96 va_end(args); in AppendFormat() 103 va_end(args); in AppendFormat() 109 va_end(args); in AppendFormat()
|
/drivers/hdf_core/interfaces/inner_api/utils/ |
D | hdf_log.h | 62 #define HDF_LOGV(fmt, args...) HDF_LOGV_WRAPPER(fmt, ##args) argument 71 #define HDF_LOGD(fmt, args...) HDF_LOGD_WRAPPER(fmt, ##args) argument 80 #define HDF_LOGI(fmt, args...) HDF_LOGI_WRAPPER(fmt, ##args) argument 89 #define HDF_LOGW(fmt, args...) HDF_LOGW_WRAPPER(fmt, ##args) argument 98 #define HDF_LOGE(fmt, args...) HDF_LOGE_WRAPPER(fmt, ##args) argument
|
/drivers/hdf_core/adapter/khdf/linux/osal/include/ |
D | hdf_log_adapter.h | 34 #define HDF_LOG_WRAPPER(fmt, args...) \ argument 38 printk(tmp_fmt, ##args); \ 41 #define HDF_LOGV_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_DEBUG HDF_FMT_TAG(HDF_LOG_TAG, V) fmt "… argument 43 #define HDF_LOGD_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_DEBUG HDF_FMT_TAG(HDF_LOG_TAG, D) fmt "… argument 45 #define HDF_LOGI_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_INFO HDF_FMT_TAG(HDF_LOG_TAG, I) fmt "\… argument 47 #define HDF_LOGW_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_WARNING HDF_FMT_TAG(HDF_LOG_TAG, W) fmt… argument 49 #define HDF_LOGE_WRAPPER(fmt, args...) HDF_LOG_WRAPPER(KERN_ERR HDF_FMT_TAG(HDF_LOG_TAG, E) fmt "\r… argument
|
/drivers/hdf_core/framework/tools/hcs-view/hcsWebView/src/hcs/ |
D | NapiLog.js | 48 function recordLog(lev, ...args) { argument 50 let detail = args.join(' '); 64 NapiLog.logError = function (...args) { argument 65 recordLog(NapiLog.LEV_ERROR, args); 68 NapiLog.logDebug = function (...args) { argument 69 recordLog(NapiLog.LEV_DEBUG, args); 72 NapiLog.logInfo = function (...args) { argument 73 recordLog(NapiLog.LEV_INFO, args);
|
/drivers/peripheral/user_auth/test/unittest/mocks/inc/ |
D | c_mocker.h | 65 #define SIGNATURE(ret, args) (GMOCK_INTERNAL_SIGNATURE(ret, args)) argument 70 #define DECLARE_METHOD(ret, method, args) … argument 72 …MOCK_METHOD(ret, method, args); … 73 … typeof##method = ret (*)(GMOCK_PP_REPEAT(PARAMETER, SIGNATURE(ret, args), GMOCK_PP_NARG0 args)); \ 104 #define IMPLEMENT_FUNCTION_WITH_INVOKER(cls, ret, method, args, invoker) \ argument 105 IMPLEMENT_FUNCTION_INTERNAL(cls, method, GMOCK_PP_NARG0 args, SIGNATURE(ret, args), invoker) 107 #define IMPLEMENT_FUNCTION(cls, ret, method, args) \ argument 108 IMPLEMENT_FUNCTION_WITH_INVOKER(cls, ret, method, args, static_cast<void *>(nullptr))
|
/drivers/peripheral/pin_auth/hdi_service/adaptor/inc/ |
D | adaptor_log.h | 28 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument 30 op("%{public}s() " fmt, __FUNCTION__, ##args); \ 33 #define DECORATOR_HDFLOG(op, fmt, args...) \ 35 op("{%s()-%s:%d} " fmt, __FUNCTION__, __LINE__, ##args); \
|
/drivers/peripheral/user_auth/hdi_service/adaptor/inc/ |
D | adaptor_log.h | 28 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument 30 op("%{public}s() " fmt, __FUNCTION__, ##args); \ 33 #define DECORATOR_HDFLOG(op, fmt, args...) \ 35 op("{%s()-%s:%d} " fmt, __FUNCTION__, __LINE__, ##args); \
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/ |
D | hdf_command_handler_base.py | 24 self.args = {} 39 return getattr(self.args, 'action_type') 47 value = getattr(self.args, arg) 59 value = getattr(self.args, arg) 67 args = ['vendor_name', 'module_name', 72 for arg in args: 76 board_index = args.index('board_name') + 1
|
D | hdf_ping_handler.py | 15 def __init__(self, args): argument 17 self.args = args
|
D | hdf_set_handler.py | 34 def __init__(self, args): argument 55 self.args = self.parser.parse_args(args) 69 root_dir = self.args.root_dir 70 old_name = self.args.vendor_name 71 new_name = self.args.new_vendor_name 93 drivers = json.loads(self.args.all_drivers) 94 board_name = self.args.board_name.lower() 95 root = self.args.root_dir
|
D | hdf_get_handler.py | 31 def __init__(self, args): argument 60 self.args = self.parser.parse_args(args) 64 root = self.args.root_dir 76 return HdfLiteMkFile(self.args.root_dir).get_current_vendor() 85 target = hdf_utils.get_vendor_root_dir(self.args.root_dir) 125 root = os.path.realpath(self.args.root_dir) 200 path=model_device_file_path, section_name=self.args.module_name, 210 if self.args.board_name == "rk3568": 214 temp_device_path = os.path.join(self.args.root_dir, device_path, device_name) 218 self.args.module_name, ini_config_handle, temp_device_list) [all …]
|
/drivers/peripheral/display/hal/default_standard/src/display_gralloc/ |
D | drm_allocator.cpp | 84 struct DrmHisiliconPhyaddr args; in GetPhysicalAddr() local 87 (void)memset_s(&args, sizeof(args), 0, sizeof(args)); in GetPhysicalAddr() 88 args.fd = primeFd; in GetPhysicalAddr() 89 ret = ioctl(drmFd_, DRM_IOCTL_HISILICON_GEM_FD_TO_PHYADDR, &args); in GetPhysicalAddr() 93 return args.phyaddr; in GetPhysicalAddr()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/ |
D | main.py | 37 args = arg_parser.parse_args() 38 if args.run_as_daemon: 39 HdfToolDaemonServer(args.server_type).run() 42 ret = commands.run(args.command, args.remainder_args)
|
/drivers/peripheral/pin_auth/common/utils/ |
D | iam_ptr.h | 33 static inline std::shared_ptr<T> MakeShared(Args &&... args) in MakeShared() argument 36 return std::make_shared<T>(std::forward<Args>(args)...); in MakeShared() 43 static inline std::unique_ptr<T> MakeUnique(Args &&... args) in MakeUnique() argument 46 return std::make_unique<T>(std::forward<Args>(args)...); in MakeUnique()
|
/drivers/peripheral/user_auth/common/utils/ |
D | iam_ptr.h | 33 static inline std::shared_ptr<T> MakeShared(Args &&... args) in MakeShared() argument 36 return std::make_shared<T>(std::forward<Args>(args)...); in MakeShared() 43 static inline std::unique_ptr<T> MakeUnique(Args &&... args) in MakeUnique() argument 46 return std::make_unique<T>(std::forward<Args>(args)...); in MakeUnique()
|
/drivers/peripheral/camera/vdi_base/common/utils/event/ |
D | event_base.h | 30 typedef T (Event::*pMemFunc)(T arg, Args... args); 53 void SendEvent(T arg, Args... args) in SendEvent() argument 55 (m_obj->*pMemFunc(m_func))(arg, args...); in SendEvent() 67 typedef T (Event::*pMemFunc)(T arg, Args... args); 106 void SendEvent(T arg, Args... args) in SendEvent() argument 110 ((m_obj->*pMemFunc(m_func[i])))(arg, args...); in SendEvent()
|
/drivers/interface/camera/metadata/include/ |
D | metadata_log.h | 31 #define DECORATOR_HILOG(op, fmt, args...) \ argument 33 op(LOG_CORE, fmt, ##args); \ 36 #define DECORATOR_HILOG(op, fmt, args...) \ argument 38 op(LOG_CORE, "{%s()-%s:%d} " fmt, __FUNCTION__, FILENAME, __LINE__, ##args); \
|
/drivers/peripheral/audio/hdi_service/primary_impl/src/ |
D | audio_common.c | 151 va_list args; in AudioLogRecord() local 156 va_start(args, format); in AudioLogRecord() 160 va_end(args); in AudioLogRecord() 167 va_end(args); in AudioLogRecord() 173 va_end(args); in AudioLogRecord() 181 vfprintf(fp, format, args); in AudioLogRecord() 186 va_end(args); in AudioLogRecord()
|
/drivers/peripheral/audio/hal/hdi_passthrough/src/ |
D | audio_common.c | 129 va_list args; in AudioLogRecord() local 136 va_start(args, format); in AudioLogRecord() 141 va_end(args); in AudioLogRecord() 147 va_end(args); in AudioLogRecord() 151 va_end(args); in AudioLogRecord() 164 vfprintf(fp, format, args); in AudioLogRecord() 169 va_end(args); in AudioLogRecord()
|
/drivers/peripheral/codec/utils/include/ |
D | codec_log_wrapper.h | 43 #define DECORATOR_HDFLOG(op, fmt, args...) \ argument 45 op("%{public}s() " fmt, __FUNCTION__, ##args); \ 48 #define DECORATOR_HDFLOG(op, fmt, args...) \ 50 op("{%s()-%s:%d} " fmt, __FUNCTION__, FILENAME, __LINE__, ##args); \
|
/drivers/hdf_core/adapter/uhdf2/ipc/src/ |
D | hdf_dump.cpp | 38 int32_t HdfDump(int32_t fd, const std::vector<std::u16string> &args) in HdfDump() argument 45 uint32_t argv = args.size(); in HdfDump() 73 HDF_LOGI("%{public}s para:%{public}s", __func__, OHOS::Str16ToStr8(args.at(i)).data()); in HdfDump() 74 if (!HdfSbufWriteString(data, OHOS::Str16ToStr8(args.at(i)).data())) { in HdfDump()
|
/drivers/hdf_core/framework/tools/hdf_dev_eco_tool/command_line/hdi_operate/ |
D | hdi_get_handler.py | 20 def __init__(self, args): argument 32 self.args = self.parser.parse_args(args) 35 self.type = self.args.action_type 41 self.root = self.args.root_dir
|
/drivers/peripheral/display/hal/default_standard/src/display_device/core/ |
D | hdi_session.h | 34 … int32_t CallDisplayFunction(uint32_t devId, int32_t (HdiDisplay::*member)(Args...), Args... args) in CallDisplayFunction() argument 42 return (display->*member)(std::forward<Args>(args)...); in CallDisplayFunction() 46 …LayerFunction(uint32_t devId, uint32_t layerId, int32_t (HdiLayer::*member)(Args...), Args... args) in CallLayerFunction() argument 57 return (layer->*member)(std::forward<Args>(args)...); in CallLayerFunction()
|
/drivers/hdf_core/adapter/khdf/liteos/model/misc/dsoftbus/src/ |
D | softbus_lwip_monitor.c | 75 const netif_ext_callback_args_t *args) in NetifStatusCallback() argument 80 if (netif == NULL || args == NULL) { in NetifStatusCallback() 92 reportInfo.extInfo.status = args->status_changed.state; in NetifStatusCallback() 93 …dprintf("NetifStatusCallback(%s): nsc status changed: %d\n", netif->full_name, args->status_change… in NetifStatusCallback()
|