Lines Matching refs:r
126 bool r = mInvokedNotify.wait_for(lock, duration, [this] { return this->mInvoked; }); in waitInvoke() local
128 return r; in waitInvoke()
136 #define ASSERT_OK(r) ASSERT_TRUE(isOk(r)) argument
137 #define EXPECT_OK(r) EXPECT_TRUE(isOk(r)) argument
139 AssertionResult isOk(const Return<T>& r) { in isOk() argument
140 return r.isOk() ? AssertionSuccess() : (AssertionFailure() << r.description()); in isOk()
143 #define ASSERT_ALL_OK(r) ASSERT_TRUE(isAllOk(r)) argument
145 AssertionResult isAllOk(const Return<Result>& r) { in isAllOk() argument
146 if (!r.isOk()) { in isAllOk()
147 return AssertionFailure() << r.description(); in isAllOk()
149 if (static_cast<Result>(r) != Result::SUCCESS) { in isAllOk()
150 return AssertionFailure() << toString(static_cast<Result>(r)); in isAllOk()