Home
last modified time | relevance | path

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

/external/skia/src/core/
DSkRWBuffer.h14 struct SkBufferHead;
59 SkROBuffer(const SkBufferHead* head, size_t used);
62 const SkBufferHead* fHead;
92 SkBufferHead* fHead;
DSkRWBuffer.cpp57 struct SkBufferHead { struct
62 const size_t minSize = kMinAllocSize - sizeof(SkBufferHead); in LengthToCapacity() argument
66 static SkBufferHead* Alloc(size_t length) { in Alloc() argument
68 size_t size = sizeof(SkBufferHead) + capacity; in Alloc()
69 SkBufferHead* head = (SkBufferHead*)sk_malloc_throw(size); in Alloc()
117 SkROBuffer::SkROBuffer(const SkBufferHead* head, size_t used) : fHead(head), fUsed(used) { in SkROBuffer() argument
180 fHead = SkBufferHead::Alloc(length); in append()
208 fHead = SkBufferHead::Alloc(length); in append()