Searched refs:randState (Results 1 - 2 of 2) sorted by relevance

/external/lz4/tests/
H A Dframetest.c174 U32 randState = seed; local
186 FUZ_fillCompressibleNoiseBuffer(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, compressibility, &randState);
355 unsigned const nbBits = FUZ_rand(&randState) % maxBits;
356 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1;
480 unsigned nbBits = FUZ_rand(&randState) % maxBits;
481 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1;
500 unsigned nbBits = FUZ_rand(&randState) % maxBits;
501 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1;
595 U32 randState = coreRand ^ prime1; local
596 unsigned const srcBits = (FUZ_rand(&randState)
[all...]
H A Dfuzzer.c288 { U32 randState = coreRandState ^ PRIME3; local
289 FUZ_fillCompressibleNoiseBuffer(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, compressibility, &randState);
301 U32 randState = FUZ_rand(&coreRandState) ^ PRIME3; local
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)
668 U32 randState = 1; local
[all...]

Completed in 316 milliseconds