Lines Matching refs:cond
50 #define CHECK_AND_RETURN(cond) \
52 if (!(cond)) { \
53 SHARING_LOGE("%{public}s, check failed!", #cond); \
58 #define CHECK_AND_RETURN_RET(cond, ret) \
60 if (!(cond)) { \
61 SHARING_LOGE("%{public}s, check failed! ret: %{public}s.", #cond, #ret); \
66 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \
68 if (!(cond)) { \
74 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \
76 if (!(cond)) { \