Searched refs:fAlloc (Results 1 – 6 of 6) sorted by relevance
69 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(NULL) in SkDOM()204 SkDOMParser(SkChunkAlloc* chunk) : SkXMLParser(&fParserError), fAlloc(chunk) in SkDOMParser()206 fAlloc->reset(); in SkDOMParser()221 …SkDOM::Node* node = (SkDOM::Node*)fAlloc->alloc(sizeof(SkDOM::Node) + attrCount * sizeof(SkDOM::At… in flushAttributes()255 attr->fName = dupstr(fAlloc, name); in onAddAttribute()256 attr->fValue = dupstr(fAlloc, value); in onAddAttribute()297 fElemName = dupstr(fAlloc, elem); in startCommon()303 SkChunkAlloc* fAlloc; member in SkDOMParser316 SkDOMParser parser(&fAlloc); in build()321 fAlloc.reset(); in build()[all …]
21 SkEdgeBuilder::SkEdgeBuilder() : fAlloc(16*1024) { in SkEdgeBuilder()26 SkEdge* edge = typedAllocThrow<SkEdge>(fAlloc); in addLine()35 SkQuadraticEdge* edge = typedAllocThrow<SkQuadraticEdge>(fAlloc); in addQuad()44 SkCubicEdge* edge = typedAllocThrow<SkCubicEdge>(fAlloc); in addCubic()99 char* storage = (char*)fAlloc.allocThrow(maxEdgeSize + maxEdgePtrSize); in buildPoly()166 fAlloc.reset(); in build()
38 , fAlloc(kInlineAllocLgBytes+1, // First malloc'd block is 2x as large as fInlineAlloc. in SkRecord()71 return (T*)fAlloc.alloc(sizeof(T) * count, SK_MALLOC_THROW);194 SkVarAlloc fAlloc; variable
25 size_t bytes = fAlloc.approxBytesAllocated() + sizeof(SkRecord); in bytesUsed()
30 SkChunkAlloc fAlloc;
91 SkChunkAlloc fAlloc;