Home
last modified time | relevance | path

Searched refs:fAlloc (Results 1 – 6 of 6) sorted by relevance

/external/skia/src/xml/
DSkDOM.cpp69 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 SkDOMParser
316 SkDOMParser parser(&fAlloc); in build()
321 fAlloc.reset(); in build()
[all …]
/external/skia/src/core/
DSkEdgeBuilder.cpp21 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()
DSkRecord.h38 , 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
DSkRecord.cpp25 size_t bytes = fAlloc.approxBytesAllocated() + sizeof(SkRecord); in bytesUsed()
DSkEdgeBuilder.h30 SkChunkAlloc fAlloc;
/external/skia/include/xml/
DSkDOM.h91 SkChunkAlloc fAlloc;