Home | History | Annotate | Download | only in base

Lines Matching refs:res

28 // This returns the result of the test in res, so that we don't re-evaluate
31 #define WAIT_(ex, timeout, res) \
34 res = (ex); \
35 while (!res && rtc::Time() < start + timeout) { \
37 res = (ex); \
44 bool res; \
45 WAIT_(ex, timeout, res); \
46 if (!res) EXPECT_TRUE(ex); \
51 bool res; \
52 WAIT_(v1 == v2, timeout, res); \
53 if (!res) EXPECT_EQ(v1, v2); \
58 bool res; \
59 WAIT_(ex, timeout, res); \
60 if (!res) ASSERT_TRUE(ex); \
65 bool res; \
66 WAIT_(v1 == v2, timeout, res); \
67 if (!res) ASSERT_EQ(v1, v2); \
75 bool res; \
76 WAIT_(ex, timeout, res); \
77 if (res) { \
82 WAIT_(ex, margin, res); \
83 if (!res) { \