Lines Matching refs:s1
35 Slice s1 = makeSlice(mRaw); in TEST_F() local
37 auto p = split(s1, 14); in TEST_F()
43 EXPECT_EQ(s1.base(), take(s1, kBytes).base()); in TEST_F()
44 EXPECT_EQ(kBytes, take(s1, kBytes).size()); in TEST_F()
45 EXPECT_EQ(s1.base() + kBytes, drop(s1, kBytes).base()); in TEST_F()
46 EXPECT_EQ(s1.size() - kBytes, drop(s1, kBytes).size()); in TEST_F()
50 EXPECT_EQ(sizeof(a), extract(s1, a)); in TEST_F()
51 EXPECT_EQ(sizeof(a) + sizeof(b), extract(s1, a, b)); in TEST_F()
52 EXPECT_EQ(sizeof(a) + sizeof(b) + sizeof(c), extract(s1, a, b, c)); in TEST_F()
57 Slice s1 = makeSlice(mRaw); in TEST_F() local
58 Slice s2(s1); in TEST_F()
71 EXPECT_EQ(reinterpret_cast<uint8_t*>(mRaw.data()), s1.base()); in TEST_F()
72 EXPECT_EQ(reinterpret_cast<uint8_t*>(mRaw.data()) + mRaw.size(), s1.limit()); in TEST_F()
73 EXPECT_EQ(mRaw.size(), s1.size()); in TEST_F()