Lines Matching refs:GetPath
69 return fs::create_directories(dir_path.GetPath(), true, fs::perms::owner_all); in MakeDirectory()
78 return FileSpec(module_file_spec.GetPath() + kSymFileExtension); in GetSymbolFileSpec()
103 if (status(sysroot_module_path_spec.GetPath(), st)) in DeleteExistingModule()
110 llvm::sys::fs::remove_directories(module_spec_dir.GetPath()); in DeleteExistingModule()
120 llvm::sys::fs::remove(sysroot_module_path_spec.GetPath()); in DecrementRefExistingModule()
123 llvm::sys::fs::remove(symfile_spec.GetPath()); in DecrementRefExistingModule()
133 platform_module_spec.GetPath().c_str()); in CreateHostSysRootModuleLink()
146 return llvm::sys::fs::create_hard_link(local_module_spec.GetPath(), in CreateHostSysRootModuleLink()
147 sysroot_module_path_spec.GetPath()); in CreateHostSysRootModuleLink()
185 llvm::sys::fs::remove(m_file_spec.GetPath()); in Delete()
198 const auto tmp_file_path = tmp_file.GetPath(); in Put()
200 llvm::sys::fs::rename(tmp_file_path, module_file_path.GetPath()); in Put()
203 module_file_path.GetPath().c_str(), in Put()
210 module_file_path.GetPath().c_str(), error.AsCString()); in Put()
232 return Status("Module %s not found", module_file_path.GetPath().c_str()); in Get()
236 module_file_path.GetPath().c_str()); in Get()
245 module_file_path.GetPath().c_str(), error.AsCString()); in Get()
296 llvm::FileRemover tmp_file_remover(tmp_download_file_spec.GetPath()); in GetAndPut()
316 llvm::FileRemover tmp_symfile_remover(tmp_download_sym_file_spec.GetPath()); in GetAndPut()