Lines Matching refs:Seek
29 ASSERT_TRUE(stream->Seek(0)); in TestRead()
39 ASSERT_TRUE(stream->Seek(size)); in TestRead()
46 ASSERT_TRUE(stream->Seek(size - 1)); in TestRead()
50 ASSERT_TRUE(stream->Seek(size - 1)); in TestRead()
56 ASSERT_TRUE(stream->Seek(0)); in TestRead()
66 ASSERT_TRUE(stream->Seek(idx)); in TestRead()
80 ASSERT_TRUE(stream->Seek(start)); in TestRead()
93 ASSERT_TRUE(stream->Seek(size)); in TestWriteBoundary()
101 ASSERT_TRUE(stream->Seek(size - 1)); in TestWriteBoundary()
106 ASSERT_TRUE(stream->Seek(size - 1)); in TestWriteBoundary()
120 ASSERT_TRUE(write_stream->Seek(0)); in TestWrite()
122 ASSERT_TRUE(read_stream->Seek(0)); in TestWrite()
129 ASSERT_TRUE(write_stream->Seek(0)); in TestWrite()
134 ASSERT_TRUE(read_stream->Seek(0)); in TestWrite()
143 ASSERT_TRUE(stream->Seek(size)); in TestSeek()
146 ASSERT_TRUE(stream->Seek(10)); in TestSeek()
149 ASSERT_TRUE(stream->Seek(0)); in TestSeek()
153 ASSERT_EQ(stream->Seek(size + 1), seek_end_is_fine); in TestSeek()
222 ASSERT_TRUE(write_stream->Seek(0)); in TEST_F()
230 ASSERT_TRUE(write_stream->Seek(0)); in TEST_F()
237 ASSERT_TRUE(write_stream->Seek(0)); in TEST_F()
271 ASSERT_TRUE(write_stream->Seek(0)); in TEST_F()