Home
last modified time | relevance | path

Searched refs:fDesc (Results 1 – 4 of 4) sorted by relevance

/external/skia/src/gpu/
DSkGrFontScaler.cpp26 SkDescriptor* fDesc; member in SkGrDescKey
38 fDesc = GrTCast<SkDescriptor*>(fStorage); in SkGrDescKey()
40 fDesc = SkDescriptor::Alloc(size); in SkGrDescKey()
42 memcpy(fDesc, &desc, size); in SkGrDescKey()
46 if (fDesc != GrTCast<SkDescriptor*>(fStorage)) { in ~SkGrDescKey()
47 SkDescriptor::Free(fDesc); in ~SkGrDescKey()
52 const SkDescriptor* srcDesc = ((const SkGrDescKey*)&rh)->fDesc; in lt()
53 size_t lenLH = fDesc->getLength(); in lt()
55 int cmp = memcmp(fDesc, srcDesc, SkMin32(lenLH, lenRH)); in lt()
64 const SkDescriptor* srcDesc = ((const SkGrDescKey*)&rh)->fDesc; in eq()
[all …]
/external/skia/include/core/
DSkDescriptor.h158 fDesc = (SkDescriptor*)(void*)fStorage; in SkAutoDescriptor()
160 fDesc = SkDescriptor::Alloc(size); in SkAutoDescriptor()
164 if (fDesc != (SkDescriptor*)(void*)fStorage) in ~SkAutoDescriptor()
165 SkDescriptor::Free(fDesc); in ~SkAutoDescriptor()
167 SkDescriptor* getDesc() const { return fDesc; } in getDesc()
175 SkDescriptor* fDesc; variable
/external/skia/src/core/
DSkGlyphCache.cpp57 fDesc = desc->copy(); in SkGlyphCache()
85 SkDescriptor::Free(fDesc); in ~SkGlyphCache()
480 if (cache && *cache->fDesc == *desc) { in VisitCache()
487 if (cache->fDesc->equals(*desc)) { in VisitCache()
550 unsigned index = desc_to_hashindex(cache->fDesc); in AttachCache()
626 unsigned index = desc_to_hashindex(cache->fDesc); in InternalFreeCache()
DSkGlyphCache.h99 const SkDescriptor& getDescriptor() const { return *fDesc; } in getDescriptor()
232 SkDescriptor* fDesc; variable