Searched refs:GetFactories (Results 1 – 6 of 6) sorted by relevance
/external/skia/src/gpu/ |
D | GrProcessorUnitTest.cpp | 78 GetFactories()->push_back(this); in GrProcessorTestFactory() 84 if (GetFactories()->count() == 0) { in Make() 87 uint32_t idx = data->fRandom->nextULessThan(GetFactories()->count()); in Make() 94 SkASSERT(idx < GetFactories()->count()); in MakeIdx() 95 GrProcessorTestFactory<ProcessorSmartPtr>* factory = (*GetFactories())[idx]; in MakeIdx() 105 return GetFactories()->count(); in Count() 109 GetFactories()->push_back(this); in GrXPFactoryTestFactory() 114 if (GetFactories()->count() == 0) { in Get() 117 uint32_t idx = data->fRandom->nextRangeU(0, GetFactories()->count() - 1); in Get() 118 const GrXPFactory* xpf = (*GetFactories())[idx]->fGetProc(data); in Get() [all …]
|
D | GrProcessorUnitTest.h | 108 static SkTArray<GrProcessorTestFactory<ProcessorSmartPtr>*, true>* GetFactories(); 128 static SkTArray<GrXPFactoryTestFactory*, true>* GetFactories();
|
/external/skqp/src/gpu/ |
D | GrProcessor.cpp | 39 SkTArray<GrFragmentProcessorTestFactory*, true>* GrFragmentProcessorTestFactory::GetFactories() { in GetFactories() function in GrFragmentProcessorTestFactory 45 SkTArray<GrGeometryProcessorTestFactory*, true>* GrGeometryProcessorTestFactory::GetFactories() { in GetFactories() function in GrGeometryProcessorTestFactory 50 SkTArray<GrXPFactoryTestFactory*, true>* GrXPFactoryTestFactory::GetFactories() { in GetFactories() function in GrXPFactoryTestFactory 66 if (kFPFactoryCount != GetFactories()->count()) { in VerifyFactoryCount() 68 kFPFactoryCount, GetFactories()->count()); in VerifyFactoryCount() 75 if (kGPFactoryCount != GetFactories()->count()) { in VerifyFactoryCount() 77 kGPFactoryCount, GetFactories()->count()); in VerifyFactoryCount() 83 if (kXPFactoryCount != GetFactories()->count()) { in VerifyFactoryCount() 85 kXPFactoryCount, GetFactories()->count()); in VerifyFactoryCount()
|
D | GrProcessorUnitTest.h | 89 GetFactories()->push_back(this); in GrProcessorTestFactory() 95 SkASSERT(GetFactories()->count()); in Make() 96 uint32_t idx = data->fRandom->nextRangeU(0, GetFactories()->count() - 1); in Make() 101 static int Count() { return GetFactories()->count(); } in Count() 105 GrProcessorTestFactory<ProcessorSmartPtr>* factory = (*GetFactories())[idx]; in MakeIdx() 119 static SkTArray<GrProcessorTestFactory<ProcessorSmartPtr>*, true>* GetFactories(); 129 GrXPFactoryTestFactory(GetFn* getProc) : fGetProc(getProc) { GetFactories()->push_back(this); } in GrXPFactoryTestFactory() 133 SkASSERT(GetFactories()->count()); in Get() 134 uint32_t idx = data->fRandom->nextRangeU(0, GetFactories()->count() - 1); in Get() 135 const GrXPFactory* xpf = (*GetFactories())[idx]->fGetProc(data); in Get() [all …]
|
/external/tensorflow/tensorflow/c/eager/ |
D | c_api_unified_experimental.cc | 37 static FactoriesMap& GetFactories() { in GetFactories() function 45 assert((!GetFactories().count(name)) || in RegisterTracingEngineFactory() 46 (GetFactories()[name] == factory) && in RegisterTracingEngineFactory() 48 GetFactories()[name] = factory; in RegisterTracingEngineFactory() 52 auto entry = GetFactories().find(name); in SetDefaultTracingEngine() 53 if (entry != GetFactories().end()) { in SetDefaultTracingEngine() 54 default_factory = GetFactories().find(name)->second; in SetDefaultTracingEngine() 62 for (const auto& factory : GetFactories()) in SetDefaultTracingEngine()
|
/external/tensorflow/tensorflow/core/profiler/lib/ |
D | profiler_factory.cc | 32 std::vector<ProfilerFactory>* GetFactories() TF_EXCLUSIVE_LOCKS_REQUIRED(mu) { in GetFactories() function 41 GetFactories()->push_back(factory); in RegisterProfilerFactory() 48 for (auto factory : *GetFactories()) { in CreateProfilers()
|