/external/skqp/src/core/ |
D | SkTypeface_remote.cpp | 23 SkASSERT(fCache == nullptr); in initCache() 26 fCache = cache; in initCache() 54 if (fCache && fCache->belongsToCache(glyph)) { in generateMetrics() 57 fCache->getCachedGlyphAnySubPix(glyph->getGlyphID(), glyph->getPackedID())) { in generateMetrics() 58 fCache->initializeGlyphFromFallback(glyph, *fallback); in generateMetrics() 65 if (fStrikeCache->desperationSearchForImage(fCache->getDescriptor(), glyph, fCache)) { in generateMetrics()
|
D | SkStrikeCache.cpp | 28 , fCache{desc, std::move(scaler), metrics} 32 return fCache.rounding(); in rounding() 36 return fCache.getGlyphMetrics(glyphID, position); in getGlyphMetrics() 40 return fCache.hasImage(glyph); in hasImage() 44 return fCache.hasPath(glyph); in hasPath() 50 SkStrike fCache; member in SkStrikeCache::Node 87 return &fNode->fCache; in get() 289 node->fCache.validate(); in attachNode() 303 if (node->fCache.getDescriptor() == desc) { in findAndDetachStrike() 348 if (loose_compare(node->fCache.getDescriptor(), desc)) { in desperationSearchForImage() [all …]
|
D | SkStrike.h | 150 AutoValidate(const SkStrike* cache) : fCache(cache) { in AutoValidate() 151 if (fCache) { in AutoValidate() 152 fCache->validate(); in AutoValidate() 156 if (fCache) { in ~AutoValidate() 157 fCache->validate(); in ~AutoValidate() 161 fCache = nullptr; in forget() 164 const SkStrike* fCache;
|
D | SkFindAndPlaceGlyph.h | 229 explicit GlyphFindAndPlaceSubpixel(SkStrike* cache) : fCache(cache) {} in GlyphFindAndPlaceSubpixel() 234 …const SkGlyph& renderGlyph = fCache->getGlyphIDMetrics(glyphID, lookupPosition.fX, lookupPosition.… in findAndPositionGlyph() 246 SkStrike* fCache; 254 explicit GlyphFindAndPlaceFullPixel(SkStrike* cache) : fCache(cache) {} in GlyphFindAndPlaceFullPixel() 260 const SkGlyph& glyph = fCache->getGlyphIDMetrics(glyphID); in findAndPositionGlyph() 270 SkStrike* fCache;
|
/external/skia/src/core/ |
D | SkTypeface_remote.cpp | 23 SkASSERT(fCache == nullptr); in initCache() 26 fCache = cache; in initCache() 54 if (fCache && fCache->belongsToCache(glyph)) { in generateMetrics() 57 fCache->getCachedGlyphAnySubPix(glyph->getGlyphID(), glyph->getPackedID())) { in generateMetrics() 58 fCache->initializeGlyphFromFallback(glyph, *fallback); in generateMetrics() 65 if (fStrikeCache->desperationSearchForImage(fCache->getDescriptor(), glyph, fCache)) { in generateMetrics()
|
D | SkStrike.h | 159 AutoValidate(const SkStrike* cache) : fCache(cache) { in AutoValidate() 160 if (fCache) { in AutoValidate() 161 fCache->validate(); in AutoValidate() 165 if (fCache) { in ~AutoValidate() 166 fCache->validate(); in ~AutoValidate() 170 fCache = nullptr; in forget() 173 const SkStrike* fCache;
|
D | SkFindAndPlaceGlyph.h | 229 explicit GlyphFindAndPlaceSubpixel(SkStrike* cache) : fCache(cache) {} in GlyphFindAndPlaceSubpixel() 234 …const SkGlyph& renderGlyph = fCache->getGlyphIDMetrics(glyphID, lookupPosition.fX, lookupPosition.… in findAndPositionGlyph() 246 SkStrike* fCache; 254 explicit GlyphFindAndPlaceFullPixel(SkStrike* cache) : fCache(cache) {} in GlyphFindAndPlaceFullPixel() 260 const SkGlyph& glyph = fCache->getGlyphIDMetrics(glyphID); in findAndPositionGlyph() 270 SkStrike* fCache;
|
/external/skqp/src/gpu/ |
D | GrResourceCache.h | 370 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() 371 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() 377 void insertResource(GrGpuResource* resource) { fCache->insertResource(resource); } in insertResource() 382 void removeResource(GrGpuResource* resource) { fCache->removeResource(resource); } in removeResource() 403 fCache->notifyCntReachedZero(resource, flags); in notifyCntReachedZero() 410 fCache->changeUniqueKey(resource, newKey); in changeUniqueKey() 416 void removeUniqueKey(GrGpuResource* resource) { fCache->removeUniqueKey(resource); } in removeUniqueKey() 422 fCache->willRemoveScratchKey(resource); in willRemoveScratchKey() 428 void didChangeBudgetStatus(GrGpuResource* resource) { fCache->didChangeBudgetStatus(resource); } in didChangeBudgetStatus() 434 GrResourceCache* fCache; variable
|
D | GrResourceProvider.h | 247 fCache = nullptr; in abandon() 251 uint32_t contextUniqueID() const { return fCache->contextUniqueID(); } in contextUniqueID() 253 bool overBudget() const { return fCache->overBudget(); } in overBudget() 275 GrResourceCache* cache() { return fCache; } in cache() 276 const GrResourceCache* cache() const { return fCache; } in cache() 285 SkASSERT(SkToBool(fGpu) == SkToBool(fCache)); in isAbandoned() 286 return !SkToBool(fCache); in isAbandoned() 297 GrResourceCache* fCache; variable
|
/external/skia/src/gpu/text/ |
D | GrStrikeCache.h | 34 GrGlyph* glyph = fCache.find(skGlyph.getPackedID()); in getGlyph() 47 GrGlyph* glyph = fCache.find(packed); in getGlyph() 69 int countGlyphs() const { return fCache.count(); } in countGlyphs() 84 SkTDynamicHash<GrGlyph, SkPackedGlyphID> fCache; 116 sk_sp<GrTextStrike> strike = sk_ref_sp(fCache.find(desc)); in getStrike() 133 fCache.add(strike.get()); in generateStrike() 139 StrikeHash fCache; variable
|
D | GrStrikeCache.cpp | 23 StrikeHash::Iter iter(&fCache); in ~GrStrikeCache() 32 StrikeHash::Iter iter(&fCache); in freeAll() 38 fCache.rewind(); in freeAll() 44 StrikeHash::Iter iter(&glyphCache->fCache); in HandleEviction() 52 glyphCache->fCache.remove(GrTextStrike::GetKey(*strike)); in HandleEviction() 177 fCache.add(grGlyph); in generateGlyph() 182 SkTDynamicHash<GrGlyph, SkPackedGlyphID>::Iter iter(&fCache); in removeID() 204 SkASSERT(fCache.find(glyph->fPackedID)); in addGlyphToAtlas()
|
/external/skqp/src/gpu/text/ |
D | GrStrikeCache.h | 34 GrGlyph* glyph = fCache.find(skGlyph.getPackedID()); in getGlyph() 47 GrGlyph* glyph = fCache.find(packed); in getGlyph() 69 int countGlyphs() const { return fCache.count(); } in countGlyphs() 84 SkTDynamicHash<GrGlyph, SkPackedGlyphID> fCache; 116 sk_sp<GrTextStrike> strike = sk_ref_sp(fCache.find(cache->getDescriptor())); in getStrike() 133 fCache.add(strike.get()); in generateStrike() 139 StrikeHash fCache; variable
|
D | GrStrikeCache.cpp | 23 StrikeHash::Iter iter(&fCache); in ~GrStrikeCache() 32 StrikeHash::Iter iter(&fCache); in freeAll() 38 fCache.rewind(); in freeAll() 44 StrikeHash::Iter iter(&glyphCache->fCache); in HandleEviction() 52 glyphCache->fCache.remove(GrTextStrike::GetKey(*strike)); in HandleEviction() 177 fCache.add(grGlyph); in generateGlyph() 182 SkTDynamicHash<GrGlyph, SkPackedGlyphID>::Iter iter(&fCache); in removeID() 204 SkASSERT(fCache.find(glyph->fPackedID)); in addGlyphToAtlas()
|
/external/skia/src/gpu/ |
D | GrResourceCache.h | 392 ResourceAccess(GrResourceCache* cache) : fCache(cache) { } in ResourceAccess() 393 ResourceAccess(const ResourceAccess& that) : fCache(that.fCache) { } in ResourceAccess() 399 void insertResource(GrGpuResource* resource) { fCache->insertResource(resource); } in insertResource() 404 void removeResource(GrGpuResource* resource) { fCache->removeResource(resource); } in removeResource() 425 fCache->notifyCntReachedZero(resource, flags); in notifyCntReachedZero() 432 fCache->changeUniqueKey(resource, newKey); in changeUniqueKey() 438 void removeUniqueKey(GrGpuResource* resource) { fCache->removeUniqueKey(resource); } in removeUniqueKey() 444 fCache->willRemoveScratchKey(resource); in willRemoveScratchKey() 450 void didChangeBudgetStatus(GrGpuResource* resource) { fCache->didChangeBudgetStatus(resource); } in didChangeBudgetStatus() 456 GrResourceCache* fCache; variable
|
D | GrResourceProvider.h | 244 fCache = nullptr; in abandon() 248 uint32_t contextUniqueID() const { return fCache->contextUniqueID(); } in contextUniqueID() 250 bool overBudget() const { return fCache->overBudget(); } in overBudget() 272 GrResourceCache* cache() { return fCache; } in cache() 273 const GrResourceCache* cache() const { return fCache; } in cache() 282 SkASSERT(SkToBool(fGpu) == SkToBool(fCache)); in isAbandoned() 283 return !SkToBool(fCache); in isAbandoned() 294 GrResourceCache* fCache; variable
|
/external/skqp/tools/ |
D | UrlDataManager.cpp | 17 UrlData* urlData = fCache.find(*data); in addData() 18 if (fCache.find(*data)) { in addData() 28 fCache.add(urlData); in addData() 36 SkTDynamicHash<UrlData, SkData, LookupTrait>::Iter iter(&fCache); in reset() 43 fCache.rewind(); in reset()
|
/external/skia/tools/ |
D | UrlDataManager.cpp | 17 UrlData* urlData = fCache.find(*data); in addData() 18 if (fCache.find(*data)) { in addData() 28 fCache.add(urlData); in addData() 36 SkTDynamicHash<UrlData, SkData, LookupTrait>::Iter iter(&fCache); in reset() 43 fCache.rewind(); in reset()
|
/external/skia/bench/ |
D | ImageCacheBench.cpp | 39 SkResourceCache fCache; member in ImageCacheBench 45 ImageCacheBench() : fCache(CACHE_COUNT * 100) {} in ImageCacheBench() 49 fCache.add(new TestRec(TestKey(i), i)); in populateCache() 59 if (fCache.getTotalBytesUsed() == 0) { in onDraw() 66 SkDEBUGCODE(bool found =) fCache.find(key, TestRec::Visitor, nullptr); in onDraw()
|
/external/skqp/bench/ |
D | ImageCacheBench.cpp | 39 SkResourceCache fCache; member in ImageCacheBench 45 ImageCacheBench() : fCache(CACHE_COUNT * 100) {} in ImageCacheBench() 49 fCache.add(new TestRec(TestKey(i), i)); in populateCache() 59 if (fCache.getTotalBytesUsed() == 0) { in onDraw() 66 SkDEBUGCODE(bool found =) fCache.find(key, TestRec::Visitor, nullptr); in onDraw()
|
/external/junit/src/main/java/junit/framework/ |
D | JUnit4TestAdapter.java | 21 private final JUnit4TestAdapterCache fCache; field in JUnit4TestAdapter 28 fCache = cache; in JUnit4TestAdapter() 38 fRunner.run(fCache.getNotifier(result, this)); in run() 43 return fCache.asTestList(getDescription()); in getTests()
|
/external/skia/gm/ |
D | skinning.cpp | 78 , fCache(cache) in SkinningGM() 91 if (fCache) { in onShortName() 111 !fCache); in onOnceBeforeDraw() 196 bool fCache; member in SkinningGM
|
/external/skqp/gm/ |
D | skinning.cpp | 78 , fCache(cache) in SkinningGM() 91 if (fCache) { in onShortName() 111 !fCache); in onOnceBeforeDraw() 196 bool fCache; member in SkinningGM
|
/external/icu/icu4c/source/i18n/ |
D | reldatefmt.cpp | 714 fCache(nullptr), in RelativeDateTimeFormatter() 725 fCache(nullptr), in RelativeDateTimeFormatter() 737 fCache(nullptr), in RelativeDateTimeFormatter() 753 fCache(nullptr), in RelativeDateTimeFormatter() 781 fCache(other.fCache), in RelativeDateTimeFormatter() 788 fCache->addRef(); in RelativeDateTimeFormatter() 799 SharedObject::copyPtr(other.fCache, fCache); in operator =() 811 if (fCache != nullptr) { in ~RelativeDateTimeFormatter() 812 fCache->removeRef(); in ~RelativeDateTimeFormatter() 858 fCache->getRelativeUnitFormatter(fStyle, unit, bFuture, pluralIndex); in format() [all …]
|
/external/skqp/src/ports/ |
D | SkFontMgr_FontConfigInterface.cpp | 166 mutable SkFontRequestCache fCache; member in SkFontMgr_FCI 171 , fCache(kMaxSize) in SkFontMgr_FCI() 303 SkTypeface* face = fCache.findAndRef(request.get()); in onLegacyMakeTypeface() 325 fCache.add(face, request.release()); in onLegacyMakeTypeface()
|
/external/skia/src/ports/ |
D | SkFontMgr_FontConfigInterface.cpp | 165 mutable SkFontRequestCache fCache; member in SkFontMgr_FCI 170 , fCache(kMaxSize) in SkFontMgr_FCI() 302 sk_sp<SkTypeface> face = fCache.findAndRef(request.get()); in onLegacyMakeTypeface() 324 fCache.add(face, request.release()); in onLegacyMakeTypeface()
|