Home | History | Annotate | Download | only in base

Lines Matching refs:Check

58 // The CHECK(condition) macro is active in both debug and release builds and
257 // Sets the Log Assert Handler that will be used to notify of check failures.
264 // Sets the Log Report Handler that will be used to notify of check failures
342 // in debug mode. In particular, CHECK()s will always fire if they
444 // CHECK dies with a fatal error if condition is not true. It is *not*
445 // controlled by NDEBUG, so the check will be executed regardless of
448 // We make sure CHECK et al. always evaluates their arguments, as
449 // doing CHECK(FunctionWithSideEffect()) is a common idiom.
450 #define CHECK(condition) \
452 << "Check failed: " #condition ". "
456 << "Check failed: " #condition ". "
496 logging::Check##name##Impl((val1), (val2), \
506 inline std::string* Check##name##Impl(const t1& v1, const t2& v2, \
511 inline std::string* Check##name##Impl(int v1, int v2, const char* names) { \
665 << "Check failed: " #condition ". "
669 << "Check failed: " #condition ". "
676 logging::Check##name##Impl((val1), (val2), \
743 // A special constructor used for check failures. Takes ownership
748 // A special constructor used for check failures, with the option to
882 logging::RawLog(logging::LOG_FATAL, "Check failed: " #condition "\n"); \