Lines Matching defs:platform_sp

173         PlatformSP platform_sp(m_platform_options.CreatePlatformWithOptions(
175 if (platform_sp) {
176 GetDebugger().GetPlatformList().SetSelectedPlatform(platform_sp);
178 platform_sp->GetStatus(result.GetOutputStream());
256 PlatformSP platform_sp;
258 platform_sp = target->GetPlatform();
260 if (!platform_sp) {
261 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform();
263 if (platform_sp) {
264 platform_sp->GetStatus(ostrm);
289 PlatformSP platform_sp(
291 if (platform_sp) {
292 Status error(platform_sp->ConnectRemote(args));
294 platform_sp->GetStatus(ostrm);
297 platform_sp->ConnectToWaitingProcesses(GetDebugger(), error);
314 PlatformSP platform_sp(
317 if (platform_sp) {
318 m_platform_options = platform_sp->GetConnectionOptions(m_interpreter);
338 PlatformSP platform_sp(
340 if (platform_sp) {
344 if (platform_sp->IsConnected()) {
347 const char *hostname_cstr = platform_sp->GetHostname();
352 error = platform_sp->DisconnectRemote();
357 platform_sp->GetPluginName().GetCString());
369 platform_sp->GetPluginName().GetCString());
405 PlatformSP platform_sp(
407 if (platform_sp) {
409 platform_sp->SetWorkingDirectory(
441 PlatformSP platform_sp(
443 if (platform_sp) {
454 Status error = platform_sp->MakeDirectory(FileSpec(cmd_line), mode);
490 PlatformSP platform_sp(
492 if (platform_sp) {
504 lldb::user_id_t fd = platform_sp->OpenFile(
544 PlatformSP platform_sp(
546 if (platform_sp) {
552 bool success = platform_sp->CloseFile(fd, error);
584 PlatformSP platform_sp(
586 if (platform_sp) {
593 uint32_t retcode = platform_sp->ReadFile(
671 PlatformSP platform_sp(
673 if (platform_sp) {
680 platform_sp->WriteFile(fd, m_options.m_offset, &m_options.m_data[0],
814 PlatformSP platform_sp(
816 if (platform_sp) {
819 Status error = platform_sp->GetFile(FileSpec(remote_file_path),
879 PlatformSP platform_sp(
881 if (platform_sp) {
883 user_id_t size = platform_sp->GetFileSize(FileSpec(remote_file_path));
922 PlatformSP platform_sp(
924 if (platform_sp) {
925 Status error(platform_sp->PutFile(src_fs, dst_fs));
957 PlatformSP platform_sp;
959 platform_sp = target->GetPlatform();
961 if (!platform_sp) {
962 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform();
965 if (platform_sp) {
998 ProcessSP process_sp(platform_sp->DebugProcess(
1049 PlatformSP platform_sp;
1051 platform_sp = target->GetPlatform();
1053 if (!platform_sp) {
1054 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform();
1057 if (platform_sp) {
1060 if (platform_sp) {
1067 if (platform_sp->GetProcessInfo(pid, proc_info)) {
1070 proc_info.DumpAsTableRow(ostrm, platform_sp->GetUserIDResolver(),
1081 platform_sp->FindProcesses(m_options.match_info, proc_infos);
1113 platform_sp->GetPluginName().GetCString());
1117 platform_sp->GetPluginName().GetCString());
1123 platform_sp->GetName().GetCString());
1132 ostrm, platform_sp->GetUserIDResolver(),
1218 PlatformSP platform_sp =
1222 Platform::GetAugmentedArchSpec(platform_sp.get(), option_arg);
1322 PlatformSP platform_sp;
1324 platform_sp = target->GetPlatform();
1326 if (!platform_sp) {
1327 platform_sp = GetDebugger().GetPlatformList().GetSelectedPlatform();
1330 if (platform_sp) {
1335 if (platform_sp->IsConnected()) {
1346 if (platform_sp->GetProcessInfo(pid, proc_info)) {
1349 proc_info.Dump(ostrm, platform_sp->GetUserIDResolver());
1362 platform_sp->GetPluginName().GetCString());
1453 PlatformSP platform_sp(interpreter.GetPlatform(true));
1454 if (!platform_sp)
1464 platform_sp->FindProcesses(match_info, process_infos);
1493 PlatformSP platform_sp(
1495 if (platform_sp) {
1497 ProcessSP remote_process_sp = platform_sp->Attach(
1619 PlatformSP platform_sp(
1622 if (platform_sp) {
1627 error = (platform_sp->RunShellCommand(expr, working_dir, &status, &signo,
1691 PlatformSP platform_sp(
1693 if (!platform_sp) {
1699 Status error = platform_sp->Install(src, dst);