Lines Matching refs:cond
55 #define CHECK_AND_RETURN_RET_LOG(cond, ret, fmt, ...) \
57 if (!(cond)) { \
63 #define CHECK_ERROR_RETURN_RET_LOG(cond, ret, fmt, ...) \
65 if (cond) { \
71 #define CHECK_ERROR_RETURN(cond) \
73 if (cond) { \
78 #define CHECK_AND_RETURN_LOG(cond, fmt, ...) \
80 if (!(cond)) { \
86 #define CHECK_ERROR_RETURN_LOG(cond, fmt, ...) \
88 if (cond) { \
94 #define CHECK_AND_PRINT_LOG(cond, fmt, ...) \
96 if (!(cond)) { \
101 #define CHECK_ERROR_PRINT_LOG(cond, fmt, ...) \
103 if (cond) { \
108 #define CHECK_AND_RETURN_RET(cond, ret) \
110 if (!(cond)) { \
115 #define CHECK_ERROR_RETURN_RET(cond, ret) \
117 if (cond) { \
122 #define CHECK_AND_BREAK_LOG(cond, fmt, ...) \
124 if (!(cond)) { \
130 #define CHECK_AND_CONTINUE_LOG(cond, fmt, ...) \
132 if (!(cond)) { \
138 #define CHECK_EXECUTE(cond, cmd) \
140 if (cond) { \