Lines Matching refs:condition
25 #define MOJO_LAZY_LOG_STREAM(level, condition) \
26 !(condition) ? \
37 #define MOJO_LOG_IF(level, condition) \
38 MOJO_LAZY_LOG_STREAM(level, MOJO_SHOULD_LOG(level) && (condition))
40 #define MOJO_CHECK(condition) \
41 MOJO_LAZY_LOG_STREAM(FATAL, !(condition)) \
42 << "Check failed: " #condition ". "
45 // compile) the condition, whereas |MOJO_DCHECK()| "neuters" the condition
50 #define MOJO_DLOG_IF(level, condition) MOJO_LAZY_LOG_STREAM(level, false)
51 #define MOJO_DCHECK(condition) MOJO_LAZY_LOG_STREAM(FATAL, false && (condition))
56 #define MOJO_DLOG_IF(level, condition) MOJO_LOG_IF(level, condition)
57 #define MOJO_DCHECK(condition) MOJO_CHECK(condition)