Lines Matching refs:randState
204 U32 randState = seed;
214 FUZ_fillCompressibleNoiseBuffer(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, compressibility, &randState);
298 unsigned nbBits = FUZ_rand(&randState) % maxBits;
299 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1;
413 U32 randState = coreRand ^ prime1;
414 unsigned BSId = 4 + (FUZ_rand(&randState) & 3);
415 unsigned BMId = FUZ_rand(&randState) & 1;
416 unsigned CCflag = FUZ_rand(&randState) & 1;
417 unsigned autoflush = (FUZ_rand(&randState) & 7) == 2;
421 unsigned nbBits = (FUZ_rand(&randState) % (FUZ_highbit(srcDataLength-1) - 1)) + 1;
422 size_t srcSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1;
423 size_t srcStart = FUZ_rand(&randState) % (srcDataLength - srcSize);
433 prefs.compressionLevel = FUZ_rand(&randState) % 5;
434 if ((FUZ_rand(&randState)&0xF) == 1) prefsPtr = NULL;
439 if ((FUZ_rand(&randState)&0xF) == 2)
456 unsigned nbBitsSeg = FUZ_rand(&randState) % maxBits;
457 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBitsSeg)-1)) + 1;
459 unsigned forceFlush = ((FUZ_rand(&randState) & 3) == 1);
461 cOptions.stableSrc = ((FUZ_rand(&randState) & 3) == 1);
487 unsigned nonContiguousDst = (FUZ_rand(&randState) & 3) == 1;
488 nonContiguousDst += FUZ_rand(&randState) & nonContiguousDst; /* 0=>0; 1=>1,2 */
492 unsigned nbBitsI = (FUZ_rand(&randState) % (maxBits-1)) + 1;
493 unsigned nbBitsO = (FUZ_rand(&randState) % (maxBits)) + 1;
494 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBitsI)-1)) + 1;
495 size_t oSize = (FUZ_rand(&randState) & ((1<<nbBitsO)-1)) + 2;
498 dOptions.stableDst = FUZ_rand(&randState) & 1;