Lines Matching refs:cond
425 #define __BUG_WARN_MSG(cond, with_msg, ...) \
426 do { if (cond) { \
427 ErrorFSigSafe("BUG: triggered 'if (" #cond ")'\n"); \
434 #define BUG_WARN_MSG(cond, ...) \
435 __BUG_WARN_MSG(cond, 1, __VA_ARGS__)
437 #define BUG_WARN(cond) __BUG_WARN_MSG(cond, 0, NULL)
439 #define BUG_RETURN(cond) \
440 do { if (cond) { __BUG_WARN_MSG(cond, 0, NULL); return; } } while(0)
442 #define BUG_RETURN_MSG(cond, ...) \
443 do { if (cond) { __BUG_WARN_MSG(cond, 1, __VA_ARGS__); return; } } while(0)
445 #define BUG_RETURN_VAL(cond, val) \
446 do { if (cond) { __BUG_WARN_MSG(cond, 0, NULL); return (val); } } while(0)
448 #define BUG_RETURN_VAL_MSG(cond, val, ...) \
449 do { if (cond) { __BUG_WARN_MSG(cond, 1, __VA_ARGS__); return (val); } } while(0)