Home
last modified time | relevance | path

Searched refs:cond (Results 1 – 25 of 218) sorted by relevance

123456789

/ohos5.0/base/sensors/miscdevice/utils/common/include/
H A Dsensors_errors.h132 #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 Ddefine_multimodal.h47 #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 Dsensor_errors.h163 #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 Ddevicestatus_define.h41 #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 Ddoc_query.cpp28 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 Davsession_log.h46 #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 Ddp_log.h61 #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 Dcondition_variable.cpp33 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 Dcamera_log.h55 #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 Dmedia_log.h96 #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 Daudio_log.h52 #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 Davcodec_log.h75 #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 Dconn_log.h67 #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 Ddisc_log.h71 #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 Dpasteboard_hilog.h100 #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 Ddaudio_log.h74 #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 Dmedia_log.h47 #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 Dlog.h22 #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 Dlog.h22 #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 Dav_codec_sample_log.h31 #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 Ddh_log.h29 #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 Ddistributed_hardware_log.h44 #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 Dunittest_log.h47 #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 Dsoftbus_adapter_thread.c349 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 Ddemo_log.h23 #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)) { …

123456789