Searched refs:totalBytesToBuffer (Results 1 – 2 of 2) sorted by relevance
37 bool SkStreamBuffer::buffer(size_t totalBytesToBuffer) { in buffer() argument40 SkASSERT(totalBytesToBuffer <= kMaxSize); in buffer()42 if (totalBytesToBuffer <= fBytesBuffered) { in buffer()48 fBytesBuffered = SkTMin(remaining, totalBytesToBuffer); in buffer()50 const size_t extraBytes = totalBytesToBuffer - fBytesBuffered; in buffer()54 return fBytesBuffered == totalBytesToBuffer; in buffer()