Lines Matching refs:platform_sp
194 PlatformSP platform_sp(m_platform_options.CreatePlatformWithOptions( in DoExecute() local
196 if (platform_sp) { in DoExecute()
198 platform_sp); in DoExecute()
200 platform_sp->GetStatus(result.GetOutputStream()); in DoExecute()
282 PlatformSP platform_sp; in DoExecute() local
284 platform_sp = target->GetPlatform(); in DoExecute()
286 if (!platform_sp) { in DoExecute()
287 platform_sp = in DoExecute()
290 if (platform_sp) { in DoExecute()
291 platform_sp->GetStatus(ostrm); in DoExecute()
318 PlatformSP platform_sp( in DoExecute() local
320 if (platform_sp) { in DoExecute()
321 Status error(platform_sp->ConnectRemote(args)); in DoExecute()
323 platform_sp->GetStatus(ostrm); in DoExecute()
326 platform_sp->ConnectToWaitingProcesses(m_interpreter.GetDebugger(), in DoExecute()
344 PlatformSP platform_sp( in GetOptions() local
347 if (platform_sp) { in GetOptions()
348 m_platform_options = platform_sp->GetConnectionOptions(m_interpreter); in GetOptions()
370 PlatformSP platform_sp( in DoExecute() local
372 if (platform_sp) { in DoExecute()
376 if (platform_sp->IsConnected()) { in DoExecute()
379 const char *hostname_cstr = platform_sp->GetHostname(); in DoExecute()
384 error = platform_sp->DisconnectRemote(); in DoExecute()
389 platform_sp->GetPluginName().GetCString()); in DoExecute()
401 platform_sp->GetPluginName().GetCString()); in DoExecute()
439 PlatformSP platform_sp( in DoExecute() local
441 if (platform_sp) { in DoExecute()
443 platform_sp->SetWorkingDirectory( in DoExecute()
477 PlatformSP platform_sp( in DoExecute() local
479 if (platform_sp) { in DoExecute()
490 Status error = platform_sp->MakeDirectory(FileSpec(cmd_line), mode); in DoExecute()
528 PlatformSP platform_sp( in DoExecute() local
530 if (platform_sp) { in DoExecute()
542 lldb::user_id_t fd = platform_sp->OpenFile( in DoExecute()
584 PlatformSP platform_sp( in DoExecute() local
586 if (platform_sp) { in DoExecute()
592 bool success = platform_sp->CloseFile(fd, error); in DoExecute()
630 PlatformSP platform_sp( in DoExecute() local
632 if (platform_sp) { in DoExecute()
639 uint32_t retcode = platform_sp->ReadFile( in DoExecute()
725 PlatformSP platform_sp( in DoExecute() local
727 if (platform_sp) { in DoExecute()
734 platform_sp->WriteFile(fd, m_options.m_offset, &m_options.m_data[0], in DoExecute()
876 PlatformSP platform_sp( in DoExecute() local
878 if (platform_sp) { in DoExecute()
881 Status error = platform_sp->GetFile(FileSpec(remote_file_path), in DoExecute()
943 PlatformSP platform_sp( in DoExecute() local
945 if (platform_sp) { in DoExecute()
947 user_id_t size = platform_sp->GetFileSize(FileSpec(remote_file_path)); in DoExecute()
988 PlatformSP platform_sp( in DoExecute() local
990 if (platform_sp) { in DoExecute()
991 Status error(platform_sp->PutFile(src_fs, dst_fs)); in DoExecute()
1025 PlatformSP platform_sp; in DoExecute() local
1027 platform_sp = target->GetPlatform(); in DoExecute()
1029 if (!platform_sp) { in DoExecute()
1030 platform_sp = in DoExecute()
1034 if (platform_sp) { in DoExecute()
1067 ProcessSP process_sp(platform_sp->DebugProcess( in DoExecute()
1135 PlatformSP platform_sp; in DoExecute() local
1137 platform_sp = target->GetPlatform(); in DoExecute()
1139 if (!platform_sp) { in DoExecute()
1140 platform_sp = in DoExecute()
1144 if (platform_sp) { in DoExecute()
1147 if (platform_sp) { in DoExecute()
1154 if (platform_sp->GetProcessInfo(pid, proc_info)) { in DoExecute()
1155 ProcessInstanceInfo::DumpTableHeader(ostrm, platform_sp.get(), in DoExecute()
1158 proc_info.DumpAsTableRow(ostrm, platform_sp.get(), in DoExecute()
1169 platform_sp->FindProcesses(m_options.match_info, proc_infos); in DoExecute()
1201 platform_sp->GetPluginName().GetCString()); in DoExecute()
1205 platform_sp->GetPluginName().GetCString()); in DoExecute()
1211 platform_sp->GetName().GetCString()); in DoExecute()
1216 ProcessInstanceInfo::DumpTableHeader(ostrm, platform_sp.get(), in DoExecute()
1221 ostrm, platform_sp.get(), m_options.show_args, in DoExecute()
1325 PlatformSP platform_sp = in SetOptionValue() local
1329 Platform::GetAugmentedArchSpec(platform_sp.get(), option_arg); in SetOptionValue()
1429 PlatformSP platform_sp; in DoExecute() local
1431 platform_sp = target->GetPlatform(); in DoExecute()
1433 if (!platform_sp) { in DoExecute()
1434 platform_sp = in DoExecute()
1438 if (platform_sp) { in DoExecute()
1443 if (platform_sp->IsConnected()) { in DoExecute()
1454 if (platform_sp->GetProcessInfo(pid, proc_info)) { in DoExecute()
1457 proc_info.Dump(ostrm, platform_sp.get()); in DoExecute()
1470 platform_sp->GetPluginName().GetCString()); in DoExecute()
1568 PlatformSP platform_sp(interpreter.GetPlatform(true)); in HandleOptionArgumentCompletion() local
1569 if (platform_sp) { in HandleOptionArgumentCompletion()
1577 platform_sp->FindProcesses(match_info, process_infos); in HandleOptionArgumentCompletion()
1610 PlatformSP platform_sp( in DoExecute() local
1612 if (platform_sp) { in DoExecute()
1614 ProcessSP remote_process_sp = platform_sp->Attach( in DoExecute()
1748 PlatformSP platform_sp( in DoExecute() local
1751 if (platform_sp) { in DoExecute()
1756 error = (platform_sp->RunShellCommand(expr, working_dir, &status, &signo, in DoExecute()
1822 PlatformSP platform_sp( in DoExecute() local
1824 if (!platform_sp) { in DoExecute()
1830 Status error = platform_sp->Install(src, dst); in DoExecute()