Lines Matching defs:platform_sp

156 void Platform::SetHostPlatform(const lldb::PlatformSP &platform_sp) {
159 GetHostPlatformSP() = platform_sp;
161 if (platform_sp) {
163 GetPlatformList().push_back(platform_sp);
195 // PlatformSP platform_sp(create_callback(process, &arch));
196 // if (platform_sp)
197 // return platform_sp;
206 // PlatformSP platform_sp(create_callback(process, nullptr));
207 // if (platform_sp)
208 // return platform_sp;
275 for (const auto &platform_sp : GetPlatformList()) {
276 if (platform_sp->GetName() == name)
277 return platform_sp;
285 lldb::PlatformSP platform_sp;
294 platform_sp = create_callback(true, nullptr);
302 if (platform_sp) {
304 GetPlatformList().push_back(platform_sp);
307 return platform_sp;
312 lldb::PlatformSP platform_sp;
318 for (const auto &platform_sp : GetPlatformList()) {
319 if (platform_sp->IsCompatibleArchitecture(arch, true,
321 return platform_sp;
325 for (const auto &platform_sp : GetPlatformList()) {
326 if (platform_sp->IsCompatibleArchitecture(arch, false,
328 return platform_sp;
339 platform_sp = create_callback(false, &arch);
340 if (platform_sp &&
341 platform_sp->IsCompatibleArchitecture(arch, true,
344 GetPlatformList().push_back(platform_sp);
345 return platform_sp;
354 platform_sp = create_callback(false, &arch);
355 if (platform_sp &&
356 platform_sp->IsCompatibleArchitecture(arch, false,
359 GetPlatformList().push_back(platform_sp);
360 return platform_sp;
368 platform_sp.reset();
369 return platform_sp;
1175 lldb::PlatformSP platform_sp;
1178 platform_sp = Platform::Create(arch, platform_arch_ptr, error);
1179 return platform_sp;