Home
last modified time | relevance | path

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

/external/skqp/src/gpu/
DGrBufferAllocPool.cpp84 size_t flushSize = block.fBuffer->gpuMemorySize() - block.fBytesFree; in unmap() local
85 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
347 void GrBufferAllocPool::flushCpuData(const BufferBlock& block, size_t flushSize) { in flushCpuData() argument
352 SkASSERT(flushSize <= buffer->gpuMemorySize()); in flushCpuData()
356 flushSize > fGpu->caps()->bufferMapThreshold()) { in flushCpuData()
359 memcpy(data, fBufferPtr, flushSize); in flushCpuData()
364 buffer->updateData(fBufferPtr, flushSize); in flushCpuData()
DGrBufferAllocPool.h130 void flushCpuData(const BufferBlock& block, size_t flushSize);
/external/skia/src/gpu/
DGrBufferAllocPool.cpp133 size_t flushSize = block.fBuffer->size() - block.fBytesFree; in unmap() local
134 this->flushCpuData(fBlocks.back(), flushSize); in unmap()
389 void GrBufferAllocPool::flushCpuData(const BufferBlock& block, size_t flushSize) { in flushCpuData() argument
395 SkASSERT(flushSize <= buffer->size()); in flushCpuData()
399 flushSize > fGpu->caps()->bufferMapThreshold()) { in flushCpuData()
402 memcpy(data, fBufferPtr, flushSize); in flushCpuData()
407 buffer->updateData(fBufferPtr, flushSize); in flushCpuData()
DGrBufferAllocPool.h154 void flushCpuData(const BufferBlock& block, size_t flushSize);
/external/lz4/tests/
Dframetest.c1005 size_t const flushSize = LZ4F_flush(cCtx, op, (size_t)(oend-op), &cOptions); in fuzzerTests() local
1006 DISPLAYLEVEL(6,"flushing %u bytes \n", (unsigned)flushSize); in fuzzerTests()
1007 … CHECK(LZ4F_isError(flushSize), "Compression failed (error %i)", (int)flushSize); in fuzzerTests()
1008 op += flushSize; in fuzzerTests()
/external/lz4/lib/
Dlz4frame.c991 size_t const flushSize = LZ4F_flush(cctxPtr, dstBuffer, dstCapacity, compressOptionsPtr); in LZ4F_compressEnd() local
992 if (LZ4F_isError(flushSize)) return flushSize; in LZ4F_compressEnd()
993 dstPtr += flushSize; in LZ4F_compressEnd()
995 assert(flushSize <= dstCapacity); in LZ4F_compressEnd()
996 dstCapacity -= flushSize; in LZ4F_compressEnd()
/external/zstd/tests/
Dfuzzer.c732 size_t const flushSize = 128 KB + 5; in basicUnitTests() local
738 ZSTD_inBuffer in = { src, flushSize, 0 }; in basicUnitTests()