Home
last modified time | relevance | path

Searched refs:flushSize (Results 1 – 6 of 6) sorted by relevance

/third_party/flutter/skia/src/gpu/
DGrBufferAllocPool.cpp131 size_t flushSize = block.fBuffer->size() - block.fBytesFree; in unmap() local
132 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
401 void GrBufferAllocPool::flushCpuData(const BufferBlock& block, size_t flushSize) { in flushCpuData() argument
407 SkASSERT(flushSize <= buffer->size()); in flushCpuData()
411 flushSize > fGpu->caps()->bufferMapThreshold()) { in flushCpuData()
414 memcpy(data, fBufferPtr, flushSize); in flushCpuData()
419 buffer->updateData(fBufferPtr, flushSize); in flushCpuData()
DGrBufferAllocPool.h153 void flushCpuData(const BufferBlock& block, size_t flushSize);
/third_party/skia/src/gpu/
DGrBufferAllocPool.cpp131 size_t flushSize = block.fBuffer->size() - block.fBytesFree; in unmap() local
132 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
387 void GrBufferAllocPool::flushCpuData(const BufferBlock& block, size_t flushSize) { in flushCpuData() argument
393 SkASSERT(flushSize <= buffer->size()); in flushCpuData()
397 flushSize > fGpu->caps()->bufferMapThreshold()) { in flushCpuData()
400 memcpy(data, fBufferPtr, flushSize); in flushCpuData()
405 buffer->updateData(fBufferPtr, flushSize); in flushCpuData()
DGrBufferAllocPool.h154 void flushCpuData(const BufferBlock& block, size_t flushSize);
/third_party/lz4/tests/
Dframetest.c1029 size_t const flushSize = LZ4F_flush(cCtx, op, (size_t)(oend-op), &cOptions); in fuzzerTests() local
1030 DISPLAYLEVEL(6,"flushing %u bytes \n", (unsigned)flushSize); in fuzzerTests()
1031 … CHECK(LZ4F_isError(flushSize), "Compression failed (error %i)", (int)flushSize); in fuzzerTests()
1032 op += flushSize; in fuzzerTests()
/third_party/lz4/lib/
Dlz4frame.c993 size_t const flushSize = LZ4F_flush(cctxPtr, dstBuffer, dstCapacity, compressOptionsPtr); in LZ4F_compressEnd() local
995 if (LZ4F_isError(flushSize)) return flushSize; in LZ4F_compressEnd()
996 dstPtr += flushSize; in LZ4F_compressEnd()
998 assert(flushSize <= dstCapacity); in LZ4F_compressEnd()
999 dstCapacity -= flushSize; in LZ4F_compressEnd()