Home
last modified time | relevance | path

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

12

/freebsd/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()
171 fd_t fd = OpenFile(file_path); in DumpCoverage()
181 fd_t fd = OpenFile(file_path); in DumpCoverage()
H A Dsanitizer_file.cpp66 fd = OpenFile(full_path, WrOnly, &err); in ReopenIfNecessary()
142 fd_t fd = OpenFile(file_name, RdOnly, errno_p); in ReadFileToBuffer()
178 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.cpp610 fd_t fd = OpenFile(modname, RdOnly, nullptr); in GetPreferredBase()
756 fd_t OpenFile(const char *filename, FileAccessMode mode, error_t *last_error) { in OpenFile() function
H A Dsanitizer_linux_libcdep.cpp756 fd_t fd = OpenFile("/proc/self/statm", RdOnly); in GetRSS()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DFileManager.h205 getFile(StringRef Filename, bool OpenFile = false, bool CacheFailure = true);
222 bool OpenFile = false,
235 bool OpenFile = false,
238 getFileRef(Filename, OpenFile, CacheFailure));
/freebsd/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileCache.h31 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
/freebsd/contrib/llvm-project/lldb/source/Target/
H A DRemoteAwarePlatform.cpp214 lldb::user_id_t RemoteAwarePlatform::OpenFile(const FileSpec &file_spec, in OpenFile() function in RemoteAwarePlatform
218 return m_remote_platform_sp->OpenFile(file_spec, flags, mode, error); in OpenFile()
219 return Platform::OpenFile(file_spec, flags, mode, error); in OpenFile()
H A DPlatform.cpp672 user_id_t Platform::OpenFile(const FileSpec &file_spec, in OpenFile() function in Platform
676 return FileCache::GetInstance().OpenFile(file_spec, flags, mode, error); in OpenFile()
1204 lldb::user_id_t dest_file = OpenFile( in PutFile()
1784 auto src_fd = OpenFile(src_file_spec, File::eOpenOptionReadOnly, in DownloadModuleSlice()
/freebsd/contrib/llvm-project/compiler-rt/lib/stats/
H A Dstats.cpp48 stats_fd = OpenFile(path.data(), WrOnly, &err); in OpenStatsFile()
/freebsd/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp418 ModuleMap::KnownHeader *SuggestedModule, bool OpenFile /*=true*/, in getFileAndSuggestModule() argument
422 auto File = getFileMgr().getFileRef(FileName, OpenFile, CacheFailures); in getFileAndSuggestModule()
453 bool OpenFile) const { in LookupFile()
475 RequestingModule, SuggestedModule, OpenFile); in LookupFile()
520 if (auto Res = HS.getFileMgr().getOptionalFileRef(Dest, OpenFile)) { in LookupFile()
868 bool BuildSystemModule, bool OpenFile, bool CacheFailures) { in LookupFile() argument
898 RequestingModule, SuggestedModule, OpenFile, in LookupFile()
1052 IsInHeaderMap, MappedName, OpenFile); in LookupFile()
/freebsd/contrib/llvm-project/clang/include/clang/Lex/
H A DDirectoryLookup.h194 bool OpenFile = true) const;
H A DHeaderSearch.h500 bool BuildSystemModule = false, bool OpenFile = true,
791 bool OpenFile = true, bool CacheFailures = true);
/freebsd/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
/freebsd/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
/freebsd/contrib/llvm-project/lldb/include/lldb/Target/
H A DRemoteAwarePlatform.h30 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
H A DPlatform.h527 virtual lldb::user_id_t OpenFile(const FileSpec &file_spec,
/freebsd/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()
/freebsd/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()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DGDBRemoteCommunicationClient.h346 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,

12