Lines Matching refs:FUZ_rand
109 static U32 FUZ_rand(U32* src)
120 #define FUZ_RAND15BITS ((FUZ_rand(seed) >> 3) & 32767)
121 #define FUZ_RANDLENGTH ( ((FUZ_rand(seed) >> 7) & 3) ? (FUZ_rand(seed) % 15) : (FUZ_rand(seed) % 510) + 15)
130 BBuffer[pos++] = (BYTE)(FUZ_rand(seed));
147 while (pos < d) BBuffer[pos++] = (BYTE)(FUZ_rand(seed) >> 5);
294 (void) FUZ_rand(&coreRandState); /* sync coreRandState */
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 */
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);