Home
last modified time | relevance | path

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

/external/skia/src/xml/
DSkDOM.cpp69 SkDOM::SkDOM() : fAlloc(kMinChunkSize), fRoot(nullptr) 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/gpu/vk/
DGrVkImage.h29 VkDeviceMemory fAlloc; variable
32 Resource() : INHERITED(), fImage(nullptr), fAlloc(nullptr), fFlags(kNo_Flags) {} in Resource()
35 : fImage(image), fAlloc(alloc), fFlags(flags) {} in Resource()
57 VkDeviceMemory textureMemory() const { return fResource->fAlloc; } in textureMemory()
DGrVkBuffer.h28 VkDeviceMemory alloc() const { return fResource->fAlloc; } in alloc()
56 Resource(VkBuffer buf, VkDeviceMemory alloc) : INHERITED(), fBuffer(buf), fAlloc(alloc) {} in Resource()
59 VkDeviceMemory fAlloc; variable
DGrVkBuffer.cpp105 SkASSERT(fAlloc); in freeGPUData()
107 VK_CALL(gpu, FreeMemory(gpu->device(), fAlloc, nullptr)); in freeGPUData()
DGrVkImage.cpp117 VK_CALL(gpu, FreeMemory(gpu->device(), fAlloc, nullptr)); in freeGPUData()
DGrVkGpu.cpp781 imageRsrc->fAlloc, in createTestingOnlyBackendTexture()
800 GR_VK_CALL(interface, UnmapMemory(fDevice, imageRsrc->fAlloc)); in createTestingOnlyBackendTexture()
813 if (backend && backend->fImage && backend->fAlloc) { in isTestingOnlyBackendTexture()
/external/skia/src/core/
DSkEdgeBuilder.cpp21 SkEdgeBuilder::SkEdgeBuilder() : fAlloc(16*1024) { in SkEdgeBuilder()
71 SkEdge* edge = typedAllocThrow<SkEdge>(fAlloc); in addLine()
91 SkQuadraticEdge* edge = typedAllocThrow<SkQuadraticEdge>(fAlloc); in addQuad()
100 SkCubicEdge* edge = typedAllocThrow<SkCubicEdge>(fAlloc); in addCubic()
160 char* storage = (char*)fAlloc.allocThrow(maxEdgeSize + maxEdgePtrSize); in buildPoly()
237 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);
198 SkVarAlloc fAlloc; variable
DSkRecord.cpp26 size_t bytes = fAlloc.approxBytesAllocated() + sizeof(SkRecord); in bytesUsed()
DSkEdgeBuilder.h39 SkChunkAlloc fAlloc; variable
/external/skia/include/xml/
DSkDOM.h91 SkChunkAlloc fAlloc;