Lines Matching defs:bytes_read
99 size_t bytes_read;
100 EXPECT_FALSE(file.Read(nullptr, 1, &bytes_read));
126 size_t bytes_read = 0;
127 EXPECT_TRUE(file.Read(buf, 100, &bytes_read));
128 EXPECT_EQ(15U, bytes_read);
148 size_t bytes_read = 0;
149 EXPECT_TRUE(file.Read(buf, 2, &bytes_read));
150 EXPECT_EQ(2U, bytes_read);
151 EXPECT_TRUE(file.Read(buf, 8, &bytes_read));
152 EXPECT_EQ(8U, bytes_read);
153 EXPECT_TRUE(file.Read(buf, 100, &bytes_read));
154 EXPECT_EQ(5U, bytes_read);
168 size_t bytes_read = 0;
169 EXPECT_TRUE(file.Read(buf, 2, &bytes_read));
170 EXPECT_EQ(2U, bytes_read);
182 size_t bytes_read = 0;
183 EXPECT_TRUE(file.Read(nullptr, 100, &bytes_read));
184 EXPECT_EQ(1U, bytes_read);
191 size_t bytes_read;
192 EXPECT_FALSE(file.Read(nullptr, 1, &bytes_read));
206 size_t bytes_read = 0;
207 EXPECT_TRUE(file.Read(buf, 100, &bytes_read));
208 EXPECT_EQ(4U, bytes_read);