/glibc-2.36/stdio-common/ |
D | tst-renameat2.c | 98 TEST_COMPARE (renameat2 (AT_FDCWD, old_path, AT_FDCWD, new_path, flags), 0); in rename_without_existing_target() 104 TEST_COMPARE (renameat2 (directory_fd, "old", AT_FDCWD, new_path, flags), 0); in rename_without_existing_target() 128 TEST_COMPARE (renameat2 (AT_FDCWD, old_path, AT_FDCWD, new_path, 0), 0); in do_test() 136 if (renameat2 (AT_FDCWD, old_path, AT_FDCWD, new_path, RENAME_NOREPLACE) in do_test() 153 TEST_COMPARE (renameat2 (AT_FDCWD, old_path, AT_FDCWD, new_path, in do_test() 162 TEST_COMPARE (renameat2 (directory_fd, "old", AT_FDCWD, new_path, in do_test()
|
D | renameat.c | 27 if ((oldfd < 0 && oldfd != AT_FDCWD) || (newfd < 0 && newfd != AT_FDCWD)) in __renameat()
|
/glibc-2.36/sysdeps/unix/sysv/linux/ |
D | tst-mount.c | 60 TEST_COMPARE (move_mount (-1, "", AT_FDCWD, "/tmp", 0), -1); in do_test() 63 int r = move_mount (mfd, "", AT_FDCWD, "/tmp", MOVE_MOUNT_F_EMPTY_PATH); in do_test() 67 TEST_COMPARE (fspick (AT_FDCWD, "", 0), -1); in do_test() 70 int pfd = fspick (AT_FDCWD, "/tmp", FSPICK_CLOEXEC); in do_test() 74 TEST_COMPARE (open_tree (AT_FDCWD, "", 0), -1); in do_test() 76 int fd_tree = open_tree (AT_FDCWD, "/tmp", in do_test()
|
D | rename.c | 31 return INLINE_SYSCALL_CALL (renameat, AT_FDCWD, old, AT_FDCWD, new); in rename() 33 return INLINE_SYSCALL_CALL (renameat2, AT_FDCWD, old, AT_FDCWD, new, 0); in rename()
|
D | lxstat64.c | 54 return INLINE_SYSCALL_CALL (newfstatat, AT_FDCWD, name, buf, in ___lxstat64() 61 int r = INLINE_SYSCALL_CALL (statx, AT_FDCWD, name, in ___lxstat64() 74 return INLINE_SYSCALL_CALL (fstatat64, AT_FDCWD, name, buf, in ___lxstat64()
|
D | xstat64.c | 54 return INLINE_SYSCALL_CALL (newfstatat, AT_FDCWD, name, buf, 0); in ___xstat64() 60 int r = INLINE_SYSCALL_CALL (statx, AT_FDCWD, name, AT_NO_AUTOMOUNT, in ___xstat64() 72 return INLINE_SYSCALL_CALL (fstatat64, AT_FDCWD, name, buf, 0); in ___xstat64()
|
D | stat.c | 27 return __fstatat (AT_FDCWD, file, buf, 0); in __stat()
|
/glibc-2.36/io/ |
D | tst-open-tmpfile.c | 55 int ret = openat (AT_FDCWD, path, flags, mode); in wrap_openat() 83 int ret = openat64 (AT_FDCWD, path, flags, mode); in wrap_openat64() 187 path_fd = AT_FDCWD; in check_wrapper_flags_mode() 204 if (linkat (AT_FDCWD, proc_fd_path, path_fd, new_name, in check_wrapper_flags_mode() 226 if (path_fd != AT_FDCWD) in check_wrapper_flags_mode() 263 int fd = openat (AT_FDCWD, path, O_TMPFILE | O_RDWR, 0); in probe_path()
|
D | linkat.c | 34 if ((tofd != AT_FDCWD && tofd < 0 && *to != '/') in linkat() 35 || (fromfd != AT_FDCWD && fromfd < 0 && *from != '/')) in linkat()
|
D | tst-lchmod.c | 48 TEST_COMPARE (fd, AT_FDCWD); in fchmodat_with_lchmod() 75 TEST_VERIFY_EXIT (utimensat (AT_FDCWD, fname, ts, flags) == 0); in update_file_time_to_y2038() 101 fd = AT_FDCWD; in test_1()
|
D | tst-statx.c | 73 TEST_COMPARE (statx (AT_FDCWD, path, 0, STATX_BASIC_STATS, &buf), 0); in both_implementations_tests() 88 TEST_COMPARE (statx (AT_FDCWD, "/dev/null", 0, STATX_BASIC_STATS, &stx), in both_implementations_tests()
|
D | lchmod.c | 26 return fchmodat (AT_FDCWD, file, mode, AT_SYMLINK_NOFOLLOW); in lchmod()
|
D | stat.c | 23 return __fstatat (AT_FDCWD, file, buf, 0); in __stat()
|
D | lstat.c | 23 return __fstatat (AT_FDCWD, file, buf, AT_SYMLINK_NOFOLLOW); in __lstat()
|
/glibc-2.36/support/ |
D | support_path_support_time64.c | 35 return syscall (__NR_utimensat_time64, AT_FDCWD, path, &tsp[0], 0); in utimesat_call() 45 TEST_VERIFY_EXIT (statx (AT_FDCWD, path, 0, STATX_BASIC_STATS, &ostx) == 0); in support_path_support_time64_value() 56 TEST_VERIFY_EXIT (statx (AT_FDCWD, path, 0, STATX_BASIC_STATS, &stx) == 0); in support_path_support_time64_value()
|
D | support_stat_nanoseconds.c | 40 TEST_VERIFY_EXIT (utimensat (AT_FDCWD, path, tsp, 0) == 0); in support_stat_nanoseconds() 54 TEST_VERIFY_EXIT (utimensat (AT_FDCWD, path, otsp, 0) == 0); in support_stat_nanoseconds()
|
/glibc-2.36/hurd/ |
D | lookup-at.c | 39 if (fd == AT_FDCWD || file_name[0] == '/') in __file_name_lookup_at() 83 if (fd == AT_FDCWD || file_name[0] == '/') in __file_name_split_at() 111 if (fd == AT_FDCWD || directory_name[0] == '/') in __directory_name_split_at()
|
/glibc-2.36/sysdeps/unix/sysv/linux/generic/ |
D | link.c | 26 return INLINE_SYSCALL (linkat, 5, AT_FDCWD, from, AT_FDCWD, to, 0); in __link()
|
D | unlink.c | 26 return INLINE_SYSCALL (unlinkat, 3, AT_FDCWD, name, 0); in __unlink()
|
D | rmdir.c | 26 return INLINE_SYSCALL (unlinkat, 3, AT_FDCWD, path, AT_REMOVEDIR); in __rmdir()
|
D | symlink.c | 26 return INLINE_SYSCALL (symlinkat, 3, from, AT_FDCWD, to); in __symlink()
|
/glibc-2.36/sysdeps/mach/hurd/ |
D | access.c | 29 return __faccessat_noerrno (AT_FDCWD, file, type, 0); in __access_noerrno() 36 return __faccessat (AT_FDCWD, file, type, 0); in __access()
|
D | opendir.c | 85 assert (dfd == AT_FDCWD); in __opendirat() 107 return __opendirat (AT_FDCWD, name); in __opendir()
|
D | execve.c | 29 return __execveat (AT_FDCWD, file_name, argv, envp, 0); in __execve()
|
/glibc-2.36/posix/ |
D | tst-execveat.c | 102 call_execveat (AT_FDCWD, "sh", 0, 0, __LINE__); in do_test() 111 call_execveat (AT_FDCWD, "/bin/sh", 0, 0, __LINE__); in do_test()
|