Lines Matching defs:cond
35 static inline bool z_zassert_(bool cond, const char *file, int line) in z_zassert_()
47 #define z_zassert(cond, default_msg, file, line, func, msg, ...) z_zassert_(cond, file, line) argument
49 static inline bool z_zassume_(bool cond, const char *file, int line) in z_zassume_()
61 #define z_zassume(cond, default_msg, file, line, func, msg, ...) z_zassume_(cond, file, line) argument
63 static inline bool z_zexpect_(bool cond, const char *file, int line) in z_zexpect_()
75 #define z_zexpect(cond, default_msg, file, line, func, msg, ...) z_zexpect_(cond, file, line) argument
79 static inline bool z_zassert(bool cond, const char *default_msg, const char *file, int line, in z_zassert()
103 static inline bool z_zassume(bool cond, const char *default_msg, const char *file, int line, in z_zassume()
127 static inline bool z_zexpect(bool cond, const char *default_msg, const char *file, int line, in z_zexpect()
176 #define _zassert_base(cond, default_msg, msg, ...) \ argument
190 #define _zassert_va(cond, default_msg, msg, ...) \ argument
193 #define zassert(cond, default_msg, ...) \ argument
214 #define _zassume_base(cond, default_msg, msg, ...) \ argument
228 #define _zassume_va(cond, default_msg, msg, ...) \ argument
231 #define zassume(cond, default_msg, ...) \ argument
244 #define _zexpect_base(cond, default_msg, msg, ...) \ argument
258 #define _zexpect_va(cond, default_msg, msg, ...) \ argument
261 #define zexpect(cond, default_msg, ...) \ argument
275 #define zassert_true(cond, ...) zassert(cond, #cond " is false", ##__VA_ARGS__) argument
282 #define zassert_false(cond, ...) zassert(!(cond), #cond " is true", ##__VA_ARGS__) argument
289 #define zassert_ok(cond, ...) zassert(!(cond), #cond " is non-zero", ##__VA_ARGS__) argument
296 #define zassert_not_ok(cond, ...) zassert(!!(cond), #cond " is zero", ##__VA_ARGS__) argument
429 #define zassume_true(cond, ...) zassume(cond, #cond " is false", ##__VA_ARGS__) argument
439 #define zassume_false(cond, ...) zassume(!(cond), #cond " is true", ##__VA_ARGS__) argument
449 #define zassume_ok(cond, ...) zassume(!(cond), #cond " is non-zero", ##__VA_ARGS__) argument
459 #define zassume_not_ok(cond, ...) zassume(!!(cond), #cond " is zero", ##__VA_ARGS__) argument
605 #define zexpect_true(cond, ...) zexpect(cond, #cond " is false", ##__VA_ARGS__) argument
613 #define zexpect_false(cond, ...) zexpect(!(cond), #cond " is true", ##__VA_ARGS__) argument
622 #define zexpect_ok(cond, ...) zexpect(!(cond), #cond " is non-zero", ##__VA_ARGS__) argument
631 #define zexpect_not_ok(cond, ...) zexpect(!!(cond), #cond " is zero", ##__VA_ARGS__) argument