Searched refs:ReadPiece (Results 1 – 6 of 6) sorted by relevance
38 EXPECT_TRUE(reader.ReadPiece(&piece, 2)); in TEST()60 EXPECT_FALSE(reader.ReadPiece(&piece, 4)); in TEST()
62 bool ReadPiece(base::StringPiece* out, size_t len);
29 bool BigEndianReader::ReadPiece(base::StringPiece* out, size_t len) { in ReadPiece() function in base::BigEndianReader
94 if (!reader.ReadPiece(&tmp, type_and_size & 0x3ff)) in ParsePacket()
31 if (!reader->ReadPiece(&tmp, header.length_in_octets - 4)) in Parse()
123 reader.ReadPiece(&out->rdata, rdlen)) { in ReadRecord()