/bionic/tests/ |
D | sys_stat_test.cpp | 100 ASSERT_EQ(-1, fchmodat(AT_FDCWD, (char *) 0x1, 0751, 0)); in TEST() 105 ASSERT_EQ(-1, fchmodat(AT_FDCWD, (char *) 0x1, 0751, AT_SYMLINK_NOFOLLOW)); in TEST() 116 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, ~AT_SYMLINK_NOFOLLOW)); in TEST() 121 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, ~0)); in TEST() 126 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, 0)); in TEST() 131 ASSERT_EQ(-1, fchmodat(AT_FDCWD, "/blah", 0751, AT_SYMLINK_NOFOLLOW)); in TEST() 151 ASSERT_EQ(0, fchmodat(AT_FDCWD, tf.filename, 0751, 0)); in TEST() 158 int result = fchmodat(AT_FDCWD, tf.filename, 0751, AT_SYMLINK_NOFOLLOW); in TEST() 179 ASSERT_EQ(0, fchmodat(AT_FDCWD, linkname, 0751, 0)); in TEST() 193 ASSERT_EQ(-1, fchmodat(AT_FDCWD, linkname, 0751, 0)); in TEST() [all …]
|
D | sys_time_test.cpp | 82 ASSERT_EQ(0, futimesat(AT_FDCWD, tf.filename, nullptr)); in TEST() 91 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv)); in TEST() 94 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv)); in TEST() 100 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv)); in TEST() 103 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv)); in TEST()
|
D | fcntl_test.cpp | 66 fd = openat(AT_FDCWD, "/proc/version", O_RDONLY); in TEST() 70 fd = openat64(AT_FDCWD, "/proc/version", O_RDONLY); in TEST()
|
D | fortify_test.cpp | 725 ASSERT_FORTIFY(readlinkat(AT_FDCWD, "/dev/null", buf, ct)); in TEST_F()
|
/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 | 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 | 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 | chmod.cpp | 34 return fchmodat(AT_FDCWD, path, mode, 0); in chmod()
|
D | mkdir.cpp | 34 return mkdirat(AT_FDCWD, path, mode); in mkdir()
|
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 | 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 | readlink.cpp | 37 return readlinkat(AT_FDCWD, path, buf, size); in readlink()
|
D | mkfifo.cpp | 34 return mkfifoat(AT_FDCWD, path, mode); in mkfifo()
|
D | open.cpp | 61 return __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), mode); in open() 70 return __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 | fts.c | 805 dfd = AT_FDCWD; in fts_stat()
|
/bionic/libc/kernel/uapi/linux/ |
D | fcntl.h | 47 #define AT_FDCWD - 100 macro
|