Lines Matching refs:fAlloc
72 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(nullptr) {} in SkDOM()
192 SkDOMParser(SkArenaAllocWithReset* chunk) : SkXMLParser(&fParserError), fAlloc(chunk) { in SkDOMParser()
193 fAlloc->reset(); in SkDOMParser()
207 SkDOMAttr* attrs = fAlloc->makeArrayDefault<SkDOMAttr>(attrCount); in flushAttributes()
208 SkDOM::Node* node = fAlloc->make<SkDOM::Node>(); in flushAttributes()
239 attr->fName = dupstr(fAlloc, name, strlen(name)); in onAddAttribute()
240 attr->fValue = dupstr(fAlloc, value, strlen(value)); in onAddAttribute()
279 fElemName = dupstr(fAlloc, elem, elemSize); in startCommon()
285 SkArenaAllocWithReset* fAlloc; member in SkDOMParser
297 SkDOMParser parser(&fAlloc); in build()
302 fAlloc.reset(); in build()
338 SkDOMParser parser(&fAlloc); in copy()
348 fParser = std::make_unique<SkDOMParser>(&fAlloc); in beginParsing()