Home
last modified time | relevance | path

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

/external/flac/oss-fuzz/
Dfuzz-encoder.cc10 #define SAMPLE_VALUE_LIMIT (1024*1024*10) macro
12 static_assert(SAMPLE_VALUE_LIMIT <= std::numeric_limits<FLAC__int32>::max(), "Invalid SAMPLE_VALUE_…
13 static_assert(-SAMPLE_VALUE_LIMIT >= std::numeric_limits<FLAC__int32>::min(), "Invalid SAMPLE_VALUE…
130 if ( SAMPLE_VALUE_LIMIT != 0 ) { in LLVMFuzzerTestOneInput()
131 if ( dat[i] < -SAMPLE_VALUE_LIMIT ) { in LLVMFuzzerTestOneInput()
132 dat[i] = -SAMPLE_VALUE_LIMIT; in LLVMFuzzerTestOneInput()
133 } else if ( dat[i] > SAMPLE_VALUE_LIMIT ) { in LLVMFuzzerTestOneInput()
134 dat[i] = SAMPLE_VALUE_LIMIT; in LLVMFuzzerTestOneInput()