• Home
  • Raw
  • Download

Lines Matching refs:FUZ_rand

133 static U32 FUZ_rand(U32* src)  in FUZ_rand()  function
144 #define FUZ_RAND15BITS ((FUZ_rand(seed) >> 3) & 32767)
145 #define FUZ_RANDLENGTH ( ((FUZ_rand(seed) >> 7) & 3) ? (FUZ_rand(seed) % 15) : (FUZ_rand(seed) % 5…
154 BBuffer[pos++] = (BYTE)(FUZ_rand(seed)); in FUZ_fillCompressibleNoiseBuffer()
171 while (pos < d) BBuffer[pos++] = (BYTE)(FUZ_rand(seed) >> 5); in FUZ_fillCompressibleNoiseBuffer()
368 (void) FUZ_rand(&coreRandState); /* sync coreRandState */ in FUZ_test()
375 U32 randState = FUZ_rand(&coreRandState) ^ PRIME3; in FUZ_test()
376 int const blockSize = (FUZ_rand(&randState) % (FUZ_MAX_BLOCK_SIZE-1)) + 1; in FUZ_test()
377 …int const blockStart = (int)(FUZ_rand(&randState) % (U32)(COMPRESSIBLE_NOISE_LENGTH - blockSize - … in FUZ_test()
378 int const dictSizeRand = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE; in FUZ_test()
380 int const compressionLevel = FUZ_rand(&randState) % (LZ4HC_CLEVEL_MAX+1); in FUZ_test()
391 if ( ((FUZ_rand(&randState) & 63) == 2) in FUZ_test()
400 int const targetSize = srcSize * (int)((FUZ_rand(&randState) & 127)+1) >> 7; in FUZ_test()
401 char const endCheck = (char)(FUZ_rand(&randState) & 255); in FUZ_test()
411 char const canary = (char)(FUZ_rand(&randState) & 255); in FUZ_test()
429 int const targetSize = srcSize * (int)((FUZ_rand(&randState) & 127)+1) >> 7; in FUZ_test()
430 char const endCheck = (char)(FUZ_rand(&randState) & 255); in FUZ_test()
444 char const canary = (char)(FUZ_rand(&randState) & 255); in FUZ_test()
573 { U32 const nbBits = FUZ_rand(&randState) % maxNbBits; in FUZ_test()
575 size_t const skipLength = FUZ_rand(&randState) & mask; in FUZ_test()
580 { U32 const nbBitsCodes = FUZ_rand(&randState) % maxNbBits; in FUZ_test()
583 size_t const rNoiseLength = (FUZ_rand(&randState) & mask) + 1; in FUZ_test()
585 … size_t const noiseStart = FUZ_rand(&randState) % (COMPRESSIBLE_NOISE_LENGTH - noiseLength); in FUZ_test()
621 { size_t const missingBytes = FUZ_rand(&randState) % (unsigned)blockSize; in FUZ_test()
654 { int missingBytes = (FUZ_rand(&randState) % 0x3F) + 1; in FUZ_test()
666 { int missingBytes = (FUZ_rand(&randState) % 0x3F) + 1; in FUZ_test()
710 …dict -= (size_t)(FUZ_rand(&randState) & 0xF) + 1; /* create space, so now dictionary is an ExtDi… in FUZ_test()
765 { int const missingBytes = (FUZ_rand(&randState) & 0xF) + 2; in FUZ_test()
862 { U32 const missingBytes = (FUZ_rand(&randState) & 0xF) + 2; in FUZ_test()
872 dict -= (FUZ_rand(&randState) & 7); /* even bigger separation */ in FUZ_test()
954 { int const availableSpace = (int)(FUZ_rand(&randState) % blockSize) + 5; in FUZ_test()
1131 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
1171 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
1291 size_t dictSize = (FUZ_rand(&randState) & 8191); in FUZ_unitTests()
1295 size_t segSize = (FUZ_rand(&randState) & 8191); in FUZ_unitTests()
1326 segStart += segSize + (FUZ_rand(&randState) & 0xF) + 1; in FUZ_unitTests()
1327 segSize = (FUZ_rand(&randState) & 8191); in FUZ_unitTests()
1336 U32 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
1380 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
1486 messageSize = (FUZ_rand(&randState) & maxMessageSizeMask) + 1; in FUZ_unitTests()
1487 iNext = (FUZ_rand(&randState) & 65535); in FUZ_unitTests()