Lines Matching refs:_x
564 #define TEST_AND_RETURN_FALSE_ERRNO(_x) \ argument
566 bool _success = static_cast<bool>(_x); \
569 LOG(ERROR) << #_x " failed: " << _msg; \
574 #define TEST_AND_RETURN_FALSE(_x) \ argument
576 bool _success = static_cast<bool>(_x); \
578 LOG(ERROR) << #_x " failed."; \
583 #define TEST_AND_RETURN_ERRNO(_x) \ argument
585 bool _success = static_cast<bool>(_x); \
588 LOG(ERROR) << #_x " failed: " << _msg; \
593 #define TEST_AND_RETURN(_x) \ argument
595 bool _success = static_cast<bool>(_x); \
597 LOG(ERROR) << #_x " failed."; \
602 #define TEST_AND_RETURN_FALSE_ERRCODE(_x) \ argument
604 errcode_t _error = (_x); \
607 LOG(ERROR) << #_x " failed: " << _error; \
612 #define TEST_OP(_x, _y, op) \ argument
614 const auto& x = _x; \
617 LOG(ERROR) << #_x " " #op " " #_y << " failed: " << x << " " #op " " \
623 #define TEST_EQ(_x, _y) TEST_OP(_x, _y, ==) argument
624 #define TEST_NE(_x, _y) TEST_OP(_x, _y, !=) argument
625 #define TEST_LE(_x, _y) TEST_OP(_x, _y, <=) argument
626 #define TEST_GE(_x, _y) TEST_OP(_x, _y, >=) argument
627 #define TEST_LT(_x, _y) TEST_OP(_x, _y, <) argument
628 #define TEST_GT(_x, _y) TEST_OP(_x, _y, >) argument