/glibc-2.36/io/ |
D | tst-copy_file_range.c | 107 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), 1); in simple_file_copy() 110 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), 3 + length); in simple_file_copy() 114 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), 4); in simple_file_copy() 117 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), 6 + length); in simple_file_copy() 186 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), 2); in short_copy() 189 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), current_size - 1 + shift); in short_copy() 193 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), 0); in short_copy() 196 TEST_COMPARE (xlseek (outfd, 0, SEEK_CUR), current_size - 1); in short_copy() 205 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), 2); in short_copy() 208 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), current_size - 1 + shift); in short_copy() [all …]
|
D | test-lfs.c | 165 off64_t offset64 = lseek64 (fd, 0, SEEK_CUR); in do_test() 171 off_t offset = lseek (fd, 0, SEEK_CUR); in do_test()
|
D | lseek64.c | 34 case SEEK_CUR: in __libc_lseek64()
|
D | lseek.c | 34 case SEEK_CUR: in __libc_lseek()
|
D | lockf.c | 33 .l_whence = SEEK_CUR, in lockf()
|
D | lockf64.c | 29 .l_whence = SEEK_CUR, in __lockf64()
|
/glibc-2.36/stdio-common/ |
D | tst-fseek.c | 80 if (fseek (fp, 0, SEEK_CUR) != 0) in do_test() 102 if (fseeko (fp, 0, SEEK_CUR) != 0) in do_test() 124 else if (lseek (fd, 0, SEEK_CUR) != 0) in do_test() 151 else if (lseek (fd, 0, SEEK_CUR) != 0) in do_test() 168 if (fseek (fp, -((int) sizeof (outstr) - 1), SEEK_CUR) != 0) in do_test() 178 else if (lseek (fd, 0, SEEK_CUR) != 0) in do_test() 195 if (fseeko (fp, -((int) sizeof (outstr) - 1), 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() [all …]
|
D | bug12.c | 29 fseek (f, -40, SEEK_CUR); in main()
|
D | test-fseek.c | 68 if (fseek (fp, (long) (i >= 128 ? -128 : 128), SEEK_CUR)) in do_test()
|
D | bug7.c | 27 if (fseek (fp, -1L, SEEK_CUR) < 0) in main()
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | f_setlk.c | 49 if (whence == SEEK_CUR) in __f_setlk() 52 __off64_t cur = __lseek64 (fd, 0, SEEK_CUR); in __f_setlk() 72 case SEEK_CUR: in __f_setlk()
|
/glibc-2.36/libio/ |
D | bug-fseek.c | 53 if (fseek (f, -10, SEEK_CUR) == 0) in do_test() 77 if (fseek (f, -10, SEEK_CUR) == 0) in do_test() 106 if (fseek (f, -10, SEEK_CUR) == 0) in do_test()
|
D | tst-wfile-sync.c | 52 TEST_COMPARE (xlseek (infd, 0, SEEK_CUR), 1); in do_test()
|
/glibc-2.36/posix/ |
D | tst-_Fork.c | 46 off_t off = xlseek (tempfd, 0, SEEK_CUR); in singlethread_test() 56 TEST_COMPARE (xlseek (tempfd, 0, SEEK_CUR), testdatalen1); in singlethread_test() 76 TEST_COMPARE (xlseek (tempfd, 0, SEEK_CUR), testdatalen2); in singlethread_test()
|
D | tst-fork.c | 68 off = lseek (fd, 0, SEEK_CUR); in main() 91 off = lseek (fd, 0, SEEK_CUR); in main() 136 if (lseek (fd, 0, SEEK_CUR) != strlen (testdata2)) in main()
|
D | tst-spawn.c | 110 TEST_COMPARE (xlseek (fd2, 0, SEEK_CUR), strlen (fd2string)); in handle_restart() 112 TEST_COMPARE (xlseek (fd4, 0, SEEK_CUR), strlen (fd2string)); in handle_restart() 114 TEST_COMPARE (xlseek (fd4, 0, SEEK_CUR), 0); in handle_restart() 126 TEST_COMPARE (lseek (fd1, 0, SEEK_CUR), (off_t) -1); in handle_restart()
|
D | tst-exec.c | 90 if (lseek (fd2, 0, SEEK_CUR) != strlen (fd2string)) in handle_restart() 100 if (lseek (fd1, 0, SEEK_CUR) != (off_t) -1 || errno != EBADF) in handle_restart()
|
/glibc-2.36/misc/ |
D | tst-preadvwritev-common.c | 74 TEST_COMPARE (xlseek (temp_fd, 0, SEEK_CUR), 9); in do_test_without_offset() 89 TEST_COMPARE (xlseek (temp_fd, 0, SEEK_CUR), 6); in do_test_without_offset()
|
/glibc-2.36/conform/data/ |
D | fcntl.h-data | 23 allow SEEK_CUR 27 constant SEEK_CUR
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | getdirentries.c | 26 off_t base = __lseek (fd, 0, SEEK_CUR); in getdirentries()
|
D | getdirentries64.c | 27 off64_t base = __lseek64 (fd, (off_t) 0, SEEK_CUR); in getdirentries64()
|
/glibc-2.36/sysdeps/posix/ |
D | pread.c | 32 off_t old_offset = __libc_lseek (fd, 0, SEEK_CUR); in __libc_pread()
|
D | pwrite.c | 33 off_t old_offset = __libc_lseek (fd, 0, SEEK_CUR); in __libc_pwrite()
|
D | pread64.c | 32 off64_t old_offset = __libc_lseek64 (fd, 0, SEEK_CUR); in __libc_pread64()
|
D | pwrite64.c | 32 off64_t old_offset = __libc_lseek64 (fd, 0, SEEK_CUR); in __libc_pwrite64()
|