Lines Matching defs:platform_sp

179         PlatformSP platform_sp(m_platform_options.CreatePlatformWithOptions(
181 if (platform_sp) {
182 GetDebugger().GetPlatformList().SetSelectedPlatform(platform_sp);
184 platform_sp->GetStatus(result.GetOutputStream());
254 PlatformSP platform_sp;
256 platform_sp = target->GetPlatform();
258 if (!platform_sp) {
259 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform();
261 if (platform_sp) {
262 platform_sp->GetStatus(ostrm);
287 PlatformSP platform_sp(
289 if (platform_sp) {
290 Status error(platform_sp->ConnectRemote(args));
292 platform_sp->GetStatus(ostrm);
295 platform_sp->ConnectToWaitingProcesses(GetDebugger(), error);
308 PlatformSP platform_sp(
311 if (platform_sp) {
312 m_platform_options = platform_sp->GetConnectionOptions(m_interpreter);
332 PlatformSP platform_sp(
334 if (platform_sp) {
338 if (platform_sp->IsConnected()) {
341 const char *hostname_cstr = platform_sp->GetHostname();
346 error = platform_sp->DisconnectRemote();
351 platform_sp->GetPluginName());
361 platform_sp->GetPluginName());
391 PlatformSP platform_sp(
393 if (platform_sp) {
395 platform_sp->SetWorkingDirectory(
425 PlatformSP platform_sp(
427 if (platform_sp) {
438 Status error = platform_sp->MakeDirectory(FileSpec(cmd_line), mode);
473 PlatformSP platform_sp(
475 if (platform_sp) {
487 lldb::user_id_t fd = platform_sp->OpenFile(
526 PlatformSP platform_sp(
528 if (platform_sp) {
538 bool success = platform_sp->CloseFile(fd, error);
568 PlatformSP platform_sp(
570 if (platform_sp) {
581 uint64_t retcode = platform_sp->ReadFile(
662 PlatformSP platform_sp(
664 if (platform_sp) {
675 platform_sp->WriteFile(fd, m_options.m_offset, &m_options.m_data[0],
823 PlatformSP platform_sp(
825 if (platform_sp) {
828 Status error = platform_sp->GetFile(FileSpec(remote_file_path),
872 PlatformSP platform_sp(
874 if (platform_sp) {
876 user_id_t size = platform_sp->GetFileSize(FileSpec(remote_file_path));
920 PlatformSP platform_sp(
922 if (platform_sp) {
925 Status error = platform_sp->GetFilePermissions(FileSpec(remote_file_path),
967 PlatformSP platform_sp(
969 if (platform_sp) {
971 bool exists = platform_sp->GetFileExists(FileSpec(remote_file_path));
1028 PlatformSP platform_sp(
1030 if (platform_sp) {
1031 Status error(platform_sp->PutFile(src_fs, dst_fs));
1076 PlatformSP platform_sp;
1078 platform_sp = target->GetPlatform();
1080 if (!platform_sp) {
1081 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform();
1084 if (platform_sp) {
1129 ProcessSP process_sp(platform_sp->DebugProcess(
1225 PlatformSP platform_sp;
1227 platform_sp = target->GetPlatform();
1229 if (!platform_sp) {
1230 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform();
1233 if (platform_sp) {
1235 if (platform_sp) {
1241 if (platform_sp->GetProcessInfo(pid, proc_info)) {
1244 proc_info.DumpAsTableRow(ostrm, platform_sp->GetUserIDResolver(),
1254 platform_sp->FindProcesses(m_options.match_info, proc_infos);
1285 match_desc, match_name, platform_sp->GetName());
1289 platform_sp->GetName());
1293 matches > 1 ? "es were" : " was", platform_sp->GetName());
1302 ostrm, platform_sp->GetUserIDResolver(), m_options.show_args,
1381 PlatformSP platform_sp =
1385 Platform::GetAugmentedArchSpec(platform_sp.get(), option_arg);
1473 PlatformSP platform_sp;
1475 platform_sp = target->GetPlatform();
1477 if (!platform_sp) {
1478 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform();
1481 if (platform_sp) {
1486 if (platform_sp->IsConnected()) {
1496 if (platform_sp->GetProcessInfo(pid, proc_info)) {
1499 proc_info.Dump(ostrm, platform_sp->GetUserIDResolver());
1511 platform_sp->GetPluginName());
1542 PlatformSP platform_sp(
1544 if (platform_sp) {
1554 ProcessSP remote_process_sp = platform_sp->Attach(
1704 PlatformSP platform_sp(
1709 if (platform_sp) {
1714 error = (platform_sp->RunShellCommand(m_options.m_shell_interpreter, cmd,
1789 PlatformSP platform_sp(
1791 if (!platform_sp) {
1796 Status error = platform_sp->Install(src, dst);