Lines Matching refs:platform_sp
158 void Platform::SetHostPlatform(const lldb::PlatformSP &platform_sp) { in SetHostPlatform() argument
161 GetHostPlatformSP() = platform_sp; in SetHostPlatform()
163 if (platform_sp) { in SetHostPlatform()
165 GetPlatformList().push_back(platform_sp); in SetHostPlatform()
277 for (const auto &platform_sp : GetPlatformList()) { in Find() local
278 if (platform_sp->GetName() == name) in Find()
279 return platform_sp; in Find()
287 lldb::PlatformSP platform_sp; in Create() local
296 platform_sp = create_callback(true, nullptr); in Create()
304 if (platform_sp) { in Create()
306 GetPlatformList().push_back(platform_sp); in Create()
309 return platform_sp; in Create()
314 lldb::PlatformSP platform_sp; in Create() local
320 for (const auto &platform_sp : GetPlatformList()) { in Create() local
321 if (platform_sp->IsCompatibleArchitecture(arch, true, in Create()
323 return platform_sp; in Create()
327 for (const auto &platform_sp : GetPlatformList()) { in Create() local
328 if (platform_sp->IsCompatibleArchitecture(arch, false, in Create()
330 return platform_sp; in Create()
341 platform_sp = create_callback(false, &arch); in Create()
342 if (platform_sp && in Create()
343 platform_sp->IsCompatibleArchitecture(arch, true, in Create()
346 GetPlatformList().push_back(platform_sp); in Create()
347 return platform_sp; in Create()
356 platform_sp = create_callback(false, &arch); in Create()
357 if (platform_sp && in Create()
358 platform_sp->IsCompatibleArchitecture(arch, false, in Create()
361 GetPlatformList().push_back(platform_sp); in Create()
362 return platform_sp; in Create()
370 platform_sp.reset(); in Create()
371 return platform_sp; in Create()
1222 lldb::PlatformSP platform_sp; in GetPlatformForArchitecture() local
1225 platform_sp = Platform::Create(arch, platform_arch_ptr, error); in GetPlatformForArchitecture()
1226 return platform_sp; in GetPlatformForArchitecture()