Searched refs:ress (Results 1 – 8 of 8) sorted by relevance
409 cRess_t ress; in LZ4IO_createCResources() local411 LZ4F_errorCode_t const errorCode = LZ4F_createCompressionContext(&(ress.ctx), LZ4F_VERSION); in LZ4IO_createCResources()415 ress.srcBuffer = malloc(blockSize); in LZ4IO_createCResources()416 ress.srcBufferSize = blockSize; in LZ4IO_createCResources()417 ress.dstBufferSize = LZ4F_compressFrameBound(blockSize, NULL); /* cover worst case */ in LZ4IO_createCResources()418 ress.dstBuffer = malloc(ress.dstBufferSize); in LZ4IO_createCResources()419 if (!ress.srcBuffer || !ress.dstBuffer) EXM_THROW(31, "Allocation error : not enough memory"); in LZ4IO_createCResources()421 return ress; in LZ4IO_createCResources()424 static void LZ4IO_freeCResources(cRess_t ress) in LZ4IO_freeCResources() argument426 free(ress.srcBuffer); in LZ4IO_freeCResources()[all …]
755 4ress
16954 2ress
16850 2ress
16844 2ress
19125 2ress
33438 mbé2ress