Home
last modified time | relevance | path

Searched refs:AT_FDCWD (Results 1 – 24 of 24) sorted by relevance

/bionic/tests/
Dsys_stat_test.cpp100 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 …]
Dsys_time_test.cpp82 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()
Dfcntl_test.cpp66 fd = openat(AT_FDCWD, "/proc/version", O_RDONLY); in TEST()
70 fd = openat64(AT_FDCWD, "/proc/version", O_RDONLY); in TEST()
Dfortify_test.cpp725 ASSERT_FORTIFY(readlinkat(AT_FDCWD, "/dev/null", buf, ct)); in TEST_F()
/bionic/libc/bionic/
Dlink.cpp33 return linkat(AT_FDCWD, old_path, AT_FDCWD, new_path, 0); in link()
Drename.cpp33 return renameat(AT_FDCWD, old_path, AT_FDCWD, new_path); in rename()
Dunlink.cpp33 return unlinkat(AT_FDCWD, path, 0); in unlink()
Drmdir.cpp33 return unlinkat(AT_FDCWD, path, AT_REMOVEDIR); in rmdir()
Daccess.cpp33 return faccessat(AT_FDCWD, path, mode, 0); in access()
Dsymlink.cpp33 return symlinkat(old_path, AT_FDCWD, new_path); in symlink()
Dsys_time.cpp47 return futimesat(AT_FDCWD, path, tv, 0); in utimes()
51 return futimesat(AT_FDCWD, path, tv, AT_SYMLINK_NOFOLLOW); in lutimes()
Dchmod.cpp34 return fchmodat(AT_FDCWD, path, mode, 0); in chmod()
Dmkdir.cpp34 return mkdirat(AT_FDCWD, path, mode); in mkdir()
Dchown.cpp35 return fchownat(AT_FDCWD, path, uid, gid, 0); in chown()
Dmknod.cpp35 return mknodat(AT_FDCWD, path, mode, dev); in mknod()
Dstat.cpp35 return fstatat(AT_FDCWD, path, sb, 0); in stat()
Dlchown.cpp35 return fchownat(AT_FDCWD, path, uid, gid, AT_SYMLINK_NOFOLLOW); in lchown()
Dlstat.cpp35 return fstatat(AT_FDCWD, path, sb, AT_SYMLINK_NOFOLLOW); in lstat()
Dreadlink.cpp37 return readlinkat(AT_FDCWD, path, buf, size); in readlink()
Dmkfifo.cpp34 return mkfifoat(AT_FDCWD, path, mode); in mkfifo()
Dopen.cpp61 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()
Dscandir.cpp100 if (parent_fd == AT_FDCWD) { in scandirat()
135 return scandirat(AT_FDCWD, dir_path, name_list, filter, comparator); in scandir()
Dfts.c805 dfd = AT_FDCWD; in fts_stat()
/bionic/libc/kernel/uapi/linux/
Dfcntl.h47 #define AT_FDCWD - 100 macro