Searched refs:dis (Results 1 – 9 of 9) sorted by relevance
/system/media/audio_utils/benchmarks/ |
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 | intrinsic_benchmark.cpp | 47 std::uniform_real_distribution<> dis(-amplitude, amplitude); in BM_Intrinsic() local 49 a[i] = dis(gen); in BM_Intrinsic() 50 b[i] = dis(gen); in BM_Intrinsic() 51 c[i] = dis(gen); in BM_Intrinsic()
|
D | biquad_filter_benchmark.cpp | 51 std::uniform_real_distribution<> dis(-amplitude, amplitude); in BM_BiquadFilter1D() local 53 input[i] = dis(gen); in BM_BiquadFilter1D() 232 std::uniform_real_distribution<> dis(-amplitude, amplitude); in BM_BiquadFilter() local 234 input[i] = dis(gen); in BM_BiquadFilter()
|
D | statistics_benchmark.cpp | 29 std::uniform_real_distribution<T> dis(rangeMin, rangeMax); in initUniform() local 31 datum = dis(gen); in initUniform()
|
/system/media/audio_utils/tests/ |
D | biquad_filter_tests.cpp | 72 std::uniform_real_distribution<> dis(-amplitude, amplitude); in randomBuffer() local 74 buffer[i] = dis(gen); in randomBuffer() 82 std::uniform_real_distribution<> dis(-amplitude, amplitude); in randomFilter() local 83 const D p1 = (D)dis(gen); in randomFilter() 84 const D p2 = (D)dis(gen); in randomFilter() 85 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomFilter() 92 std::uniform_real_distribution<> dis(-amplitude, amplitude); in randomUnstableFilter() local 94 const D p1 = (D)dis(gen); in randomUnstableFilter() 97 p2 = (D)dis(gen); in randomUnstableFilter() 100 return {(D)dis(gen), (D)dis(gen), (D)dis(gen), -(p1 + p2), p1 * p2}; in randomUnstableFilter()
|
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 TestSplitReplaceOrReplaceXzOperation() local 70 part_data.push_back(dis(gen)); in TestSplitReplaceOrReplaceXzOperation() 216 std::uniform_int_distribution<uint8_t> dis(0, 255); in TestMergeReplaceOrReplaceXzOperations() local 218 part_data.push_back(dis(gen)); in TestMergeReplaceOrReplaceXzOperations()
|
D | delta_diff_utils_unittest.cc | 198 std::uniform_int_distribution<uint8_t> dis(0, 255); in TEST_F() local 200 random_data.push_back(dis(gen)); in TEST_F()
|
/system/incremental_delivery/incfs/tests/util/ |
D | map_ptr_test.cpp | 150 auto dis = p1 - p2; in TEST_F() local 151 ASSERT_EQ((ptrdiff_t)5U, dis); in TEST_F()
|