Home | History | Annotate | Download | only in tests

Lines Matching refs:randState

288     {   U32 randState = coreRandState ^ PRIME3;
289 FUZ_fillCompressibleNoiseBuffer(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, compressibility, &randState);
301 U32 randState = FUZ_rand(&coreRandState) ^ PRIME3;
302 int const blockSize = (FUZ_rand(&randState) % (FUZ_MAX_BLOCK_SIZE-1)) + 1;
303 int const blockStart = FUZ_rand(&randState) % (COMPRESSIBLE_NOISE_LENGTH - blockSize);
304 int const dictSizeRand = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE;
306 int const compressionLevel = FUZ_rand(&randState) % (LZ4HC_CLEVEL_MAX+1);
322 int const targetSize = srcSize * ((FUZ_rand(&randState) & 127)+1) >> 7;
323 char endCheck = FUZ_rand(&randState) & 255;
333 char const canary = FUZ_rand(&randState) & 255;
480 { int missingBytes = (FUZ_rand(&randState) % 0x3F) + 1;
491 { int missingBytes = (FUZ_rand(&randState) % 0x3F) + 1;
536 dict -= (FUZ_rand(&randState) & 0xF) + 1; /* Separation, so it is an ExtDict */
584 { U32 const missingBytes = (FUZ_rand(&randState) & 0xF) + 2;
594 dict -= (FUZ_rand(&randState) & 7); /* even bigger separation */
668 U32 randState = 1;
671 FUZ_fillCompressibleNoiseBuffer(testInput, testInputSize, 0.50, &randState);
704 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
734 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
810 int dictSize = (FUZ_rand(&randState) & 8191);
814 int segSize = (FUZ_rand(&randState) & 8191);
844 segStart += segSize + (FUZ_rand(&randState) & 0xF) + 1;
845 segSize = (FUZ_rand(&randState) & 8191);
855 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
885 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
953 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1;
954 iNext = (FUZ_rand(&randState) & 65535);