Home
last modified time | relevance | path

Searched refs:lseek (Results 1 – 25 of 113) sorted by relevance

12345

/glibc-2.36/posix/
Dtst-fork.c68 off = lseek (fd, 0, SEEK_CUR); in main()
91 off = lseek (fd, 0, SEEK_CUR); in main()
96 if (lseek (fd, 0, SEEK_SET) != 0) in main()
108 if (lseek (fd, 0, SEEK_SET) != 0) in main()
136 if (lseek (fd, 0, SEEK_CUR) != strlen (testdata2)) in main()
139 if (lseek (fd, 0, SEEK_SET) != 0) in main()
Dtst-exec.c90 if (lseek (fd2, 0, SEEK_CUR) != strlen (fd2string)) in handle_restart()
92 if (lseek (fd2, 0, SEEK_SET) != 0) in handle_restart()
100 if (lseek (fd1, 0, SEEK_CUR) != (off_t) -1 || errno != EBADF) in handle_restart()
/glibc-2.36/io/
Dtst-lockf.c42 TEST_COMPARE (lseek (temp_fd, 0, SEEK_SET), 0); in do_test_child_lockf()
48 TEST_COMPARE (lseek (temp_fd, INT32_MAX-1024, SEEK_SET), INT32_MAX-1024); in do_test_child_lockf()
52 TEST_COMPARE (lseek (temp_fd, 1024, SEEK_SET), 1024); in do_test_child_lockf()
104 TEST_COMPARE (lseek (temp_fd, 1024, SEEK_SET), 1024); in do_test()
117 TEST_COMPARE (lseek (temp_fd, 0, SEEK_SET), 0); in do_test()
Dtst-unlinkat.c62 if (lseek (dupfd, 0, SEEK_SET) != 0) in do_test()
108 if (lseek (dupfd, 0, SEEK_SET) != 0) in do_test()
149 if (lseek (dir_fd, 0, SEEK_SET) != 0) in do_test()
Dlseek.c46 weak_alias (__libc_lseek, lseek)
47 stub_warning (lseek)
Dtst-mkdirat.c63 if (lseek (dupfd, 0, SEEK_SET) != 0) in do_test()
117 if (lseek (dupfd, 0, SEEK_SET) != 0) in do_test()
Dtst-mkfifoat.c63 if (lseek (dupfd, 0, SEEK_SET) != 0) in do_test()
117 if (lseek (dupfd, 0, SEEK_SET) != 0) in do_test()
Dtst-mknodat.c63 if (lseek (dupfd, 0, SEEK_SET) != 0) in do_test()
117 if (lseek (dupfd, 0, SEEK_SET) != 0) in do_test()
Dtst-openat.c62 if (lseek (dupfd, 0, SEEK_SET) != 0) in do_test()
123 if (lseek (dupfd, 0, SEEK_SET) != 0) in do_test()
/glibc-2.36/stdio-common/
Dtst-fseek.c124 else if (lseek (fd, 0, SEEK_CUR) != 0) in do_test()
151 else if (lseek (fd, 0, SEEK_CUR) != 0) in do_test()
178 else if (lseek (fd, 0, SEEK_CUR) != 0) in do_test()
205 else if (lseek (fd, 0, SEEK_CUR) != 0) in do_test()
232 else if (lseek (fd, 0, SEEK_CUR) != 0) in do_test()
259 else if (lseek (fd, 0, SEEK_CUR) != 0) in do_test()
Dtst-perror.c85 lseek (fd, 0, SEEK_SET); in do_test()
96 lseek (fd, 0, SEEK_SET); in do_test()
139 lseek (fd, 0, SEEK_SET); in do_test()
Dtst-fdopen.c42 assert (lseek (fd, 5, SEEK_SET) == 5); in main()
/glibc-2.36/libio/
Dtst-widetext.c153 lseek (fd, SEEK_SET, 0); in do_test()
195 lseek (fd, SEEK_SET, 0); in do_test()
281 lseek (fd, SEEK_SET, 0); in do_test()
330 lseek (fd, SEEK_SET, 0); in do_test()
Dtst-ftell-active-handler.c438 off_t seek_ret = lseek (fd, file_len - 1, SEEK_SET); in do_write_test()
551 off_t seek_ret = lseek (fd, file_len - 1, SEEK_SET); in do_append_test()
566 off_t new_seek_ret = lseek (fd, 0, SEEK_CUR); in do_append_test()
Dtst-eof.c41 if (lseek (fd, 0, SEEK_SET) == (off_t) -1) in do_test()
/glibc-2.36/sysdeps/unix/sysv/linux/x86_64/x32/
Dlseek.S33 PSEUDO (__libc_lseek64, lseek, 3)
43 weak_alias (__libc_lseek64, lseek)
/glibc-2.36/sysdeps/unix/sysv/linux/
Dlseek.c51 return INLINE_SYSCALL_CALL (lseek, fd, offset, whence); in __lseek()
55 weak_alias (__lseek, lseek)
Dlseek64.c36 return INLINE_SYSCALL_CALL (lseek, fd, offset, whence); in __lseek64()
41 weak_alias (__lseek64, lseek)
Dtst-fallocate-common.c79 if (lseek (temp_fd, offset, SEEK_SET) == (off_t) -1) in do_test_with_offset()
85 if (lseek (temp_fd, offset, SEEK_SET) == (off_t) -1) in do_test_with_offset()
/glibc-2.36/sysdeps/unix/
Dsyscalls.list39 lseek - lseek i:iii __libc_lseek __lseek lseek
/glibc-2.36/sysdeps/unix/sysv/linux/mips/mips64/n32/
Dlseek.c35 weak_alias (__lseek, lseek)
Dsyscalls.list5 lseek64 - lseek i:iii __lseek64 __libc_lseek64 lseek64@@GLIBC_2.2 llseek@GLIBC_2.0:GLIBC_2.28
/glibc-2.36/sysdeps/mach/hurd/
Dlseek.c40 weak_alias (__libc_lseek, lseek)
/glibc-2.36/rt/
Dtst-mqueue.h47 if (lseek (temp_mq_fd, 0, SEEK_SET) != 0) in do_cleanup()
/glibc-2.36/manual/examples/
Dofdlocks.c51 lseek (fd, 0, SEEK_END); in thread_start()

12345