Searched refs:SetInstance (Results 1 – 16 of 16) sorted by relevance
69 TaskScheduler::SetInstance( in TEST()105 TaskScheduler::SetInstance(nullptr); in TEST()
213 static void SetInstance(std::unique_ptr<TaskScheduler> task_scheduler);
56 base::TaskScheduler::SetInstance(nullptr);83 base::TaskScheduler::SetInstance(nullptr);
136 TaskScheduler::SetInstance(std::make_unique<internal::TaskSchedulerImpl>( in ScopedTaskEnvironment()162 TaskScheduler::SetInstance(nullptr); in ~ScopedTaskEnvironment()
113 FeatureList::SetInstance(std::move(feature_list)); in InitWithFeatureList()
45 FeatureList::SetInstance(std::move(feature_list)); in ScopedFeatureListTest()
31 static bool SetInstance(SkEventTracer*);
45 bool SkEventTracer::SetInstance(SkEventTracer* tracer) { in SetInstance() function in SkEventTracer
46 SkAssertResult(SkEventTracer::SetInstance(eventTracer)); in initializeEventTracingForTools()
197 static void SetInstance(std::unique_ptr<FeatureList> instance);
249 base::FeatureList::SetInstance(std::move(feature_list)); in InitializeInstance()259 void FeatureList::SetInstance(std::unique_ptr<FeatureList> instance) { in SetInstance() function in base::FeatureList
55 FeatureList::SetInstance(std::move(feature_list)); in RegisterFeatureListInstance()452 FeatureList::SetInstance(std::move(feature_list)); in TEST_F()
304 base::TaskScheduler::SetInstance(nullptr); in TearDown()807 base::TaskScheduler::SetInstance(nullptr); in TearDown()