Lines Matching refs:platform_sp
81 void SetHostPlatform(const PlatformSP &platform_sp) { in SetHostPlatform() argument
82 Platform::SetHostPlatform(platform_sp); in SetHostPlatform()
83 ASSERT_EQ(Platform::GetHostPlatform(), platform_sp); in SetHostPlatform()
84 list.Append(platform_sp, /*set_selected=*/true); in SetHostPlatform()
96 PlatformSP platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F() local
97 ASSERT_TRUE(platform_sp); in TEST_F()
98 EXPECT_EQ(platform_sp, Platform::GetHostPlatform()); in TEST_F()
109 PlatformSP platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F() local
110 ASSERT_FALSE(platform_sp); in TEST_F()
115 platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F()
116 ASSERT_TRUE(platform_sp); in TEST_F()
117 EXPECT_EQ(platform_sp, selected_platform_sp); in TEST_F()
128 PlatformSP platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F() local
129 ASSERT_TRUE(platform_sp); in TEST_F()
130 EXPECT_EQ(platform_sp, Platform::GetHostPlatform()); in TEST_F()
136 platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F()
137 ASSERT_TRUE(platform_sp); in TEST_F()
138 EXPECT_EQ(platform_sp, selected_platform_sp); in TEST_F()
154 PlatformSP platform_sp = list.GetOrCreate(archs, {}, candidates); in TEST_F() local
155 ASSERT_TRUE(platform_sp); in TEST_F()
156 EXPECT_EQ(platform_sp->GetName(), "thumb"); in TEST_F()