/bionic/tests/ |
D | sys_stat_test.cpp | 111 int rc = statx(AT_FDCWD, "/proc/version", AT_STATX_SYNC_AS_STAT, STATX_ALL, &sx); in TEST() 129 ASSERT_EQ(-1, fchmodat(AT_FDCWD, (char *) 0x1, 0751, 0)); in TEST() 134 ASSERT_EQ(-1, fchmodat(AT_FDCWD, (char *) 0x1, 0751, AT_SYMLINK_NOFOLLOW)); in TEST() 145 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, ~AT_SYMLINK_NOFOLLOW)); in TEST() 150 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, ~0)); in TEST() 155 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, 0)); in TEST() 160 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, AT_SYMLINK_NOFOLLOW)); in TEST() 180 ASSERT_EQ(0, fchmodat(AT_FDCWD, tf.path, 0751, 0)); in TEST() 187 int result = fchmodat(AT_FDCWD, tf.path, 0751, AT_SYMLINK_NOFOLLOW); in TEST() 208 ASSERT_EQ(0, fchmodat(AT_FDCWD, linkname, 0751, 0)); in TEST() [all …]
|
D | sys_time_test.cpp | 85 ASSERT_EQ(0, futimesat(AT_FDCWD, tf.path, nullptr)); in TEST() 94 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.path, tv)); in TEST() 97 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.path, tv)); in TEST() 103 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.path, tv)); in TEST() 106 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.path, tv)); in TEST()
|
D | fcntl_test.cpp | 74 fd = openat(AT_FDCWD, "/proc/version", O_RDONLY); in TEST() 78 fd = openat64(AT_FDCWD, "/proc/version", O_RDONLY); in TEST() 343 ASSERT_EQ(0, linkat(AT_FDCWD, android::base::StringPrintf("/proc/self/fd/%d", fd).c_str(), in TEST() 344 AT_FDCWD, final_path.c_str(), in TEST() 356 ASSERT_EQ(-1, linkat(AT_FDCWD, android::base::StringPrintf("/proc/self/fd/%d", fd).c_str(), in TEST() 357 AT_FDCWD, android::base::StringPrintf("%s/no_chance", dir.path).c_str(), in TEST()
|
/bionic/libc/bionic/ |
D | link.cpp | 33 return linkat(AT_FDCWD, old_path, AT_FDCWD, new_path, 0); in link()
|
D | rename.cpp | 33 return renameat2(AT_FDCWD, old_path, AT_FDCWD, new_path, 0); in rename()
|
D | sys_time.cpp | 47 return futimesat(AT_FDCWD, path, tv, 0); in utimes() 51 return futimesat(AT_FDCWD, path, tv, AT_SYMLINK_NOFOLLOW); in lutimes()
|
D | open.cpp | 66 return FDTRACK_CREATE(__openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), mode)); in open() 72 return FDTRACK_CREATE_NAME("open", __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), 0)); in __open_2()
|
D | scandir.cpp | 96 if (parent_fd == AT_FDCWD) { in scandirat() 133 return scandirat(AT_FDCWD, dir_path, name_list, filter, comparator); in scandir()
|
D | unlink.cpp | 33 return unlinkat(AT_FDCWD, path, 0); in unlink()
|
D | rmdir.cpp | 33 return unlinkat(AT_FDCWD, path, AT_REMOVEDIR); in rmdir()
|
D | access.cpp | 33 return faccessat(AT_FDCWD, path, mode, 0); in access()
|
D | symlink.cpp | 33 return symlinkat(old_path, AT_FDCWD, new_path); in symlink()
|
D | mkdir.cpp | 34 return mkdirat(AT_FDCWD, path, mode); in mkdir()
|
D | chmod.cpp | 34 return fchmodat(AT_FDCWD, path, mode, 0); in chmod()
|
D | chown.cpp | 35 return fchownat(AT_FDCWD, path, uid, gid, 0); in chown()
|
D | mknod.cpp | 35 return mknodat(AT_FDCWD, path, mode, dev); in mknod()
|
D | readlink.cpp | 35 return readlinkat(AT_FDCWD, path, buf, size); in readlink()
|
D | stat.cpp | 35 return fstatat(AT_FDCWD, path, sb, 0); in stat()
|
D | lchown.cpp | 35 return fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW); in lchown()
|
D | lstat.cpp | 35 return fstatat(AT_FDCWD, path, sb, AT_SYMLINK_NOFOLLOW); in lstat()
|
D | mkfifo.cpp | 34 return mkfifoat(AT_FDCWD, path, mode); in mkfifo()
|
/bionic/libc/kernel/uapi/linux/ |
D | fcntl.h | 44 #define AT_FDCWD - 100 macro
|
/bionic/tests/headers/posix/ |
D | fcntl_h.c | 93 MACRO(AT_FDCWD); in fcntl_h()
|
/bionic/libc/arch-riscv64/ |
D | dynamic_function_dispatch.cpp | 51 return ifunc_faccessat(AT_FDCWD, "/dev/hvc0", F_OK) != 0; in have_fast_v()
|
/bionic/libc/arch-arm/ |
D | dynamic_function_dispatch.cpp | 69 register long r0 __asm__("r0") = AT_FDCWD; in ifunc_open()
|