Searched refs:SkBufferHead (Results 1 – 2 of 2) sorted by relevance
67 struct SkBufferHead { struct71 SkBufferHead(size_t capacity) : fRefCnt(1), fBlock(capacity) {} in SkBufferHead() function74 const size_t minSize = kMinAllocSize - sizeof(SkBufferHead); in LengthToCapacity() argument78 static SkBufferHead* Alloc(size_t length) { in Alloc() argument80 size_t size = sizeof(SkBufferHead) + capacity; in Alloc()82 return new (buffer) SkBufferHead(capacity); in Alloc()129 SkROBuffer::SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* tail) in SkROBuffer()196 fHead = SkBufferHead::Alloc(initialCapacity); in SkRWBuffer()221 fHead = SkBufferHead::Alloc(length + reserve); in append()
14 struct SkBufferHead;61 SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* fTail);64 const SkBufferHead* fHead;106 SkBufferHead* fHead;