Home
last modified time | relevance | path

Searched refs:factoryCache (Results 1 – 3 of 3) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/util/
DSimpleFactory.java305 private static Cache<SimpleFactoryCacheKey, SimpleFactory> factoryCache = null; field in SimpleFactory
336 if (factoryCache == null) { in make()
337 factoryCache = CacheBuilder.newBuilder().maximumSize(FACTORY_CACHE_LIMIT).build(); in make()
339 SimpleFactory fact = factoryCache.getIfPresent(key); in make()
348 return factoryCache.asMap().get(key2); in make()
352 factoryCache.put(key, sf); in make()
358 return factoryCache.asMap().get(key); in make()
395 if (factoryCache == null) { in make()
396 factoryCache = CacheBuilder.newBuilder().maximumSize(FACTORY_CACHE_LIMIT).build(); in make()
398 SimpleFactory fact = factoryCache.getIfPresent(key); in make()
[all …]
/external/skqp/src/gpu/effects/
DGrSkSLFP.h85 GrSkSLFP(sk_sp<GrSkSLFPFactoryCache> factoryCache, const GrShaderCaps* shaderCaps, int fIndex,
DGrSkSLFP.cpp242 GrSkSLFP::GrSkSLFP(sk_sp<GrSkSLFPFactoryCache> factoryCache, const GrShaderCaps* shaderCaps, in GrSkSLFP() argument
246 , fFactoryCache(factoryCache) in GrSkSLFP()