Home
last modified time | relevance | path

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

123456789

/openbsd-src/gnu/llvm/lldb/source/Host/common/
H A DFileSystem.cpp47 FileSystem &FileSystem::Instance() { return *InstanceImpl(); } in Instance()
49 void FileSystem::Initialize() { in Initialize()
54 void FileSystem::Initialize(IntrusiveRefCntPtr<vfs::FileSystem> fs) { in Initialize()
59 void FileSystem::Terminate() { in Terminate()
64 std::optional<FileSystem> &FileSystem::InstanceImpl() { in InstanceImpl()
65 static std::optional<FileSystem> g_fs; in InstanceImpl()
69 vfs::directory_iterator FileSystem::DirBegin(const FileSpec &file_spec, in DirBegin()
79 vfs::directory_iterator FileSystem::DirBegin(const Twine &dir, in DirBegin()
85 FileSystem::GetStatus(const FileSpec &file_spec) const { in GetStatus()
92 llvm::ErrorOr<vfs::Status> FileSystem::GetStatus(const Twine &path) const { in GetStatus()
[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()
/openbsd-src/gnu/llvm/lldb/include/lldb/Host/
H A DFileSystem.h28 class FileSystem {
33 FileSystem() : m_fs(llvm::vfs::getRealFileSystem()) {} in FileSystem() function
34 FileSystem(llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> 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);
191 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> GetVirtualFileSystem() { in GetVirtualFileSystem()
198 static std::optional<FileSystem> &InstanceImpl();
199 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> m_fs;
/openbsd-src/gnu/llvm/lldb/source/Plugins/Platform/MacOSX/
H A DPlatformDarwinKernel.cpp364 FileSystem::Instance().Resolve(possible_dir); in CollectKextAndKernelDirectories()
365 if (FileSystem::Instance().IsDirectory(possible_dir)) in CollectKextAndKernelDirectories()
370 FileSystem::Instance().Resolve(cwd); in CollectKextAndKernelDirectories()
381 FileSystem::Instance().Resolve(dir); in GetUserSpecifiedDirectoriesToSearch()
382 if (FileSystem::Instance().IsDirectory(dir)) { in GetUserSpecifiedDirectoriesToSearch()
398 FileSystem::Instance().Resolve(testdir); in AddRootSubdirsToSearchPaths()
399 if (FileSystem::Instance().IsDirectory(testdir)) in AddRootSubdirsToSearchPaths()
413 FileSystem::Instance().EnumerateDirectory( in AddSDKSubdirsToSearchPaths()
419 FileSystem::EnumerateDirectoryResult
432 return FileSystem::eEnumerateDirectoryResultNext; in FindKDKandSDKDirectoriesInDirectory()
[all …]
H A DPlatformDarwinDevice.cpp24 FileSystem::EnumerateDirectoryResult
29 return FileSystem::eEnumerateDirectoryResultNext; in GetContainedFilesIntoVectorOfStringsCallback()
39 FileSystem::Instance().Resolve(sdk_sysroot_fspec); in UpdateSDKDirectoryInfosIfNeeded()
63 FileSystem::Instance().EnumerateDirectory( in UpdateSDKDirectoryInfosIfNeeded()
75 if (FileSystem::Instance().Exists(sdk_symbols_symlink_fspec)) { in UpdateSDKDirectoryInfosIfNeeded()
91 FileSystem::Instance().Resolve(local_sdk_cache); in UpdateSDKDirectoryInfosIfNeeded()
92 if (FileSystem::Instance().Exists(local_sdk_cache)) { in UpdateSDKDirectoryInfosIfNeeded()
101 FileSystem::Instance().EnumerateDirectory( in UpdateSDKDirectoryInfosIfNeeded()
123 FileSystem::Instance().EnumerateDirectory( in UpdateSDKDirectoryInfosIfNeeded()
131 if (FileSystem::Instance().Exists(sdk_symbols_symlink_fspec)) { in UpdateSDKDirectoryInfosIfNeeded()
[all …]
H A DPlatformRemoteDarwinDevice.cpp79 if (FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) { in ResolveExecutable()
111 if (FileSystem::Instance().Readable(resolved_module_spec.GetFileSpec())) { in ResolveExecutable()
151 FileSystem::Instance().Resolve(local_file); in GetFileInSDK()
152 if (FileSystem::Instance().Exists(local_file)) { in GetFileInSDK()
177 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
178 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
191 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
192 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
204 FileSystem::Instance().Resolve(local_file); in GetSymbolFile()
205 if (FileSystem::Instance().Exists(local_file)) { in GetSymbolFile()
[all …]
H A DPlatformDarwin.cpp220 FileSystem::Instance().Exists(symfile_spec)) { in LocateExecutableScriptingResources()
264 FileSystem::Instance().Resolve(script_fspec); in LocateExecutableScriptingResources()
266 FileSystem::Instance().Resolve(orig_script_fspec); in LocateExecutableScriptingResources()
273 FileSystem::Instance().Exists(orig_script_fspec)) { in LocateExecutableScriptingResources()
277 if (FileSystem::Instance().Exists(script_fspec)) in LocateExecutableScriptingResources()
300 if (FileSystem::Instance().Exists(script_fspec)) { in LocateExecutableScriptingResources()
326 if (FileSystem::Instance().IsDirectory(sym_file)) { in ResolveSymbolFile()
390 if (FileSystem::Instance().Exists(new_file_spec)) { in GetSharedModule()
623 if (FileSystem::Instance().Exists(xcode_select_cmd)) { in GetXcodeSelectPath()
735 if (FileSystem::Instance().Exists(command_line_tools_path)) { in GetCommandLineToolsLibraryPath()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Symbol/
H A DLocateSymbolFile.cpp96 if (FileSystem::Instance().Exists(dsym_directory)) { in LookForDsymNextToExecutablePath()
102 if (FileSystem::Instance().Exists(dsym_fspec) && in LookForDsymNextToExecutablePath()
118 if (FileSystem::Instance().Exists(dsym_fspec) && in LookForDsymNextToExecutablePath()
134 if (FileSystem::Instance().Exists(dsym_yaa_fspec)) { in LookForDsymNextToExecutablePath()
138 FileSystem::Instance().Exists(mutable_mod_spec.GetSymbolFileSpec())) { in LookForDsymNextToExecutablePath()
267 FileSystem::Instance().Exists(symbol_file_spec)) in LocateExecutableSymbolFile()
279 FileSystem::Instance().ResolveSymbolicLink(module_file_spec, in LocateExecutableSymbolFile()
285 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
294 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
303 FileSystem::Instance().Resolve(file_spec); in LocateExecutableSymbolFile()
[all …]
H A DLocateSymbolFileMacOSX.cpp119 FileSystem::Instance().Resolve(dsym_filespec); in LocateMacOSXFilesUsingDebugSymbols()
121 if (FileSystem::Instance().IsDirectory(dsym_filespec)) { in LocateMacOSXFilesUsingDebugSymbols()
152 if (FileSystem::Instance().Exists(module_spec.GetFileSpec())) { in LocateMacOSXFilesUsingDebugSymbols()
201 FileSystem::Instance().Resolve(exec_filespec); in LocateMacOSXFilesUsingDebugSymbols()
202 if (FileSystem::Instance().Exists(exec_filespec)) { in LocateMacOSXFilesUsingDebugSymbols()
221 FileSystem::Instance().Resolve(file_spec); in LocateMacOSXFilesUsingDebugSymbols()
237 FileSystem::Instance().Resolve(bundle_exe_file_spec); in LocateMacOSXFilesUsingDebugSymbols()
300 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem> vfs = in FindSymbolFileInBundle()
301 FileSystem::Instance().GetVirtualFileSystem(); in FindSymbolFileInBundle()
354 FileSystem::Instance().Resolve(module_spec.GetFileSpec()); in GetModuleSpecInfoFromUUIDDictionary()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Host/posix/
H A DFileSystemPosix.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()
75 FILE *FileSystem::Fopen(const char *path, const char *mode) { in Fopen()
79 int FileSystem::Open(const char *path, int flags, int mode) { in Open()
/openbsd-src/gnu/llvm/llvm/include/llvm/WindowsDriver/
H A DMSVCPaths.h21 class FileSystem; variable
64 llvm::vfs::FileSystem &VFS);
67 bool getWindowsSDKDir(vfs::FileSystem &VFS,
75 bool getUniversalCRTSdkDir(vfs::FileSystem &VFS,
83 vfs::FileSystem &VFS, std::optional<llvm::StringRef> VCToolsDir,
89 bool findVCToolChainViaEnvironment(vfs::FileSystem &VFS, std::string &Path,
96 bool findVCToolChainViaSetupConfig(vfs::FileSystem &VFS, std::string &Path,
/openbsd-src/gnu/llvm/lldb/source/Host/windows/
H A DFileSystem.cpp25 const char *FileSystem::DEV_NULL = "nul";
27 const char *FileSystem::PATH_CONVERSION_ERROR =
30 Status FileSystem::Symlink(const FileSpec &src, const FileSpec &dst) { in Symlink()
51 Status FileSystem::Readlink(const FileSpec &src, FileSpec &dst) { in Readlink()
84 Status FileSystem::ResolveSymbolicLink(const FileSpec &src, FileSpec &dst) { in ResolveSymbolicLink()
88 FILE *FileSystem::Fopen(const char *path, const char *mode) { in Fopen()
100 int FileSystem::Open(const char *path, int flags, int mode) { in Open()
/openbsd-src/gnu/llvm/lldb/source/Host/android/
H A DHostInfoAndroid.cpp44 FileSystem::Instance().Resolve(file_spec); in ResolveLibraryPath()
72 FileSystem::Instance().Resolve(file_candidate); in ResolveLibraryPath()
75 if (FileSystem::Instance().Exists(file_candidate)) in ResolveLibraryPath()
90 if (!success || !FileSystem::Instance().Exists(file_spec)) in ComputeTempFileBaseDirectory()
93 return FileSystem::Instance().Exists(file_spec); in ComputeTempFileBaseDirectory()
/openbsd-src/gnu/llvm/clang/include/clang/Frontend/
H A DPrecompiledPreamble.h30 class FileSystem; variable
84 IntrusiveRefCntPtr<llvm::vfs::FileSystem> VFS,
109 PreambleBounds Bounds, llvm::vfs::FileSystem &VFS) const;
120 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
127 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
169 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS,
178 IntrusiveRefCntPtr<llvm::vfs::FileSystem> &VFS);
H A DCompilerInvocation.h40 class FileSystem; variable
289 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
293 IntrusiveRefCntPtr<llvm::vfs::FileSystem> createVFSFromCompilerInvocation(
295 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
297 IntrusiveRefCntPtr<llvm::vfs::FileSystem>
300 IntrusiveRefCntPtr<llvm::vfs::FileSystem> BaseFS);
/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DVirtualFileSystem.h217 class FileSystem; variable
232 FileSystem *FS;
237 recursive_directory_iterator(FileSystem &FS, const Twine &Path,
267 class FileSystem : public llvm::ThreadSafeRefCountedBase<FileSystem> {
269 virtual ~FileSystem();
348 IntrusiveRefCntPtr<FileSystem> getRealFileSystem();
354 std::unique_ptr<FileSystem> createPhysicalFileSystem();
366 class OverlayFileSystem : public FileSystem {
367 using FileSystemList = SmallVector<IntrusiveRefCntPtr<FileSystem>, 1>;
374 OverlayFileSystem(IntrusiveRefCntPtr<FileSystem> Base);
[all …]
H A DFileCollector.h41 IntrusiveRefCntPtr<vfs::FileSystem> FS,
109 static IntrusiveRefCntPtr<vfs::FileSystem>
110 createCollectorVFS(IntrusiveRefCntPtr<vfs::FileSystem> BaseFS,
128 IntrusiveRefCntPtr<vfs::FileSystem> FS,
H A DSpecialCaseList.h67 class FileSystem; variable
75 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS,
84 createOrDie(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &FS);
111 vfs::FileSystem &VFS, std::string &Error);
/openbsd-src/gnu/llvm/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangHost.cpp31 if (FileSystem::Instance().IsDirectory(clang_path)) in VerifyClangPath()
76 FileSystem::Instance().Resolve(file_spec); in DefaultComputeClangResourceDirectory()
123 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
138 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
149 FileSystem::Instance().Resolve(file_spec); in ComputeClangResourceDirectory()
/openbsd-src/gnu/llvm/lldb/source/API/
H A DSBFileSpec.cpp43 FileSystem::Instance().Resolve(*m_opaque_up); in SBFileSpec()
51 FileSystem::Instance().Resolve(*m_opaque_up); in SBFileSpec()
89 return FileSystem::Instance().Exists(*m_opaque_up); in Exists()
95 return FileSystem::Instance().ResolveExecutableLocation(*m_opaque_up); in ResolveExecutableLocation()
103 FileSystem::Instance().Resolve(result); in ResolvePath()
/openbsd-src/gnu/llvm/clang/include/clang/Basic/
H A DSanitizerSpecialCaseList.h26 class FileSystem; variable
35 create(const std::vector<std::string> &Paths, llvm::vfs::FileSystem &VFS,
40 llvm::vfs::FileSystem &VFS);
H A DFileManager.h54 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS;
137 IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS = nullptr);
245 llvm::vfs::FileSystem &getVirtualFileSystem() const { return *FS; } in getVirtualFileSystem()
246 llvm::IntrusiveRefCntPtr<llvm::vfs::FileSystem>
251 void setVirtualFileSystem(IntrusiveRefCntPtr<llvm::vfs::FileSystem> FS) { in setVirtualFileSystem()
H A DFileSystemStatCache.h54 FileSystemStatCache *Cache, llvm::vfs::FileSystem &FS);
63 llvm::vfs::FileSystem &FS) = 0;
84 llvm::vfs::FileSystem &FS) override;
/openbsd-src/gnu/llvm/lldb/source/Core/
H A DSourceManager.cpp54 if (!FileSystem::Instance().Exists(file_spec) && in resolve_tilde()
57 FileSystem::Instance().Resolve(file_spec); in resolve_tilde()
100 if (!file_sp || !FileSystem::Instance().Exists(file_sp->GetFileSpec())) { in GetFile()
399 m_mod_time(FileSystem::Instance().GetModificationTime(file_spec)), in File()
406 m_mod_time(FileSystem::Instance().GetModificationTime(file_spec)), in File()
452 m_mod_time = FileSystem::Instance().GetModificationTime(m_file_spec); in CommonInitializer()
458 if (!FileSystem::Instance().Exists(m_file_spec)) { in CommonInitializer()
470 m_mod_time = FileSystem::Instance().GetModificationTime(m_file_spec); in CommonInitializer()
477 m_data_sp = FileSystem::Instance().CreateDataBuffer(m_file_spec); in CommonInitializer()
550 auto curr_mod_time = FileSystem::Instance().GetModificationTime(m_file_spec); in UpdateIfNeeded()
[all …]
/openbsd-src/gnu/llvm/lldb/source/Target/
H A DRemoteAwarePlatform.cpp44 if (!FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) { in ResolveExecutable()
48 FileSystem::Instance().Resolve(resolved_module_spec.GetFileSpec()); in ResolveExecutable()
51 if (!FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) in ResolveExecutable()
52 FileSystem::Instance().ResolveExecutableLocation( in ResolveExecutable()
58 if (FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) in ResolveExecutable()
61 const uint32_t permissions = FileSystem::Instance().GetPermissions( in ResolveExecutable()
84 if (FileSystem::Instance().Exists(resolved_module_spec.GetFileSpec())) in ResolveExecutable()
153 if (FileSystem::Instance().Readable( in ResolveExecutable()

123456789