Searched refs:whence (Results 1 – 6 of 6) sorted by relevance
/bionic/libc/stdio/ |
D | fmemopen.cpp | 92 static fpos_t fmemopen_seek(void* cookie, fpos_t offset, int whence) { in fmemopen_seek() argument 95 if (whence == SEEK_SET && (offset >= 0 && static_cast<size_t>(offset) <= ck->capacity)) { in fmemopen_seek() 97 } else if (whence == SEEK_CUR && (ck->offset + offset <= ck->capacity)) { in fmemopen_seek() 99 } else if (whence == SEEK_END && (offset <= 0 && static_cast<size_t>(-offset) <= ck->size)) { in fmemopen_seek()
|
D | stdio.cpp | 538 fpos_t __sseek(void* cookie, fpos_t offset, int whence) { in __sseek() argument 540 return TEMP_FAILURE_RETRY(lseek(fp->_file, offset, whence)); in __sseek() 543 off64_t __sseek64(void* cookie, off64_t offset, int whence) { in __sseek64() argument 545 return TEMP_FAILURE_RETRY(lseek64(fp->_file, offset, whence)); in __sseek64() 553 static off64_t __seek_unlocked(FILE* fp, off64_t offset, int whence) { in __seek_unlocked() argument 556 return (*_EXT(fp)->_seek64)(fp->_cookie, offset, whence); in __seek_unlocked() 558 off64_t result = (*fp->_seek)(fp->_cookie, offset, whence); in __seek_unlocked() 594 int __fseeko64(FILE* fp, off64_t offset, int whence, int off_t_bits) { in __fseeko64() argument 599 if (whence == SEEK_CUR) { in __fseeko64() 605 whence = SEEK_SET; in __fseeko64() [all …]
|
/bionic/libc/bionic/ |
D | legacy_32_bit_support.cpp | 53 off64_t lseek64(int fd, off64_t off, int whence) { in lseek64() argument 57 if (__llseek(fd, off_hi, off_lo, &result, whence) < 0) { in lseek64()
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | open_memstream.c | 76 memstream_seek(void *v, fpos_t off, int whence) in memstream_seek() argument 81 switch (whence) { in memstream_seek()
|
D | open_wmemstream.c | 80 wmemstream_seek(void *v, fpos_t off, int whence) in wmemstream_seek() argument 85 switch (whence) { in wmemstream_seek()
|
/bionic/libc/kernel/uapi/linux/ |
D | fuse.h | 502 uint32_t whence; member
|