Home
last modified time | relevance | path

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

/external/lz4/tests/
Dframetest.c181 U32 randState = seed; in basicTests() local
194 … FUZ_fillCompressibleNoiseBuffer(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, compressibility, &randState); in basicTests()
380 unsigned const nbBits = FUZ_rand(&randState) % maxBits; in basicTests()
381 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1; in basicTests()
677 unsigned nbBits = FUZ_rand(&randState) % maxBits; in basicTests()
678 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1; in basicTests()
696 unsigned const nbBits = FUZ_rand(&randState) % maxBits; in basicTests()
697 size_t iSize = (FUZ_rand(&randState) & ((1<<nbBits)-1)) + 1; in basicTests()
793 U32 randState = coreRand ^ prime1; in fuzzerTests() local
794 … unsigned const srcBits = (FUZ_rand(&randState) % (FUZ_highbit((U32)(srcDataLength-1)) - 1)) + 1; in fuzzerTests()
[all …]
Dfuzzer.c349 { U32 randState = coreRandState ^ PRIME3; in FUZ_test() local
350 … FUZ_fillCompressibleNoiseBuffer(CNBuffer, COMPRESSIBLE_NOISE_LENGTH, compressibility, &randState); in FUZ_test()
362 U32 randState = FUZ_rand(&coreRandState) ^ PRIME3; in FUZ_test() local
363 int const blockSize = (FUZ_rand(&randState) % (FUZ_MAX_BLOCK_SIZE-1)) + 1; in FUZ_test()
364 … int const blockStart = (FUZ_rand(&randState) % (COMPRESSIBLE_NOISE_LENGTH - blockSize - 1)) + 1; in FUZ_test()
365 int const dictSizeRand = FUZ_rand(&randState) % FUZ_MAX_DICT_SIZE; in FUZ_test()
367 int const compressionLevel = FUZ_rand(&randState) % (LZ4HC_CLEVEL_MAX+1); in FUZ_test()
378 if ( ((FUZ_rand(&randState) & 63) == 2) in FUZ_test()
387 int const targetSize = srcSize * ((FUZ_rand(&randState) & 127)+1) >> 7; in FUZ_test()
388 char endCheck = FUZ_rand(&randState) & 255; in FUZ_test()
[all …]