/external/skia/include/core/ |
SkGlobals.h | 24 class Rec { 26 virtual ~Rec(); 28 Rec* fNext; 34 /** Look for a matching Rec for the specified tag. If one is found, return it. 36 call the proc, and if it returns a Rec, add it to the global list 41 static Rec* Find(uint32_t tag, Rec* (*create_proc)()); 42 /** Helper for Find, when you want to assert that the Rec is already in the list 44 static Rec* Get(uint32_t tag) 46 Rec* rec = SkGlobals::Find(tag, NULL) local [all...] |
SkTDStack.h | 33 Rec* rec = fRec; local 34 while (rec != &fInitialRec) 36 Rec* next = rec->fNext; 37 sk_free(rec); 38 rec = next; 51 Rec* rec = (Rec*)sk_malloc_throw(sizeof(Rec)) local 94 Rec* rec = fRec->fNext; local [all...] |
SkString.h | 127 struct Rec { 136 Rec* fRec; 145 static const Rec gEmptyRec; 146 static Rec* AllocRec(const char text[], U16CPU len); 147 static Rec* RefRec(Rec*);
|
SkScalerContext.h | 165 struct Rec { 228 static inline void MakeRec(const SkPaint&, const SkMatrix*, Rec* rec); 232 Rec fRec;
|
SkFontHost.h | 163 /** Given a filled-out rec, the fonthost may decide to modify it to reflect 165 rec is requesting a level of hinting that, for this host, maps some 166 other level (e.g. kFull -> kNormal), it should update the rec to reflect 173 static void FilterRec(SkScalerContext::Rec* rec);
|
SkDescriptor.h | 177 + sizeof(SkDescriptor::Entry) + sizeof(SkScalerContext::Rec) // for rec
|
/external/skia/include/effects/ |
SkLayerDrawLooper.h | 43 struct Rec { 44 Rec* fNext; 48 static Rec* Reverse(Rec*); 50 Rec* fRecs; 57 Rec* fRec;
|
/external/skia/src/core/ |
SkGlobals.cpp | 21 SkGlobals::Rec::~Rec() 25 SkGlobals::Rec* SkGlobals::Find(uint32_t tag, Rec* (*create_proc)()) 29 Rec* rec = bootstrap.fHead; local 30 while (rec) 32 if (rec->fTag == tag) 33 return rec; 34 rec = rec->fNext 79 Rec* rec = head; local [all...] |
SkString.cpp | 131 const SkString::Rec SkString::gEmptyRec = { 0, 0, 0 }; 135 SkString::Rec* SkString::AllocRec(const char text[], U16CPU len) 137 Rec* rec; local 140 rec = const_cast<Rec*>(&gEmptyRec); 144 rec = (Rec*)sk_malloc_throw(SizeOfRec() + SkAlign4(len + 1)); 145 rec->fLength = SkToU16(len); 146 rec->fRefCnt = 1 [all...] |
SkScalerContext.cpp | 150 const Rec* rec = (const Rec*)desc->findEntry(kRec_SkDescriptorTag, NULL); local 151 SkASSERT(rec); 153 fRec = *rec; 159 rec->fTextSize, rec->fPreScaleX, rec->fPreSkewX, rec->fPost2x2[0][0], 160 rec->fPost2x2[0][1], rec->fPost2x2[1][0], rec->fPost2x2[1][1]) [all...] |
SkGlyphCache.cpp | 122 const CharGlyphRec& rec = fCharToGlyphHash[ID2HashIndex(id)]; local 124 if (rec.fID == id) { 125 return rec.fGlyph->getGlyphID(); 140 CharGlyphRec* rec = &fCharToGlyphHash[ID2HashIndex(id)]; local 142 if (rec->fID != id) { 144 rec->fID = id; 147 rec->fGlyph = this->lookupMetrics(id, kJustAdvance_MetricsType); 149 return *rec->fGlyph; 170 CharGlyphRec* rec = &fCharToGlyphHash[ID2HashIndex(id)]; local 172 if (rec->fID != id) 193 CharGlyphRec* rec = &fCharToGlyphHash[ID2HashIndex(id)]; local 336 const AuxProcRec* rec = fAuxProcList; local 354 AuxProcRec* rec = fAuxProcList; local 371 AuxProcRec* rec = fAuxProcList; local 390 AuxProcRec* rec = fAuxProcList; local 444 SkGlyphCache_Globals* rec = SkNEW(SkGlyphCache_Globals); local [all...] |
SkPaint.cpp | [all...] |
/external/skia/src/effects/ |
SkLayerDrawLooper.cpp | 11 Rec* rec = fRecs; local 12 while (rec) { 13 Rec* next = rec->fNext; 14 SkDELETE(rec); 15 rec = next; 22 Rec* rec = SkNEW(Rec); local 39 Rec* rec = fIter.fRec; local 58 Rec* rec = head; local 76 Rec* rec = fRecs; local 88 Rec* rec = fRecs; local 116 Rec* rec = fRecs; local [all...] |
SkGradientShader.cpp | 103 struct Rec { 107 Rec* fRecs; 129 kStorageSize = kColorStorageCount * (sizeof(SkColor) + sizeof(Rec)) 195 size_t size = sizeof(SkColor) + sizeof(Rec); 216 fRecs = (Rec*)(fOrigColors + fColorCount); 218 Rec* recs = fRecs; 283 size_t size = sizeof(SkColor) + sizeof(SkPMColor) + sizeof(Rec); 292 fRecs = (Rec*)(fOrigColors + colorCount); 294 Rec* recs = fRecs; 325 Rec* recs = fRecs [all...] |
/external/skia/src/views/ |
SkMetaData.cpp | 36 Rec* rec = fRec; local 37 while (rec) 39 Rec* next = rec->fNext; 40 Rec::Free(rec); 41 rec = next; 50 const Rec* rec = src.fRec local 101 Rec* rec = Rec::Alloc(sizeof(Rec) + dataSize * count + len + 1); local 145 const Rec* rec = this->find(name, kS32_Type); local 158 const Rec* rec = this->find(name, kScalar_Type); local 171 const Rec* rec = this->find(name, kScalar_Type); local 185 const Rec* rec = this->find(name, kPtr_Type); local 198 const Rec* rec = this->find(name, kString_Type); local 205 const Rec* rec = this->find(name, kBool_Type); local 218 const Rec* rec = fRec; local 230 Rec* rec = fRec; local [all...] |
SkEventSink.cpp | 28 class SkEventSink_Globals : public SkGlobals::Rec { 35 static SkGlobals::Rec* create_globals() 37 SkEventSink_Globals* rec = new SkEventSink_Globals; local 38 rec->fNextSinkID = 0; 39 rec->fSinkHead = NULL; 40 return rec; 113 void SkEventSink::addTagList(SkTagList* rec) 115 SkASSERT(rec); 116 SkASSERT(fTagHead == NULL || SkTagList::Find(fTagHead, rec->fTag) == NULL); 118 rec->fNext = fTagHead [all...] |
SkEvent.cpp | 295 class SkEvent_Globals : public SkGlobals::Rec { 303 static SkGlobals::Rec* create_globals() 305 SkEvent_Globals* rec = new SkEvent_Globals; local 306 rec->fEventQHead = NULL; 307 rec->fEventQTail = NULL; 308 rec->fDelayQHead = NULL; 309 SkDEBUGCODE(rec->fEventCounter = 0;) 310 return rec;
|
/external/skia/include/views/ |
SkMetaData.h | 91 struct Rec; 113 Rec* fRec; 117 struct Rec { 118 Rec* fNext; 143 static Rec* Alloc(size_t); 144 static void Free(Rec*); 146 Rec* fRec; 148 const Rec* find(const char name[], Type) const;
|
/external/skia/include/utils/ |
SkCamera.h | 166 struct Rec { 167 Rec* fNext; 170 Rec* fRec; 171 Rec fInitialRec;
|
/external/skia/src/utils/ |
SkCamera.cpp | 379 Rec* rec = fRec; local 380 while (rec != &fInitialRec) { 381 Rec* next = rec->fNext; 382 SkDELETE(rec); 383 rec = next; 389 Rec* rec = SkNEW(Rec); local [all...] |
/external/freetype/include/freetype/internal/ |
ftserv.h | [all...] |
/external/skia/src/ports/ |
SkFontHost_FreeType.cpp | 196 SkFaceRec* rec = gFaceRecHead; local 197 while (rec) { 198 if (rec->fFontID == fontID) { 199 SkASSERT(rec->fFace); 200 rec->fRefCnt += 1; 201 return rec; 203 rec = rec->fNext; 212 // this passes ownership of strm to the rec 213 rec = SkNEW_ARGS(SkFaceRec, (strm, fontID)) 254 SkFaceRec* rec = gFaceRecHead; local 307 SkFaceRec *rec = ref_ft_face(fontID); local [all...] |