Lines Matching full:slices
55 std::vector<Slice> slices; in TEST_F() local
56 slices.emplace_back(kContent1); in TEST_F()
57 slices.emplace_back(kContent2); in TEST_F()
58 ByteBuffer buffer(&slices[0], 2); in TEST_F()
70 std::vector<Slice> slices; in TEST_F() local
71 slices.emplace_back(kContent1); in TEST_F()
72 slices.emplace_back(kContent2); in TEST_F()
73 ByteBuffer buffer(&slices[0], 2); in TEST_F()
92 std::vector<Slice> slices; in TEST_F() local
93 slices.push_back(Slice(hello, Slice::STEAL_REF)); in TEST_F()
94 slices.push_back(Slice(world, Slice::STEAL_REF)); in TEST_F()
95 ByteBuffer buffer(&slices[0], 2); in TEST_F()
96 slices.clear(); in TEST_F()
97 (void)buffer.Dump(&slices); in TEST_F()
98 EXPECT_TRUE(SliceEqual(slices[0], hello)); in TEST_F()
99 EXPECT_TRUE(SliceEqual(slices[1], world)); in TEST_F()
105 std::vector<Slice> slices; in TEST_F() local
106 slices.push_back(Slice(hello, Slice::STEAL_REF)); in TEST_F()
107 slices.push_back(Slice(world, Slice::STEAL_REF)); in TEST_F()
110 ByteBuffer buffer(&slices[0], 2); in TEST_F()
111 slices.clear(); in TEST_F()