Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 18 of 18) sorted by relevance

/system/update_engine/payload_consumer/
Dcached_file_descriptor.cc29 off64_t CachedFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
33 CHECK(whence == SEEK_SET || whence == SEEK_CUR); in Seek()
34 off64_t next_offset = whence == SEEK_SET ? offset : offset_ + offset; in Seek()
Dfec_file_descriptor.cc57 off64_t FecFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
58 if (fh_.seek(offset, whence)) { in Seek()
Dfake_file_descriptor.cc55 off64_t FakeFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
56 switch (whence) { in Seek()
Dfile_descriptor.h73 virtual off64_t Seek(off64_t offset, int whence) = 0;
121 off64_t Seek(off64_t offset, int whence) override;
Dcow_writer_file_descriptor.cc95 off64_t CowWriterFileDescriptor::Seek(const off64_t offset, int whence) { in Seek() argument
96 return cow_reader_->Seek(offset, whence); in Seek()
Dfile_descriptor.cc72 off64_t EintrSafeFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
74 return lseek64(fd_, offset, whence); in Seek()
Dfec_file_descriptor.h43 off64_t Seek(off64_t offset, int whence) override;
Dcow_writer_file_descriptor.h44 off64_t Seek(off64_t offset, int whence) override;
Dcached_file_descriptor.h49 off64_t Seek(off64_t offset, int whence) override;
Dfake_file_descriptor.h61 off64_t Seek(off64_t offset, int whence) override;
/system/core/libutils/include/utils/
DCompat.h36 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64() argument
37 return lseek(fd, offset, whence); in lseek64()
/system/core/fs_mgr/libsnapshot/
Dsnapshot_reader.cpp55 off64_t ReadFdFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
56 return lseek(fd_.get(), offset, whence); in Seek()
290 off64_t CompressedSnapshotReader::Seek(off64_t offset, int whence) { in Seek() argument
291 switch (whence) { in Seek()
302 LOG(ERROR) << "Unrecognized seek whence: " << whence; in Seek()
Dsnapshot_reader.h42 off64_t Seek(off64_t offset, int whence) override;
60 off64_t Seek(off64_t offset, int whence) override;
/system/extras/libfec/include/fec/
Dio.h105 extern int fec_seek(struct fec_handle *f, int64_t offset, int whence);
150 bool seek(int64_t offset, int whence) { in seek() argument
151 return !fec_seek(handle_.get(), offset, whence); in seek()
/system/core/libcutils/
Dashmem_test.cpp162 int whence; in TEST() member
173 auto off = lseek(fd, cfg.offset, cfg.whence); in TEST()
174 ASSERT_EQ(cfg.ret, off) << "lseek(" << cfg.offset << ", " << cfg.whence << ") failed" in TEST()
/system/extras/libfec/
Dfec_read.cpp403 int fec_seek(struct fec_handle *f, int64_t offset, int whence) in fec_seek() argument
407 if (whence == SEEK_SET) { in fec_seek()
414 } else if (whence == SEEK_CUR) { in fec_seek()
424 } else if (whence == SEEK_END) { in fec_seek()
/system/core/fs_mgr/liblp/
Dutility.h64 int64_t SeekFile64(int fd, int64_t offset, int whence);
Dutility.cpp70 int64_t SeekFile64(int fd, int64_t offset, int whence) { in SeekFile64() argument
72 return lseek(fd, offset, whence); in SeekFile64()