Lines Matching defs:bytes
137 size_t bytes = fBlocks[i].fBuffer->sizeInBytes() - fBlocks[i].fBytesFree;
138 bytesInUse += bytes;
139 GrAssert(bytes || unusedBlockAllowed);
220 void GrBufferAllocPool::putBack(size_t bytes) {
229 while (bytes) {
234 if (bytes >= bytesUsed) {
235 bytes -= bytesUsed;
244 block.fBytesFree += bytes;
245 fBytesInUse -= bytes;
246 bytes = 0;