/external/toybox/toys/posix/ |
mkdir.c | 52 if (mkpathat(AT_FDCWD, *s, mode, toys.optflags|1))
|
/external/valgrind/memcheck/tests/linux/ |
sys-openat.c | 15 __attribute__((unused)) int fd3 = openat (AT_FDCWD, "abc", O_RDONLY);
|
/external/ltp/testcases/kernel/syscalls/openat/ |
openat02.c | 123 TEST(openat(AT_FDCWD, TEST_FILE, O_APPEND | O_RDWR, 0777)); 154 TEST(openat(AT_FDCWD, TEST_FILE, O_CLOEXEC | O_RDWR, 0777)); 210 TEST(openat(AT_FDCWD, LARGE_FILE, O_LARGEFILE | O_RDONLY, 0777)); 245 TEST(openat(AT_FDCWD, TEST_FILE, O_NOATIME | O_RDONLY, 0777)); 266 TEST(openat(AT_FDCWD, SFILE, O_NOFOLLOW | O_RDONLY, 0777)); 280 TEST(openat(AT_FDCWD, TEST_FILE, O_TRUNC | O_RDWR, 0777));
|
openat03.c | 53 int fd = openat(AT_FDCWD, ".", O_TMPFILE | O_RDWR, 0600); 67 int fd = openat(AT_FDCWD, ".", O_TMPFILE | O_RDWR, mode); 113 SAFE_LINKAT(cleanup, AT_FDCWD, path, AT_FDCWD, "tmpfile", 181 SAFE_LINKAT(cleanup, AT_FDCWD, path1, AT_FDCWD, path2,
|
/external/ltp/testcases/kernel/syscalls/faccessat/ |
faccessat01.c | 49 #ifndef AT_FDCWD 50 #define AT_FDCWD -100 138 fds[5] = AT_FDCWD;
|
/external/ltp/testcases/kernel/syscalls/futimesat/ |
futimesat01.c | 40 #ifndef AT_FDCWD 41 #define AT_FDCWD -100 120 fds[4] = AT_FDCWD;
|
/external/ltp/testcases/kernel/syscalls/unlinkat/ |
unlinkat01.c | 41 #ifndef AT_FDCWD 42 #define AT_FDCWD -100 127 fds[5] = AT_FDCWD;
|
/external/strace/ |
open.c | 54 #ifndef AT_FDCWD 55 # define AT_FDCWD -100 64 if (fd == AT_FDCWD) 65 tprints("AT_FDCWD, ");
|
/external/strace/tests/ |
statx.c | 51 syscall(__NR_statx, AT_FDCWD, sample, TEST_SYSCALL_STATX_FLAGS, \ 56 printf("%s(AT_FDCWD, \"%s\", %s, %s, ", \
|
/external/strace/tests-m32/ |
statx.c | 51 syscall(__NR_statx, AT_FDCWD, sample, TEST_SYSCALL_STATX_FLAGS, \ 56 printf("%s(AT_FDCWD, \"%s\", %s, %s, ", \
|
/external/strace/tests-mx32/ |
statx.c | 51 syscall(__NR_statx, AT_FDCWD, sample, TEST_SYSCALL_STATX_FLAGS, \ 56 printf("%s(AT_FDCWD, \"%s\", %s, %s, ", \
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/linux/ |
fcntl.h | 41 #define AT_FDCWD -100 /* Special value used to indicate
|
/bionic/libc/bionic/ |
open.cpp | 65 return __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), mode); 71 return __openat(AT_FDCWD, pathname, force_O_LARGEFILE(flags), 0);
|
scandir.cpp | 100 if (parent_fd == AT_FDCWD) { 135 return scandirat(AT_FDCWD, dir_path, name_list, filter, comparator);
|
/bionic/tests/ |
sys_time_test.cpp | 82 ASSERT_EQ(0, futimesat(AT_FDCWD, tf.filename, nullptr)); 91 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv)); 94 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv)); 100 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv)); 103 ASSERT_EQ(-1, futimesat(AT_FDCWD, tf.filename, tv));
|
fcntl_test.cpp | 68 fd = openat(AT_FDCWD, "/proc/version", O_RDONLY); 72 fd = openat64(AT_FDCWD, "/proc/version", O_RDONLY); 326 ASSERT_EQ(0, linkat(AT_FDCWD, android::base::StringPrintf("/proc/self/fd/%d", fd).c_str(), 327 AT_FDCWD, final_path.c_str(), 339 ASSERT_EQ(-1, linkat(AT_FDCWD, android::base::StringPrintf("/proc/self/fd/%d", fd).c_str(), 340 AT_FDCWD, android::base::StringPrintf("%s/no_chance", dir.dirname).c_str(),
|
/external/ltp/testcases/kernel/syscalls/fanotify/ |
fanotify04.c | 79 if (fanotify_mark(fd_notify, FAN_MARK_ADD | flag, FAN_OPEN, AT_FDCWD, 82 "fanotify_mark (%d, FAN_MARK_ADD | %s, FAN_OPEN, AT_FDCWD, " 86 "fanotify_mark (%d, FAN_MARK_ADD | %s, FAN_OPEN, AT_FDCWD, " 97 FAN_OPEN, AT_FDCWD, file) < 0) { 100 "FAN_OPEN, AT_FDCWD, '%s') failed", 209 FAN_OPEN, AT_FDCWD, fname) < 0) { 212 "AT_FDCWD, '%s') failed", fd_notify, fname); 215 FAN_OPEN | FAN_ONDIR, AT_FDCWD, dir) < 0) { 218 "FAN_ONDIR, AT_FDCWD, '%s') failed", fd_notify, 226 0, AT_FDCWD, ".") < 0) [all...] |
fanotify01.c | 68 FAN_CLOSE | FAN_OPEN, AT_FDCWD, fname) < 0) { 71 "FAN_MODIFY | FAN_CLOSE | FAN_OPEN, AT_FDCWD, %s) " 123 FAN_ACCESS, AT_FDCWD, fname) < 0) { 127 "AT_FDCWD, %s) failed", fd_notify, fname); 173 FAN_OPEN | FAN_CLOSE, AT_FDCWD, fname) < 0) { 178 "FAN_CLOSE, AT_FDCWD, %s) failed", fd_notify, 203 FAN_OPEN | FAN_CLOSE, AT_FDCWD, fname) < 0) { 207 "FAN_CLOSE, AT_FDCWD, %s) failed", fd_notify, 304 FAN_CLOSE | FAN_OPEN, AT_FDCWD, fname) < 0) { 307 "FAN_MODIFY | FAN_CLOSE | FAN_OPEN, AT_FDCWD, %s) [all...] |
/external/ltp/testcases/kernel/syscalls/fchmodat/ |
fchmodat01.c | 49 #ifndef AT_FDCWD 50 #define AT_FDCWD -100 135 fds[5] = AT_FDCWD;
|
/external/ltp/testcases/kernel/syscalls/fstatat/ |
fstatat01.c | 41 #ifndef AT_FDCWD 42 #define AT_FDCWD -100 137 fds[5] = AT_FDCWD;
|
/bionic/libc/kernel/uapi/linux/ |
fcntl.h | 52 #define AT_FDCWD - 100
|
/external/kernel-headers/original/uapi/linux/ |
fcntl.h | 78 #define AT_FDCWD -100 /* Special value used to indicate
|
/external/ltp/testcases/kernel/syscalls/symlinkat/ |
symlinkat01.c | 49 #ifndef AT_FDCWD 50 #define AT_FDCWD -100 67 static int olddirfd, newdirfd = -1, cwd_fd = AT_FDCWD, stdinfd = 0, crapfd =
|
/external/ltp/testcases/kernel/syscalls/utimensat/ |
utimensat01.c | 54 #ifndef AT_FDCWD 55 #define AT_FDCWD -100 84 " (instead of using AT_FDCWD)\n"); 121 dirfd = AT_FDCWD;
|
/external/libbrillo/brillo/ |
file_utils.cc | 63 AT_FDCWD, path.value().c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); 116 HANDLE_EINTR(openat(AT_FDCWD,
|