Lines Matching refs:FUZ_rand

126 static U32 FUZ_rand(U32* src)  in FUZ_rand()  function
137 #define FUZ_RAND15BITS ((FUZ_rand(seed) >> 3) & 32767)
138 #define FUZ_RANDLENGTH ( ((FUZ_rand(seed) >> 7) & 3) ? (FUZ_rand(seed) % 15) : (FUZ_rand(seed) % 5…
146 BBuffer[pos++] = (BYTE)(FUZ_rand(seed)); in FUZ_fillCompressibleNoiseBuffer()
170 while (pos < d) BBuffer[pos++] = (BYTE)(FUZ_rand(seed) >> 5); in FUZ_fillCompressibleNoiseBuffer()
313 (void)FUZ_rand(&coreRandState); in FUZ_test()
322 blockSize = FUZ_rand(&randState) % FUZ_MAX_BLOCK_SIZE; in FUZ_test()
323 blockStart = FUZ_rand(&randState) % (COMPRESSIBLE_NOISE_LENGTH - blockSize); in FUZ_test()
324 dictSize = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE; in FUZ_test()
347 (void)FUZ_rand(&coreRandState); in FUZ_test()
351 blockSize = FUZ_rand(&randState) % FUZ_MAX_BLOCK_SIZE; in FUZ_test()
352 blockStart = FUZ_rand(&randState) % (COMPRESSIBLE_NOISE_LENGTH - blockSize); in FUZ_test()
353 dictSize = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE; in FUZ_test()
492 int missingBytes = (FUZ_rand(&randState) % 0x3F) + 1; in FUZ_test()
504 int missingBytes = (FUZ_rand(&randState) % 0x3F) + 1; in FUZ_test()
549 dict -= (FUZ_rand(&randState) & 0xF) + 1; // Separation, so it is an ExtDict in FUZ_test()
603 U32 missingBytes = (FUZ_rand(&randState) & 0xF) + 2; in FUZ_test()
615 dict -= (FUZ_rand(&randState) & 7); // even bigger separation in FUZ_test()
617 LZ4_resetStreamHC (&LZ4dictHC, FUZ_rand(&randState) & 0x7); in FUZ_test()
732 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
763 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
844 int dictSize = (FUZ_rand(&randState) & 8191); in FUZ_unitTests()
848 int segSize = (FUZ_rand(&randState) & 8191); in FUZ_unitTests()
883 segStart += segSize + (FUZ_rand(&randState) & 0xF) + 1; in FUZ_unitTests()
884 segSize = (FUZ_rand(&randState) & 8191); in FUZ_unitTests()
895 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
926 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
939 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
968 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
969 iNext = (FUZ_rand(&randState) & 65535); in FUZ_unitTests()
993 size_t testSize = (FUZ_rand(&randState) & 65535) + 1; in FUZ_unitTests()
994 size_t testStart = FUZ_rand(&randState) & 65535; in FUZ_unitTests()