Lines Matching refs:cond
68 # define SM_REQUIRE(cond) \
69 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
70 "SM_REQUIRE(" #cond ") failed"), 0)))
72 # define SM_REQUIRE(cond) \
73 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
74 "SM_REQUIRE(cond) failed"), 0)))
77 # define SM_REQUIRE(cond) ((void) 0)
85 # define SM_ENSURE(cond) \
86 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
87 "SM_ENSURE(" #cond ") failed"), 0)))
89 # define SM_ENSURE(cond) \
90 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
91 "SM_ENSURE(cond) failed"), 0)))
94 # define SM_ENSURE(cond) ((void) 0)
99 # define SM_ASSERT(cond) \
100 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
101 "SM_ASSERT(" #cond ") failed"), 0)))
103 # define SM_ASSERT(cond) \
104 ((void) ((cond) || (sm_abort_at(__FILE__, __LINE__, \
105 "SM_ASSERT(cond) failed"), 0)))
108 # define SM_ASSERT(cond) ((void) 0)