Lines Matching defs:CHECK
59 // The CHECK(condition) macro is active in both debug and release builds and
284 // Sets the Log Assert Handler that will be used to notify of check failures.
291 // Sets the Log Report Handler that will be used to notify of check failures
371 // in debug mode. In particular, CHECK()s will always fire if they
490 // CHECK dies with a fatal error if condition is not true. It is *not*
491 // controlled by NDEBUG, so the check will be executed regardless of
494 // We make sure CHECK et al. always evaluates their arguments, as
495 // doing CHECK(FunctionWithSideEffect()) is a common idiom.
499 // Make all CHECK functions discard their log strings to reduce code
505 #define CHECK(condition) \
508 #define PCHECK(condition) CHECK(condition)
510 #define CHECK_OP(name, op, val1, val2) CHECK((val1) op (val2))
514 #define CHECK(condition) \
516 << "Check failed: " #condition ". "
520 << "Check failed: " #condition ". "
529 logging::Check##name##Impl((val1), (val2), \
573 inline std::string* Check##name##Impl(const t1& v1, const t2& v2, \
578 inline std::string* Check##name##Impl(int v1, int v2, const char* names) { \
736 << "Check failed: " #condition ". "
740 << "Check failed: " #condition ". "
747 logging::Check##name##Impl((val1), (val2), \
819 // A special constructor used for check failures. Takes ownership
824 // A special constructor used for check failures, with the option to
958 logging::RawLog(logging::LOG_FATAL, "Check failed: " #condition "\n"); \