/external/valgrind/memcheck/tests/solaris/ |
D | syscall_at.c | 27 linkat(AT_FDCWD, FILENAME, AT_FDCWD, FILENAME, 0); in main() 33 symlinkat(FILENAME, AT_FDCWD, FILENAME); in main() 39 readlinkat(AT_FDCWD, FILENAME, buf, 1); in main() 46 syscall(SYS_frealpathat, AT_FDCWD, FILENAME, buf, 1); in main() 52 faccessat(AT_FDCWD, FILENAME, F_OK, 0); in main() 58 fchownat(AT_FDCWD, FILENAME, -1, -1, 0); in main() 64 renameat(AT_FDCWD, FILENAME, AT_FDCWD, FILENAME); in main() 70 unlinkat(AT_FDCWD, FILENAME, 0); in main() 76 fstatat(AT_FDCWD, FILENAME, &stats, 0); in main() 82 openat(AT_FDCWD, FILENAME, O_RDONLY); in main() [all …]
|
/external/ltp/testcases/kernel/syscalls/openat/ |
D | openat02.c | 123 TEST(openat(AT_FDCWD, TEST_FILE, O_APPEND | O_RDWR, 0777)); in testfunc_append() 154 TEST(openat(AT_FDCWD, TEST_FILE, O_CLOEXEC | O_RDWR, 0777)); in testfunc_cloexec() 211 TEST(openat(AT_FDCWD, LARGE_FILE, O_LARGEFILE | O_RDONLY, 0777)); in testfunc_largefile() 246 TEST(openat(AT_FDCWD, TEST_FILE, O_NOATIME | O_RDONLY, 0777)); in testfunc_noatime() 267 TEST(openat(AT_FDCWD, SFILE, O_NOFOLLOW | O_RDONLY, 0777)); in testfunc_nofollow() 281 TEST(openat(AT_FDCWD, TEST_FILE, O_TRUNC | O_RDWR, 0777)); in testfunc_trunc()
|
D | openat03.c | 53 int fd = openat(AT_FDCWD, ".", O_TMPFILE | O_RDWR, 0600); in setup() 67 int fd = openat(AT_FDCWD, ".", O_TMPFILE | O_RDWR, mode); in openat_tmp() 113 SAFE_LINKAT(cleanup, AT_FDCWD, path, AT_FDCWD, "tmpfile", in test01() 181 SAFE_LINKAT(cleanup, AT_FDCWD, path1, AT_FDCWD, path2, in link_tmp_file()
|
/external/strace/tests-m32/ |
D | fchownat.c | 34 #if defined __NR_fchownat && defined AT_FDCWD && defined AT_SYMLINK_NOFOLLOW 49 long rc = syscall(__NR_fchownat, AT_FDCWD, sample, uid, gid, 0); in main() 56 rc = syscall(__NR_fchownat, AT_FDCWD, in main()
|
/external/strace/tests-mx32/ |
D | fchownat.c | 34 #if defined __NR_fchownat && defined AT_FDCWD && defined AT_SYMLINK_NOFOLLOW 49 long rc = syscall(__NR_fchownat, AT_FDCWD, sample, uid, gid, 0); in main() 56 rc = syscall(__NR_fchownat, AT_FDCWD, in main()
|
/external/strace/tests/ |
D | fchownat.c | 34 #if defined __NR_fchownat && defined AT_FDCWD && defined AT_SYMLINK_NOFOLLOW 49 long rc = syscall(__NR_fchownat, AT_FDCWD, sample, uid, gid, 0); in main() 56 rc = syscall(__NR_fchownat, AT_FDCWD, in main()
|
/external/bison/lib/ |
D | fcntl.in.h | 314 #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553 315 # undef AT_FDCWD 321 #ifndef AT_FDCWD 322 # define AT_FDCWD (-3041965)
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
D | fanotify04.c | 85 if (fanotify_mark(fd_notify, FAN_MARK_ADD | flag, FAN_OPEN, AT_FDCWD, in check_mark() 103 FAN_OPEN, AT_FDCWD, file) < 0) { in check_mark() 226 FAN_OPEN, AT_FDCWD, fname) < 0) { in main() 232 FAN_OPEN | FAN_ONDIR, AT_FDCWD, dir) < 0) { in main() 243 0, AT_FDCWD, ".") < 0) { in main()
|
D | fanotify01.c | 81 FAN_CLOSE | FAN_OPEN, AT_FDCWD, fname) < 0) { in main() 136 FAN_ACCESS, AT_FDCWD, fname) < 0) { in main() 186 FAN_OPEN | FAN_CLOSE, AT_FDCWD, fname) < 0) { in main() 216 FAN_OPEN | FAN_CLOSE, AT_FDCWD, fname) < 0) { in main() 317 FAN_CLOSE | FAN_OPEN, AT_FDCWD, fname) < 0) { in main()
|
/external/ltp/testcases/kernel/syscalls/futimesat/ |
D | futimesat01.c | 40 #ifndef AT_FDCWD 41 #define AT_FDCWD -100 macro 120 fds[4] = AT_FDCWD; in setup()
|
/external/ltp/testcases/kernel/syscalls/unlinkat/ |
D | unlinkat01.c | 41 #ifndef AT_FDCWD 42 #define AT_FDCWD -100 macro 127 fds[5] = AT_FDCWD; in setup()
|
/external/ltp/testcases/kernel/syscalls/fchmodat/ |
D | fchmodat01.c | 49 #ifndef AT_FDCWD 50 #define AT_FDCWD -100 macro 135 fds[5] = AT_FDCWD; in setup()
|
/external/ltp/testcases/kernel/syscalls/faccessat/ |
D | faccessat01.c | 49 #ifndef AT_FDCWD 50 #define AT_FDCWD -100 macro 138 fds[5] = AT_FDCWD; in setup()
|
/external/strace/ |
D | open.c | 58 #ifndef AT_FDCWD 59 # define AT_FDCWD -100 macro 68 if (fd == AT_FDCWD) in print_dirfd()
|
/external/toybox/toys/posix/ |
D | cp.c | 128 int fdout = -1, cfd = try->parent ? try->parent->extra : AT_FDCWD, in cp_node() 242 fdout = AT_FDCWD; in cp_node() 259 fdout = AT_FDCWD; in cp_node() 317 if (fdout == AT_FDCWD) in cp_node() 333 if (fdout == AT_FDCWD) utimensat(cfd, catch, times, AT_SYMLINK_NOFOLLOW); in cp_node() 338 if (fdout != AT_FDCWD) { in cp_node() 482 if (mkpathat(AT_FDCWD, *ss, 0777, 3)) perror_msg_raw(*ss); in install_main() 491 if (mkpathat(AT_FDCWD, TT.destname, 0, 2)) in install_main()
|
/external/ltp/testcases/kernel/syscalls/fstatat/ |
D | fstatat01.c | 41 #ifndef AT_FDCWD 42 #define AT_FDCWD -100 macro 137 fds[5] = AT_FDCWD; in setup()
|
/external/ltp/testcases/kernel/syscalls/open/ |
D | open14.c | 102 SAFE_LINKAT(cleanup, AT_FDCWD, path, AT_FDCWD, "tmpfile", in test01() 170 SAFE_LINKAT(cleanup, AT_FDCWD, path1, AT_FDCWD, path2, in link_tmp_file()
|
/external/ltp/include/lapi/ |
D | fcntl.h | 94 #ifndef AT_FDCWD 95 # define AT_FDCWD -100 macro
|
/external/bison/linux-lib/ |
D | fcntl.h | 626 #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553 627 # undef AT_FDCWD 633 #ifndef AT_FDCWD 634 # define AT_FDCWD (-3041965) macro
|
/external/bison/darwin-lib/ |
D | fcntl.h | 626 #if 0 < AT_FDCWD && AT_FDCWD == 0xffd19553 627 # undef AT_FDCWD 633 #ifndef AT_FDCWD 634 # define AT_FDCWD (-3041965) macro
|
/external/ltp/testcases/kernel/syscalls/utimensat/ |
D | utimensat01.c | 54 #ifndef AT_FDCWD 55 #define AT_FDCWD -100 macro 121 dirfd = AT_FDCWD; in main()
|
/external/linux-kselftest/tools/testing/selftests/exec/ |
D | execveat.c | 254 fail += check_execveat(AT_FDCWD, fullname, 0); in run_tests() 286 fail += check_execveat(AT_FDCWD, fullname_symlink, 0); in run_tests() 299 fail += check_execveat_fail(AT_FDCWD, fullname_symlink, in run_tests() 308 fail += check_execveat(AT_FDCWD, fullname_script, 0); in run_tests() 342 fail += check_execveat_fail(AT_FDCWD, "no-such-file", 0, ENOENT); in run_tests()
|
/external/ltp/testcases/kernel/syscalls/symlinkat/ |
D | symlinkat01.c | 49 #ifndef AT_FDCWD 50 #define AT_FDCWD -100 macro 67 static int olddirfd, newdirfd = -1, cwd_fd = AT_FDCWD, stdinfd = 0, crapfd =
|
/external/ltp/testcases/kernel/syscalls/linkat/ |
D | linkat01.c | 62 #ifndef AT_FDCWD 63 #define AT_FDCWD -100 macro 87 static int olddirfd, newdirfd = -1, cwd_fd = AT_FDCWD, stdinfd = 0, badfd =
|
/external/libbrillo/brillo/ |
D | file_utils.cc | 63 AT_FDCWD, path.value().c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); in RegularFileOrDelete() 116 HANDLE_EINTR(openat(AT_FDCWD, in TouchFileInternal()
|