Home
last modified time | relevance | path

Searched refs:O_DIRECTORY (Results 1 – 8 of 8) sorted by relevance

/llvm-project-15.0.7/libc/include/llvm-libc-macros/linux/
H A Dfcntl-macros.h17 #define O_DIRECTORY 040000 macro
19 #define O_DIRECTORY 00200000 macro
32 #define O_TMPFILE (020000000 | O_DIRECTORY)
/llvm-project-15.0.7/libc/test/src/unistd/
H A Dunlinkat_test.cpp23 int dir_fd = __llvm_libc::open(TEST_DIR, O_DIRECTORY); in TEST()
37 int dir_fd = __llvm_libc::open(TEST_DIR, O_DIRECTORY); in TEST()
/llvm-project-15.0.7/libc/src/__support/File/
H A Dlinux_dir.cpp20 int open_flags = O_RDONLY | O_DIRECTORY | O_CLOEXEC; in platform_opendir()
/llvm-project-15.0.7/libc/test/src/fcntl/
H A Dopenat_test.cpp24 int dir_fd = __llvm_libc::open(TEST_DIR, O_DIRECTORY); in TEST()
/llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp792 uptr fd = internal_open("/sys/devices/system/cpu", O_RDONLY | O_DIRECTORY); in GetNumberOfCPUs()
H A Dsanitizer_linux.cpp985 descriptor_ = internal_open(task_directory_path, O_RDONLY | O_DIRECTORY); in ThreadLister()
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Doperations.cpp1414 const int options = O_CLOEXEC | O_RDONLY | O_DIRECTORY | O_NOFOLLOW; in remove_all_impl()
/llvm-project-15.0.7/compiler-rt/lib/msan/tests/
H A Dmsan_test.cpp767 int fd = open("/", O_RDONLY | O_DIRECTORY); in TEST()