Searched refs:gCache (Results 1 – 8 of 8) sorted by relevance
/external/icu/icu4c/source/common/ |
D | unifiedcache.cpp | 20 static icu::UnifiedCache *gCache = NULL; variable 34 if (gCache) { in unifiedcache_cleanup() 35 delete gCache; in unifiedcache_cleanup() 36 gCache = NULL; in unifiedcache_cleanup() 72 U_ASSERT(gCache == NULL); in cacheInit() 79 gCache = new UnifiedCache(status); in cacheInit() 80 if (gCache == NULL) { in cacheInit() 84 delete gCache; in cacheInit() 86 gCache = NULL; in cacheInit() 100 U_ASSERT(gCache != NULL); in getInstance() [all …]
|
/external/icu/icu4c/source/i18n/ |
D | hebrwcal.cpp | 137 static icu::CalendarCache *gCache = NULL; variable 141 delete gCache; in calendar_hebrew_cleanup() 142 gCache = NULL; in calendar_hebrew_cleanup() 393 int32_t day = CalendarCache::get(&gCache, year, status); in startOfYear() 421 CalendarCache::put(&gCache, year, day, status); in startOfYear()
|
/external/skia/src/gpu/ |
D | GrColorSpaceXform.cpp | 155 static GrColorSpaceXformCache* gCache; in Make() local 156 if (nullptr == gCache) { in Make() 157 gCache = new GrColorSpaceXformCache(); in Make() 161 sk_sp<GrColorSpaceXform> xform = gCache->findOrAdd(key, makeXform); in Make()
|
/external/skqp/src/gpu/ |
D | GrColorSpaceXform.cpp | 155 static GrColorSpaceXformCache* gCache; in Make() local 156 if (nullptr == gCache) { in Make() 157 gCache = new GrColorSpaceXformCache(); in Make() 161 sk_sp<GrColorSpaceXform> xform = gCache->findOrAdd(key, makeXform); in Make()
|
/external/skia/src/core/ |
D | SkTypefaceCache.cpp | 58 static SkTypefaceCache gCache; in Get() local 59 return gCache; in Get()
|
/external/skqp/src/core/ |
D | SkTypefaceCache.cpp | 58 static SkTypefaceCache gCache; in Get() local 59 return gCache; in Get()
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 581 static SkGradientBitmapCache* gCache; in getGradientTableBitmap() local 586 if (nullptr == gCache) { in getGradientTableBitmap() 587 gCache = new SkGradientBitmapCache(MAX_NUM_CACHED_GRADIENT_BITMAPS); in getGradientTableBitmap() 591 if (!gCache->find(storage.get(), size, bitmap)) { in getGradientTableBitmap() 614 gCache->add(storage.get(), size, *bitmap); in getGradientTableBitmap()
|
/external/skqp/src/shaders/gradients/ |
D | SkGradientShader.cpp | 562 static SkGradientBitmapCache* gCache; in getGradientTableBitmap() local 567 if (nullptr == gCache) { in getGradientTableBitmap() 568 gCache = new SkGradientBitmapCache(MAX_NUM_CACHED_GRADIENT_BITMAPS); in getGradientTableBitmap() 572 if (!gCache->find(storage.get(), size, bitmap)) { in getGradientTableBitmap() 594 gCache->add(storage.get(), size, *bitmap); in getGradientTableBitmap()
|