| /llvm-project/flang/runtime/ |
| H A D | file.cpp | 28 void OpenFile::set_path(OwningPtr<char> &&path, std::size_t bytes) { in set_path() 63 void OpenFile::Open(OpenStatus status, Fortran::common::optional<Action> action, in Open() 158 void OpenFile::Predefine(int fd) { in Predefine() 175 void OpenFile::Close(CloseStatus status, IoErrorHandler &handler) { in Close() 191 std::size_t OpenFile::Read(FileOffset at, char *buffer, std::size_t minBytes, in Read() 220 std::size_t OpenFile::Write(FileOffset at, const char *buffer, in Write() 249 inline static int openfile_ftruncate(int fd, OpenFile::FileOffset at) { in openfile_ftruncate() 257 void OpenFile::Truncate(FileOffset at, IoErrorHandler &handler) { in Truncate() 270 int OpenFile::ReadAsynchronously( in ReadAsynchronously() 299 int OpenFile [all...] |
| H A D | file.h | 26 class OpenFile {
|
| /llvm-project/compiler-rt/lib/sanitizer_common/ |
| H A D | sanitizer_coverage_libcdep_new.cpp | 32 static fd_t OpenFile(const char* path) { in OpenFile() function 34 fd_t fd = OpenFile(path, WrOnly, &err); in OpenFile() 52 fd_t fd = OpenFile(file_path); in WriteModuleCoverage() 172 fd_t fd = OpenFile(file_path); in DumpCoverage() 182 fd_t fd = OpenFile(file_path); in DumpCoverage()
|
| H A D | sanitizer_file.cpp | 66 fd = OpenFile(full_path, WrOnly, &err); in ReopenIfNecessary() 144 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToBuffer() 180 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToVector()
|
| H A D | sanitizer_file.h | 59 fd_t OpenFile(const char *filename, FileAccessMode mode,
|
| H A D | sanitizer_posix.cpp | 165 fd_t OpenFile(const char *filename, FileAccessMode mode, error_t *errno_p) { in OpenFile() function 205 fd_t fd = OpenFile(file_name, RdOnly); in MapFileToMemory()
|
| /llvm-project/clang/include/clang/Basic/ |
| H A D | FileManager.h | 208 /// \param OpenFile if true and the file exists, it will be opened. 215 getFile(StringRef Filename, bool OpenFile = false, bool CacheFailure = true); 227 /// \param OpenFile if true and the file exists, it will be opened. 232 bool OpenFile = false, 246 bool OpenFile = false, 249 getFileRef(Filename, OpenFile, CacheFailure)); in getFileSystemOpts()
|
| /llvm-project/compiler-rt/lib/sanitizer_common/tests/ |
| H A D | sanitizer_libc_test.cpp | 119 fd_t fd = OpenFile(tmpfile, WrOnly); in TEST() 124 fd = OpenFile(tmpfile, WrOnly); in TEST() 138 fd = OpenFile(tmpfile, RdOnly); in TEST() 319 fd_t fd = OpenFile(tmpfile, RdWr); in TEST() 360 fd_t fd = OpenFile(tmpfile, WrOnly); in TEST()
|
| /llvm-project/lldb/source/Target/ |
| H A D | RemoteAwarePlatform.cpp | 101 lldb::user_id_t RemoteAwarePlatform::OpenFile(const FileSpec &file_spec, in OpenFile() 105 return m_remote_platform_sp->OpenFile(file_spec, flags, mode, error); 106 return Platform::OpenFile(file_spec, flags, mode, error); in CloseFile() 98 lldb::user_id_t RemoteAwarePlatform::OpenFile(const FileSpec &file_spec, OpenFile() function in RemoteAwarePlatform
|
| /llvm-project/lldb/include/lldb/Host/ |
| H A D | FileCache.h | 31 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
|
| /llvm-project/lldb/tools/debugserver/source/ |
| H A D | RNBSocket.h | 49 rnb_err_t OpenFile(const char *path);
|
| H A D | debugserver.cpp | 1466 if (remote->Comm().OpenFile(str)) in main() 1568 if (remote->Comm().OpenFile(str)) in main() 1597 if (remote->Comm().OpenFile(str)) in main() 1635 if (remote->Comm().OpenFile(str)) in main()
|
| H A D | RNBSocket.cpp | 249 rnb_err_t RNBSocket::OpenFile(const char *path) { in OpenFile() function in RNBSocket
|
| /llvm-project/libc/test/src/dirent/ |
| H A D | dirent_test.cpp | 65 TEST(LlvmLibcDirentTest, OpenFile) { in TEST() argument
|
| /llvm-project/compiler-rt/lib/stats/ |
| H A D | stats.cpp | 48 stats_fd = OpenFile(path.data(), WrOnly, &err); in OpenStatsFile()
|
| /llvm-project/clang/lib/Lex/ |
| H A D | HeaderSearch.cpp | 442 ModuleMap::KnownHeader *SuggestedModule, bool OpenFile /*=true*/, in getFileAndSuggestModule() argument 446 auto File = getFileMgr().getFileRef(FileName, OpenFile, CacheFailures); in getFileAndSuggestModule() 477 bool OpenFile) const { in LookupFile() 499 RequestingModule, SuggestedModule, OpenFile); in LookupFile() 544 if (auto Res = HS.getFileMgr().getOptionalFileRef(Dest, OpenFile)) { in LookupFile() 699 FileMgr.getOptionalFileRef(FrameworkName, /*OpenFile=*/!SuggestedModule); in DoFrameworkLookup() 710 /*OpenFile=*/!SuggestedModule); in DoFrameworkLookup() 892 bool BuildSystemModule, bool OpenFile, bool CacheFailures) { in LookupFile() argument 922 RequestingModule, SuggestedModule, OpenFile, in LookupFile() 1077 IsInHeaderMap, MappedName, OpenFile); in LookupFile() [all...] |
| H A D | PPDirectives.cpp | 980 bool *IsFrameworkFound, bool SkipCache, bool OpenFile, bool CacheFailures) { in LookupFile() 1065 IsFrameworkFound, SkipCache, BuildSystemModule, OpenFile, CacheFailures); in LookupFile() 1100 Preprocessor::LookupEmbedFile(StringRef Filename, bool isAngled, bool OpenFile, in LookupEmbedFile() 1106 Filename, OpenFile, /*CacheFailure=*/true, /*IsText=*/false); in LookupEmbedFile() 1133 LookupPath, OpenFile, /*CacheFailure=*/true, /*IsText=*/false); in LookupEmbedFile() 1149 LookupPath, OpenFile, /*CacheFailure=*/true, /*IsText=*/false); 1161 LookupPath, OpenFile, /*CacheFailure=*/true, /*IsText=*/false); 958 LookupFile(SourceLocation FilenameLoc,StringRef Filename,bool isAngled,ConstSearchDirIterator FromDir,const FileEntry * FromFile,ConstSearchDirIterator * CurDirArg,SmallVectorImpl<char> * SearchPath,SmallVectorImpl<char> * RelativePath,ModuleMap::KnownHeader * SuggestedModule,bool * IsMapped,bool * IsFrameworkFound,bool SkipCache,bool OpenFile,bool CacheFailures) LookupFile() argument 1078 LookupEmbedFile(StringRef Filename,bool isAngled,bool OpenFile,const FileEntry * LookupFromFile) LookupEmbedFile() argument
|
| /llvm-project/clang/include/clang/Lex/ |
| H A D | DirectoryLookup.h | 184 bool OpenFile = true) const;
|
| H A D | HeaderSearch.h | 505 bool BuildSystemModule = false, bool OpenFile = true, 807 bool OpenFile = true, bool CacheFailures = true);
|
| /llvm-project/lldb/source/Host/common/ |
| H A D | FileCache.cpp | 26 lldb::user_id_t FileCache::OpenFile(const FileSpec &file_spec, in OpenFile() function in FileCache
|
| /llvm-project/compiler-rt/lib/fuzzer/ |
| H A D | FuzzerIO.h | 100 FILE* OpenFile(int Fd, const char *Mode);
|
| H A D | FuzzerIOPosix.cpp | 110 FILE* OpenFile(int Fd, const char* Mode) { in OpenFile() function
|
| H A D | FuzzerIO.cpp | 139 FILE *NewOutputFile = OpenFile(OutputFd, "w"); in DupAndCloseStderr()
|
| /llvm-project/lldb/include/lldb/Target/ |
| H A D | RemoteAwarePlatform.h | 31 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
|
| /llvm-project/lldb/source/Plugins/Platform/gdb-server/ |
| H A D | PlatformRemoteGDBServer.h | 111 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
|