Lines Matching defs:bytes_read
47 int* bytes_read) {
56 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, bytes_read));
70 int bytes_read = 0;
73 EXPECT_TRUE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read));
74 EXPECT_EQ(0, bytes_read);
79 int bytes_read = 0;
80 DoReadCountedStreamTest(bytes_requested * 2, bytes_requested, &bytes_read);
81 EXPECT_EQ(bytes_requested, bytes_read);
86 int bytes_read = 0;
87 DoReadCountedStreamTest(bytes_requested, bytes_requested, &bytes_read);
88 EXPECT_EQ(bytes_requested, bytes_read);
93 int bytes_read = 0;
94 DoReadCountedStreamTest(buffer_size, buffer_size * 2, &bytes_read);
95 EXPECT_EQ(buffer_size, bytes_read);
100 int bytes_read = 0;
102 DoReadCountedStreamTest(bytes_requested, bytes_requested, &bytes_read);
103 EXPECT_EQ(bytes_requested, bytes_read);
111 int bytes_read = 0;
112 DoReadCountedStreamTest(bytes_requested + 32, bytes_requested, &bytes_read);
113 EXPECT_EQ(bytes_requested, bytes_read);
118 int bytes_read = 0;
119 DoReadCountedStreamTest(bytes_requested, bytes_requested, &bytes_read);
120 EXPECT_EQ(bytes_requested, bytes_read);
138 int bytes_read = 0;
140 EXPECT_FALSE(input_stream->Read(buffer.get(), bytes_requested, &bytes_read));
141 EXPECT_EQ(0, bytes_read);