Lines Matching refs:cond
46 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \
48 if (!(cond)) { \
54 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \
56 if (!(cond)) { \
62 #define CHECK_AND_BREAK_LOG(cond, fmt, ...) \
64 if (!(cond)) { \
70 #define CHECK_AND_CONTINUE_LOG(cond, fmt, ...) \
72 if (!(cond)) { \
78 #define CHECK_AND_PRINT_LOG(cond, fmt, ...) \
80 if (!(cond)) { \
85 #define CHECK_AND_RETURN_RET(cond, ret) \
87 if (!(cond)) { \
88 SLOGE("%{public}s, check failed! ret = %{public}s", #cond, #ret); \
93 #define CHECK_AND_RETURN(cond) \
95 if (!(cond)) { \
96 SLOGE("%{public}s, check failed!", #cond); \
101 #define CHECK_AND_BREAK(cond) \
103 if (!(cond)) { \
104 SLOGE("%{public}s, check failed!", #cond); \
109 #define CHECK_AND_CONTINUE(cond) \
111 if (!(cond)) { \
112 SLOGE("%{public}s, check failed!", #cond); \