Lines Matching refs:GetPath
70 return fs::create_directories(dir_path.GetPath(), true, fs::perms::owner_all); in MakeDirectory()
79 return FileSpec(module_file_spec.GetPath() + kSymFileExtension); in GetSymbolFileSpec()
104 if (status(sysroot_module_path_spec.GetPath(), st)) in DeleteExistingModule()
111 llvm::sys::fs::remove_directories(module_spec_dir.GetPath()); in DeleteExistingModule()
121 llvm::sys::fs::remove(sysroot_module_path_spec.GetPath()); in DecrementRefExistingModule()
124 llvm::sys::fs::remove(symfile_spec.GetPath()); in DecrementRefExistingModule()
134 platform_module_spec.GetPath().c_str()); in CreateHostSysRootModuleLink()
147 return llvm::sys::fs::create_hard_link(local_module_spec.GetPath(), in CreateHostSysRootModuleLink()
148 sysroot_module_path_spec.GetPath()); in CreateHostSysRootModuleLink()
186 llvm::sys::fs::remove(m_file_spec.GetPath()); in Delete()
199 const auto tmp_file_path = tmp_file.GetPath(); in Put()
201 llvm::sys::fs::rename(tmp_file_path, module_file_path.GetPath()); in Put()
204 module_file_path.GetPath().c_str(), in Put()
211 module_file_path.GetPath().c_str(), error.AsCString()); in Put()
233 return Status("Module %s not found", module_file_path.GetPath().c_str()); in Get()
237 module_file_path.GetPath().c_str()); in Get()
246 module_file_path.GetPath().c_str(), error.AsCString()); in Get()
297 llvm::FileRemover tmp_file_remover(tmp_download_file_spec.GetPath()); in GetAndPut()
317 llvm::FileRemover tmp_symfile_remover(tmp_download_sym_file_spec.GetPath()); in GetAndPut()