Home
last modified time | relevance | path

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

12

/src/contrib/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()
H A Dsanitizer_win.cpp606 fd_t fd = OpenFile(modname, RdOnly, nullptr); in GetPreferredBase()
752 fd_t OpenFile(const char *filename, FileAccessMode mode, error_t *last_error) { in OpenFile() function
/src/contrib/llvm-project/clang/include/clang/Basic/
H A DFileManager.h211 getFile(StringRef Filename, bool OpenFile = false, bool CacheFailure = true);
228 bool OpenFile = false,
241 bool OpenFile = false,
244 getFileRef(Filename, OpenFile, CacheFailure));
/src/contrib/llvm-project/lldb/source/Target/
H A DRemoteAwarePlatform.cpp101 lldb::user_id_t RemoteAwarePlatform::OpenFile(const FileSpec &file_spec, in OpenFile() function in RemoteAwarePlatform
105 return m_remote_platform_sp->OpenFile(file_spec, flags, mode, error); in OpenFile()
106 return Platform::OpenFile(file_spec, flags, mode, error); in OpenFile()
H A DPlatform.cpp638 user_id_t Platform::OpenFile(const FileSpec &file_spec, in OpenFile() function in Platform
642 return FileCache::GetInstance().OpenFile(file_spec, flags, mode, error); in OpenFile()
1160 lldb::user_id_t dest_file = OpenFile( in PutFile()
1736 auto src_fd = OpenFile(src_file_spec, File::eOpenOptionReadOnly, in DownloadModuleSlice()
/src/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileCache.h31 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
/src/contrib/llvm-project/compiler-rt/lib/stats/
H A Dstats.cpp48 stats_fd = OpenFile(path.data(), WrOnly, &err); in OpenStatsFile()
/src/contrib/llvm-project/clang/include/clang/Lex/
H A DDirectoryLookup.h194 bool OpenFile = true) const;
H A DHeaderSearch.h517 bool BuildSystemModule = false, bool OpenFile = true,
819 bool OpenFile = true, bool CacheFailures = true);
/src/contrib/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()
892 bool BuildSystemModule, bool OpenFile, bool CacheFailures) { in LookupFile() argument
922 RequestingModule, SuggestedModule, OpenFile, in LookupFile()
1081 IsInHeaderMap, MappedName, OpenFile); in LookupFile()
H A DPPDirectives.cpp958 bool *IsFrameworkFound, bool SkipCache, bool OpenFile, bool CacheFailures) { in LookupFile() argument
1043 IsFrameworkFound, SkipCache, BuildSystemModule, OpenFile, CacheFailures); in LookupFile()
1078 Preprocessor::LookupEmbedFile(StringRef Filename, bool isAngled, bool OpenFile, in LookupEmbedFile() argument
1084 FM.getFileRef(Filename, OpenFile); in LookupEmbedFile()
1111 FM.getFileRef(LookupPath, OpenFile); in LookupEmbedFile()
1127 FM.getFileRef(LookupPath, OpenFile); in LookupEmbedFile()
1139 FM.getFileRef(LookupPath, OpenFile); in LookupEmbedFile()
/src/contrib/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
/src/contrib/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()
H A DFuzzerIOWindows.cpp217 FILE* OpenFile(int Fd, const char* Mode) { in OpenFile() function
/src/contrib/llvm-project/lldb/include/lldb/Target/
H A DRemoteAwarePlatform.h31 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
H A DPlatform.h514 virtual lldb::user_id_t OpenFile(const FileSpec &file_spec,
/src/contrib/llvm-project/lldb/source/Plugins/Platform/gdb-server/
H A DPlatformRemoteGDBServer.h111 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
H A DPlatformRemoteGDBServer.cpp586 lldb::user_id_t PlatformRemoteGDBServer::OpenFile(const FileSpec &file_spec, in OpenFile() function in PlatformRemoteGDBServer
591 return m_gdb_client_up->OpenFile(file_spec, flags, mode, error); in OpenFile()
/src/contrib/llvm-project/lldb/source/Plugins/Platform/POSIX/
H A DPlatformPOSIX.cpp211 user_id_t fd_src = OpenFile(source, File::eOpenOptionReadOnly, in GetFile()
223 user_id_t fd_dst = FileCache::GetInstance().OpenFile( in GetFile()
/src/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.h348 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,

12