Home
last modified time | relevance | path

Searched refs:pathname (Results 1 – 25 of 34) sorted by relevance

12

/llvm-project/clang/test/Analysis/Inputs/
H A Dstd-c-library-functions-POSIX.h42 FILE *fopen(const char *restrict pathname, const char *restrict mode);
44 FILE *freopen(const char *restrict pathname, const char *restrict mode,
66 int access(const char *pathname, int amode);
67 int faccessat(int dirfd, const char *pathname, int mode, int flags);
77 int creat(const char *pathname, mode_t mode);
88 int mkdir(const char *pathname, mode_t mode);
89 int mkdirat(int dirfd, const char *pathname, mode_t mode);
90 int mknod(const char *pathname, mode_t mode, dev_t dev);
91 int mknodat(int dirfd, const char *pathname, mode_t mode, dev_t dev);
93 int fchmodat(int dirfd, const char *pathname, mode_t mode, int flags);
[all …]
H A Dsystem-header-simulator.h50 FILE *freopen(const char *restrict pathname, const char *restrict mode, FILE *restrict stream);
/llvm-project/clang-tools-extra/test/clang-tidy/checkers/android/
H A Dcloexec-open.cpp17 extern "C" int openat(int dirfd, const char *pathname, int flags, ...);
100 int open(const char *pathname, int flags, ...);
101 int open64(const char *pathname, int flags, ...);
102 int openat(int dirfd, const char *pathname, int flags, ...);
162 int open(const char *pathname, int flags, ...);
163 int open64(const char *pathname, int flags, ...);
164 int openat(int dirfd, const char *pathname, int flags, ...);
/llvm-project/lldb/source/Host/freebsd/
H A DHost.cpp67 // Get pathname for pid. If that fails fall back to argv[0]. in GetFreeBSDProcessArgs()
68 char pathname[MAXPATHLEN]; in GetFreeBSDProcessArgs()
69 size_t pathname_len = sizeof(pathname); in GetFreeBSDProcessArgs()
71 if (::sysctl(mib, 4, pathname, &pathname_len, NULL, 0) == 0) in GetFreeBSDProcessArgs()
72 process_info.GetExecutableFile().SetFile(pathname, FileSpec::Style::native); in GetFreeBSDProcessArgs() local
/llvm-project/bolt/runtime/
H A Dsys_x86_64.h179 uint64_t __open(const char *pathname, uint64_t flags, uint64_t mode) { in __open() argument
184 : "D"(pathname), "S"(flags), "d"(mode) in __open()
199 uint64_t __readlink(const char *pathname, char *buf, size_t bufsize) { in __readlink() argument
204 : "D"(pathname), "S"(buf), "d"(bufsize) in __readlink()
H A Dsys_aarch64.h134 uint64_t __open(const char *pathname, uint64_t flags, uint64_t mode) { in __open() argument
137 register const char *x1 __asm__("x1") = pathname; in __open()
163 uint64_t __readlink(const char *pathname, char *buf, size_t bufsize) { in __readlink() argument
166 register const char *x1 __asm__("x1") = pathname; in __readlink()
/llvm-project/clang/test/Analysis/scan-build/
H A Dcxx-name.test6 consumed by ccc-analyzer) to an appropriate pathname for the clang++ executable,
7 derived from the pathname of the clang executable:
/llvm-project/third-party/unittest/googletest/include/gtest/internal/
H A Dgtest-filepath.h74 explicit FilePath(const std::string& pathname) : pathname_(pathname) { in FilePath() argument
/llvm-project/compiler-rt/include/sanitizer/
H A Dlinux_syscall_hooks.h693 #define __sanitizer_syscall_pre_unlink(pathname) \ argument
694 __sanitizer_syscall_pre_impl_unlink((long)(pathname))
695 #define __sanitizer_syscall_post_unlink(res, pathname) \ argument
696 __sanitizer_syscall_post_impl_unlink(res, (long)(pathname))
800 #define __sanitizer_syscall_pre_creat(pathname, mode) \ argument
801 __sanitizer_syscall_pre_impl_creat((long)(pathname), (long)(mode))
802 #define __sanitizer_syscall_post_creat(res, pathname, mode) \ argument
803 __sanitizer_syscall_post_impl_creat(res, (long)(pathname), (long)(mode))
1019 #define __sanitizer_syscall_pre_mkdir(pathname, mode) \ argument
1020 __sanitizer_syscall_pre_impl_mkdir((long)(pathname), (long)(mode))
[all …]
/llvm-project/lldb/source/Utility/
H A DFileSpec.cpp169 void FileSpec::SetFile(llvm::StringRef pathname) { SetFile(pathname, m_style); } in SetFile() argument
174 void FileSpec::SetFile(llvm::StringRef pathname, Style style) { in SetFile() argument
178 if (pathname.empty()) in SetFile()
181 llvm::SmallString<128> resolved(pathname); in SetFile()
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_linux_libcdep.cpp952 const char *pathname = "/proc/self/exe"; in ReExec()
957 pathname = static_cast<const char *>(aux->a_un.a_ptr); in ReExec()
973 pathname = path; in ReExec()
975 pathname = getexecname(); in ReExec()
976 CHECK_NE(pathname, NULL); in ReExec()
980 pathname = reinterpret_cast<const char *>(getauxval(AT_EXECFN)); in ReExec()
983 uptr rv = internal_execve(pathname, GetArgv(), GetEnviron()); in ReExec()
947 const char *pathname = "/proc/self/exe"; ReExec() local
H A Dsanitizer_common_nolibc.cpp29 bool CreateDir(const char *pathname) { return false; }
28 CreateDir(const char * pathname) CreateDir() argument
H A Dsanitizer_common_syscalls.inc1309 PRE_SYSCALL(unlink)(const void *pathname) {
1310 if (pathname)
1311 PRE_READ(pathname,
1312 __sanitizer::internal_strlen((const char *)pathname) + 1);
1315 POST_SYSCALL(unlink)(long res, const void *pathname) {}
1511 PRE_SYSCALL(creat)(const void *pathname, long mode) {
1512 if (pathname)
1513 PRE_READ(pathname,
1514 __sanitizer::internal_strlen((const char *)pathname) + 1);
1517 POST_SYSCALL(creat)(long res, const void *pathname, lon
[all...]
H A Dsanitizer_file.h86 bool CreateDir(const char *pathname);
H A Dsanitizer_posix_libcdep.cpp174 bool CreateDir(const char *pathname) { return mkdir(pathname, 0755) == 0; } in CreateDir() argument
H A Dsanitizer_win.cpp612 bool CreateDir(const char *pathname) { in GetPreferredBase()
613 return CreateDirectoryA(pathname, nullptr) != 0; in GetPreferredBase()
595 CreateDir(const char * pathname) CreateDir() argument
/llvm-project/clang/test/Sema/
H A Denable_if.c10 int open(const char *pathname, int flags) __attribute__((enable_if(!(flags & O_CREAT), "must specif…
11 int open(const char *pathname, int flags, mode_t mode) __attribute__((overloadable)); // expected-…
/llvm-project/lld/test/ELF/linkerscript/
H A Dinput-relative.s2 ## For a relative pathname in INPUT() or GROUP(), the parent directory of
14 ## A relative pathname is relative to the parent directory of the current linker script.
/llvm-project/lldb/source/Symbol/
H A DCompileUnit.cpp22 const char *pathname, const lldb::user_id_t cu_sym_id, in CompileUnit() argument
26 std::make_shared<SupportFile>(FileSpec(pathname)), cu_sym_id, in CompileUnit()
/llvm-project/libcxx/test/support/
H A Dfilesystem_test_helper.h115 inline FILE* fopen64(const char* pathname, const char* mode) { in fopen64()
119 return ::fopen(pathname, mode); in fopen64()
121 return ::fopen64(pathname, mode); in fopen64()
114 fopen64(const char * pathname,const char * mode) fopen64() argument
/llvm-project/compiler-rt/lib/msan/
H A Dmsan_interceptors.cpp805 INTERCEPTOR(int, fstatat, int fd, char *pathname, void *buf, int flags) {
807 int res = REAL(fstatat)(fd, pathname, buf, flags);
817 INTERCEPTOR(int, fstatat64, int fd, char *pathname, void *buf, int flags) {
819 int res = REAL(fstatat64)(fd, pathname, buf, flags);
830 INTERCEPTOR(int, __fxstatat, int magic, int fd, char *pathname, void *buf,
833 int res = REAL(__fxstatat)(magic, fd, pathname, buf, flags);
843 INTERCEPTOR(int, __fxstatat64, int magic, int fd, char *pathname, void *buf,
846 int res = REAL(__fxstatat64)(magic, fd, pathname, buf, flags);
809 INTERCEPTOR(int,fstatat,int fd,char * pathname,void * buf,int flags) INTERCEPTOR() argument
821 INTERCEPTOR(int,fstatat64,int fd,char * pathname,void * buf,int flags) INTERCEPTOR() argument
834 INTERCEPTOR(int,__fxstatat,int magic,int fd,char * pathname,void * buf,int flags) INTERCEPTOR() argument
847 INTERCEPTOR(int,__fxstatat64,int magic,int fd,char * pathname,void * buf,int flags) INTERCEPTOR() argument
/llvm-project/lldb/include/lldb/Symbol/
H A DCompileUnit.h58 /// \param[in] pathname
80 const char *pathname, lldb::user_id_t uid,
/llvm-project/lldb/examples/customization/import-python/
H A DREADME13 module given its full pathname.
/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DScriptInterpreterPython.cpp2311 const char *pathname, const LoadScriptOptions &options,
2321 if (!pathname || !pathname[0]) { in RunScriptFormatKeyword()
2368 std::string module_name(pathname); in LoadScriptingModule()
2377 FileSpec module_file(pathname); in LoadScriptingModule()
2388 if (strchr(pathname, '\\') || strchr(pathname, '/')) { in LoadScriptingModule()
2389 error = Status::FromErrorStringWithFormatv("invalid pathname '{0}'", in LoadScriptingModule()
2390 pathname); in LoadScriptingModule()
2398 "invalid directory name '{0}'", pathname); in LoadScriptingModule()
2349 LoadScriptingModule(const char * pathname,const LoadScriptOptions & options,lldb_private::Status & error,StructuredData::ObjectSP * module_sp,FileSpec extra_search_dir) LoadScriptingModule() argument
[all...]
/llvm-project/llvm/test/tools/llvm-debuginfo-analyzer/
H A Dcmdline.test59 HELP-ALL: =pathname - Pathname where the element is defined.
108 HELP-ALL: --output-folder=<pathname> - Folder name for view splitting.

12