Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dunifiedcache.cpp22 static icu::UnifiedCache *gCache = NULL; variable
35 delete gCache; in unifiedcache_cleanup()
36 gCache = nullptr; in unifiedcache_cleanup()
71 U_ASSERT(gCache == NULL); in cacheInit()
77 gCache = new UnifiedCache(status); in cacheInit()
78 if (gCache == NULL) { in cacheInit()
82 delete gCache; in cacheInit()
83 gCache = NULL; in cacheInit()
93 U_ASSERT(gCache != NULL); in getInstance()
94 return gCache; in getInstance()
/external/icu/icu4c/source/i18n/
Dhebrwcal.cpp137 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()
422 CalendarCache::put(&gCache, year, day, status); in startOfYear()
/external/skia/src/gpu/ops/
DGrAtlasTextOp.cpp39 static thread_local void* gCache = nullptr; variable
41 if (gCache != nullptr) { in operator new()
42 return std::exchange(gCache, nullptr); in operator new()
49 if (gCache == nullptr) { in operator delete()
50 gCache = bytes; in operator delete()
57 ::operator delete(gCache); in ClearCache()
58 gCache = nullptr; in ClearCache()
/external/skqp/src/core/
DSkTypefaceCache.cpp56 static SkTypefaceCache gCache; in Get() local
57 return gCache; in Get()
/external/skia/src/core/
DSkTypefaceCache.cpp56 static SkTypefaceCache gCache; in Get() local
57 return gCache; in Get()
/external/skqp/src/gpu/gradients/
DGrGradientShader.cpp41 static GrGradientBitmapCache gCache(kMaxNumCachedGradientBitmaps, kGradientTextureSize); in make_textured_colorizer() local
53 gCache.getGradient(colors, positions, count, colorType, alphaType, &bitmap); in make_textured_colorizer()
/external/skia/src/gpu/gradients/
DGrGradientShader.cpp43 static GrGradientBitmapCache gCache(kMaxNumCachedGradientBitmaps, kGradientTextureSize); in make_textured_colorizer() local
58 gCache.getGradient(colors, positions, count, colorType, alphaType, &bitmap); in make_textured_colorizer()