Searched refs:piece2 (Results 1 – 2 of 2) sorted by relevance
52 SpdyPinnableBufferPiece piece1, piece2; in TEST_F() local54 EXPECT_TRUE(reader.ReadN(2, &piece2)); in TEST_F()60 EXPECT_EQ(StringPiece("ar"), piece2); in TEST_F()61 EXPECT_FALSE(piece2.IsPinned()); in TEST_F()63 piece1.Swap(&piece2); in TEST_F()67 EXPECT_EQ(StringPiece("foob"), piece2); in TEST_F()68 EXPECT_TRUE(piece2.IsPinned()); in TEST_F()71 piece2.Swap(&empty); in TEST_F()73 EXPECT_EQ(StringPiece(""), piece2); in TEST_F()74 EXPECT_FALSE(piece2.IsPinned()); in TEST_F()
58 const base::StringPiece& piece2) { in EqualIgnoreCase()60 base::StringPiece::const_iterator p2i = piece2.begin(); in EqualIgnoreCase()61 if (piece1.empty() && piece2.empty()) { in EqualIgnoreCase()63 } else if (piece1.size() != piece2.size()) { in EqualIgnoreCase()66 while (p1i != piece1.end() && p2i != piece2.end()) { in EqualIgnoreCase()102 const base::StringPiece& piece2) const { in operator()103 return StringPieceUtils::EqualIgnoreCase(piece1, piece2); in operator()