Lines Matching refs:whence
536 fpos_t __sseek(void* cookie, fpos_t offset, int whence) { in __sseek() argument
538 return TEMP_FAILURE_RETRY(lseek(fp->_file, offset, whence)); in __sseek()
541 off64_t __sseek64(void* cookie, off64_t offset, int whence) { in __sseek64() argument
543 return TEMP_FAILURE_RETRY(lseek64(fp->_file, offset, whence)); in __sseek64()
551 static off64_t __seek_unlocked(FILE* fp, off64_t offset, int whence) { in __seek_unlocked() argument
554 return (*_EXT(fp)->_seek64)(fp->_cookie, offset, whence); in __seek_unlocked()
556 off64_t result = (*fp->_seek)(fp->_cookie, offset, whence); in __seek_unlocked()
592 int __fseeko64(FILE* fp, off64_t offset, int whence, int off_t_bits) { in __fseeko64() argument
597 if (whence == SEEK_CUR) { in __fseeko64()
603 whence = SEEK_SET; in __fseeko64()
604 } else if (whence != SEEK_SET && whence != SEEK_END) { in __fseeko64()
618 if (__sflush(fp) || __seek_unlocked(fp, offset, whence) == -1) { in __fseeko64()
631 int fseeko(FILE* fp, off_t offset, int whence) { in fseeko() argument
634 return __fseeko64(fp, offset, whence, 8*sizeof(off_t)); in fseeko()
638 int fseeko64(FILE* fp, off64_t offset, int whence) { in fseeko64() argument
640 return __fseeko64(fp, offset, whence, 8*sizeof(off64_t)); in fseeko64()