Searched refs:gCache (Results 1 – 5 of 5) sorted by relevance
18 static icu::UnifiedCache *gCache = NULL; variable32 if (gCache) { in unifiedcache_cleanup()33 delete gCache; in unifiedcache_cleanup()34 gCache = NULL; in unifiedcache_cleanup()70 U_ASSERT(gCache == NULL); in cacheInit()77 gCache = new UnifiedCache(status); in cacheInit()78 if (gCache == NULL) { in cacheInit()82 delete gCache; in cacheInit()84 gCache = NULL; in cacheInit()98 U_ASSERT(gCache != NULL); in getInstance()[all …]
134 static icu::CalendarCache *gCache = NULL; variable138 delete gCache; in calendar_hebrew_cleanup()139 gCache = NULL; in calendar_hebrew_cleanup()390 int32_t day = CalendarCache::get(&gCache, year, status); in startOfYear()418 CalendarCache::put(&gCache, year, day, status); in startOfYear()
76 static SkTypefaceCache gCache; in Get() local77 return gCache; in Get()
77 static SkFontHostRequestCache gCache(gMaxSize); in Get() local78 return gCache; in Get()
668 static SkGradientBitmapCache* gCache; in getGradientTableBitmap() local673 if (nullptr == gCache) { in getGradientTableBitmap()674 gCache = new SkGradientBitmapCache(MAX_NUM_CACHED_GRADIENT_BITMAPS); in getGradientTableBitmap()678 if (!gCache->find(storage.get(), size, bitmap)) { in getGradientTableBitmap()684 gCache->add(storage.get(), size, *bitmap); in getGradientTableBitmap()