Lines Matching full:condition
71 // CHECK(condition) - fails if condition is false and logs condition.
294 // Log only if condition is met. Otherwise evaluates to void.
295 #define LOG_IF(severity, condition) \
296 !(condition) ? (void) 0 : LoggerVoidify() & \
299 // Log only if condition is NOT met. Otherwise evaluates to void.
300 #define LOG_IF_FALSE(severity, condition) LOG_IF(severity, !(condition))
309 # define VLOG_IF(n, condition) LOG_IF(n, (n <= MAX_LOG_LEVEL) && condition)
314 # define VLOG_IF(n, condition) LOG_IF(n, condition)
341 // Check for a given boolean condition.
342 #define CHECK(condition) LOG_IF_FALSE(FATAL, condition) \
343 << "Check failed: " #condition " "
347 # define DCHECK(condition) LOG_IF_FALSE(FATAL, condition) \
348 << "Check failed: " #condition " "
351 # define DCHECK(condition) if (false) LOG_IF_FALSE(FATAL, condition) \
352 << "Check failed: " #condition " "