Home
last modified time | relevance | path

Searched refs:gCache (Results 1 – 5 of 5) sorted by relevance

/external/icu/icu4c/source/common/
Dunifiedcache.cpp18 static icu::UnifiedCache *gCache = NULL; variable
32 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 …]
/external/icu/icu4c/source/i18n/
Dhebrwcal.cpp134 static icu::CalendarCache *gCache = NULL; variable
138 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()
/external/skia/src/core/
DSkTypefaceCache.cpp76 static SkTypefaceCache gCache; in Get() local
77 return gCache; in Get()
/external/skia/src/ports/
DSkFontHost_fontconfig.cpp77 static SkFontHostRequestCache gCache(gMaxSize); in Get() local
78 return gCache; in Get()
/external/skia/src/effects/gradients/
DSkGradientShader.cpp668 static SkGradientBitmapCache* gCache; in getGradientTableBitmap() local
673 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()