Home
last modified time | relevance | path

Searched defs:cond (Results 1 – 25 of 45) sorted by relevance

12

/base/msdp/device_status/utils/common/include/
Ddevicestatus_define.h35 #define CHKPL(cond) \ argument
42 #define CHKPV(cond) \ argument
50 #define CHKPF(cond) \ argument
58 #define CHKPS(cond) \ argument
66 #define CHKPC(cond) \ argument
74 #define CHKPB(cond) \ argument
82 #define CHKPR(cond, r) \ argument
90 #define CHKPP(cond) \ argument
98 #define CHKPO(cond) \ argument
Ddevicestatus_common.h28 #define DEV_RET_IF_NULL_WITH_RET(cond, retval) if (cond) {return (retval);} argument
29 #define DEV_RET_IF_NULL(cond) if (cond) {return;} argument
30 #define DEV_RET_IF_NULL_WITH_LOG(cond, loginfo) \ argument
/base/sensors/miscdevice/utils/include/
Dsensors_errors.h113 #define CHKPL(cond, ...) \ argument
121 #define CHKPV(cond) \ argument
130 #define CHKPF(cond) \ argument
139 #define CHKPC(cond) \ argument
148 #define CHKPB(cond) \ argument
157 #define CHKPR(cond, r) \ argument
166 #define CHKPP(cond) \ argument
175 #define CK(cond, ec) \ argument
184 #define CHKPL(cond) \ argument
191 #define CHKPV(cond) \ argument
[all …]
/base/sensors/sensor/utils/common/include/
Dsensors_errors.h145 #define CHKPL(cond, ...) \ argument
153 #define CHKPV(cond) \ argument
162 #define CHKPF(cond) \ argument
171 #define CHKPC(cond) \ argument
180 #define CHKPB(cond) \ argument
189 #define CHKPR(cond, r) \ argument
198 #define CHKPP(cond) \ argument
207 #define CK(cond, ec) \ argument
216 #define CHKPL(cond) \ argument
223 #define CHKPV(cond) \ argument
[all …]
/base/hiviewdfx/hiview/base/event_store/dao/
Ddoc_query.cpp29 void DocQuery::And(const Cond& cond) in And()
51 bool DocQuery::IsContainCond(const Cond& cond, const FieldValue& value) const in IsContainCond() argument
102 return std::all_of(innerConds_.begin(), innerConds_.end(), [this, &innerField] (auto& cond) { in IsContainInnerConds()
109 return std::all_of(extraConds_.begin(), extraConds_.end(), [this, &decodedEvent] (auto& cond) { in IsContainExtraConds()
137 for (auto& cond : innerConds_) { in ToString() local
143 for (auto& cond : extraConds_) { in ToString() local
Dsys_event_query.cpp306 Cond &Cond::And(const Cond &cond) in And()
312 bool Cond::IsSimpleCond(const Cond &cond) in IsSimpleCond()
317 void Cond::Traval(DocQuery &docQuery, const Cond &cond) in Traval()
444 SysEventQuery &SysEventQuery::Where(const Cond &cond) in Where()
450 SysEventQuery &SysEventQuery::And(const Cond &cond) in And()
/base/useriam/pin_auth/common/utils/
Diam_check.h25 #define IF_FALSE_LOGE_AND_RETURN(cond) \ argument
33 #define IF_FALSE_LOGE_AND_RETURN_VAL(cond, retVal) \ argument
/base/useriam/fingerprint_auth/common/utils/
Diam_check.h25 #define IF_FALSE_LOGE_AND_RETURN(cond) \ argument
33 #define IF_FALSE_LOGE_AND_RETURN_VAL(cond, retVal) \ argument
/base/useriam/user_auth_framework/common/utils/
Diam_check.h25 #define IF_FALSE_LOGE_AND_RETURN(cond) \ argument
33 #define IF_FALSE_LOGE_AND_RETURN_VAL(cond, retVal) \ argument
/base/useriam/face_auth/common/utils/
Diam_check.h25 #define IF_FALSE_LOGE_AND_RETURN(cond) \ argument
33 #define IF_FALSE_LOGE_AND_RETURN_VAL(cond, retVal) \ argument
/base/hiviewdfx/hiappevent/test/unittest/common/native/
Dhiappevent_watcher_test.cpp56 TriggerCondition cond) : AppEventWatcher(name, filters, cond) {} in AppEventWatcherTest()
80 TriggerCondition cond = { in BuildCondition() local
91 TriggerCondition cond = BuildCondition(0, 0, 0); in BuildSimpleWatcher() local
99 TriggerCondition cond = BuildCondition(1, 0, 0); // row is 1 in BuildWatcherWithRow() local
107 TriggerCondition cond = BuildCondition(0, 10, 0); // size is 10 byte in BuildWatcherWithSize() local
115 TriggerCondition cond = BuildCondition(0, 0, 1); // timeout is 1 in BuildWatcherWithTimeout() local
123 TriggerCondition cond = BuildCondition(0, 0, 1); // timeout is 1 in BuildWatcherWithTimeout2() local
/base/powermgr/battery_manager/utils/native/include/
Dpower_common.h27 #define RETURN_IF_WITH_RET(cond, retval) if (cond) {return (retval);} argument
28 #define RETURN_IF(cond) if (cond) {return;} argument
29 #define RETURN_IF_WITH_LOG(cond, loginfo) \ argument
/base/powermgr/power_manager/utils/native/include/
Dpower_common.h27 #define RETURN_IF_WITH_RET(cond, retval) if (cond) {return (retval);} argument
28 #define RETURN_IF(cond) if (cond) {return;} argument
29 #define RETURN_IF_WITH_LOG(cond, loginfo) \ argument
/base/powermgr/display_manager/utils/native/include/
Ddisplay_common.h27 #define RETURN_IF_WITH_RET(cond, retval) if (cond) {return (retval);} argument
28 #define RETURN_IF(cond) if (cond) {return;} argument
29 #define RETURN_IF_WITH_LOG(cond, loginfo) \ argument
/base/powermgr/thermal_manager/utils/native/include/
Dthermal_common.h27 #define THERMAL_RETURN_IF_WITH_RET(cond, retval) \ argument
29 #define THERMAL_RETURN_IF(cond) if (cond) {return;} argument
30 #define THERMAL_RETURN_IF_WITH_LOG(cond, loginfo) … argument
/base/powermgr/battery_statistics/utils/native/include/
Dstats_common.h27 #define STATS_RETURN_IF_WITH_RET(cond, retval) if (cond) { return (retval); } argument
28 #define STATS_RETURN_IF(cond) if (cond) { return; } argument
29 #define STATS_RETURN_IF_WITH_LOG(loglabel, cond, loginfo) \ argument
/base/usb/usb_manager/utils/native/include/
Dusb_common.h86 #define RETURN_IF_WITH_RET(cond, retval) \ argument
90 #define RETURN_IF(cond) \ argument
94 #define RETURN_IF_WITH_LOG(cond, loginfo) \ argument
/base/security/device_auth/deps_adapter/os_adapter/impl/src/linux/
Dhc_condition.c24 int Wait(pthread_cond_t* cond, HcMutex* mutex) in Wait()
36 void Notify(pthread_cond_t* cond) in Notify()
/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_manager_c_test.cpp63 void InitQueryRuleWithCondition(HiSysEventQueryRule& rule, const std::string& cond) in InitQueryRuleWithCondition()
137 void QueryTestWithCondition(const std::string& cond) in QueryTestWithCondition()
395 std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"NAME","op":"=", variable
416 …std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"uid_","op":"=","value":1201}]… variable
436 …std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"pid_","op":">=","value":0}]}}… variable
456 …std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"type_","op":"<=","value":4}]}… variable
476 …std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"pid_","op":">","value":0}]}})… variable
496 …std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"pid_","op":"<","value":0}]}})… variable
584 std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"time_","op":">", variable
737 std::string cond = R"~({"version":"V1","condition":{"and":[{"param":"NAME","op":"=", variable
[all …]
/base/hiviewdfx/hiappevent/frameworks/js/napi/src/
Dnapi_hiappevent_watch.cpp62 bool IsValidCondition(const napi_env env, const napi_value cond) in IsValidCondition()
155 int GetConditionValue(const napi_env env, const napi_value cond, const std::string& name) in GetConditionValue()
175 napi_value cond = NapiUtil::GetProperty(env, watcher, COND_PROPERTY); in GetCondition() local
269 TriggerCondition cond = GetCondition(env, watcher); in AddWatcher() local
/base/time/time_service/utils/native/include/
Dtime_hilog.h72 #define CHECK_AND_RETURN_RET_LOG(module, cond, ret, ...) \ argument
80 #define CHECK_AND_RETURN_LOG(module, cond, ...) \ argument
/base/sensors/sensor/interfaces/plugin/include/
Dsensor_napi_utils.h63 #define CHKNCF(env, cond, message) \ argument
/base/startup/init/services/modules/bootchart/
Dbootchart.h25 pthread_cond_t cond; member
/base/security/huks/utils/condition/
Dhks_condition.c29 pthread_cond_t cond; member
/base/security/device_auth/deps_adapter/os_adapter/interfaces/linux/
Dhc_condition.h36 pthread_cond_t cond; member

12