• Home
  • Raw
  • Download

Lines Matching refs:targetSize

387             int const targetSize = srcSize * ((FUZ_rand(&randState) & 127)+1) >> 7;  in FUZ_test()  local
389 compressedBuffer[targetSize] = endCheck; in FUZ_test()
390 ret = LZ4_compress_destSize(block, compressedBuffer, &srcSize, targetSize); in FUZ_test()
391 … FUZ_CHECKTEST(ret > targetSize, "LZ4_compress_destSize() result larger than dst buffer !"); in FUZ_test()
392 …FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_destSize() overwrite dst buf… in FUZ_test()
394 … DISPLAYLEVEL(5, "destSize : %7i/%7i; content%7i/%7i ", ret, targetSize, srcSize, blockSize); in FUZ_test()
395 if (targetSize>0) { in FUZ_test()
418 int const targetSize = srcSize * ((FUZ_rand(&randState) & 127)+1) >> 7; in FUZ_test() local
422 compressedBuffer[targetSize] = endCheck; in FUZ_test()
423 …ret = LZ4_compress_HC_destSize(ctx, block, compressedBuffer, &srcSize, targetSize, compressionLeve… in FUZ_test()
425 compressionLevel, ret, targetSize, srcSize, blockSize); in FUZ_test()
427 … FUZ_CHECKTEST(ret > targetSize, "LZ4_compress_HC_destSize() result larger than dst buffer !"); in FUZ_test()
428 …FUZ_CHECKTEST(compressedBuffer[targetSize] != endCheck, "LZ4_compress_HC_destSize() overwrite dst … in FUZ_test()
430 if (targetSize>0) { in FUZ_test()
584 int const targetSize = (int)(blockSize - missingBytes); in FUZ_test() local
585 char const sentinel = decodedBuffer[targetSize] = block[targetSize] ^ 0x5A; in FUZ_test()
586 …Z4_decompress_safe_partial(compressedBuffer, decodedBuffer, compressedSize, targetSize, blockSize); in FUZ_test()
588 …(decResult != targetSize, "LZ4_decompress_safe_partial did not regenerated required amount of data… in FUZ_test()
589 …dedBuffer[targetSize] != sentinel, "LZ4_decompress_safe_partial overwrite beyond requested size (t… in FUZ_test()