Lines Matching full:condition
183 // implementation-defined when the above pre-condition is violated.
251 // implementation-defined when the above pre-condition is violated.
276 // Asserts that condition is true; aborts the process with the given
277 // message if condition is false. We cannot use LOG(FATAL) or CHECK()
281 inline void Assert(bool condition, const char* file, int line,
283 if (!condition) {
288 inline void Assert(bool condition, const char* file, int line) {
289 Assert(condition, file, line, "Assertion failed.");
292 // Verifies that condition is true; generates a non-fatal failure if
293 // condition is false.
294 inline void Expect(bool condition, const char* file, int line,
296 if (!condition) {
301 inline void Expect(bool condition, const char* file, int line) {
302 Expect(condition, file, line, "Expectation failed.");