Home
last modified time | relevance | path

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

/external/libvpx/libvpx/test/
Dvp9_quantize_test.cc266 const int qlookup = rnd->RandRange(1825) + 4; in GenerateHelperArrays()
274 zbin[j] = rnd->RandRange(1200); in GenerateHelperArrays()
277 round[j] = rnd->RandRange(914); in GenerateHelperArrays()
279 quant[j] = static_cast<int>(rnd->RandRange(32704)) - 32703; in GenerateHelperArrays()
281 quant_shift[j] = rnd->RandRange(16384); in GenerateHelperArrays()
283 dequant[j] = rnd->RandRange(1828); in GenerateHelperArrays()
379 coeff_.TopLeftPixel()[rnd.RandRange(count_) & max_index] = in TEST_P()
380 static_cast<int>(rnd.RandRange(max_value_ * 2)) - max_value_; in TEST_P()
381 coeff_.TopLeftPixel()[rnd.RandRange(count_) & max_index] = in TEST_P()
382 static_cast<int>(rnd.RandRange(max_value_ * 2)) - max_value_; in TEST_P()
Dacm_random.h75 uint32_t RandRange(const uint32_t range) { in RandRange() function
Dlpf_test.cc119 return static_cast<uint8_t>(rnd->RandRange(3 * MAX_LOOP_FILTER + 5)); in GetOuterThresh()
123 return static_cast<uint8_t>(rnd->RandRange(MAX_LOOP_FILTER + 1)); in GetInnerThresh()
127 return static_cast<uint8_t>(rnd->RandRange(MAX_LOOP_FILTER + 1) >> 4); in GetHevThresh()
Dbuffer.h196 static_cast<int32_t>((*rand_class).RandRange(high - low)); in Set()
/external/boringssl/src/crypto/fipsmodule/bn/
Dbn_test.cc1310 TEST_F(BNTest, RandRange) { in TEST_F() argument