/bionic/tests/ |
D | sys_stat_test.cpp | 109 int rc = statx(AT_FDCWD, "/proc/version", AT_STATX_SYNC_AS_STAT, STATX_ALL, &sx); in TEST() 124 ASSERT_EQ(-1, fchmodat(AT_FDCWD, (char *) 0x1, 0751, 0)); in TEST() 129 ASSERT_EQ(-1, fchmodat(AT_FDCWD, (char *) 0x1, 0751, AT_SYMLINK_NOFOLLOW)); in TEST() 140 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, ~AT_SYMLINK_NOFOLLOW)); in TEST() 145 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, ~0)); in TEST() 150 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, 0)); in TEST() 155 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, AT_SYMLINK_NOFOLLOW)); in TEST() 175 ASSERT_EQ(0, fchmodat(AT_FDCWD, tf.path, 0751, 0)); in TEST() 182 int result = fchmodat(AT_FDCWD, tf.path, 0751, AT_SYMLINK_NOFOLLOW); in TEST() 203 ASSERT_EQ(0, fchmodat(AT_FDCWD, linkname, 0751, 0)); in TEST() [all …]
|
D | sys_time_test.cpp | 83 ASSERT_EQ(0, futimesat(AT_FDCWD, tf.path, nullptr)); in TEST() 92 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.path, tv)); in TEST() 95 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.path, tv)); in TEST() 101 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.path, tv)); in TEST() 104 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.path, tv)); in TEST()
|
D | fcntl_test.cpp | 67 fd = openat(AT_FDCWD, "/proc/version", O_RDONLY); in TEST() 71 fd = openat64(AT_FDCWD, "/proc/version", O_RDONLY); in TEST() 337 ASSERT_EQ(0, linkat(AT_FDCWD, android::base::StringPrintf("/proc/self/fd/%d", fd).c_str(), in TEST() 338 AT_FDCWD, final_path.c_str(), in TEST() 350 ASSERT_EQ(-1, linkat(AT_FDCWD, android::base::StringPrintf("/proc/self/fd/%d", fd).c_str(), in TEST() 351 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 renameat(AT_FDCWD, old_path, AT_FDCWD, new_path); 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 | 100 if (parent_fd == AT_FDCWD) { in scandirat() 135 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 | readlink.cpp | 35 return readlinkat(AT_FDCWD, path, buf, size); in readlink()
|
D | mknod.cpp | 35 return mknodat(AT_FDCWD, path, mode, dev); in mknod()
|
D | stat.cpp | 35 return fstatat(AT_FDCWD, path, sb, 0); in stat()
|
D | chown.cpp | 35 return fchownat(AT_FDCWD, path, uid, gid, 0); in chown()
|
D | lstat.cpp | 35 return fstatat(AT_FDCWD, path, sb, AT_SYMLINK_NOFOLLOW); in lstat()
|
D | lchown.cpp | 35 return fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW); in lchown()
|
D | mkfifo.cpp | 34 return mkfifoat(AT_FDCWD, path, mode); in mkfifo()
|
D | fts.c | 796 dfd = AT_FDCWD; in fts_stat()
|
/bionic/libc/kernel/uapi/linux/ |
D | fcntl.h | 55 #define AT_FDCWD - 100 macro
|
/bionic/tests/headers/posix/ |
D | fcntl_h.c | 89 MACRO(AT_FDCWD); in fcntl_h()
|
/bionic/libc/arch-arm/ |
D | dynamic_function_dispatch.cpp | 69 register long r0 __asm__("r0") = AT_FDCWD; in ifunc_open()
|