| /llvm-project-15.0.7/libc/test/src/sys/stat/ |
| H A D | mkdirat_test.cpp | 21 ASSERT_THAT(__llvm_libc::mkdirat(AT_FDCWD, TEST_DIR, S_IRWXU), Succeeds(0)); in TEST() 27 ASSERT_THAT(__llvm_libc::mkdirat(AT_FDCWD, "non-existent-dir/test", S_IRWXU), in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_linux.cpp | 244 return internal_syscall(SYSCALL(openat), AT_FDCWD, (uptr)filename, flags); in internal_open() 252 return internal_syscall(SYSCALL(openat), AT_FDCWD, (uptr)filename, flags, in internal_open() 377 int res = internal_syscall(SYSCALL(statx), AT_FDCWD, (uptr)path, in internal_stat() 384 return internal_syscall(SYSCALL(newfstatat), AT_FDCWD, (uptr)path, (uptr)buf, in internal_stat() 388 int res = internal_syscall(SYSCALL(fstatat64), AT_FDCWD, (uptr)path, in internal_stat() 403 return internal_syscall(SYSCALL(fstatat), AT_FDCWD, (uptr)path, (uptr)buf, in internal_lstat() 408 int res = internal_syscall(SYSCALL(statx), AT_FDCWD, (uptr)path, in internal_lstat() 420 int res = internal_syscall(SYSCALL(fstatat64), AT_FDCWD, (uptr)path, in internal_lstat() 488 return internal_syscall(SYSCALL(unlinkat), AT_FDCWD, (uptr)path, 0); in internal_unlink() 496 return internal_syscall(SYSCALL(renameat2), AT_FDCWD, (uptr)oldpath, AT_FDCWD, in internal_rename() [all …]
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/NetBSD/ |
| H A D | faccessat.cpp | 6 int main(void) { return faccessat(AT_FDCWD, "/root", F_OK, 0); } in main()
|
| /llvm-project-15.0.7/libc/src/unistd/linux/ |
| H A D | unlink.cpp | 24 long ret = __llvm_libc::syscall(SYS_unlinkat, AT_FDCWD, path, 0);
|
| H A D | rmdir.cpp | 24 long ret = __llvm_libc::syscall(SYS_unlinkat, AT_FDCWD, path, AT_REMOVEDIR);
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Linux/ |
| H A D | name_to_handle_at.cpp | 16 int res = name_to_handle_at(AT_FDCWD, "/dev/null", handle, &mount_id, 0); in main()
|
| /llvm-project-15.0.7/libc/src/sys/stat/linux/ |
| H A D | mkdir.cpp | 25 long ret = __llvm_libc::syscall(SYS_mkdirat, AT_FDCWD, path, mode);
|
| /llvm-project-15.0.7/libc/src/fcntl/linux/ |
| H A D | creat.cpp | 25 int fd = __llvm_libc::syscall(SYS_openat, AT_FDCWD, path,
|
| H A D | open.cpp | 35 int fd = __llvm_libc::syscall(SYS_openat, AT_FDCWD, path, flags, mode_flags);
|
| /llvm-project-15.0.7/compiler-rt/test/sanitizer_common/TestCases/Posix/ |
| H A D | readlinkat.c | 21 int res2 = readlinkat(AT_FDCWD, symlink_path, readlinkat_path, in main()
|
| /llvm-project-15.0.7/compiler-rt/test/msan/Linux/ |
| H A D | name_to_handle_at.cpp | 17 int res = name_to_handle_at(AT_FDCWD, "/dev/null", handle, &mount_id, 0); in main()
|
| /llvm-project-15.0.7/libc/include/llvm-libc-macros/linux/ |
| H A D | fcntl-macros.h | 66 #define AT_FDCWD -100 macro
|
| /llvm-project-15.0.7/libc/src/__support/File/ |
| H A D | linux_dir.cpp | 24 int fd = __llvm_libc::syscall(SYS_openat, AT_FDCWD, name, open_flags); in platform_opendir()
|
| H A D | linux_file.cpp | 150 __llvm_libc::syscall(SYS_openat, AT_FDCWD, path, open_flags, OPEN_MODE); in openfile()
|
| /llvm-project-15.0.7/libc/test/src/fcntl/ |
| H A D | openat_test.cpp | 42 EXPECT_THAT(__llvm_libc::openat(AT_FDCWD, "openat.test", O_RDONLY), in TEST()
|
| /llvm-project-15.0.7/libcxx/src/filesystem/ |
| H A D | posix_compat.h | 385 #define AT_FDCWD -1 macro 491 #if defined(AT_SYMLINK_NOFOLLOW) && defined(AT_FDCWD)
|
| H A D | filesystem_common.h | 519 if (::utimensat(AT_FDCWD, p.c_str(), TS.data(), 0) == -1) {
|
| H A D | operations.cpp | 1290 #if defined(AT_SYMLINK_NOFOLLOW) && defined(AT_FDCWD) in __permissions() 1292 if (detail::fchmodat(AT_FDCWD, p.c_str(), real_perms, flags) == -1) { in __permissions() 1481 uintmax_t count = remove_all_impl(AT_FDCWD, p, mec); in __remove_all()
|
| /llvm-project-15.0.7/libcxx/docs/DesignDocs/ |
| H A D | FileTimeType.rst | 109 int result = ::utimensat(AT_FDCWD, path, both_times, 0);
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/tests/ |
| H A D | msan_test.cpp | 718 readlinkat(AT_FDCWD, SYMLINK_TO_READ, x, 1000); in TEST()
|