Lines Matching refs:cond
420 #define __BUG_WARN_MSG(cond, with_msg, ...) \
421 do { if (cond) { \
422 ErrorFSigSafe("BUG: triggered 'if (" #cond ")'\n"); \
429 #define BUG_WARN_MSG(cond, ...) \
430 __BUG_WARN_MSG(cond, 1, __VA_ARGS__)
432 #define BUG_WARN(cond) __BUG_WARN_MSG(cond, 0, NULL)
434 #define BUG_RETURN(cond) \
435 do { if (cond) { __BUG_WARN_MSG(cond, 0, NULL); return; } } while(0)
437 #define BUG_RETURN_MSG(cond, ...) \
438 do { if (cond) { __BUG_WARN_MSG(cond, 1, __VA_ARGS__); return; } } while(0)
440 #define BUG_RETURN_VAL(cond, val) \
441 do { if (cond) { __BUG_WARN_MSG(cond, 0, NULL); return (val); } } while(0)
443 #define BUG_RETURN_VAL_MSG(cond, val, ...) \
444 do { if (cond) { __BUG_WARN_MSG(cond, 1, __VA_ARGS__); return (val); } } while(0)