Home
last modified time | relevance | path

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

/third_party/flutter/skia/src/core/
DSkRWBuffer.cpp67 struct SkBufferHead { struct
71 SkBufferHead(size_t capacity) : fRefCnt(1), fBlock(capacity) {} in SkBufferHead() function
74 const size_t minSize = kMinAllocSize - sizeof(SkBufferHead); in LengthToCapacity() argument
78 static SkBufferHead* Alloc(size_t length) { in Alloc() argument
80 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()
/third_party/flutter/skia/include/core/
DSkRWBuffer.h14 struct SkBufferHead;
61 SkROBuffer(const SkBufferHead* head, size_t available, const SkBufferBlock* fTail);
64 const SkBufferHead* fHead;
106 SkBufferHead* fHead;