Home | History | Annotate | Download | only in common

Lines Matching refs:cond

98 #define  TZERO(cond)   \
99 { int _ret = (cond); if (_ret != 0) ERROR(_ret,"%d:%s", __LINE__, #cond); }
101 #define TTRUE(cond) \
102 { if (!(cond)) PANIC("%d:%s", __LINE__, #cond); }
104 #define TFALSE(cond) \
105 { if (!!(cond)) PANIC("%d:%s", __LINE__, #cond); }
107 #define TEXPECT_INT(cond,val) \
108 { int _ret = (cond); if (_ret != (val)) PANIC("%d:%s returned %d (%d expected)", __LINE__, #cond, _ret, (val)); }