Lines Matching refs:fence
86 LocalHandle fence; in TEST_F() local
87 EXPECT_EQ(0, c1->Acquire(&fence)); in TEST_F()
91 EXPECT_EQ(0, c2->Acquire(&fence)); in TEST_F()
100 EXPECT_EQ(0, p->Gain(&fence)); in TEST_F()
215 LocalHandle fence; in TEST_F() local
219 EXPECT_EQ(-EBUSY, c->Acquire(&fence)); in TEST_F()
226 EXPECT_EQ(-EBUSY, p->Gain(&fence)); in TEST_F()
229 EXPECT_EQ(0, c->Acquire(&fence)); in TEST_F()
232 EXPECT_EQ(-EBUSY, c->Acquire(&fence)); in TEST_F()
234 EXPECT_EQ(-EBUSY, p->Gain(&fence)); in TEST_F()
241 EXPECT_EQ(-EBUSY, c->Acquire(&fence)); in TEST_F()
245 EXPECT_EQ(0, p->Gain(&fence)); in TEST_F()
248 EXPECT_EQ(-EBUSY, c->Acquire(&fence)); in TEST_F()
521 LocalHandle fence; in TEST_F() local
523 EXPECT_EQ(0, c->Acquire(&fence, &m2, sizeof(m2))); in TEST_F()
580 LocalHandle fence; in TEST_F() local
586 EXPECT_NE(0, c->Acquire(&fence, &e, sizeof(e))); in TEST_F()
590 EXPECT_EQ(0, c->Acquire(&fence, &sequence, sizeof(sequence))); in TEST_F()
606 LocalHandle fence; in TEST_F() local
607 EXPECT_EQ(0, c->Acquire(&fence)); in TEST_F()
619 LocalHandle fence; in TEST_F() local
622 EXPECT_EQ(0, c->Acquire(&fence)); in TEST_F()
722 LocalHandle fence; in TEST_F() local
724 EXPECT_EQ(0, c1->AcquireAsync(&meta, &fence)); in TEST_F()
739 EXPECT_EQ(-EBUSY, c2->AcquireAsync(&meta, &fence)); in TEST_F()
742 EXPECT_EQ(0, p->GainAsync(&meta, &fence, false)); in TEST_F()