Home
last modified time | relevance | path

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

12

/openbsd-src/gnu/llvm/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.h58 fd_t OpenFile(const char *filename, FileAccessMode mode,
H A Dsanitizer_posix.cpp163 fd_t OpenFile(const char *filename, FileAccessMode mode, error_t *errno_p) { in OpenFile() function
203 fd_t fd = OpenFile(file_name, RdOnly); in MapFileToMemory()
/openbsd-src/gnu/llvm/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));
/openbsd-src/gnu/llvm/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()
361 fd_t fd = OpenFile(tmpfile, WrOnly); in TEST()
/openbsd-src/gnu/llvm/lldb/include/lldb/Host/
H A DFileCache.h31 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
/openbsd-src/gnu/llvm/lldb/tools/debugserver/source/
H A DRNBSocket.h49 rnb_err_t OpenFile(const char *path);
H A Ddebugserver.cpp1502 if (remote->Comm().OpenFile(str)) in main()
1604 if (remote->Comm().OpenFile(str)) in main()
1633 if (remote->Comm().OpenFile(str)) in main()
1671 if (remote->Comm().OpenFile(str)) in main()
H A DRNBSocket.cpp244 rnb_err_t RNBSocket::OpenFile(const char *path) { in OpenFile() function in RNBSocket
/openbsd-src/gnu/llvm/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.cpp676 user_id_t Platform::OpenFile(const FileSpec &file_spec, in OpenFile() function in Platform
680 return FileCache::GetInstance().OpenFile(file_spec, flags, mode, error); in OpenFile()
1200 lldb::user_id_t dest_file = OpenFile( in PutFile()
1627 auto src_fd = OpenFile(src_file_spec, File::eOpenOptionReadOnly, in DownloadModuleSlice()
/openbsd-src/gnu/llvm/compiler-rt/lib/stats/
H A Dstats.cpp48 stats_fd = OpenFile(path.data(), WrOnly, &err); in OpenStatsFile()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DDirectoryLookup.h190 bool OpenFile = true) const;
H A DHeaderSearch.h489 bool BuildSystemModule = false, bool OpenFile = true,
777 bool OpenFile = true, bool CacheFailures = true);
/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DHeaderSearch.cpp421 ModuleMap::KnownHeader *SuggestedModule, bool OpenFile /*=true*/, in getFileAndSuggestModule() argument
425 auto File = getFileMgr().getFileRef(FileName, OpenFile, CacheFailures); in getFileAndSuggestModule()
456 bool OpenFile) const { in LookupFile()
478 RequestingModule, SuggestedModule, OpenFile); in LookupFile()
516 if (auto Res = HS.getFileMgr().getOptionalFileRef(Dest, OpenFile)) { in LookupFile()
865 bool BuildSystemModule, bool OpenFile, bool CacheFailures) { in LookupFile() argument
895 RequestingModule, SuggestedModule, OpenFile, in LookupFile()
1049 IsInHeaderMap, MappedName, OpenFile); in LookupFile()
/openbsd-src/gnu/llvm/lldb/source/Host/common/
H A DFileCache.cpp26 lldb::user_id_t FileCache::OpenFile(const FileSpec &file_spec, in OpenFile() function in FileCache
/openbsd-src/gnu/llvm/compiler-rt/lib/fuzzer/
H A DFuzzerIO.h99 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
/openbsd-src/gnu/llvm/lldb/include/lldb/Target/
H A DRemoteAwarePlatform.h30 lldb::user_id_t OpenFile(const FileSpec &file_spec, File::OpenOptions flags,
/openbsd-src/gnu/llvm/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.cpp578 lldb::user_id_t PlatformRemoteGDBServer::OpenFile(const FileSpec &file_spec, in OpenFile() function in PlatformRemoteGDBServer
583 return m_gdb_client_up->OpenFile(file_spec, flags, mode, error); in OpenFile()
/openbsd-src/gnu/llvm/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()

12