Searched refs:gCache (Results 1 – 5 of 5) 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/skia/src/gpu/ |
D | GrColorSpaceXform.cpp | 94 static GrColorSpaceXformCache* gCache; in Make() local 95 if (nullptr == gCache) { in Make() 96 gCache = new GrColorSpaceXformCache(); in Make() 100 sk_sp<GrColorSpaceXform> xform = gCache->findOrAdd(key, deferredResult); in Make()
|
/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/core/ |
D | SkTypefaceCache.cpp | 58 static SkTypefaceCache gCache; in Get() local 59 return gCache; in Get()
|
/external/skia/src/shaders/gradients/ |
D | SkGradientShader.cpp | 867 static SkGradientBitmapCache* gCache; in getGradientTableBitmap() local 872 if (nullptr == gCache) { in getGradientTableBitmap() 873 gCache = new SkGradientBitmapCache(MAX_NUM_CACHED_GRADIENT_BITMAPS); in getGradientTableBitmap() 877 if (!gCache->find(storage.get(), size, bitmap)) { in getGradientTableBitmap() 906 gCache->add(storage.get(), size, *bitmap); in getGradientTableBitmap()
|