• Home
  • Raw
  • Download

Lines Matching refs:messageSize

1240             U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;  in FUZ_unitTests()  local
1253 while (iNext + messageSize < testCompressedSize) { in FUZ_unitTests()
1255 XXH64_update(&xxhOrig, testInput + iNext, messageSize); in FUZ_unitTests()
1258 memcpy (ringBuffer + rNext, testInput + iNext, messageSize); in FUZ_unitTests()
1259 …ast_continue(&streamingState, ringBuffer + rNext, testCompressed, (int)messageSize, testCompressed… in FUZ_unitTests()
1262 …e_continue(&decodeStateSafe, testCompressed, testVerify + dNext, compressedSize, (int)messageSize); in FUZ_unitTests()
1263 … FUZ_CHECKTEST(r!=(int)messageSize, "ringBuffer : LZ4_decompress_safe_continue() test failed"); } in FUZ_unitTests()
1265 XXH64_update(&xxhNewSafe, testVerify + dNext, messageSize); in FUZ_unitTests()
1269 …4_decompress_fast_continue(&decodeStateFast, testCompressed, testVerify + dNext, (int)messageSize); in FUZ_unitTests()
1272 XXH64_update(&xxhNewFast, testVerify + dNext, messageSize); in FUZ_unitTests()
1277 iNext += messageSize; in FUZ_unitTests()
1278 rNext += messageSize; in FUZ_unitTests()
1279 dNext += messageSize; in FUZ_unitTests()
1280 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
1281 if (rNext + messageSize > ringBufferSize) rNext = 0; in FUZ_unitTests()
1282 if (dNext + messageSize > dBufferSize) dNext = 0; in FUZ_unitTests()
1487 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests() local
1500 while (iNext + messageSize < testCompressedSize) { in FUZ_unitTests()
1503 XXH64_update(&xxhOrig, testInput + iNext, messageSize); in FUZ_unitTests()
1506 memcpy (ringBuffer + rNext, testInput + iNext, messageSize); in FUZ_unitTests()
1507 assert(messageSize < INT_MAX); in FUZ_unitTests()
1508 …Z4_compress_HC_continue(&sHC, ringBuffer + rNext, testCompressed, (int)messageSize, testCompressed… in FUZ_unitTests()
1512 assert(messageSize < INT_MAX); in FUZ_unitTests()
1513 …e_continue(&decodeStateSafe, testCompressed, testVerify + dNext, compressedSize, (int)messageSize); in FUZ_unitTests()
1514 …FUZ_CHECKTEST(result!=(int)messageSize, "ringBuffer : LZ4_decompress_safe_continue() test failed"); in FUZ_unitTests()
1516 XXH64_update(&xxhNewSafe, testVerify + dNext, messageSize); in FUZ_unitTests()
1520 assert(messageSize < INT_MAX); in FUZ_unitTests()
1521 …4_decompress_fast_continue(&decodeStateFast, testCompressed, testVerify + dNext, (int)messageSize); in FUZ_unitTests()
1524 XXH64_update(&xxhNewFast, testVerify + dNext, messageSize); in FUZ_unitTests()
1529 iNext += messageSize; in FUZ_unitTests()
1530 rNext += messageSize; in FUZ_unitTests()
1531 dNext += messageSize; in FUZ_unitTests()
1532 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
1533 if (rNext + messageSize > ringBufferSize) rNext = 0; in FUZ_unitTests()
1534 if (dNext + messageSize > dBufferSize) dNext = 0; in FUZ_unitTests()
1551 int messageSize; in FUZ_unitTests() local
1571messageSize = BSIZE1; /* note : we cheat a bit here, in theory no message should be > maxMessage… in FUZ_unitTests()
1572 XXH64_update(&xxhOrig, testInput + iNext, (size_t)messageSize); in FUZ_unitTests()
1575 …ze = LZ4_compress_HC_continue(&sHC, testInput + iNext, testCompressed, messageSize, testCompressed… in FUZ_unitTests()
1579 …fe_continue(&decodeStateSafe, testCompressed, ringBufferSafe + dNext, compressedSize, messageSize); in FUZ_unitTests()
1580 …FUZ_CHECKTEST(result!=messageSize, "64K D.ringBuffer : LZ4_decompress_safe_continue() test failed"… in FUZ_unitTests()
1582 XXH64_update(&xxhNewSafe, ringBufferSafe + dNext, (size_t)messageSize); in FUZ_unitTests()
1586 …Z4_decompress_fast_continue(&decodeStateFast, testCompressed, ringBufferFast + dNext, messageSize); in FUZ_unitTests()
1589 XXH64_update(&xxhNewFast, ringBufferFast + dNext, (size_t)messageSize); in FUZ_unitTests()
1594 dNext += messageSize; in FUZ_unitTests()
1595 assert(messageSize >= 0); in FUZ_unitTests()
1596 totalMessageSize += (unsigned)messageSize; in FUZ_unitTests()
1597 messageSize = maxMessageSize; in FUZ_unitTests()
1600 …memcpy(testInput + iNext, testInput + (BSIZE1-65535), messageSize); /* will generate a match at m… in FUZ_unitTests()
1601 …FUZ_CHECKTEST(dNext+messageSize <= dBufferSize, "Ring buffer test : second message should require … in FUZ_unitTests()
1605 XXH64_update(&xxhOrig, testInput + iNext, (size_t)messageSize); in FUZ_unitTests()
1608 …ze = LZ4_compress_HC_continue(&sHC, testInput + iNext, testCompressed, messageSize, testCompressed… in FUZ_unitTests()
1611 DISPLAYLEVEL(5, "compressed %i bytes to %i bytes \n", messageSize, compressedSize); in FUZ_unitTests()
1619 … FUZ_CHECKTEST(result!=messageSize, "D.ringBuffer : LZ4_decompress_safe_continue() test failed"); in FUZ_unitTests()
1620 XXH64_update(&xxhNewSafe, ringBufferSafe + dNext, (size_t)messageSize); in FUZ_unitTests()
1627 …Z4_decompress_fast_continue(&decodeStateFast, testCompressed, ringBufferFast + dNext, messageSize); in FUZ_unitTests()
1629 XXH64_update(&xxhNewFast, ringBufferFast + dNext, (size_t)messageSize); in FUZ_unitTests()
1636 dNext += messageSize; in FUZ_unitTests()
1637 assert(messageSize >= 0); in FUZ_unitTests()
1638 totalMessageSize += (unsigned)messageSize; in FUZ_unitTests()
1639 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()