Lines Matching refs:queue1
21 BufferQueue queue1(1, kSize); in TEST() local
25 EXPECT_EQ(0u, queue1.size()); in TEST()
26 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes)); in TEST()
29 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes)); in TEST()
31 EXPECT_EQ(1u, queue1.size()); in TEST()
34 EXPECT_FALSE(queue1.WriteBack(in, kSize, &bytes)); in TEST()
35 EXPECT_EQ(1u, queue1.size()); in TEST()
38 EXPECT_TRUE(queue1.ReadFront(out, kSize, &bytes)); in TEST()
43 EXPECT_FALSE(queue1.ReadFront(out, kSize, &bytes)); in TEST()
44 EXPECT_EQ(0u, queue1.size()); in TEST()
47 EXPECT_TRUE(queue1.WriteBack(in, kSize, &bytes)); in TEST()
49 EXPECT_EQ(1u, queue1.size()); in TEST()
50 EXPECT_TRUE(queue1.ReadFront(out, kSize * 2, &bytes)); in TEST()
53 EXPECT_EQ(0u, queue1.size()); in TEST()