Lines Matching refs:usedBytes
192 size_t usedBytes = back.fBuffer->size() - back.fBytesFree; in makeSpace() local
193 size_t pad = GrSizeAlignUpPad(usedBytes, alignment); in makeSpace()
200 memset((void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes), 0, pad); in makeSpace()
201 usedBytes += pad; in makeSpace()
202 *offset = usedBytes; in makeSpace()
207 return (void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes); in makeSpace()
247 size_t usedBytes = back.fBuffer->size() - back.fBytesFree; in makeSpaceAtLeast() local
248 size_t pad = GrSizeAlignUpPad(usedBytes, alignment); in makeSpaceAtLeast()
251 memset((void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes), 0, pad); in makeSpaceAtLeast()
252 usedBytes += pad; in makeSpaceAtLeast()
265 *offset = usedBytes; in makeSpaceAtLeast()
271 return (void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes); in makeSpaceAtLeast()