Home
last modified time | relevance | path

Searched refs:SkROBuffer (Results 1 – 3 of 3) sorted by relevance

/external/skia/src/core/
DSkRWBuffer.cpp117 SkROBuffer::SkROBuffer(const SkBufferHead* head, size_t used) : fHead(head), fUsed(used) { in SkROBuffer() function in SkROBuffer
127 SkROBuffer::~SkROBuffer() { in ~SkROBuffer()
134 SkROBuffer::Iter::Iter(const SkROBuffer* buffer) { in Iter()
138 void SkROBuffer::Iter::reset(const SkROBuffer* buffer) { in reset()
148 const void* SkROBuffer::Iter::data() const { in data()
152 size_t SkROBuffer::Iter::size() const { in size()
156 bool SkROBuffer::Iter::next() { in next()
232 SkROBuffer* SkRWBuffer::newRBufferSnapshot() const { in newRBufferSnapshot()
233 return SkNEW_ARGS(SkROBuffer, (fHead, fTotalUsed)); in newRBufferSnapshot()
260 SkROBufferStreamAsset(const SkROBuffer* buffer) : fBuffer(SkRef(buffer)), fIter(buffer) { in SkROBufferStreamAsset()
[all …]
DSkRWBuffer.h22 class SkROBuffer : public SkRefCnt {
32 Iter(const SkROBuffer*);
34 void reset(const SkROBuffer*);
59 SkROBuffer(const SkBufferHead* head, size_t used);
60 virtual ~SkROBuffer();
82 SkROBuffer* newRBufferSnapshot() const;
/external/skia/tests/
DDataRefTest.cpp271 static void check_alphabet_buffer(skiatest::Reporter* reporter, const SkROBuffer* reader) { in check_alphabet_buffer()
276 SkROBuffer::Iter iter(reader); in check_alphabet_buffer()
291 SkROBuffer* readers[N]; in DEF_TEST()