Home
last modified time | relevance | path

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

/system/media/audio_utils/tests/
Dprimitives_benchmark.cpp36 std::uniform_real_distribution<> dis(-srcMax, srcMax); in BM_MemcpyToFloatFromFloatWithClamping() local
38 src[i] = dis(gen); in BM_MemcpyToFloatFromFloatWithClamping()
66 std::uniform_real_distribution<> dis; in BM_MemcpyFloat() local
68 src[i] = dis(gen); in BM_MemcpyFloat()
95 std::uniform_int_distribution<> dis(INT16_MIN, INT16_MAX); in BM_MemcpyToFloatFromI16() local
97 src[i] = dis(gen); in BM_MemcpyToFloatFromI16()
122 std::uniform_real_distribution<> dis; in BM_MemcpyToI16FromFloat() local
124 src[i] = dis(gen); in BM_MemcpyToI16FromFloat()
Dstatistics_benchmark.cpp29 std::uniform_real_distribution<T> dis(rangeMin, rangeMax); in initUniform() local
31 datum = dis(gen); in initUniform()
Dstatistics_tests.cpp30 std::uniform_real_distribution<T> dis(rangeMin, rangeMax); in initUniform() local
34 android::audio_utils::for_each(datum, [&](T &value) { return value = dis(gen);}); in initUniform()
46 std::normal_distribution<> dis{mean, stddev}; in initNormal() local
50 android::audio_utils::for_each(datum, [&](T &value) { return value = dis(gen);}); in initNormal()
/system/update_engine/payload_generator/
Dab_generator_unittest.cc68 std::uniform_int_distribution<uint8_t> dis(0, 255); in TestSplitReplaceOrReplaceBzOperation() local
70 part_data.push_back(dis(gen)); in TestSplitReplaceOrReplaceBzOperation()
218 std::uniform_int_distribution<uint8_t> dis(0, 255); in TestMergeReplaceOrReplaceBzOperations() local
220 part_data.push_back(dis(gen)); in TestMergeReplaceOrReplaceBzOperations()
Ddelta_diff_utils_unittest.cc366 std::uniform_int_distribution<uint8_t> dis(0, 255); in TEST_F() local
368 random_data.push_back(dis(gen)); in TEST_F()