Home
last modified time | relevance | path

Searched refs:whence (Results 1 – 11 of 11) sorted by relevance

/l4re-core-master/uclibc/lib/contrib/uclibc/libc/sysdeps/linux/common/
A Dlseek.c16 _syscall3(off_t, __NC(lseek), int, fd, off_t, offset, int, whence)
20 off_t __NC(lseek)(int fd, off_t offset, int whence)
23 return lseek64(fd, offset, whence);
29 &result, whence) ?: result;
35 off_t __NC(lseek)(int fd, off_t offset attribute_unused, int whence)
42 switch(whence) {
56 CANCELLABLE_SYSCALL(off_t, lseek, (int fd, off_t offset, int whence), (fd, offset, whence))
A Dllseek.c23 off64_t __NC(lseek64)(int fd, off64_t offset, int whence) in __NC()
28 (off_t) OFF64_LO(offset), &result, whence) ?: result; in __NC()
30 CANCELLABLE_SYSCALL(off64_t, lseek64, (int fd, off64_t offset, int whence), (fd, offset, whence))
/l4re-core-master/uclibc/lib/contrib/uclibc/libc/stdio/
A D_cs_funcs.c28 int attribute_hidden _cs_seek(void *cookie, register __offmax_t *pos, int whence) in _cs_seek() argument
33 res = lseek64(*((int *) cookie), *pos, whence); in _cs_seek()
35 res = lseek(*((int *) cookie), *pos, whence); in _cs_seek()
52 int attribute_hidden __stdio_seek(FILE *stream, register __offmax_t *pos, int whence) in __stdio_seek() argument
57 res = lseek64(stream->__filedes, *pos, whence); in __stdio_seek()
59 res = lseek(stream->__filedes, *pos, whence); in __stdio_seek()
A Dfseeko.c19 int FSEEK(register FILE *stream, OFFSET_TYPE offset, int whence) in FSEEK() argument
23 return fseeko64(stream, offset, whence); in FSEEK()
31 if (((unsigned int) whence) > 2) { in FSEEK()
40 && ((whence != SEEK_CUR) in FSEEK()
42 && (__SEEK(stream, &pos, whence) >= 0) in FSEEK()
A Dopen_memstream.c69 static int oms_seek(register void *cookie, __offmax_t *pos, int whence) in oms_seek() argument
77 assert(((unsigned int) whence) <= 2); in oms_seek()
79 if (whence != SEEK_SET) { in oms_seek()
80 p += (whence == SEEK_CUR) ? COOKIE->pos : /* SEEK_END */ COOKIE->eof; in oms_seek()
A Dfmemopen.c83 static int fmo_seek(register void *cookie, __offmax_t *pos, int whence) in fmo_seek() argument
89 assert(((unsigned int) whence) <= 2); in fmo_seek()
91 if (whence != SEEK_SET) { in fmo_seek()
92 p += (whence == SEEK_CUR) ? COOKIE->pos : /* SEEK_END */ COOKIE->eof; in fmo_seek()
A D_stdio.h101 extern int _cs_seek(void *cookie, __offmax_t *pos, int whence) attribute_hidden;
127 extern int __stdio_seek(FILE *stream, register __offmax_t *pos, int whence) attribute_hidden;
/l4re-core-master/uclibc/lib/contrib/uclibc/test/misc/
A Dseek.c16 int whence; in main() member
60 ret = lseek(fd, tests[i].offset, tests[i].whence); in main()
63 tests[i].whence, (long)tests[i].offset, (long)ret); in main()
67 ret = fseek(fp, tests[i].offset, tests[i].whence); in main()
70 tests[i].whence, (long)ret); in main()
/l4re-core-master/uclibc/lib/contrib/uclibc/libpthread/linuxthreads.old/
A Dwrapsyscall.c95 CANCELABLE_SYSCALL (off_t, lseek, (int fd, off_t offset, int whence),
96 (fd, offset, whence))
100 CANCELABLE_SYSCALL (off64_t, lseek64, (int fd, off64_t offset, int whence),
101 (fd, offset, whence))
/l4re-core-master/libc_backends/lib/l4re_file/
A Dfile.cc265 off_t lseek(int fd, off_t offset, int whence) in lseek() argument
266 noexcept(noexcept(lseek(fd, offset, whence))) in lseek()
268 return lseek64(fd, offset, whence); in lseek()
/l4re-core-master/l4re_vfs/include/
A Dbackend258 off64_t lseek64(off64_t offset, int whence) throw()
261 switch (whence)

Completed in 19 milliseconds