Lines Matching refs:cond
421 #define __BUG_WARN_MSG(cond, with_msg, ...) \
422 do { if (cond) { \
423 ErrorFSigSafe("BUG: triggered 'if (" #cond ")'\n"); \
430 #define BUG_WARN_MSG(cond, ...) \
431 __BUG_WARN_MSG(cond, 1, __VA_ARGS__)
433 #define BUG_WARN(cond) __BUG_WARN_MSG(cond, 0, NULL)
435 #define BUG_RETURN(cond) \
436 do { if (cond) { __BUG_WARN_MSG(cond, 0, NULL); return; } } while(0)
438 #define BUG_RETURN_MSG(cond, ...) \
439 do { if (cond) { __BUG_WARN_MSG(cond, 1, __VA_ARGS__); return; } } while(0)
441 #define BUG_RETURN_VAL(cond, val) \
442 do { if (cond) { __BUG_WARN_MSG(cond, 0, NULL); return (val); } } while(0)
444 #define BUG_RETURN_VAL_MSG(cond, val, ...) \
445 do { if (cond) { __BUG_WARN_MSG(cond, 1, __VA_ARGS__); return (val); } } while(0)