Searched refs:FUZZ_rand32 (Results 1 – 3 of 3) sorted by relevance
/lz4-3.4.0-2.7.6/ossfuzz/ |
D | lz4_helpers.c | 8 info.blockSizeID = FUZZ_rand32(seed, LZ4F_max64KB - 1, LZ4F_max4MB); in FUZZ_randomFrameInfo() 12 info.blockMode = FUZZ_rand32(seed, LZ4F_blockLinked, LZ4F_blockIndependent); in FUZZ_randomFrameInfo() 13 info.contentChecksumFlag = FUZZ_rand32(seed, LZ4F_noContentChecksum, in FUZZ_randomFrameInfo() 15 info.blockChecksumFlag = FUZZ_rand32(seed, LZ4F_noBlockChecksum, in FUZZ_randomFrameInfo() 24 prefs.compressionLevel = FUZZ_rand32(seed, 0, LZ4HC_CLEVEL_MAX + 3) - 3; in FUZZ_randomPreferences() 25 prefs.autoFlush = FUZZ_rand32(seed, 0, 1); in FUZZ_randomPreferences() 26 prefs.favorDecSpeed = FUZZ_rand32(seed, 0, 1); in FUZZ_randomPreferences()
|
D | round_trip_stream_fuzzer.c | 93 state->level = FUZZ_rand32(&seed, LZ4HC_CLEVEL_MIN, LZ4HC_CLEVEL_MAX); in state_reset() 129 size_t const dictSize = FUZZ_rand32(&state->seed, 0, maxDictSize); in state_trimDict() 145 int const srcSize = FUZZ_rand32(&state->seed, 0, srcRemaining); in state_prefixRoundTrip() 166 int const srcSize = FUZZ_rand32(&state->seed, 0, srcRemaining); in state_extDictRoundTrip() 181 if (FUZZ_rand32(&state->seed, 0, 1)) { in state_randomRoundTrip() 215 int const srcSize = FUZZ_rand32(&state->seed, 0, srcRemaining); in state_prefixHCRoundTrip() 237 int const srcSize = FUZZ_rand32(&state->seed, 0, srcRemaining); in state_extDictHCRoundTrip()
|
D | fuzz_helpers.h | 85 FUZZ_STATIC uint32_t FUZZ_rand32(uint32_t *state, uint32_t min, uint32_t max) { in FUZZ_rand32() function
|