Home
last modified time | relevance | path

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

/external/skia/legacy/src/xml/
DSkDOM.cpp68 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(NULL) in SkDOM()
204 SkDOMParser(SkChunkAlloc* chunk) : SkXMLParser(&fParserError), fAlloc(chunk) in SkDOMParser()
217 …SkDOM::Node* node = (SkDOM::Node*)fAlloc->alloc(sizeof(SkDOM::Node) + attrCount * sizeof(SkDOM::At… in flushAttributes()
248 fElemName = dupstr(fAlloc, elem); in onStartElement()
255 attr->fName = dupstr(fAlloc, name); in onAddAttribute()
256 attr->fValue = dupstr(fAlloc, value); in onAddAttribute()
284 SkChunkAlloc* fAlloc; member in SkDOMParser
295 fAlloc.reset(); in build()
296 SkDOMParser parser(&fAlloc); in build()
301 fAlloc.reset(); in build()
[all …]
/external/skia/src/xml/
DSkDOM.cpp68 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(NULL) in SkDOM()
204 SkDOMParser(SkChunkAlloc* chunk) : SkXMLParser(&fParserError), fAlloc(chunk) in SkDOMParser()
217 …SkDOM::Node* node = (SkDOM::Node*)fAlloc->alloc(sizeof(SkDOM::Node) + attrCount * sizeof(SkDOM::At… in flushAttributes()
248 fElemName = dupstr(fAlloc, elem); in onStartElement()
255 attr->fName = dupstr(fAlloc, name); in onAddAttribute()
256 attr->fValue = dupstr(fAlloc, value); in onAddAttribute()
284 SkChunkAlloc* fAlloc; member in SkDOMParser
295 fAlloc.reset(); in build()
296 SkDOMParser parser(&fAlloc); in build()
301 fAlloc.reset(); in build()
[all …]
/external/skia/legacy/src/core/
DSkEdgeBuilder.cpp15 SkEdgeBuilder::SkEdgeBuilder() : fAlloc(16*1024) {} in SkEdgeBuilder()
24 SkEdge* edge = typedAllocThrow<SkEdge>(fAlloc); in addLine()
33 SkQuadraticEdge* edge = typedAllocThrow<SkQuadraticEdge>(fAlloc); in addQuad()
42 SkCubicEdge* edge = typedAllocThrow<SkCubicEdge>(fAlloc); in addCubic()
82 fAlloc.reset(); in build()
DSkRegion_rects.cpp75 SkChunkAlloc fAlloc;
83 : fAlloc((1 + numRects * 2 + 1) * sizeof(int32_t)) {
95 SkRegion::RunType* row = (SkRegion::RunType*)fAlloc.allocThrow(size);
143 fAlloc.unalloc(rowHead);
DSkEdgeBuilder.h28 SkChunkAlloc fAlloc;
/external/skia/src/core/
DSkPictureStateTree.cpp15 : fAlloc(2048) in SK_DEFINE_INST_COUNT()
18 SkMatrix* identity = static_cast<SkMatrix*>(fAlloc.allocThrow(sizeof(SkMatrix))); in SK_DEFINE_INST_COUNT()
20 fRoot = static_cast<Node*>(fAlloc.allocThrow(sizeof(Node))); in SK_DEFINE_INST_COUNT()
35 Draw* draw = static_cast<Draw*>(fAlloc.allocThrow(sizeof(Draw))); in appendDraw()
58 SkMatrix* m = static_cast<SkMatrix*>(fAlloc.allocThrow(sizeof(SkMatrix))); in appendTransform()
73 Node* n = static_cast<Node*>(fAlloc.allocThrow(sizeof(Node))); in appendNode()
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()
158 fAlloc.reset(); in build()
DSkRegion_rects.cpp75 SkChunkAlloc fAlloc;
83 : fAlloc((1 + numRects * 2 + 1) * sizeof(int32_t)) {
95 SkRegion::RunType* row = (SkRegion::RunType*)fAlloc.allocThrow(size);
143 fAlloc.unalloc(rowHead);
DSkEdgeBuilder.h30 SkChunkAlloc fAlloc;
DSkPictureStateTree.h110 SkChunkAlloc fAlloc; variable
/external/skia/src/ports/
DSkXMLPullParser_expat.cpp39 Data() : fAlloc(2048), fState(NORMAL) {} in Data()
43 SkChunkAlloc fAlloc; member
58 SkChunkAlloc& alloc = p->fAlloc; in start_proc()
96 c->fName = dupstr(p->fAlloc, el, strlen(el)); in end_proc()
117 c->fName = dupstr(p->fAlloc, text, len); in text_proc()
180 fImpl->fData.fAlloc.reset(); in onNextToken()
/external/skia/legacy/src/ports/
DSkXMLPullParser_expat.cpp39 Data() : fAlloc(2048), fState(NORMAL) {} in Data()
43 SkChunkAlloc fAlloc; member
58 SkChunkAlloc& alloc = p->fAlloc; in start_proc()
96 c->fName = dupstr(p->fAlloc, el, strlen(el)); in end_proc()
117 c->fName = dupstr(p->fAlloc, text, len); in text_proc()
180 fImpl->fData.fAlloc.reuse(); in onNextToken()
/external/skia/include/xml/
DSkDOM.h85 SkChunkAlloc fAlloc;
/external/skia/legacy/include/xml/
DSkDOM.h85 SkChunkAlloc fAlloc;