/ohos5.0/base/sensors/miscdevice/utils/common/include/ |
H A D | sensors_errors.h | 132 #define CHKPV(cond) \ argument 141 #define CHKPF(cond) \ argument 150 #define CHKPC(cond) \ argument 159 #define CHKPB(cond) \ argument 177 #define CHKPP(cond) \ argument 195 #define CHKPL(cond) \ argument 202 #define CHKPV(cond) \ argument 210 #define CHKPF(cond) \ argument 218 #define CHKPC(cond) \ argument 226 #define CHKPB(cond) \ argument [all …]
|
/ohos5.0/foundation/multimodalinput/input/util/common/include/ |
H A D | define_multimodal.h | 47 #define CHKPV(cond) \ argument 56 #define CHKPF(cond) \ argument 65 #define CHKPS(cond) \ argument 74 #define CHKPC(cond) \ argument 83 #define CHKPB(cond) \ argument 101 #define CHKPP(cond) \ argument 110 #define CHKPO(cond) \ argument 134 #define CHKPL(cond) \ argument 141 #define CHKPV(cond) \ argument 157 #define CHKPF(cond) \ argument [all …]
|
/ohos5.0/base/sensors/sensor/utils/common/include/ |
H A D | sensor_errors.h | 163 #define CHKPV(cond) \ argument 172 #define CHKPF(cond) \ argument 181 #define CHKPC(cond) \ argument 190 #define CHKPB(cond) \ argument 208 #define CHKPP(cond) \ argument 226 #define CHKPL(cond) \ argument 233 #define CHKPV(cond) \ argument 241 #define CHKPF(cond) \ argument 249 #define CHKPC(cond) \ argument 257 #define CHKPB(cond) \ argument [all …]
|
/ohos5.0/base/msdp/device_status/utils/common/include/ |
H A D | devicestatus_define.h | 41 #define CHKPL(cond) \ argument 43 if ((cond) == nullptr) { \ 48 #define CHKPV(cond) \ argument 50 if ((cond) == nullptr) { \ 56 #define CHKPF(cond) \ argument 64 #define CHKPS(cond) \ argument 72 #define CHKPC(cond) \ argument 80 #define CHKPB(cond) \ argument 88 #define CHKPR(cond, r) \ argument 96 #define CHKPP(cond) \ argument [all …]
|
/ohos5.0/base/hiviewdfx/hiview/base/event_store/dao/ |
H A D | doc_query.cpp | 28 void DocQuery::And(const Cond& cond) in And() argument 30 if (cond.col_ == EventCol::DOMAIN || cond.col_ == EventCol::NAME) { in And() 34 if (IsInnerCond(cond)) { in And() 35 innerConds_.push_back(cond); in And() 38 extraConds_.push_back(cond); in And() 52 switch (cond.op_) { in IsContainCond() 77 if (cond.col_ == EventCol::SEQ) { in IsContainInnerCond() 92 return IsContainCond(cond, value); in IsContainInnerCond() 140 for (auto& cond : innerConds_) { in ToString() local 141 output.append(cond.ToString()); in ToString() [all …]
|
/ohos5.0/foundation/multimedia/av_session/utils/include/ |
H A D | avsession_log.h | 46 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument 48 if (!(cond)) { \ 54 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \ argument 56 if (!(cond)) { \ 62 #define CHECK_AND_BREAK_LOG(cond, fmt, ...) \ argument 64 if (!(cond)) { \ 70 #define CHECK_AND_CONTINUE_LOG(cond, fmt, ...) \ argument 72 if (!(cond)) { \ 78 #define CHECK_AND_PRINT_LOG(cond, fmt, ...) \ argument 80 if (!(cond)) { \ [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/services/deferred_processing_service/include/utils/ |
H A D | dp_log.h | 61 #define DP_CHECK_ERROR_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument 63 if (cond) { \ 69 #define DP_CHECK_ERROR_RETURN_LOG(cond, fmt, ...) \ argument 71 if (cond) { \ 77 #define DP_CHECK_ERROR_PRINT_LOG(cond, fmt, ...) \ argument 79 if (cond) { \ 84 #define DP_CHECK_ERROR_BREAK_LOG(cond, fmt, ...) \ argument 86 if (cond) { \ 92 #define DP_CHECK_RETURN_RET(cond, ret) \ argument 94 if (cond) { \ [all …]
|
/ohos5.0/foundation/resourceschedule/ffrt/src/sync/ |
H A D | condition_variable.cpp | 33 if (!cond) { 40 new (cond) ffrt::condition_variable_private(); 45 int ffrt_cond_signal(ffrt_cond_t* cond) 47 if (!cond) { 57 int ffrt_cond_broadcast(ffrt_cond_t* cond) 59 if (!cond) { 69 int ffrt_cond_wait(ffrt_cond_t* cond, ffrt_mutex_t* mutex) 71 if (!cond || !mutex) { 84 if (!cond || !mutex || !time_point) { 101 int ffrt_cond_destroy(ffrt_cond_t* cond) [all …]
|
/ohos5.0/foundation/multimedia/camera_framework/common/utils/ |
H A D | camera_log.h | 55 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument 57 if (!(cond)) { \ 71 #define CHECK_ERROR_RETURN(cond) \ argument 73 if (cond) { \ 78 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \ argument 80 if (!(cond)) { \ 86 #define CHECK_ERROR_RETURN_LOG(cond, fmt, ...) \ argument 88 if (cond) { \ 94 #define CHECK_AND_PRINT_LOG(cond, fmt, ...) \ argument 96 if (!(cond)) { \ [all …]
|
/ohos5.0/foundation/multimedia/player_framework/services/utils/include/ |
H A D | media_log.h | 96 #define CHECK_AND_RETURN(cond) \ argument 112 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument 114 if (!(cond)) { \ 120 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \ argument 122 if (!(cond)) { \ 128 #define CHECK_AND_BREAK_LOG(cond, fmt, ...) \ argument 130 if (!(cond)) { \ 155 #define CHECK_AND_CONTINUE_LOG(cond, fmt, ...) \ argument 157 if (!(cond)) { \ 164 #define TRUE_LOG(cond, func, fmt, ...) \ argument [all …]
|
/ohos5.0/foundation/multimedia/audio_framework/interfaces/inner_api/native/audiocommon/include/ |
H A D | audio_log.h | 52 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument 54 if (!(cond)) { \ 60 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \ argument 62 if (!(cond)) { \ 68 #define CHECK_AND_BREAK_LOG(cond, fmt, ...) \ argument 70 if (!(cond)) { \ 76 #define CHECK_AND_RETURN_RET(cond, ret, ...) \ argument 78 if (!(cond)) { \ 83 #define CHECK_AND_CONTINUE_LOG(cond, fmt, ...) \ argument 85 if (!(cond)) { \ [all …]
|
/ohos5.0/foundation/multimedia/av_codec/services/dfx/include/ |
H A D | avcodec_log.h | 75 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument 77 if (!(cond)) { \ 83 #define CHECK_AND_RETURN_RET_LOGW(cond, ret, fmt, ...) \ argument 85 if (!(cond)) { \ 91 #define CHECK_AND_RETURN_RET_LOG_LIMIT(cond, ret, frequency, fmt, ...) \ argument 93 if (!(cond)) { \ 99 #define EXPECT_AND_LOGW(cond, fmt, ...) \ argument 101 if ((cond)) { \ 106 #define EXPECT_AND_LOGI(cond, fmt, ...) \ argument 108 if ((cond)) { \ [all …]
|
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/interface/include/ |
H A D | conn_log.h | 67 #define CONN_CHECK_AND_RETURN_RET_LOGW(cond, ret, label, fmt, ...) \ argument 69 #define CONN_CHECK_AND_RETURN_RET_LOGE(cond, ret, label, fmt, ...) \ argument 71 #define CONN_CHECK_AND_RETURN_RET_LOGI(cond, ret, label, fmt, ...) \ argument 73 #define CONN_CHECK_AND_RETURN_RET_LOGD(cond, ret, label, fmt, ...) \ argument 76 #define CONN_CHECK_AND_RETURN_LOGW(cond, label, fmt, ...) \ argument 77 CHECK_AND_RETURN_LOG_INNER(cond, CONN_LOGW, label, fmt, ##__VA_ARGS__) 78 #define CONN_CHECK_AND_RETURN_LOGE(cond, label, fmt, ...) \ argument 79 CHECK_AND_RETURN_LOG_INNER(cond, CONN_LOGE, label, fmt, ##__VA_ARGS__) 80 #define CONN_CHECK_AND_RETURN_LOGI(cond, label, fmt, ...) \ argument 81 CHECK_AND_RETURN_LOG_INNER(cond, CONN_LOGI, label, fmt, ##__VA_ARGS__) [all …]
|
H A D | disc_log.h | 71 #define DISC_CHECK_AND_RETURN_RET_LOGD(cond, ret, label, fmt, ...) \ argument 72 CHECK_AND_RETURN_RET_LOG_INNER(cond, ret, DISC_LOGD, label, fmt, ##__VA_ARGS__) 73 #define DISC_CHECK_AND_RETURN_RET_LOGW(cond, ret, label, fmt, ...) \ argument 74 CHECK_AND_RETURN_RET_LOG_INNER(cond, ret, DISC_LOGW, label, fmt, ##__VA_ARGS__) 75 #define DISC_CHECK_AND_RETURN_RET_LOGE(cond, ret, label, fmt, ...) \ argument 77 #define DISC_CHECK_AND_RETURN_LOGD(cond, label, fmt, ...) \ argument 78 CHECK_AND_RETURN_LOG_INNER(cond, DISC_LOGD, label, fmt, ##__VA_ARGS__) 79 #define DISC_CHECK_AND_RETURN_LOGW(cond, label, fmt, ...) \ argument 80 CHECK_AND_RETURN_LOG_INNER(cond, DISC_LOGW, label, fmt, ##__VA_ARGS__) 81 #define DISC_CHECK_AND_RETURN_LOGE(cond, label, fmt, ...) \ argument [all …]
|
/ohos5.0/foundation/distributeddatamgr/pasteboard/utils/native/include/ |
H A D | pasteboard_hilog.h | 100 #define CHECK_AND_RETURN_RET_LOG_INNER(cond, ret, log, label, fmt, ...) \ argument 102 if (!(cond)) { \ 109 #define CHECK_AND_RETURN_LOG_INNER(cond, log, label, fmt, ...) \ argument 111 if (!(cond)) { \ 117 #define PASTEBOARD_CHECK_AND_RETURN_RET_LOGD(cond, ret, label, fmt, ...) \ argument 119 #define PASTEBOARD_CHECK_AND_RETURN_RET_LOGW(cond, ret, label, fmt, ...) \ argument 121 #define PASTEBOARD_CHECK_AND_RETURN_RET_LOGE(cond, ret, label, fmt, ...) \ argument 123 #define PASTEBOARD_CHECK_AND_RETURN_LOGD(cond, label, fmt, ...) \ argument 124 CHECK_AND_RETURN_LOG_INNER(cond, PASTEBOARD_HILOGD, label, fmt, ##__VA_ARGS__) 125 #define PASTEBOARD_CHECK_AND_RETURN_LOGW(cond, label, fmt, ...) \ argument [all …]
|
/ohos5.0/foundation/distributedhardware/distributed_audio/common/include/ |
H A D | daudio_log.h | 74 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument 76 if ((cond)) { \ 82 #define CHECK_AND_FREE_RETURN_RET_LOG(cond, ret, root, fmt, ...) \ argument 84 if ((cond)) { \ 91 #define CHECK_AND_FREECHAR_RETURN_RET_LOG(cond, ret, data, fmt, ...) \ argument 100 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \ argument 102 if ((cond)) { \ 108 #define CHECK_AND_FREE_RETURN_LOG(cond, root, fmt, ...) \ argument 110 if ((cond)) { \ 117 #define CHECK_AND_LOG(cond, fmt, ...) \ argument [all …]
|
/ohos5.0/foundation/multimedia/media_library/interfaces/inner_api/media_library_helper/include/ |
H A D | media_log.h | 47 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument 49 if (!(cond)) { \ 55 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \ argument 57 if (!(cond)) { \ 63 #define CHECK_AND_PRINT_LOG(cond, fmt, ...) \ argument 65 if (!(cond)) { \ 70 #define CHECK_AND_WARN_LOG(cond, fmt, ...) \ argument 72 if (!(cond)) { \ 77 #define CHECK_AND_RETURN_RET(cond, ret) \ argument 79 if (!(cond)) { \
|
/ohos5.0/drivers/peripheral/codec/test/demo/heif/include/ |
H A D | log.h | 22 #define IF_TRUE_RETURN(cond) \ argument 24 if (cond) { \ 29 #define IF_TRUE_RETURN_WITH_MSG(cond, msg, ...) \ argument 31 if (cond) { \ 37 #define IF_TRUE_RETURN_VAL(cond, val) \ argument 39 if (cond) { \ 44 #define IF_TRUE_RETURN_VAL_WITH_MSG(cond, val, msg, ...) \ argument 46 if (cond) { \
|
/ohos5.0/drivers/peripheral/codec/test/fuzztest/image_fuzzer/common/include/ |
H A D | log.h | 22 #define IF_TRUE_RETURN(cond) \ argument 24 if (cond) { \ 29 #define IF_TRUE_RETURN_WITH_MSG(cond, msg, ...) \ argument 31 if (cond) { \ 37 #define IF_TRUE_RETURN_VAL(cond, val) \ argument 39 if (cond) { \ 44 #define IF_TRUE_RETURN_VAL_WITH_MSG(cond, val, msg, ...) \ argument 46 if (cond) { \
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/video_test/video_test/common/include/ |
H A D | av_codec_sample_log.h | 31 #define CHECK_AND_CONTINUE(cond) \ argument 33 if (!(cond)) { \ 38 #define CHECK_AND_BREAK(cond) \ argument 40 if (!(cond)) { \ 45 #define CHECK_AND_RETURN(cond) \ argument 47 if (!(cond)) { \ 52 #define CHECK_AND_RETURN_RET(cond, ret) \ argument 54 if (!(cond)) { \
|
/ohos5.0/foundation/distributedhardware/distributed_camera/common/include/utils/ |
H A D | dh_log.h | 29 #define CHECK_NULL_RETURN(cond, ret, ...) \ argument 31 if ((cond)) { \ 36 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument 38 if ((cond)) { \ 44 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \ argument 46 if ((cond)) { \ 52 #define CHECK_AND_LOG(cond, fmt, ...) \ argument 54 if ((cond)) { \ 68 #define CHECK_AND_FREE_RETURN_RET_LOG(cond, ret, root, fmt, ...) \ argument 70 if ((cond)) { \
|
H A D | distributed_hardware_log.h | 44 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \ argument 46 if ((cond)) { \ 52 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \ argument 54 if ((cond)) { \ 60 #define CHECK_AND_LOG(cond, fmt, ...) \ argument 62 if ((cond)) { \ 67 #define CHECK_NULL_RETURN(cond, ret, ...) \ argument 69 if ((cond)) { \ 83 #define CHECK_AND_FREE_RETURN_RET_LOG(cond, ret, root, fmt, ...) \ argument 85 if ((cond)) { \
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/common/ |
H A D | unittest_log.h | 47 #define UNITTEST_CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) … argument 49 …if (!(cond)) { … 58 #define UNITTEST_CHECK_AND_RETURN_LOG(cond, fmt, ...) … argument 60 …if (!(cond)) { … 69 #define UNITTEST_CHECK_AND_INFO_LOG(cond, fmt, ...) … argument 71 …if (!(cond)) { … 79 #define UNITTEST_CHECK_AND_BREAK_LOG(cond, fmt, ...) … argument 80 …if (!(cond)) { … 88 #define UNITTEST_CHECK_AND_CONTINUE_LOG(cond, fmt, ...) … argument 89 …if (!(cond)) { …
|
/ohos5.0/foundation/communication/dsoftbus/adapter/common/kernel/posix/ |
H A D | softbus_adapter_thread.c | 349 int32_t SoftBusCondInit(SoftBusCond *cond) in SoftBusCondInit() argument 351 if (cond == NULL) { in SoftBusCondInit() 380 *cond = (SoftBusCond)tempCond; in SoftBusCondInit() 386 if ((cond == NULL) || ((void *)(*cond) == NULL)) { in SoftBusCondSignal() 402 if ((cond == NULL) || ((void *)(*cond) == NULL)) { in SoftBusCondBroadcast() 419 if ((cond == NULL) || ((void *)(*cond) == NULL)) { in SoftBusCondWait() 457 if ((cond == NULL) || ((void *)(*cond) == NULL)) { in SoftBusCondDestroy() 465 SoftBusFree((void *)*cond); in SoftBusCondDestroy() 466 *cond = (SoftBusCond)NULL; in SoftBusCondDestroy() 470 SoftBusFree((void *)*cond); in SoftBusCondDestroy() [all …]
|
/ohos5.0/foundation/multimedia/av_codec/test/nativedemo/include/ |
H A D | demo_log.h | 23 #define DEMO_CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) … argument 25 …if (!(cond)) { … 33 #define DEMO_CHECK_AND_RETURN_LOG(cond, fmt, ...) … argument 35 …if (!(cond)) { … 43 #define DEMO_CHECK_AND_BREAK_LOG(cond, fmt, ...) … argument 44 …if (!(cond)) { … 51 #define DEMO_CHECK_AND_CONTINUE_LOG(cond, fmt, ...) … argument 52 …if (!(cond)) { …
|