Lines Matching refs:kOffset
209 const int64 kOffset = 3;
210 int64 new_offset = stream.Seek(FROM_BEGIN, kOffset);
211 EXPECT_EQ(kOffset, new_offset);
214 EXPECT_EQ(file_size - kOffset, total_bytes_avail);
228 EXPECT_EQ(file_size - kOffset, total_bytes_read);
229 EXPECT_TRUE(data_read == kTestData + kOffset);
230 EXPECT_EQ(kTestData + kOffset, data_read);
245 const int64 kOffset = 3;
246 int64 new_offset = stream.Seek(FROM_BEGIN, kOffset);
247 EXPECT_EQ(kOffset, new_offset);
250 EXPECT_EQ(file_size - kOffset, total_bytes_avail);
268 EXPECT_EQ(file_size - kOffset, total_bytes_read);
269 EXPECT_EQ(kTestData + kOffset, data_read);
279 const int64 kOffset = 3;
280 int64 new_offset = stream.Seek(FROM_BEGIN, kOffset);
281 EXPECT_EQ(kOffset, new_offset);
283 new_offset = stream.Seek(FROM_CURRENT, kOffset);
284 EXPECT_EQ(2 * kOffset, new_offset);
286 new_offset = stream.Seek(FROM_CURRENT, -kOffset);
287 EXPECT_EQ(kOffset, new_offset);
392 const int64 kOffset = 0;
393 int64 new_offset = stream.Seek(FROM_END, kOffset);
417 const int64 kOffset = 0;
418 int64 new_offset = stream.Seek(FROM_END, kOffset);