Home
last modified time | relevance | path

Searched refs:OpenFile (Results 1 – 25 of 38) sorted by relevance

12

/llvm-project/flang/runtime/
H A Dfile.cpp28 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 Dfile.h26 class OpenFile {
/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_coverage_libcdep_new.cpp32 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 Dsanitizer_file.cpp66 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 Dsanitizer_file.h59 fd_t OpenFile(const char *filename, FileAccessMode mode,
H A Dsanitizer_posix.cpp165 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 DFileManager.h208 /// \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 Dsanitizer_libc_test.cpp119 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 DRemoteAwarePlatform.cpp101 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 DFileCache.h31 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
/llvm-project/lldb/tools/debugserver/source/
H A DRNBSocket.h49 rnb_err_t OpenFile(const char *path);
H A Ddebugserver.cpp1466 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 DRNBSocket.cpp249 rnb_err_t RNBSocket::OpenFile(const char *path) { in OpenFile() function in RNBSocket
/llvm-project/libc/test/src/dirent/
H A Ddirent_test.cpp65 TEST(LlvmLibcDirentTest, OpenFile) { in TEST() argument
/llvm-project/compiler-rt/lib/stats/
H A Dstats.cpp48 stats_fd = OpenFile(path.data(), WrOnly, &err); in OpenStatsFile()
/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp442 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 DPPDirectives.cpp980 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 DDirectoryLookup.h184 bool OpenFile = true) const;
H A DHeaderSearch.h505 bool BuildSystemModule = false, bool OpenFile = true,
807 bool OpenFile = true, bool CacheFailures = true);
/llvm-project/lldb/source/Host/common/
H A DFileCache.cpp26 lldb::user_id_t FileCache::OpenFile(const FileSpec &file_spec, in OpenFile() function in FileCache
/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIO.h100 FILE* OpenFile(int Fd, const char *Mode);
H A DFuzzerIOPosix.cpp110 FILE* OpenFile(int Fd, const char* Mode) { in OpenFile() function
H A DFuzzerIO.cpp139 FILE *NewOutputFile = OpenFile(OutputFd, "w"); in DupAndCloseStderr()
/llvm-project/lldb/include/lldb/Target/
H A DRemoteAwarePlatform.h31 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.h111 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,

12