/external/adhd/cras/src/dsp/tests/ |
D | dsp_util_test.c | 75 void TestRounding(float in, int16_t expected, int samples) in TestRounding() function 169 TestRounding(1.0f, 32767, samples); in main() 170 TestRounding(-1.0f, -32768, samples); in main() 171 TestRounding(1.1f, 32767, samples); in main() 172 TestRounding(-1.1f, -32768, samples); in main() 173 TestRounding(2000000000.f / 32768.f, 32767, samples); in main() 174 TestRounding(-2000000000.f / 32768.f, -32768, samples); in main() 188 TestRounding(5000000000.f / 32768.f, EXPECTED_INF_RESULT, samples); in main() 189 TestRounding(-5000000000.f / 32768.f, EXPECTED_NEGINF_RESULT, samples); in main() 196 TestRounding(inf.f, EXPECTED_INF_RESULT, samples); // expect fail in main() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | numfmtspectest.cpp | 61 void TestRounding(); 82 TESTCASE_AUTO(TestRounding); in runIndexedTest() 114 void NumberFormatSpecificationTest::TestRounding() { in TestRounding() function in NumberFormatSpecificationTest
|
D | itrbnf.h | 147 void TestRounding();
|
D | numfmtst.h | 177 void TestRounding(void);
|
D | numberformat2test.cpp | 92 void TestRounding(); 200 TESTCASE_AUTO(TestRounding); in runIndexedTest() 506 void NumberFormat2Test::TestRounding() { in TestRounding() function in NumberFormat2Test
|
D | numfmtst.cpp | 133 TESTCASE_AUTO(TestRounding); in runIndexedTest() 3105 void NumberFormatTest::TestRounding() { in TestRounding() function in NumberFormatTest
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | NumberFormatSpecificationTest.java | 55 public void TestRounding() { in TestRounding() method in NumberFormatSpecificationTest
|
D | IntlTestDecimalFormatAPIC.java | 259 public void TestRounding() { in TestRounding() method in IntlTestDecimalFormatAPIC
|
D | RbnfTest.java | 1595 public void TestRounding() { in TestRounding() method in RbnfTest
|
D | NumberFormatTest.java | 2425 public void TestRounding() { in TestRounding() method in NumberFormatTest
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | NumberFormatSpecificationTest.java | 52 public void TestRounding() { in TestRounding() method in NumberFormatSpecificationTest
|
D | IntlTestDecimalFormatAPIC.java | 256 public void TestRounding() { in TestRounding() method in IntlTestDecimalFormatAPIC
|
D | RbnfTest.java | 1592 public void TestRounding() { in TestRounding() method in RbnfTest
|
D | NumberFormatTest.java | 2422 public void TestRounding() { in TestRounding() method in NumberFormatTest
|