Lines Matching refs:cond
418 #define __BUG_WARN_MSG(cond, with_msg, ...) \ argument
419 do { if (cond) { \
420 ErrorFSigSafe("BUG: triggered 'if (" #cond ")'\n"); \
427 #define BUG_WARN_MSG(cond, ...) \ argument
428 __BUG_WARN_MSG(cond, 1, __VA_ARGS__)
430 #define BUG_WARN(cond) __BUG_WARN_MSG(cond, 0, NULL) argument
432 #define BUG_RETURN(cond) \ argument
433 do { if (cond) { __BUG_WARN_MSG(cond, 0, NULL); return; } } while(0)
435 #define BUG_RETURN_MSG(cond, ...) \ argument
436 do { if (cond) { __BUG_WARN_MSG(cond, 1, __VA_ARGS__); return; } } while(0)
438 #define BUG_RETURN_VAL(cond, val) \ argument
439 do { if (cond) { __BUG_WARN_MSG(cond, 0, NULL); return (val); } } while(0)
441 #define BUG_RETURN_VAL_MSG(cond, val, ...) \ argument
442 do { if (cond) { __BUG_WARN_MSG(cond, 1, __VA_ARGS__); return (val); } } while(0)