Lines Matching refs:srcBuffer

413     void*  srcBuffer;  member
501 ress.srcBuffer = malloc(blockSize); in LZ4IO_createCResources()
505 if (!ress.srcBuffer || !ress.dstBuffer) EXM_THROW(31, "Allocation error : not enough memory"); in LZ4IO_createCResources()
514 free(ress.srcBuffer); in LZ4IO_freeCResources()
535 void* const srcBuffer = ress.srcBuffer; in LZ4IO_compressFilename_extRess() local
567 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile); in LZ4IO_compressFilename_extRess()
574 …size_t cSize = LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, r… in LZ4IO_compressFilename_extRess()
601 outSize = LZ4F_compressUpdate(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, NULL); in LZ4IO_compressFilename_extRess()
611 readSize = fread(srcBuffer, (size_t)1, (size_t)blockSize, srcFile); in LZ4IO_compressFilename_extRess()
852 void* srcBuffer; member
884 ress.srcBuffer = malloc(ress.srcBufferSize); in LZ4IO_createDResources()
887 if (!ress.srcBuffer || !ress.dstBuffer) EXM_THROW(61, "Allocation error : not enough memory"); in LZ4IO_createDResources()
899 free(ress.srcBuffer); in LZ4IO_freeDResources()
914 LZ4IO_writeLE32(ress.srcBuffer, LZ4IO_MAGICNUMBER); in LZ4IO_decompressLZ4F()
915 …nextToLoad = LZ4F_decompress_usingDict(ress.dCtx, ress.dstBuffer, &outSize, ress.srcBuffer, &inSiz… in LZ4IO_decompressLZ4F()
927 readSize = fread(ress.srcBuffer, 1, nextToLoad, srcFile); in LZ4IO_decompressLZ4F()
934 …mpress_usingDict(ress.dCtx, ress.dstBuffer, &decodedBytes, (char*)(ress.srcBuffer)+pos, &remaining… in LZ4IO_decompressLZ4F()