Lines Matching refs:platform_sp
32 PlatformSP platform_sp; in CreatePlatformWithOptions() local
36 platform_sp = Platform::Create (m_platform_name.c_str(), error); in CreatePlatformWithOptions()
37 if (platform_sp) in CreatePlatformWithOptions()
39 …if (platform_arch.IsValid() && !platform_sp->IsCompatibleArchitecture(arch, false, &platform_arch)) in CreatePlatformWithOptions()
42 platform_sp->GetName().GetCString(), in CreatePlatformWithOptions()
44 platform_sp.reset(); in CreatePlatformWithOptions()
45 return platform_sp; in CreatePlatformWithOptions()
51 platform_sp = Platform::Create (arch, &platform_arch, error); in CreatePlatformWithOptions()
54 if (platform_sp) in CreatePlatformWithOptions()
56 interpreter.GetDebugger().GetPlatformList().Append (platform_sp, make_selected); in CreatePlatformWithOptions()
59 platform_sp->SetOSVersion (m_os_version_major, in CreatePlatformWithOptions()
65 platform_sp->SetSDKRootDirectory (m_sdk_sysroot); in CreatePlatformWithOptions()
68 platform_sp->SetSDKBuild (m_sdk_build); in CreatePlatformWithOptions()
71 return platform_sp; in CreatePlatformWithOptions()