/system/update_engine/payload_consumer/ |
H A D | cached_file_descriptor.cc | 29 off64_t CachedFileDescriptor::Seek(off64_t offset, int whence) { argument 33 CHECK(whence == SEEK_SET || whence == SEEK_CUR); 34 off64_t next_offset = whence == SEEK_SET ? offset : offset_ + offset;
|
H A D | fake_file_descriptor.cc | 55 off64_t FakeFileDescriptor::Seek(off64_t offset, int whence) { argument 56 switch (whence) {
|
H A D | file_descriptor.h | 73 virtual off64_t Seek(off64_t offset, int whence) = 0; 120 off64_t Seek(off64_t offset, int whence) override;
|
H A D | mtd_file_descriptor.h | 42 off64_t Seek(off64_t offset, int whence) override; 78 off64_t Seek(off64_t offset, int whence) override;
|
H A D | file_descriptor.cc | 65 off64_t EintrSafeFileDescriptor::Seek(off64_t offset, int whence) { argument 67 return lseek64(fd_, offset, whence);
|
H A D | cached_file_descriptor.h | 49 off64_t Seek(off64_t offset, int whence) override;
|
H A D | fake_file_descriptor.h | 59 off64_t Seek(off64_t offset, int whence) override;
|
H A D | mtd_file_descriptor.cc | 154 off64_t MtdFileDescriptor::Seek(off64_t offset, int whence) { argument 159 return EintrSafeFileDescriptor::Seek(offset, whence); 231 off64_t UbiFileDescriptor::Seek(off64_t offset, int whence) { argument 236 return EintrSafeFileDescriptor::Seek(offset, whence);
|
/system/core/include/utils/ |
H A D | Compat.h | 28 static inline off64_t lseek64(int fd, off64_t offset, int whence) { argument 29 return lseek(fd, offset, whence);
|
/system/core/libutils/include/utils/ |
H A D | Compat.h | 28 static inline off64_t lseek64(int fd, off64_t offset, int whence) { argument 29 return lseek(fd, offset, whence);
|
/system/extras/libfec/include/fec/ |
H A D | io.h | 105 extern int fec_seek(struct fec_handle *f, int64_t offset, int whence); 150 bool seek(int64_t offset, int whence) { argument 151 return !fec_seek(handle_.get(), offset, whence);
|
/system/core/libcutils/ |
H A D | open_memstream.c | 162 static fpos_t seek_memstream(void* cookie, fpos_t offset, int whence) argument 167 if (whence == SEEK_CUR) { 169 } else if (whence == SEEK_END) {
|
/system/core/libcutils/tests/ |
H A D | AshmemTest.cpp | 157 int whence; member in struct:__anon1673 168 auto off = lseek(fd, cfg.offset, cfg.whence); 169 ASSERT_EQ(cfg.ret, off) << "lseek(" << cfg.offset << ", " << cfg.whence << ") failed"
|
/system/extras/libfec/ |
H A D | fec_read.cpp | 403 /* sets the internal file position to `offset' relative to `whence' */ 404 int fec_seek(struct fec_handle *f, int64_t offset, int whence) argument 408 if (whence == SEEK_SET) { 415 } else if (whence == SEEK_CUR) { 425 } else if (whence == SEEK_END) {
|