Lines Matching refs:whence
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()
606 } else if (whence != SEEK_SET && whence != SEEK_END) { in __fseeko64()
620 if (__sflush(fp) || __seek_unlocked(fp, offset, whence) == -1) { in __fseeko64()
633 int fseeko(FILE* fp, off_t offset, int whence) { in fseeko() argument
636 return __fseeko64(fp, offset, whence, 8*sizeof(off_t)); in fseeko()
640 int fseeko64(FILE* fp, off64_t offset, int whence) { in fseeko64() argument
642 return __fseeko64(fp, offset, whence, 8*sizeof(off64_t)); in fseeko64()