Searched refs:fAlloc (Results 1 – 11 of 11) sorted by relevance
/external/skia/src/xml/ |
D | SkDOM.cpp | 69 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/ |
D | GrVkImage.h | 29 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()
|
D | GrVkBuffer.h | 28 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
|
D | GrVkBuffer.cpp | 105 SkASSERT(fAlloc); in freeGPUData() 107 VK_CALL(gpu, FreeMemory(gpu->device(), fAlloc, nullptr)); in freeGPUData()
|
D | GrVkImage.cpp | 117 VK_CALL(gpu, FreeMemory(gpu->device(), fAlloc, nullptr)); in freeGPUData()
|
D | GrVkGpu.cpp | 781 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/ |
D | SkEdgeBuilder.cpp | 21 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()
|
D | SkRecord.h | 38 , 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
|
D | SkRecord.cpp | 26 size_t bytes = fAlloc.approxBytesAllocated() + sizeof(SkRecord); in bytesUsed()
|
D | SkEdgeBuilder.h | 39 SkChunkAlloc fAlloc; variable
|
/external/skia/include/xml/ |
D | SkDOM.h | 91 SkChunkAlloc fAlloc;
|