Searched refs:FROM_BEGIN (Results 1 – 14 of 14) sorted by relevance
/external/libbrillo/brillo/streams/ |
D | stream_utils_test.cc | 109 FROM_HERE, 0, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr)); in TEST() 121 FROM_HERE, 10, Whence::FROM_BEGIN, current_pos, end_pos, &pos, nullptr)); in TEST() 144 FROM_HERE, -1, Whence::FROM_BEGIN, current_pos, end_pos, &pos, &error)); in TEST()
|
D | file_stream_test.cc | 81 EXPECT_TRUE(stream->Seek(0, Stream::Whence::FROM_BEGIN, &pos, nullptr)); in TestCreateFile() 97 EXPECT_TRUE(stream->Seek(10, Stream::Whence::FROM_BEGIN, &pos, nullptr)); in TestCreateFile() 329 EXPECT_TRUE(stream_->Seek(0, Stream::Whence::FROM_BEGIN, &pos, nullptr)); in TEST_F() 333 EXPECT_TRUE(stream_->Seek(123456, Stream::Whence::FROM_BEGIN, &pos, nullptr)); in TEST_F() 338 EXPECT_TRUE(stream_->Seek(kMaxSize, Stream::Whence::FROM_BEGIN, &pos, in TEST_F() 341 EXPECT_TRUE(stream_->Seek(kMaxSize, Stream::Whence::FROM_BEGIN, nullptr, in TEST_F() 381 EXPECT_FALSE(stream_->Seek(0, Stream::Whence::FROM_BEGIN, nullptr, &error)); in TEST_F()
|
D | stream.h | 87 enum class Whence { FROM_BEGIN, FROM_CURRENT, FROM_END }; enumerator
|
D | stream_utils.cc | 164 case Stream::Whence::FROM_BEGIN: in CalculateStreamPosition()
|
D | input_stream_set_test.cc | 55 EXPECT_FALSE(stream_->Seek(0, Stream::Whence::FROM_BEGIN, nullptr, nullptr)); in TEST_F()
|
D | stream.cc | 24 return Seek(position, Whence::FROM_BEGIN, nullptr, error); in SetPosition()
|
D | file_stream.cc | 407 case Whence::FROM_BEGIN: in Seek()
|
D | memory_stream_test.cc | 133 EXPECT_TRUE(stream_->Seek(2, Stream::Whence::FROM_BEGIN, &new_pos, &error)); in TEST_F()
|
D | stream_test.cc | 101 EXPECT_CALL(stream_mock, Seek(12345, Whence::FROM_BEGIN, _, _)) in TEST()
|
/external/libchrome/base/files/ |
D | file.h | 112 FROM_BEGIN = 0, enumerator
|
D | file_posix.cc | 27 static_assert(File::FROM_BEGIN == SEEK_SET && File::FROM_CURRENT == SEEK_CUR &&
|
D | file_unittest.cc | 448 EXPECT_EQ(0, file.Seek(base::File::FROM_BEGIN, 0)); 493 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_BEGIN, kOffset));
|
/external/zlib/google/ |
D | zip_reader.cc | 459 return file_->Seek(base::File::FROM_BEGIN, 0) >= 0; in PrepareOutput()
|
/external/angle/third_party/zlib/google/ |
D | zip_reader.cc | 459 return file_->Seek(base::File::FROM_BEGIN, 0) >= 0; in PrepareOutput()
|