Lines Matching refs:CHECK_OP
355 // ------------------------- CHECK_OP macros ---------------------------------
359 #define CHECK_OP(val1, val2, op) LOG_IF_FALSE(FATAL, ((val1) op (val2))) \
362 // Check_op macro definitions
363 #define CHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)
364 #define CHECK_NE(val1, val2) CHECK_OP(val1, val2, !=)
365 #define CHECK_LE(val1, val2) CHECK_OP(val1, val2, <=)
366 #define CHECK_LT(val1, val2) CHECK_OP(val1, val2, <)
367 #define CHECK_GE(val1, val2) CHECK_OP(val1, val2, >=)
368 #define CHECK_GT(val1, val2) CHECK_OP(val1, val2, >)
371 // Debug only versions of CHECK_OP macros.
372 # define DCHECK_EQ(val1, val2) CHECK_OP(val1, val2, ==)
373 # define DCHECK_NE(val1, val2) CHECK_OP(val1, val2, !=)
374 # define DCHECK_LE(val1, val2) CHECK_OP(val1, val2, <=)
375 # define DCHECK_LT(val1, val2) CHECK_OP(val1, val2, <)
376 # define DCHECK_GE(val1, val2) CHECK_OP(val1, val2, >=)
377 # define DCHECK_GT(val1, val2) CHECK_OP(val1, val2, >)
380 # define DCHECK_EQ(val1, val2) if (false) CHECK_OP(val1, val2, ==)
381 # define DCHECK_NE(val1, val2) if (false) CHECK_OP(val1, val2, !=)
382 # define DCHECK_LE(val1, val2) if (false) CHECK_OP(val1, val2, <=)
383 # define DCHECK_LT(val1, val2) if (false) CHECK_OP(val1, val2, <)
384 # define DCHECK_GE(val1, val2) if (false) CHECK_OP(val1, val2, >=)
385 # define DCHECK_GT(val1, val2) if (false) CHECK_OP(val1, val2, >)