Searched refs:dis (Results 1 – 5 of 5) sorted by relevance
/system/media/audio_utils/tests/ |
D | primitives_benchmark.cpp | 36 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()
|
D | statistics_benchmark.cpp | 29 std::uniform_real_distribution<T> dis(rangeMin, rangeMax); in initUniform() local 31 datum = dis(gen); in initUniform()
|
D | statistics_tests.cpp | 30 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/ |
D | ab_generator_unittest.cc | 68 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()
|
D | delta_diff_utils_unittest.cc | 366 std::uniform_int_distribution<uint8_t> dis(0, 255); in TEST_F() local 368 random_data.push_back(dis(gen)); in TEST_F()
|