Home
last modified time | relevance | path

Searched refs:FileSystem (Results 1 – 25 of 120) sorted by relevance

12345

/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/common/
H A DFileSystem.cpp44 FileSystem &FileSystem::Instance() { return *InstanceImpl(); } in Instance()
46 void FileSystem::Initialize() { in Initialize()
51 void FileSystem::Initialize(IntrusiveRefCntPtr<vfs::FileSystem> fs) { in Initialize()
56 void FileSystem::Terminate() { in Terminate()
61 Optional<FileSystem> &FileSystem::InstanceImpl() { in InstanceImpl()
62 static Optional<FileSystem> g_fs; in InstanceImpl()
77 FileSystem::GetStatus(const FileSpec &file_spec) const { in GetStatus()
122 uint32_t FileSystem::GetPermissions(const Twine &path, in GetPermissions()
138 bool FileSystem::Readable(const Twine &path) const { in Readable()
157 bool FileSystem::IsLocal(const Twine &path) const { in IsLocal()
[all …]
H A DSymbols.cpp89 if (FileSystem::Instance().Exists(dsym_directory)) { in LookForDsymNextToExecutablePath()
95 if (FileSystem::Instance().Exists(dsym_fspec) && in LookForDsymNextToExecutablePath()
111 if (FileSystem::Instance().Exists(dsym_fspec) && in LookForDsymNextToExecutablePath()
127 if (FileSystem::Instance().Exists(dsym_yaa_fspec)) { in LookForDsymNextToExecutablePath()
255 FileSystem::Instance().Exists(symbol_file_spec)) in LocateExecutableSymbolFile()
271 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
280 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
289 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
296 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
318 FileSystem::Instance().Resolve(dirspec); in LocateExecutableSymbolFile()
[all …]
H A DMonitoringProcessLauncher.cpp32 FileSystem &fs = FileSystem::Instance(); in LaunchProcess()
36 FileSystem::Instance().Resolve(exe_spec); in LaunchProcess()
39 FileSystem::Instance().ResolveExecutableLocation(exe_spec); in LaunchProcess()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Host/
H A DFileSystem.h29 class FileSystem {
34 FileSystem() : m_fs(llvm::vfs::getRealFileSystem()) {} in FileSystem() function
35 FileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs) : m_fs(fs) {} in FileSystem() function
37 FileSystem(const FileSystem &fs) = delete;
38 FileSystem &operator=(const FileSystem &fs) = delete;
40 static FileSystem &Instance();
43 static void Initialize(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> fs);
172 static llvm::Optional<FileSystem> &InstanceImpl();
173 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> m_fs;
/freebsd-12.1/contrib/llvm/tools/lldb/source/Host/posix/
H A DFileSystem.cpp34 const char *FileSystem::DEV_NULL = "/dev/null";
36 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) { in Symlink()
43 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { in Readlink()
56 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) { in ResolveSymbolicLink()
74 FILE *FileSystem::Fopen(const char *path, const char *mode) { in Fopen()
78 int FileSystem::Open(const char *path, int flags, int mode) { in Open()
/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DVirtualFileSystem.h195 class FileSystem; variable
210 FileSystem *FS;
245 class FileSystem : public llvm::ThreadSafeRefCountedBase<FileSystem> {
247 virtual ~FileSystem();
314 class OverlayFileSystem : public FileSystem {
353 class ProxyFileSystem : public FileSystem {
383 FileSystem &getUnderlyingFS() { return *FS; } in getUnderlyingFS()
386 IntrusiveRefCntPtr<FileSystem> FS;
399 class InMemoryFileSystem : public FileSystem {
485 IntrusiveRefCntPtr<FileSystem>
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h30 class FileSystem; variable
83 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
102 llvm::vfs::FileSystem *VFS) const;
113 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
120 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
236 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
245 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
H A DCompilerInvocation.h40 class FileSystem; variable
226 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
230 IntrusiveRefCntPtr<llvm::vfs::FileSystem> createVFSFromCompilerInvocation(
232 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
H A DASTUnit.h56 class FileSystem; variable
367 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
372 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, bool AllowRebuild = true,
710 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS);
826 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
841 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/
H A DFileSystemStatCache.h34 class FileSystem; variable
86 FileSystemStatCache *Cache, llvm::vfs::FileSystem &FS);
94 llvm::vfs::FileSystem &FS) = 0;
113 llvm::vfs::FileSystem &FS) override;
H A DFileManager.h122 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
184 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = nullptr);
225 IntrusiveRefCntPtr<llvm::vfs::FileSystem> getVirtualFileSystem() const { in getVirtualFileSystem()
/freebsd-12.1/contrib/llvm/tools/lldb/source/API/
H A DSBFileSpec.cpp36 FileSystem::Instance().Resolve(*m_opaque_ap); in SBFileSpec()
42 FileSystem::Instance().Resolve(*m_opaque_ap); in SBFileSpec()
58 bool result = FileSystem::Instance().Exists(*m_opaque_ap); in Exists()
69 return FileSystem::Instance().ResolveExecutableLocation(*m_opaque_ap); in ResolveExecutableLocation()
75 FileSystem::Instance().Resolve(result); in ResolvePath()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp45 if (FileSystem::Instance().IsDirectory(clang_path)) in VerifyClangPath()
88 FileSystem::Instance().Resolve(file_spec); in ComputeClangDirectory()
103 FileSystem::Instance().Resolve(file_spec); in ComputeClangDirectory()
116 FileSystem::Instance().Resolve(file_spec); in ComputeClangDirectory()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Core/
H A DSourceManager.cpp95 if (!file_sp || !FileSystem::Instance().Exists(file_sp->GetFileSpec())) { in GetFile()
373 m_mod_time(FileSystem::Instance().GetModificationTime(file_spec)), in File()
380 m_mod_time(FileSystem::Instance().GetModificationTime(file_spec)), in File()
425 m_mod_time = FileSystem::Instance().GetModificationTime(m_file_spec); in CommonInitializer()
430 if (!FileSystem::Instance().Exists(m_file_spec)) { in CommonInitializer()
438 m_mod_time = FileSystem::Instance().GetModificationTime(m_file_spec); in CommonInitializer()
445 m_data_sp = FileSystem::Instance().CreateDataBuffer(m_file_spec); in CommonInitializer()
518 auto curr_mod_time = FileSystem::Instance().GetModificationTime(m_file_spec); in UpdateIfNeeded()
523 m_data_sp = FileSystem::Instance().CreateDataBuffer(m_file_spec); in UpdateIfNeeded()
H A DStreamFile.cpp33 FileSystem::Instance().Open(m_file, FileSpec(path), in StreamFile()
42 FileSystem::Instance().Open(m_file, FileSpec(path), options, permissions); in StreamFile()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Target/
H A DPlatform.cpp538 FileSystem::Instance().Resolve(file_spec); in GetWorkingDirectory()
554 static FileSystem::EnumerateDirectoryResult
564 return FileSystem::eEnumerateDirectoryResultNext; in RecurseCopy_Callback()
595 return FileSystem::eEnumerateDirectoryResultNext; in RecurseCopy_Callback()
617 return FileSystem::eEnumerateDirectoryResultNext; in RecurseCopy_Callback()
630 return FileSystem::eEnumerateDirectoryResultNext; in RecurseCopy_Callback()
722 FileSystem::Instance().EnumerateDirectory( in Install()
736 error = FileSystem::Instance().Readlink(src, src_resolved); in Install()
892 if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) { in ResolveExecutable()
933 FileSystem::Instance().Resolve(resolved_platform_path); in ResolveRemotePath()
[all …]
H A DModuleCache.cpp136 if (FileSystem::Instance().Exists(sysroot_module_path_spec)) { in CreateHostSysRootModuleLink()
162 FileSystem::Instance().Open(m_file, m_file_spec, in ModuleLock()
229 if (!FileSystem::Instance().Exists(module_file_path)) in Get()
231 if (FileSystem::Instance().GetByteSize(module_file_path) != in Get()
257 if (FileSystem::Instance().Exists(symfile_spec)) in Get()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Interpreter/
H A DOptionValueFileSpec.cpp79 FileSystem::Instance().Resolve(m_current_value); in SetValueFromString()
113 const auto file_mod_time = FileSystem::Instance().GetModificationTime(m_current_value); in GetFileContents()
117 FileSystem::Instance().CreateDataBuffer(m_current_value.GetPath()); in GetFileContents()
/freebsd-12.1/contrib/llvm/tools/lldb/include/lldb/Utility/
H A DDataBufferLLVM.h26 class FileSystem; variable
38 friend FileSystem;
/freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp51 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
54 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS) { in createVFSOverlayForPreamblePCH()
236 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS, in Build()
414 llvm::vfs::FileSystem *VFS) const { in CanReuse()
489 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in AddImplicitPreamble()
496 CompilerInvocation &CI, IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in OverridePreamble()
684 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS, in configurePreamble()
705 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS) { in setupPreambleStorage()
711 IntrusiveRefCntPtr<llvm::vfs::FileSystem> RealFS = in setupPreambleStorage()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Symbol/
H A DObjectFile.cpp49 const bool file_exists = FileSystem::Instance().Exists(*file); in FindPlugin()
77 data_sp = FileSystem::Instance().CreateDataBuffer(file->GetPath(), in FindPlugin()
93 file_size = FileSystem::Instance().GetByteSize(archive_file); in FindPlugin()
122 data_sp = FileSystem::Instance().CreateDataBuffer( in FindPlugin()
212 FileSystem::Instance().CreateDataBuffer(file.GetPath(), 512, file_offset); in GetModuleSpecifications()
216 FileSystem::Instance().GetByteSize(file); in GetModuleSpecifications()
591 return !(must_exist && !FileSystem::Instance().Exists(archive_file)); in SplitArchivePathWithObject()
687 return FileSystem::Instance().CreateDataBuffer(file.GetPath(), Size, Offset); in MapFileData()
/freebsd-12.1/contrib/llvm/tools/lldb/source/Initialization/
H A DSystemInitializerCommon.cpp80 FileSystem::Initialize(); in Initialize()
131 FileSystem::Terminate(); in Terminate()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Driver/
H A DDriver.h32 class FileSystem; variable
63 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS;
283 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS = nullptr);
297 llvm::vfs::FileSystem &getVFS() const { return *VFS; } in getVFS()
/freebsd-12.1/contrib/llvm/lib/Support/
H A DVirtualFileSystem.cpp111 FileSystem::~FileSystem() = default;
135 std::error_code FileSystem::getRealPath(const Twine &Path, in getRealPath()
140 std::error_code FileSystem::isLocal(const Twine &Path, bool &Result) { in isLocal()
144 bool FileSystem::exists(const Twine &Path) { in exists()
233 class RealFileSystem : public FileSystem {
307 IntrusiveRefCntPtr<FileSystem> vfs::getRealFileSystem() { in getRealFileSystem()
308 static IntrusiveRefCntPtr<FileSystem> FS = new RealFileSystem(); in getRealFileSystem()
964 FileSystem &ExternalFS;
1746 IntrusiveRefCntPtr<FileSystem>
1750 IntrusiveRefCntPtr<FileSystem> ExternalFS) { in getVFSFromYAML()
[all …]
/freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/
H A DFileSystemStatCache.cpp49 llvm::vfs::FileSystem &FS) { in get()
116 llvm::vfs::FileSystem &FS) { in getStat()

12345