• Home
  • Raw
  • Download

Lines Matching refs:compressedBuffer

179     void* const compressedBuffer = malloc(cBuffSize);  in basicTests()  local
190 if (!CNBuffer || !compressedBuffer || !decodedBuffer) { in basicTests()
207 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
216 CHECK( LZ4F_getFrameInfo(dCtx, &frame_info, compressedBuffer, &avail_in) ); in basicTests()
230 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
235 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, NULL), CNBuf… in basicTests()
245 …CHECK( LZ4F_decompress(dCtx, decodedBuffer, &decodedBufferSize, compressedBuffer, &compressedBuffe… in basicTests()
253 const BYTE* cBuff = (const BYTE*) compressedBuffer; in basicTests()
280 const BYTE* ip = (BYTE*)compressedBuffer; in basicTests()
318 memcpy(decodedBuffer, (char*)compressedBuffer+16, 32); /* save correct data */ in basicTests()
319 memcpy((char*)compressedBuffer+16, (const char*)decodedBuffer+32, 32); /* insert noise */ in basicTests()
323 compressedBuffer, &cbSize, in basicTests()
328 memcpy((char*)compressedBuffer+16, decodedBuffer, 32); /* restore correct data */ in basicTests()
337 const BYTE* ip = (const BYTE*) compressedBuffer; in basicTests()
355 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
360 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
366 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
375 const BYTE* ip = (const BYTE*)compressedBuffer; in basicTests()
376 const BYTE* const iend = (const BYTE*)compressedBuffer + cSize; in basicTests()
400 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
406 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
411 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
419 … CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, dstCapacity, CNBuffer, testSize, &prefs) ); in basicTests()
427 … CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, dstCapacity, CNBuffer, testSize, &prefs) ); in basicTests()
434 …CHECK_V(cSize, LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(testSize, &prefs), CNB… in basicTests()
442 CHECK( LZ4F_decompress(dctx, decodedBuffer, &decodedSize, compressedBuffer, &iSize, NULL) ); in basicTests()
456 BYTE* const ostart = (BYTE*)compressedBuffer; in basicTests()
462 CHECK_V(cErr, LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs)); in basicTests()
466 CHECK( LZ4F_compressEnd(cctx, compressedBuffer, testSize, NULL) ); in basicTests()
472 CHECK_V(cErr, LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs)); in basicTests()
476 CHECK( LZ4F_compressEnd(cctx, compressedBuffer, testSize, NULL) ); in basicTests()
482 CHECK_V(cErr, LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs)); in basicTests()
502 CHECK_V(cErr, LZ4F_compressBegin(cctx, compressedBuffer, testSize, &prefs)); in basicTests()
508 CHECK( LZ4F_getFrameInfo(dCtx, &prefs.frameInfo, compressedBuffer, &cErr) ); in basicTests()
526 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, dstCapacity, in basicTests()
535 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, dstCapacity, in basicTests()
550 compressedBuffer, &compressedSize, in basicTests()
567 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, dstCapacity, in basicTests()
579 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, dstCapacity, in basicTests()
594 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, outCapacity, in basicTests()
607 compressedBuffer, &compressedSize, in basicTests()
630 LZ4F_compressFrame_usingCDict(cctx, compressedBuffer, outCapacity, in basicTests()
643 compressedBuffer, &compressedSize, in basicTests()
666 BYTE* ip = (BYTE*)compressedBuffer; in basicTests()
667 BYTE* iend = (BYTE*)compressedBuffer + cSize + 8; in basicTests()
689 ip = (BYTE*)compressedBuffer; in basicTests()
704 DISPLAYLEVEL(3, "Skipped %i bytes \n", (int)(ip - (BYTE*)compressedBuffer - 8)); in basicTests()
707 ip = (BYTE*)compressedBuffer; in basicTests()
720 DISPLAYLEVEL(3, "Skipped %i bytes \n", (int)(ip - (BYTE*)compressedBuffer - 8)); in basicTests()
726 free(compressedBuffer); in basicTests()
763 void* compressedBuffer = NULL; in fuzzerTests() local
782 compressedBuffer = malloc(compressedBufferSize); in fuzzerTests()
783 CHECK(compressedBuffer==NULL, "compressedBuffer Allocation failed"); in fuzzerTests()
819 BYTE* op = (BYTE*)compressedBuffer; in fuzzerTests()
824 …cSize = LZ4F_compressFrame(compressedBuffer, LZ4F_compressFrameBound(srcSize, prefsPtr), srcStart,… in fuzzerTests()
829 BYTE* op = (BYTE*)compressedBuffer; in fuzzerTests()
862 cSize = op-(BYTE*)compressedBuffer; in fuzzerTests()
867 { const BYTE* ip = (const BYTE*)compressedBuffer; in fuzzerTests()
914 free(compressedBuffer); in fuzzerTests()