/external/adhd/cras/src/dsp/tests/ |
D | dsp_util_test.c | 76 void TestRounding(float in, int16_t expected, int samples) in TestRounding() function 174 TestRounding(1.0f, 32767, samples); in main() 175 TestRounding(-1.0f, -32768, samples); in main() 176 TestRounding(1.1f, 32767, samples); in main() 177 TestRounding(-1.1f, -32768, samples); in main() 178 TestRounding(2000000000.f / 32768.f, 32767, samples); in main() 179 TestRounding(-2000000000.f / 32768.f, -32768, samples); in main() 193 TestRounding(5000000000.f / 32768.f, EXPECTED_INF_RESULT, samples); in main() 194 TestRounding(-5000000000.f / 32768.f, EXPECTED_NEGINF_RESULT, samples); in main() 201 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 | 181 void TestRounding(void);
|
D | numfmtst.cpp | 145 TESTCASE_AUTO(TestRounding); in runIndexedTest() 3290 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 | 1680 public void TestRounding() { in TestRounding() method in RbnfTest
|
D | NumberFormatTest.java | 2477 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 | 1677 public void TestRounding() { in TestRounding() method in RbnfTest
|
D | NumberFormatTest.java | 2474 public void TestRounding() { in TestRounding() method in NumberFormatTest
|