Lines Matching refs:condition
407 #define LAZY_STREAM(stream, condition) \ argument
408 !(condition) ? (void) 0 : ::logging::LogMessageVoidify() & (stream)
421 #define LOG_IF(severity, condition) \ argument
422 LAZY_STREAM(LOG_STREAM(severity), LOG_IS_ON(severity) && (condition))
431 #define VLOG_IF(verbose_level, condition) \ argument
433 VLOG_IS_ON(verbose_level) && (condition))
448 #define VPLOG_IF(verbose_level, condition) \ argument
450 VLOG_IS_ON(verbose_level) && (condition))
454 #define LOG_ASSERT(condition) \ argument
455 LOG_IF(FATAL, !(ANALYZER_ASSUME_TRUE(condition))) \
456 << "Assert failed: " #condition ". "
471 #define PLOG_IF(severity, condition) \ argument
472 LAZY_STREAM(PLOG_STREAM(severity), LOG_IS_ON(severity) && (condition))
621 #define CHECK(condition) \ argument
622 UNLIKELY(!(condition)) ? IMMEDIATE_CRASH() : EAT_STREAM_PARAMETERS
628 #define PCHECK(condition) \ argument
629 LAZY_STREAM(PLOG_STREAM(FATAL), UNLIKELY(!(condition))); \
644 #define CHECK(condition) \ argument
645 __analysis_assume(!!(condition)), \
647 << "Check failed: " #condition ". "
649 #define PCHECK(condition) \ argument
650 __analysis_assume(!!(condition)), \
652 << "Check failed: " #condition ". "
657 #define CHECK(condition) \ argument
658 LAZY_STREAM(::logging::LogMessage(__FILE__, __LINE__, #condition).stream(), \
659 !ANALYZER_ASSUME_TRUE(condition))
661 #define PCHECK(condition) \ argument
662 LAZY_STREAM(PLOG_STREAM(FATAL), !ANALYZER_ASSUME_TRUE(condition)) \
663 << "Check failed: " #condition ". "
804 #define DLOG_IF(severity, condition) LOG_IF(severity, condition) argument
805 #define DLOG_ASSERT(condition) LOG_ASSERT(condition) argument
806 #define DPLOG_IF(severity, condition) PLOG_IF(severity, condition) argument
807 #define DVLOG_IF(verboselevel, condition) VLOG_IF(verboselevel, condition) argument
808 #define DVPLOG_IF(verboselevel, condition) VPLOG_IF(verboselevel, condition) argument
817 #define DLOG_IF(severity, condition) EAT_STREAM_PARAMETERS
818 #define DLOG_ASSERT(condition) EAT_STREAM_PARAMETERS
819 #define DPLOG_IF(severity, condition) EAT_STREAM_PARAMETERS
820 #define DVLOG_IF(verboselevel, condition) EAT_STREAM_PARAMETERS
821 #define DVPLOG_IF(verboselevel, condition) EAT_STREAM_PARAMETERS
865 #define DCHECK(condition) \ argument
866 __analysis_assume(!!(condition)), \
868 << "Check failed: " #condition ". "
870 #define DPCHECK(condition) \ argument
871 __analysis_assume(!!(condition)), \
873 << "Check failed: " #condition ". "
879 #define DCHECK(condition) \ argument
880 LAZY_STREAM(LOG_STREAM(DCHECK), !ANALYZER_ASSUME_TRUE(condition)) \
881 << "Check failed: " #condition ". "
882 #define DPCHECK(condition) \ argument
883 LAZY_STREAM(PLOG_STREAM(DCHECK), !ANALYZER_ASSUME_TRUE(condition)) \
884 << "Check failed: " #condition ". "
888 #define DCHECK(condition) EAT_STREAM_PARAMETERS << !(condition) argument
889 #define DPCHECK(condition) EAT_STREAM_PARAMETERS << !(condition) argument
988 LogMessage(const char* file, int line, const char* condition);
1115 #define RAW_CHECK(condition) \ argument
1117 if (!(condition)) \
1119 "Check failed: " #condition "\n"); \