Home
last modified time | relevance | path

Searched refs:SkBufferBlock (Results 1 – 2 of 2) sorted by relevance

/external/skia/src/core/
DSkRWBuffer.cpp14 struct SkBufferBlock { struct
15 SkBufferBlock* fNext; argument
24 static SkBufferBlock* Alloc(size_t length) { in Alloc() argument
26 SkBufferBlock* block = (SkBufferBlock*)sk_malloc_throw(sizeof(SkBufferBlock) + capacity); in Alloc()
52 const size_t minSize = kMinAllocSize - sizeof(SkBufferBlock); in LengthToCapacity() argument
59 SkBufferBlock fBlock;
87 SkBufferBlock* block = fBlock.fNext; in unref()
90 SkBufferBlock* next = block->fNext; in unref()
97 void validate(size_t minUsed, SkBufferBlock* tail = NULL) const { in validate()
101 const SkBufferBlock* block = &fBlock; in validate()
[all …]
DSkRWBuffer.h13 struct SkBufferBlock;
54 const SkBufferBlock* fBlock;
93 SkBufferBlock* fTail;