Lines Matching defs:reader_
24 reader_ = new PacketReader();
27 delete reader_;
38 PacketReader* reader_;
44 EXPECT_EQ(-1, reader_->NextPacket(&data_pointer));
49 reader_->InitializeReading(packet_data_, 0, kPacketSizeInBytes);
50 ASSERT_EQ(0, reader_->NextPacket(&packet_data_pointer_));
60 reader_->InitializeReading(data, kDataLengthInBytes, kPacketSizeInBytes);
61 int length_to_read = reader_->NextPacket(&data_pointer);
66 length_to_read = reader_->NextPacket(&data_pointer);
77 reader_->InitializeReading(data, kPacketSizeInBytes, kPacketSizeInBytes);
78 int length_to_read = reader_->NextPacket(&data_pointer);
83 length_to_read = reader_->NextPacket(&data_pointer);
90 reader_->InitializeReading(packet_data_, kPacketDataLength,
93 int length_to_read = reader_->NextPacket(&packet_data_pointer_);
97 length_to_read = reader_->NextPacket(&packet_data_pointer_);
101 length_to_read = reader_->NextPacket(&packet_data_pointer_);
106 length_to_read = reader_->NextPacket(&packet_data_pointer_);
117 reader_->InitializeReading(data, kDataLengthInBytes, kPacketSizeInBytes);
118 EXPECT_EQ(kDataLengthInBytes, reader_->NextPacket(&data_pointer));
120 EXPECT_EQ(kDataLengthInBytes, reader_->NextPacket(&data_pointer));