Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 16 of 16) 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.cc55 off64_t FecFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
56 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;
120 off64_t Seek(off64_t offset, int whence) override;
Dmtd_file_descriptor.h44 off64_t Seek(off64_t offset, int whence) override;
80 off64_t Seek(off64_t offset, int whence) override;
Dmtd_file_descriptor.cc152 off64_t MtdFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
157 return EintrSafeFileDescriptor::Seek(offset, whence); in Seek()
229 off64_t UbiFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
234 return EintrSafeFileDescriptor::Seek(offset, whence); in Seek()
Dfile_descriptor.cc65 off64_t EintrSafeFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
67 return lseek64(fd_, offset, whence); in Seek()
Dfec_file_descriptor.h43 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.h28 static inline off64_t lseek64(int fd, off64_t offset, int whence) { in lseek64() argument
29 return lseek(fd, offset, whence); in lseek64()
/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/fs_mgr/liblp/
Dutility.cpp64 int64_t SeekFile64(int fd, int64_t offset, int whence) { in SeekFile64() argument
66 return lseek(fd, offset, whence); in SeekFile64()
Dutility.h60 int64_t SeekFile64(int fd, int64_t offset, int whence);
/system/core/libcutils/
Dashmem_test.cpp157 int whence; in TEST() member
168 auto off = lseek(fd, cfg.offset, cfg.whence); in TEST()
169 ASSERT_EQ(cfg.ret, off) << "lseek(" << cfg.offset << ", " << cfg.whence << ") failed" in TEST()
/system/extras/libfec/
Dfec_read.cpp404 int fec_seek(struct fec_handle *f, int64_t offset, int whence) in fec_seek() argument
408 if (whence == SEEK_SET) { in fec_seek()
415 } else if (whence == SEEK_CUR) { in fec_seek()
425 } else if (whence == SEEK_END) { in fec_seek()