Lines Matching refs:ReadByte
26 int ReadByte(Stream* stream, brillo::ErrorPtr* error) { in ReadByte() function
209 EXPECT_EQ(5, ReadByte(stream.get(), nullptr)); in TEST()
210 EXPECT_EQ(2, ReadByte(stream.get(), nullptr)); in TEST()
211 EXPECT_EQ(3, ReadByte(stream.get(), nullptr)); in TEST()
213 EXPECT_EQ(-1, ReadByte(stream.get(), &error)); in TEST()
223 EXPECT_EQ(1, ReadByte(stream.get(), nullptr)); in TEST()
224 EXPECT_EQ(2, ReadByte(stream.get(), nullptr)); in TEST()
225 EXPECT_EQ(3, ReadByte(stream.get(), nullptr)); in TEST()
227 EXPECT_EQ(-1, ReadByte(stream.get(), &error)); in TEST()
237 EXPECT_EQ('A', ReadByte(stream.get(), nullptr)); in TEST()
238 EXPECT_EQ('b', ReadByte(stream.get(), nullptr)); in TEST()
239 EXPECT_EQ('c', ReadByte(stream.get(), nullptr)); in TEST()
240 EXPECT_EQ('d', ReadByte(stream.get(), nullptr)); in TEST()
241 EXPECT_EQ(-1, ReadByte(stream.get(), nullptr)); in TEST()
249 EXPECT_EQ('a', ReadByte(stream.get(), nullptr)); in TEST()
250 EXPECT_EQ('b', ReadByte(stream.get(), nullptr)); in TEST()
251 EXPECT_EQ('c', ReadByte(stream.get(), nullptr)); in TEST()
252 EXPECT_EQ('d', ReadByte(stream.get(), nullptr)); in TEST()
253 EXPECT_EQ(-1, ReadByte(stream.get(), nullptr)); in TEST()
261 EXPECT_EQ('A', ReadByte(stream.get(), nullptr)); in TEST()
262 EXPECT_EQ('b', ReadByte(stream.get(), nullptr)); in TEST()
263 EXPECT_EQ('c', ReadByte(stream.get(), nullptr)); in TEST()
264 EXPECT_EQ('d', ReadByte(stream.get(), nullptr)); in TEST()
265 EXPECT_EQ(-1, ReadByte(stream.get(), nullptr)); in TEST()
273 EXPECT_EQ('a', ReadByte(stream.get(), nullptr)); in TEST()
274 EXPECT_EQ('b', ReadByte(stream.get(), nullptr)); in TEST()
275 EXPECT_EQ('c', ReadByte(stream.get(), nullptr)); in TEST()
276 EXPECT_EQ('d', ReadByte(stream.get(), nullptr)); in TEST()
277 EXPECT_EQ(-1, ReadByte(stream.get(), nullptr)); in TEST()
287 EXPECT_EQ('A', ReadByte(stream.get(), nullptr)); in TEST()
288 EXPECT_EQ('b', ReadByte(stream.get(), nullptr)); in TEST()
289 EXPECT_EQ('c', ReadByte(stream.get(), nullptr)); in TEST()
290 EXPECT_EQ('d', ReadByte(stream.get(), nullptr)); in TEST()
303 EXPECT_EQ('a', ReadByte(stream.get(), nullptr)); in TEST()
304 EXPECT_EQ('b', ReadByte(stream.get(), nullptr)); in TEST()
305 EXPECT_EQ('c', ReadByte(stream.get(), nullptr)); in TEST()
306 EXPECT_EQ('d', ReadByte(stream.get(), nullptr)); in TEST()