Searched refs:SkBufferHead (Results 1 – 2 of 2) sorted by relevance
14 struct SkBufferHead;59 SkROBuffer(const SkBufferHead* head, size_t used);62 const SkBufferHead* fHead;92 SkBufferHead* fHead;
57 struct SkBufferHead { struct62 const size_t minSize = kMinAllocSize - sizeof(SkBufferHead); in LengthToCapacity() argument66 static SkBufferHead* Alloc(size_t length) { in Alloc() argument68 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() argument180 fHead = SkBufferHead::Alloc(length); in append()208 fHead = SkBufferHead::Alloc(length); in append()