Home
last modified time | relevance | path

Searched refs:outCapacity (Results 1 – 2 of 2) sorted by relevance

/external/lz4/examples/
DframeCompress.c60 void* outBuff, size_t outCapacity) in compress_file_internal() argument
67 assert(outCapacity >= LZ4F_HEADER_SIZE_MAX); in compress_file_internal()
68 assert(outCapacity >= LZ4F_compressBound(inChunkSize, &kPrefs)); in compress_file_internal()
71 { size_t const headerSize = LZ4F_compressBegin(ctx, outBuff, outCapacity, &kPrefs); in compress_file_internal()
77 printf("Buffer size is %zu bytes, header size %zu bytes\n", outCapacity, headerSize); in compress_file_internal()
88 outBuff, outCapacity, in compress_file_internal()
103 outBuff, outCapacity, in compress_file_internal()
/external/lz4/tests/
Dframetest.c588 size_t const outCapacity = LZ4F_compressFrameBound(inSize, NULL); in basicTests() local
594 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, outCapacity, in basicTests()
624 size_t const outCapacity = LZ4F_compressFrameBound(inSize, NULL); in basicTests() local
630 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, outCapacity, in basicTests()