Lines Matching refs:fBufferPtr
57 SkASSERT(!fBufferPtr); in deleteBlocks()
79 if (fBufferPtr) { in unmap()
87 fBufferPtr = nullptr; in unmap()
95 if (fBufferPtr) { in validate()
98 SkASSERT(fCpuData == fBufferPtr); in validate()
138 if (fBufferPtr) { in makeSpace()
148 memset((void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes), 0, pad); in makeSpace()
155 return (void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes); in makeSpace()
170 SkASSERT(fBufferPtr); in makeSpace()
178 return fBufferPtr; in makeSpace()
193 if (fBufferPtr) { in makeSpaceAtLeast()
199 memset((void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes), 0, pad); in makeSpaceAtLeast()
219 return (void*)(reinterpret_cast<intptr_t>(fBufferPtr) + usedBytes); in makeSpaceAtLeast()
234 SkASSERT(fBufferPtr); in makeSpaceAtLeast()
243 return fBufferPtr; in makeSpaceAtLeast()
288 if (fBufferPtr) { in createBlock()
296 fBufferPtr = nullptr; in createBlock()
299 SkASSERT(!fBufferPtr); in createBlock()
310 fBufferPtr = block.fBuffer->map(); in createBlock()
313 if (!fBufferPtr) { in createBlock()
314 fBufferPtr = this->resetCpuData(block.fBytesFree); in createBlock()
326 fBufferPtr = nullptr; in destroyBlock()
351 SkASSERT(fCpuData == fBufferPtr); in flushCpuData()
359 memcpy(data, fBufferPtr, flushSize); in flushCpuData()
364 buffer->updateData(fBufferPtr, flushSize); in flushCpuData()