Lines Matching refs:Seek
28 MOCK_METHOD1(Seek, bool(off_t));
94 EXPECT_CALL(*mock_file_, Seek(offset_pair.second)).WillOnce(Return(true)); in TEST_F()
97 EXPECT_TRUE(file.Seek(offset_pair.first)); in TEST_F()
103 EXPECT_TRUE(file.Seek(12)); in TEST_F()
104 EXPECT_FALSE(file.Seek(13)); in TEST_F()
106 EXPECT_FALSE(file.Seek(-1)); in TEST_F()
115 EXPECT_CALL(*mock_file_, Seek(10)).WillOnce(Return(true)); in TEST_F()
117 EXPECT_CALL(*mock_file_, Seek(20)).WillOnce(Return(true)); in TEST_F()
119 EXPECT_CALL(*mock_file_, Seek(27)).WillOnce(Return(true)); in TEST_F()
136 EXPECT_CALL(*mock_file_, Seek(10)).WillOnce(Return(true)); in TEST_F()
138 EXPECT_CALL(*mock_file_, Seek(12)).WillOnce(Return(true)); in TEST_F()
140 EXPECT_CALL(*mock_file_, Seek(20)).WillOnce(Return(true)); in TEST_F()
142 EXPECT_CALL(*mock_file_, Seek(25)).WillOnce(Return(true)); in TEST_F()
144 EXPECT_CALL(*mock_file_, Seek(27)).WillOnce(Return(true)); in TEST_F()
161 EXPECT_CALL(*mock_file_, Seek(10)).WillOnce(Return(true)); in TEST_F()
163 EXPECT_CALL(*mock_file_, Seek(20)).WillOnce(Return(true)); in TEST_F()
174 EXPECT_CALL(*mock_file_, Seek(_)) in TEST_F()
188 EXPECT_CALL(*mock_file_, Seek(10)).WillOnce(Return(true)); in TEST_F()
196 EXPECT_CALL(*mock_file_, Seek(_)) in TEST_F()