Home
last modified time | relevance | path

Searched refs:FROM_BEGIN (Results 1 – 14 of 14) sorted by relevance

/external/libbrillo/brillo/streams/
Dstream_utils_test.cc109 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()
Dfile_stream_test.cc81 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()
Dstream.h87 enum class Whence { FROM_BEGIN, FROM_CURRENT, FROM_END }; enumerator
Dstream_utils.cc164 case Stream::Whence::FROM_BEGIN: in CalculateStreamPosition()
Dinput_stream_set_test.cc55 EXPECT_FALSE(stream_->Seek(0, Stream::Whence::FROM_BEGIN, nullptr, nullptr)); in TEST_F()
Dstream.cc24 return Seek(position, Whence::FROM_BEGIN, nullptr, error); in SetPosition()
Dfile_stream.cc407 case Whence::FROM_BEGIN: in Seek()
Dmemory_stream_test.cc133 EXPECT_TRUE(stream_->Seek(2, Stream::Whence::FROM_BEGIN, &new_pos, &error)); in TEST_F()
Dstream_test.cc101 EXPECT_CALL(stream_mock, Seek(12345, Whence::FROM_BEGIN, _, _)) in TEST()
/external/libchrome/base/files/
Dfile.h112 FROM_BEGIN = 0, enumerator
Dfile_posix.cc27 static_assert(File::FROM_BEGIN == SEEK_SET && File::FROM_CURRENT == SEEK_CUR &&
Dfile_unittest.cc448 EXPECT_EQ(0, file.Seek(base::File::FROM_BEGIN, 0));
493 EXPECT_EQ(kOffset, file.Seek(base::File::FROM_BEGIN, kOffset));
/external/zlib/google/
Dzip_reader.cc459 return file_->Seek(base::File::FROM_BEGIN, 0) >= 0; in PrepareOutput()
/external/angle/third_party/zlib/google/
Dzip_reader.cc459 return file_->Seek(base::File::FROM_BEGIN, 0) >= 0; in PrepareOutput()