Home
last modified time | relevance | path

Searched refs:srcBufferSize (Results 1 – 9 of 9) sorted by relevance

/external/zstd/tests/
Dzbufftest.c272 size_t const srcBufferSize = (size_t)1<<maxSrcLog; in fuzzerTests() local
274 size_t const copyBufferSize= srcBufferSize + (1<<maxSampleLog); in fuzzerTests()
276 size_t const cBufferSize = ZSTD_compressBound(srcBufferSize); in fuzzerTests()
278 size_t dstBufferSize = srcBufferSize; in fuzzerTests()
289 cNoiseBuffer[0] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
290 cNoiseBuffer[1] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
291 cNoiseBuffer[2] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
292 cNoiseBuffer[3] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
293 cNoiseBuffer[4] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
302 RDG_genBuffer(cNoiseBuffer[0], srcBufferSize, 0.00, 0., coreSeed); /* pure noise */ in fuzzerTests()
[all …]
Dzstreamtest.c1742 size_t const srcBufferSize = (size_t)1<<maxSrcLog; in fuzzerTests() local
1744 size_t const copyBufferSize = srcBufferSize + (1<<maxSampleLog); in fuzzerTests()
1746 size_t const cBufferSize = ZSTD_compressBound(srcBufferSize); in fuzzerTests()
1748 size_t const dstBufferSize = srcBufferSize; in fuzzerTests()
1763 cNoiseBuffer[0] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
1764 cNoiseBuffer[1] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
1765 cNoiseBuffer[2] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
1766 cNoiseBuffer[3] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
1767 cNoiseBuffer[4] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
1773 RDG_genBuffer(cNoiseBuffer[0], srcBufferSize, 0.00, 0., coreSeed); /* pure noise */ in fuzzerTests()
[all …]
Dfuzzer.c3318 size_t const srcBufferSize = (size_t)1<<maxSrcLog; in fuzzerTests() local
3336 cNoiseBuffer[0] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
3337 cNoiseBuffer[1] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
3338 cNoiseBuffer[2] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
3339 cNoiseBuffer[3] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
3340 cNoiseBuffer[4] = (BYTE*)malloc (srcBufferSize); in fuzzerTests()
3346 RDG_genBuffer(cNoiseBuffer[0], srcBufferSize, 0.00, 0., coreSeed); /* pure noise */ in fuzzerTests()
3347 RDG_genBuffer(cNoiseBuffer[1], srcBufferSize, 0.05, 0., coreSeed); /* barely compressible */ in fuzzerTests()
3348 RDG_genBuffer(cNoiseBuffer[2], srcBufferSize, compressibility, 0., coreSeed); in fuzzerTests()
3349 RDG_genBuffer(cNoiseBuffer[3], srcBufferSize, 0.95, 0., coreSeed); /* highly compressible */ in fuzzerTests()
[all …]
/external/lz4/tests/
DcheckFrame.c102 size_t srcBufferSize; member
110 ress->srcBufferSize = 4 MB; in createCResources()
111 ress->srcBuffer = malloc(ress->srcBufferSize); in createCResources()
152 readSize = fread(ress.srcBuffer, 1, ress.srcBufferSize, srcFile); in frameCheck()
/external/dng_sdk/source/
Ddng_filter_task.cpp66 uint32 srcBufferSize = ComputeBufferSize(fSrcPixelType, fSrcTileSize, in Start() local
74 fSrcBuffer [threadIndex] . Reset (allocator->Allocate (srcBufferSize)); in Start()
Ddng_mosaic_info.cpp1840 uint32 srcBufferSize = ComputeBufferSize (srcBuffer.fPixelType, in InterpolateGeneric() local
1844 AutoPtr<dng_memory_block> srcData (host.Allocate (srcBufferSize)); in InterpolateGeneric()
/external/zstd/programs/
Dfileio.c891 size_t srcBufferSize; member
937 ress.srcBufferSize = ZSTD_CStreamInSize(); in FIO_createCResources()
938 ress.srcBuffer = malloc(ress.srcBufferSize); in FIO_createCResources()
1050 size_t const inSize = fread(ress->srcBuffer, 1, ress->srcBufferSize, ress->srcFile); in FIO_compressGzFrame()
1136 size_t const inSize = fread(ress->srcBuffer, 1, ress->srcBufferSize, ress->srcFile); in FIO_compressLzmaFrame()
1200 assert(blockSize <= ress->srcBufferSize); in FIO_compressLz4Frame()
1317 size_t const inSize = fread(ress.srcBuffer, (size_t)1, ress.srcBufferSize, srcFile); in FIO_compressZstdFrame()
1873 size_t srcBufferSize; member
1896 ress.srcBufferSize = ZSTD_DStreamInSize(); in FIO_createDResources()
1897 ress.srcBuffer = malloc(ress.srcBufferSize); in FIO_createDResources()
[all …]
/external/lz4/programs/
Dlz4io.c484 size_t srcBufferSize; member
573 ress.srcBufferSize = blockSize; in LZ4IO_createCResources()
946 size_t srcBufferSize; member
976 ress.srcBufferSize = LZ4IO_dBufferSize; in LZ4IO_createDResources()
977 ress.srcBuffer = malloc(ress.srcBufferSize); in LZ4IO_createDResources()
1019 if (nextToLoad > ress.srcBufferSize) nextToLoad = ress.srcBufferSize; in LZ4IO_decompressLZ4F()
/external/angle/src/libANGLE/renderer/vulkan/
DUtilsVk.cpp2848 const VkDeviceSize srcBufferSize = in copyImageBits() local
2856 bufferInfo.size = srcBufferSize; in copyImageBits()