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()
105 if (status(sysroot_module_path_spec.GetPath(), st)) in DeleteExistingModule()
112 llvm::sys::fs::remove_directories(module_spec_dir.GetPath()); in DeleteExistingModule()
122 llvm::sys::fs::remove(sysroot_module_path_spec.GetPath()); in DecrementRefExistingModule()
125 llvm::sys::fs::remove(symfile_spec.GetPath()); in DecrementRefExistingModule()
135 platform_module_spec.GetPath().c_str()); in CreateHostSysRootModuleLink()
148 return llvm::sys::fs::create_hard_link(local_module_spec.GetPath(), in CreateHostSysRootModuleLink()
149 sysroot_module_path_spec.GetPath()); in CreateHostSysRootModuleLink()
183 llvm::sys::fs::remove(m_file_spec.GetPath()); in Delete()
196 const auto tmp_file_path = tmp_file.GetPath(); in Put()
198 llvm::sys::fs::rename(tmp_file_path, module_file_path.GetPath()); in Put()
201 module_file_path.GetPath().c_str(), in Put()
208 module_file_path.GetPath().c_str(), error.AsCString()); in Put()
230 return Status("Module %s not found", module_file_path.GetPath().c_str()); in Get()
234 module_file_path.GetPath().c_str()); in Get()
243 module_file_path.GetPath().c_str(), error.AsCString()); in Get()
294 llvm::FileRemover tmp_file_remover(tmp_download_file_spec.GetPath()); in GetAndPut()
314 llvm::FileRemover tmp_symfile_remover(tmp_download_sym_file_spec.GetPath()); in GetAndPut()