Home
last modified time | relevance | path

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

/system/core/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/update_engine/payload_consumer/
Dfile_descriptor.h79 virtual off64_t Seek(off64_t offset, int whence) = 0;
121 off64_t Seek(off64_t offset, int whence) override;
Dmtd_file_descriptor.cc154 off64_t MtdFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
159 return EintrSafeFileDescriptor::Seek(offset, whence); in Seek()
231 off64_t UbiFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
236 return EintrSafeFileDescriptor::Seek(offset, whence); in Seek()
Dmtd_file_descriptor.h42 off64_t Seek(off64_t offset, int whence) override;
77 off64_t Seek(off64_t offset, int whence) override;
Dfile_descriptor.cc63 off64_t EintrSafeFileDescriptor::Seek(off64_t offset, int whence) { in Seek() argument
65 return lseek64(fd_, offset, whence); in Seek()
/system/extras/libfec/include/fec/
Dio.h104 extern int fec_seek(struct fec_handle *f, int64_t offset, int whence);
149 bool seek(int64_t offset, int whence) { in seek() argument
150 return !fec_seek(handle_.get(), offset, whence); in seek()
/system/core/libcutils/
Dopen_memstream.c162 static fpos_t seek_memstream(void* cookie, fpos_t offset, int whence) in seek_memstream() argument
167 if (whence == SEEK_CUR) { in seek_memstream()
169 } else if (whence == SEEK_END) { in seek_memstream()
/system/extras/libfec/
Dfec_read.cpp402 int fec_seek(struct fec_handle *f, int64_t offset, int whence) in fec_seek() argument
406 if (whence == SEEK_SET) { in fec_seek()
413 } else if (whence == SEEK_CUR) { in fec_seek()
423 } else if (whence == SEEK_END) { in fec_seek()