Lines Matching refs:x
17 #define ASSERT(x) \ argument
19 if (unlikely(!(x))) { \
20 assert_fail(__FILE__, __LINE__, #x); \
27 #define ASSERT_MSG(x, msg, msgargs...) \ argument
29 if (unlikely(!(x))) { \
30 assert_fail_msg(__FILE__, __LINE__, #x, msg, ##msgargs); \
44 #define DEBUG_ASSERT(x) \ argument
46 if (DEBUG_ASSERT_IMPLEMENTED && unlikely(!(x))) { \
47 assert_fail(__FILE__, __LINE__, #x); \
55 #define DEBUG_ASSERT_MSG(x, msg, msgargs...) \ argument
57 if (DEBUG_ASSERT_IMPLEMENTED && unlikely(!(x))) { \
58 assert_fail_msg(__FILE__, __LINE__, #x, msg, ##msgargs); \
65 #define DEBUG_ASSERT_COND(x) DEBUG_ASSERT(x) argument
66 #define DEBUG_ASSERT_MSG_COND(x, msg, msgargs...) DEBUG_ASSERT_MSG(x, msg, msgargs) argument
68 #define DEBUG_ASSERT_COND(x) \ argument
71 #define DEBUG_ASSERT_MSG_COND(x, msg, msgargs...) \ argument
84 #define assert(x) DEBUG_ASSERT(x) argument