/toolchain/binutils/binutils-2.27/bfd/ |
sysdep.h | 163 extern int fseeko (FILE *stream, off_t offset, int whence); 169 extern int fseeko64 (FILE *stream, off64_t offset, int whence);
|
/toolchain/binutils/binutils-2.27/zlib/ |
gzlib.c | 362 z_off64_t ZEXPORT gzseek64(file, offset, whence) 365 int whence; 383 if (whence != SEEK_SET && whence != SEEK_CUR) 387 if (whence == SEEK_SET) 439 z_off_t ZEXPORT gzseek(file, offset, whence) 442 int whence; 446 ret = gzseek64(file, (z_off64_t)offset, whence);
|
/external/python/cpython3/Modules/_io/ |
fileio.c | 109 portable_lseek(int fd, PyObject *posobj, int whence); 111 static PyObject *portable_lseek(int fd, PyObject *posobj, int whence); 875 portable_lseek(int fd, PyObject *posobj, int whence) 881 switch (whence) { 883 case 0: whence = SEEK_SET; break; 886 case 1: whence = SEEK_CUR; break; 889 case 2: whence = SEEK_END; break; 913 res = _lseeki64(fd, pos, whence); 915 res = lseek(fd, pos, whence); 932 whence: int = [all...] |
stringio.c | 515 whence: int = 0 520 Seek to character offset pos relative to position indicated by whence: 528 _io_StringIO_seek_impl(stringio *self, Py_ssize_t pos, int whence) 534 if (whence != 0 && whence != 1 && whence != 2) { 536 "Invalid whence (%i, should be 0, 1 or 2)", whence); 539 else if (pos < 0 && whence == 0) { 544 else if (whence != 0 && pos != 0) [all...] |
/bionic/libc/stdio/ |
stdio.cpp | 483 fpos_t __sseek(void* cookie, fpos_t offset, int whence) { 485 return TEMP_FAILURE_RETRY(lseek(fp->_file, offset, whence)); 488 off64_t __sseek64(void* cookie, off64_t offset, int whence) { 490 return TEMP_FAILURE_RETRY(lseek64(fp->_file, offset, whence)); 498 static off64_t __seek_unlocked(FILE* fp, off64_t offset, int whence) { 501 return (*_EXT(fp)->_seek64)(fp->_cookie, offset, whence); 503 off64_t result = (*fp->_seek)(fp->_cookie, offset, whence); 539 int __fseeko64(FILE* fp, off64_t offset, int whence, int off_t_bits) { 542 // Change any SEEK_CUR to SEEK_SET, and check `whence` argument. 543 // After this, whence is either SEEK_SET or SEEK_END [all...] |
/art/compiler/linker/ |
vector_output_stream.h | 49 off_t Seek(off_t offset, Whence whence) OVERRIDE;
|
/external/compiler-rt/test/msan/Linux/ |
fopencookie.cc | 28 static int cookie_seek(void *cookie, off64_t *offset, int whence) {
|
/external/python/cpython3/Modules/_io/clinic/ |
bytesio.c.h | 329 "seek($self, pos, whence=0, /)\n" 334 "Seek to byte offset pos relative to position indicated by whence:\n" 344 _io_BytesIO_seek_impl(bytesio *self, Py_ssize_t pos, int whence); 351 int whence = 0; local 354 &pos, &whence)) { 357 return_value = _io_BytesIO_seek_impl(self, pos, whence);
|
fileio.c.h | 263 "seek($self, pos, whence=0, /)\n" 268 "Argument offset is a byte count. Optional argument whence defaults to\n" 280 _io_FileIO_seek_impl(fileio *self, PyObject *pos, int whence); 287 int whence = 0; local 290 &pos, &whence)) { 293 return_value = _io_FileIO_seek_impl(self, pos, whence);
|
/external/syslinux/gpxe/src/core/ |
xfer.c | 249 * @v whence Basis for new position 252 int xfer_seek ( struct xfer_interface *xfer, off_t offset, int whence ) { 256 .whence = whence, 260 whence_text ( whence ), offset );
|
/frameworks/av/drm/libdrmframework/plugins/forward-lock/internal-format/converter/ |
FwdLockConv.h | 97 * @param[in] whence One of SEEK_SET, SEEK_CUR, and SEEK_END. 102 typedef off64_t FwdLockConv_LSeekFunc_t(int fileDesc, off64_t offset, int whence);
|
/prebuilts/go/darwin-x86/src/syscall/ |
zsyscall_nacl_386.go | 49 func naclSeek(fd int, off *int64, whence int) (err error) { 50 _, _, e1 := Syscall(sys_lseek, uintptr(fd), uintptr(unsafe.Pointer(off)), uintptr(whence))
|
zsyscall_nacl_amd64p32.go | 49 func naclSeek(fd int, off *int64, whence int) (err error) { 50 _, _, e1 := Syscall(sys_lseek, uintptr(fd), uintptr(unsafe.Pointer(off)), uintptr(whence))
|
zsyscall_nacl_arm.go | 49 func naclSeek(fd int, off *int64, whence int) (err error) { 50 _, _, e1 := Syscall(sys_lseek, uintptr(fd), uintptr(unsafe.Pointer(off)), uintptr(whence))
|
/prebuilts/go/linux-x86/src/syscall/ |
zsyscall_nacl_386.go | 49 func naclSeek(fd int, off *int64, whence int) (err error) { 50 _, _, e1 := Syscall(sys_lseek, uintptr(fd), uintptr(unsafe.Pointer(off)), uintptr(whence))
|
zsyscall_nacl_amd64p32.go | 49 func naclSeek(fd int, off *int64, whence int) (err error) { 50 _, _, e1 := Syscall(sys_lseek, uintptr(fd), uintptr(unsafe.Pointer(off)), uintptr(whence))
|
zsyscall_nacl_arm.go | 49 func naclSeek(fd int, off *int64, whence int) (err error) { 50 _, _, e1 := Syscall(sys_lseek, uintptr(fd), uintptr(unsafe.Pointer(off)), uintptr(whence))
|
/system/update_engine/payload_consumer/ |
cached_file_descriptor.h | 49 off64_t Seek(off64_t offset, int whence) override;
|
fake_file_descriptor.h | 59 off64_t Seek(off64_t offset, int whence) override;
|
mtd_file_descriptor.cc | 154 off64_t MtdFileDescriptor::Seek(off64_t offset, int whence) { 159 return EintrSafeFileDescriptor::Seek(offset, whence); 231 off64_t UbiFileDescriptor::Seek(off64_t offset, int whence) { 236 return EintrSafeFileDescriptor::Seek(offset, whence);
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl11.c | 128 int do_lock(int cmd, short type, short whence, int start, int len) 133 fl.l_whence = whence; 139 void do_test(struct flock *fl, short type, short whence, int start, int len) 142 fl->l_whence = whence; 152 compare_lock(struct flock *fl, short type, short whence, int start, int len, 159 if (fl->l_whence != whence) 160 tst_resm(TFAIL, "lock whence is wrong should be %d is %d", 161 whence, fl->l_whence);
|
fcntl21.c | 149 int do_lock(int cmd, short type, short whence, int start, int len) 154 fl.l_whence = whence; 160 void do_test(struct flock *fl, short type, short whence, int start, int len) 163 fl->l_whence = whence; 173 compare_lock(struct flock *fl, short type, short whence, int start, int len, 182 if (fl->l_whence != whence) { 183 tst_resm(TFAIL, "lock whence is wrong should be %d is %d", 184 whence, fl->l_whence);
|
/prebuilts/go/darwin-x86/src/strings/ |
reader.go | 106 func (r *Reader) Seek(offset int64, whence int) (int64, error) { 109 switch whence { 117 return 0, errors.New("strings.Reader.Seek: invalid whence")
|
/prebuilts/go/linux-x86/src/strings/ |
reader.go | 106 func (r *Reader) Seek(offset int64, whence int) (int64, error) { 109 switch whence { 117 return 0, errors.New("strings.Reader.Seek: invalid whence")
|
/bionic/libc/bionic/ |
legacy_32_bit_support.cpp | 63 off64_t lseek64(int fd, off64_t off, int whence) { 67 if (__llseek(fd, off_hi, off_lo, &result, whence) < 0) {
|