| /llvm-project-15.0.7/libc/src/dirent/ |
| H A D | CMakeLists.txt | 14 dirfd 16 dirfd.cpp 18 dirfd.h
|
| H A D | dirfd.h | 16 int dirfd(::DIR *dir);
|
| H A D | dirfd.cpp | 18 LLVM_LIBC_FUNCTION(int, dirfd, (::DIR * dir)) {
|
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | std-c-library-functions-POSIX.c | 127 int faccessat(int dirfd, const char *pathname, int mode, int flags); 144 int dirfd(DIR *dirp); 157 int mkdirat(int dirfd, const char *pathname, mode_t mode); 160 int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev); 162 int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags); 166 int fchownat(int dirfd, const char *pathname, uid_t owner, gid_t group, int flags); 257 int utimensat(int dirfd, const char *pathname, const struct timespec times[2], int flags);
|
| H A D | taint-generic.c | 424 ssize_t readlinkat(int dirfd, const char *pathname, char *buf, size_t bufsiz); 425 int testReadlinkat(int dirfd, char *path, char *buf, size_t bufsiz) { in testReadlinkat() argument 426 ssize_t s = readlinkat(dirfd, path, buf, bufsiz); in testReadlinkat() 428 (void)(1 / dirfd); // arg 0 is not tainted in testReadlinkat()
|
| /llvm-project-15.0.7/compiler-rt/test/msan/ |
| H A D | fstatat64.cpp | 11 int dirfd = open("/dev", O_RDONLY); in main() local 12 if (fstatat64(dirfd, "null", &st, 0)) in main()
|
| /llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/android/ |
| H A D | cloexec-open.cpp | 17 extern "C" int openat(int dirfd, const char *pathname, int flags, ...); 102 int openat(int dirfd, const char *pathname, int flags, ...); 164 int openat(int dirfd, const char *pathname, int flags, ...);
|
| /llvm-project-15.0.7/libc/test/src/dirent/ |
| H A D | CMakeLists.txt | 14 libc.src.dirent.dirfd
|
| H A D | dirent_test.cpp | 28 ASSERT_GT(__llvm_libc::dirfd(dir), 2); in TEST()
|
| /llvm-project-15.0.7/libc/spec/ |
| H A D | posix.td | 607 "dirfd",
|
| /llvm-project-15.0.7/libc/config/linux/x86_64/ |
| H A D | entrypoints.txt | 232 libc.src.dirent.dirfd
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl-old/ |
| H A D | tsan_interceptors_posix.cpp | 44 #define dirfd(dirp) (*(int *)(dirp)) macro 98 extern "C" int dirfd(void *dirp); 1875 int fd = dirfd(dirp); in TSAN_INTERCEPTOR()
|
| /llvm-project-15.0.7/compiler-rt/lib/tsan/rtl/ |
| H A D | tsan_interceptors_posix.cpp | 44 #define dirfd(dirp) (*(int *)(dirp)) macro 98 extern "C" int dirfd(void *dirp); 1875 int fd = dirfd(dirp); in TSAN_INTERCEPTOR()
|
| /llvm-project-15.0.7/compiler-rt/lib/msan/tests/ |
| H A D | msan_test.cpp | 734 int dirfd = open(DIR_TO_READ, O_RDONLY); in TEST() local 735 ASSERT_GT(dirfd, 0); in TEST() 736 int res = fstatat(dirfd, SUBFILE_TO_READ, st, 0); in TEST() 741 close(dirfd); in TEST()
|
| /llvm-project-15.0.7/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_common_interceptors.inc | 6350 INTERCEPTOR(int, flopenat, int dirfd, const char *path, int flags, ...) { 6360 return REAL(flopenat)(dirfd, path, flags, mode); 7554 INTERCEPTOR(SSIZE_T, readlinkat, int dirfd, const char *path, char *buf, 7557 COMMON_INTERCEPTOR_ENTER(ctx, readlinkat, dirfd, path, buf, bufsiz); 7559 SSIZE_T res = REAL(readlinkat)(dirfd, path, buf, bufsiz); 7571 INTERCEPTOR(int, name_to_handle_at, int dirfd, const char *pathname, 7574 COMMON_INTERCEPTOR_ENTER(ctx, name_to_handle_at, dirfd, pathname, handle, 7584 int res = REAL(name_to_handle_at)(dirfd, pathname, handle, mount_id, flags);
|
| /llvm-project-15.0.7/compiler-rt/lib/dfsan/ |
| H A D | libc_ubuntu1404_abilist.txt | 1553 fun:dirfd=uninstrumented
|