/external/smali/util/src/test/java/org/jf/util/ |
D | LinearSearchTest.java | 46 doTest(list, 5, 10); in testLinearSearch() 47 doTest(list, 5, 4); in testLinearSearch() 48 doTest(list, 5, 3); in testLinearSearch() 49 doTest(list, 5, 2); in testLinearSearch() 50 doTest(list, 5, 1); in testLinearSearch() 51 doTest(list, 5, 0); in testLinearSearch() 53 doTest(list, 4, 10); in testLinearSearch() 54 doTest(list, 4, 4); in testLinearSearch() 55 doTest(list, 4, 3); in testLinearSearch() 56 doTest(list, 4, 2); in testLinearSearch() [all …]
|
/external/smali/smalidea/src/test/java/org/jf/smalidea/ |
D | ParserTest.java | 44 public void testEmpty() throws Exception { doTest(true); } in testEmpty() 45 public void testFieldAnnotations() throws Exception { doTest(true); } in testFieldAnnotations() 46 public void testInvalidAnnotation() throws Exception { doTest(true); } in testInvalidAnnotation() 47 public void testInvalidClassDirective() throws Exception { doTest(true); } in testInvalidClassDirective() 48 public void testInvalidClassDirective2() throws Exception { doTest(true); } in testInvalidClassDirective2() 49 public void testInvalidClassDirective3() throws Exception { doTest(true); } in testInvalidClassDirective3() 50 public void testInvalidEnumLiteral() throws Exception { doTest(true); } in testInvalidEnumLiteral() 51 public void testInvalidField() throws Exception { doTest(true); } in testInvalidField() 52 public void testInvalidField2() throws Exception { doTest(true); } in testInvalidField2() 53 public void testInvalidField3() throws Exception { doTest(true); } in testInvalidField3() [all …]
|
D | SmaliLiteralTest.java | 41 private void doTest(long expectedValue, String literalValue) { in doTest() method in SmaliLiteralTest 61 doTest(123, "123"); in testIntegerValue() 65 doTest(100, "100L"); in testLongValue() 69 doTest(99, "99s"); in testShortValue() 73 doTest(127, "127t"); in testByteValue()
|
/external/javaparser/javaparser-core-testing-bdd/src/test/java/com/github/javaparser/visitors/ |
D | PositionTestVisitor.java | 46 doTest(n); in visit() 47 doTest(n.getName()); in visit() 53 doTest(n); in visit() 59 doTest(n); in visit() 65 doTest(n); in visit() 71 doTest(n); in visit() 77 doTest(n); in visit() 83 doTest(n); in visit() 89 doTest(n); in visit() 95 doTest(n); in visit() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
D | RbnfRoundTripTest.java | 31 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT() 43 doTest(formatter, 0, 12345678); in TestDurationsRT() 55 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT() 67 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT() 79 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT() 91 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT() 103 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT() 115 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT() 127 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT() 139 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT() [all …]
|
D | RbnfTest.java | 298 doTest(formatter, testData, true); in TestEnglishSpellout() 339 doTest(formatter, testData, false); in TestOrdinalAbbreviations() 363 doTest(formatter, testData, true); in TestDurations() 404 doTest(formatter, testData, true); in TestSpanishSpellout() 444 doTest(formatter, testData, true); in TestFrenchSpellout() 491 doTest(formatter, testData, true); in TestSwissFrenchSpellout() 524 doTest(formatter, testData, true); in TestItalianSpellout() 555 doTest(formatter, testData, true); in TestGermanSpellout() 586 doTest(formatter, testData, true); in TestThaiSpellout() 613 doTest(enFormatter, enTestData, true); in TestPluralRules() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
D | RbnfRoundTripTest.java | 34 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT() 46 doTest(formatter, 0, 12345678); in TestDurationsRT() 58 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT() 70 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT() 82 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT() 94 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT() 106 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT() 118 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT() 130 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT() 142 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT() [all …]
|
D | RbnfTest.java | 301 doTest(formatter, testData, true); in TestEnglishSpellout() 342 doTest(formatter, testData, false); in TestOrdinalAbbreviations() 366 doTest(formatter, testData, true); in TestDurations() 407 doTest(formatter, testData, true); in TestSpanishSpellout() 447 doTest(formatter, testData, true); in TestFrenchSpellout() 494 doTest(formatter, testData, true); in TestSwissFrenchSpellout() 527 doTest(formatter, testData, true); in TestItalianSpellout() 558 doTest(formatter, testData, true); in TestGermanSpellout() 589 doTest(formatter, testData, true); in TestThaiSpellout() 616 doTest(enFormatter, enTestData, true); in TestPluralRules() [all …]
|
/external/OpenCL-CTS/test_conformance/printf/ |
D | test_printf.cpp | 85 static int doTest(cl_command_queue queue, cl_context context, const unsigned int testId, const unsi… 407 static int doTest(cl_command_queue queue, cl_context context, const unsigned int testId, const unsi… in doTest() function 583 return doTest(gQueue, gContext, TYPE_INT, 0, deviceID); in test_int_0() 587 return doTest(gQueue, gContext, TYPE_INT, 1, deviceID); in test_int_1() 591 return doTest(gQueue, gContext, TYPE_INT, 2, deviceID); in test_int_2() 595 return doTest(gQueue, gContext, TYPE_INT, 3, deviceID); in test_int_3() 599 return doTest(gQueue, gContext, TYPE_INT, 4, deviceID); in test_int_4() 603 return doTest(gQueue, gContext, TYPE_INT, 5, deviceID); in test_int_5() 607 return doTest(gQueue, gContext, TYPE_INT, 6, deviceID); in test_int_6() 611 return doTest(gQueue, gContext, TYPE_INT, 7, deviceID); in test_int_7() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/ |
D | RBBIAPITest.java | 185 doTest(testString, p, q, 20, "This is a word break"); in TestFirstNextFollowing() 188 doTest(testString, p, q, 21, "."); in TestFirstNextFollowing() 191 doTest(testString, p, q, 28, " Isn't "); in TestFirstNextFollowing() 194 doTest(testString, p, q, 31, "it?"); in TestFirstNextFollowing() 196 doTest(testString, 2, q, 4, "is"); in TestFirstNextFollowing() 198 doTest(testString, 22, q, 27, "Isn't"); in TestFirstNextFollowing() 213 doTest(testString, p, q, 1, "W"); in TestFirstNextFollowing() 216 doTest(testString, p, q, 5, "rite"); in TestFirstNextFollowing() 219 doTest(testString, p, q, 17, " hindi here."); in TestFirstNextFollowing() 222 doTest(testString, p, q, 11, " here."); in TestFirstNextFollowing() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/ |
D | RBBIAPITest.java | 182 doTest(testString, p, q, 20, "This is a word break"); in TestFirstNextFollowing() 185 doTest(testString, p, q, 21, "."); in TestFirstNextFollowing() 188 doTest(testString, p, q, 28, " Isn't "); in TestFirstNextFollowing() 191 doTest(testString, p, q, 31, "it?"); in TestFirstNextFollowing() 193 doTest(testString, 2, q, 4, "is"); in TestFirstNextFollowing() 195 doTest(testString, 22, q, 27, "Isn't"); in TestFirstNextFollowing() 210 doTest(testString, p, q, 1, "W"); in TestFirstNextFollowing() 213 doTest(testString, p, q, 5, "rite"); in TestFirstNextFollowing() 216 doTest(testString, p, q, 17, " hindi here."); in TestFirstNextFollowing() 219 doTest(testString, p, q, 11, " here."); in TestFirstNextFollowing() [all …]
|
/external/icu/icu4c/source/test/intltest/ |
D | itrbnfrt.cpp | 72 doTest(formatter, -12345678, 12345678); in TestEnglishSpelloutRT() 90 doTest(formatter, 0, 12345678); in TestDurationsRT() 108 doTest(formatter, -12345678, 12345678); in TestSpanishSpelloutRT() 126 doTest(formatter, -12345678, 12345678); in TestFrenchSpelloutRT() 144 doTest(formatter, -12345678, 12345678); in TestSwissFrenchSpelloutRT() 162 doTest(formatter, -999999, 999999); in TestItalianSpelloutRT() 180 doTest(formatter, 0, 12345678); in TestGermanSpelloutRT() 198 doTest(formatter, 0, 12345678); in TestSwedishSpelloutRT() 216 doTest(formatter, -12345678, 12345678); in TestDutchSpelloutRT() 234 doTest(formatter, 0, 12345678); in TestJapaneseSpelloutRT() [all …]
|
/external/pdfium/testing/resources/javascript/ |
D | consts.in | 39 function doTest(name, props) { 82 doTest("border", ["s", "b", "d", "i", "u", "nonesuch"]); 83 doTest("display", ["visible", "hidden", "noPrint", "noView", "nonesuch"]); 84 doTest("font", ["Times", "TimesB", "TimesI", "TimesBI", "Helv", "HelvB", 88 doTest("highlight", ["n", "i", "p", "o", "nonesuch"]); 89 doTest("position", ["textOnly", "iconOnly", "iconTextV", "textIconV", 92 doTest("scaleHow", ["proportional", "anamorphic", "nonesuch"]); 93 doTest("scaleWhen", ["always", "never", "tooBig", "tooSmall", "nonesuch"]); 94 doTest("style", ["ch", "cr", "di", "ci", "st", "sq", "nonesuch"]); 95 doTest("zoomtype", ["none", "fitP", "fitW", "fitH", "fitV", "pref", "refW",
|
/external/llvm-project/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
D | construct_pair_const_lvalue_pair.pass.cpp | 35 bool doTest(UsesAllocatorType TExpect, UsesAllocatorType UExpect, in doTest() function 73 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_uses_allocator() 78 assert((doTest<T, U>(UA_AllocArg, UA_AllocLast, p))); in test_pmr_uses_allocator() 83 assert((doTest<T, U>(UA_AllocLast, UA_AllocArg, p))); in test_pmr_uses_allocator() 88 assert((doTest<T, U>(UA_AllocArg, UA_None, p))); in test_pmr_uses_allocator() 98 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator() 103 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator() 108 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator() 113 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator()
|
D | construct_pair_rvalue.pass.cpp | 36 bool doTest(UsesAllocatorType TExpect, UsesAllocatorType UExpect, in doTest() function 72 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_uses_allocator() 77 assert((doTest<T, U>(UA_AllocArg, UA_AllocLast, std::move(p)))); in test_pmr_uses_allocator() 82 assert((doTest<T, U>(UA_AllocLast, UA_AllocArg, std::move(p)))); in test_pmr_uses_allocator() 87 assert((doTest<T, U>(UA_AllocArg, UA_None, std::move(p)))); in test_pmr_uses_allocator() 97 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator() 102 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator() 107 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator() 112 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator()
|
D | construct_pair_values.pass.cpp | 35 bool doTest(UsesAllocatorType TExpect, UsesAllocatorType UExpect, in doTest() function 71 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_uses_allocator() 77 assert((doTest<T, U>(UA_AllocArg, UA_AllocLast, in test_pmr_uses_allocator() 83 assert((doTest<T, U>(UA_AllocLast, UA_AllocArg, in test_pmr_uses_allocator() 89 assert((doTest<T, U>(UA_AllocArg, UA_None, in test_pmr_uses_allocator() 100 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator() 106 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator() 112 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator() 118 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator()
|
/external/libcxx/test/std/experimental/memory/memory.polymorphic.allocator.class/memory.polymorphic.allocator.mem/ |
D | construct_pair_const_lvalue_pair.pass.cpp | 37 bool doTest(UsesAllocatorType TExpect, UsesAllocatorType UExpect, in doTest() function 75 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_uses_allocator() 80 assert((doTest<T, U>(UA_AllocArg, UA_AllocLast, p))); in test_pmr_uses_allocator() 85 assert((doTest<T, U>(UA_AllocLast, UA_AllocArg, p))); in test_pmr_uses_allocator() 90 assert((doTest<T, U>(UA_AllocArg, UA_None, p))); in test_pmr_uses_allocator() 100 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator() 105 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator() 110 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator() 115 assert((doTest<T, U>(UA_None, UA_None, p))); in test_pmr_not_uses_allocator()
|
D | construct_pair_rvalue.pass.cpp | 38 bool doTest(UsesAllocatorType TExpect, UsesAllocatorType UExpect, in doTest() function 74 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_uses_allocator() 79 assert((doTest<T, U>(UA_AllocArg, UA_AllocLast, std::move(p)))); in test_pmr_uses_allocator() 84 assert((doTest<T, U>(UA_AllocLast, UA_AllocArg, std::move(p)))); in test_pmr_uses_allocator() 89 assert((doTest<T, U>(UA_AllocArg, UA_None, std::move(p)))); in test_pmr_uses_allocator() 99 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator() 104 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator() 109 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator() 114 assert((doTest<T, U>(UA_None, UA_None, std::move(p)))); in test_pmr_not_uses_allocator()
|
D | construct_pair_values.pass.cpp | 37 bool doTest(UsesAllocatorType TExpect, UsesAllocatorType UExpect, in doTest() function 73 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_uses_allocator() 79 assert((doTest<T, U>(UA_AllocArg, UA_AllocLast, in test_pmr_uses_allocator() 85 assert((doTest<T, U>(UA_AllocLast, UA_AllocArg, in test_pmr_uses_allocator() 91 assert((doTest<T, U>(UA_AllocArg, UA_None, in test_pmr_uses_allocator() 102 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator() 108 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator() 114 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator() 120 assert((doTest<T, U>(UA_None, UA_None, in test_pmr_not_uses_allocator()
|
/external/OpenCL-CTS/test_conformance/select/ |
D | test_select.cpp | 55 static int doTest(cl_command_queue queue, cl_context context, 297 static int doTest(cl_command_queue queue, cl_context context, Type stype, Type cmptype, cl_device_i… in doTest() function 476 return doTest(queue, context, kuchar, kuchar, deviceID); in test_select_uchar_uchar() 480 return doTest(queue, context, kuchar, kchar, deviceID); in test_select_uchar_char() 484 return doTest(queue, context, kchar, kuchar, deviceID); in test_select_char_uchar() 488 return doTest(queue, context, kchar, kchar, deviceID); in test_select_char_char() 492 return doTest(queue, context, kushort, kushort, deviceID); in test_select_ushort_ushort() 496 return doTest(queue, context, kushort, kshort, deviceID); in test_select_ushort_short() 500 return doTest(queue, context, kshort, kushort, deviceID); in test_select_short_ushort() 504 return doTest(queue, context, kshort, kshort, deviceID); in test_select_short_short() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/collator/ |
D | CollationDummyTest.java | 196 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary() 206 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary() 216 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary() 227 doTest(myCollation, testCases[i], testCases[j], -1); in TestExtra() 237 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestIdentical() 315 doTest(enCollation, source[count], target[count], -1); in TestSurrogates() 318 doTest(enCollation, source[count], target[count], 1); in TestSurrogates() 332 doTest(newCollation, source[count], target[count], -1); in TestSurrogates() 457 doTest(myCollator, x, y, 0); in TestJB1401() 458 doTest(myCollator, x, z, 0); in TestJB1401() [all …]
|
/external/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | CollationDummyTest.java | 193 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestTertiary() 203 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestPrimary() 213 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestSecondary() 224 doTest(myCollation, testCases[i], testCases[j], -1); in TestExtra() 234 doTest(myCollation, testSourceCases[i], testTargetCases[i], results[i]); in TestIdentical() 312 doTest(enCollation, source[count], target[count], -1); in TestSurrogates() 315 doTest(enCollation, source[count], target[count], 1); in TestSurrogates() 329 doTest(newCollation, source[count], target[count], -1); in TestSurrogates() 454 doTest(myCollator, x, y, 0); in TestJB1401() 455 doTest(myCollator, x, z, 0); in TestJB1401() [all …]
|
/external/llvm-project/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/ |
D | explicit_bool.pass.cpp | 22 void doTest(UPtr& p, bool ExpectTrue) { in doTest() function 51 doTest(p, true); in test_basic() 52 doTest(cp, true); in test_basic() 57 doTest(p, false); in test_basic() 58 doTest(cp, false); in test_basic()
|
/external/libcxx/test/std/utilities/smartptr/unique.ptr/unique.ptr.class/unique.ptr.observers/ |
D | explicit_bool.pass.cpp | 23 void doTest(UPtr& p, bool ExpectTrue) { in doTest() function 52 doTest(p, true); in test_basic() 53 doTest(cp, true); in test_basic() 58 doTest(p, false); in test_basic() 59 doTest(cp, false); in test_basic()
|
/external/libjpeg-turbo/ |
D | tjunittest.c | 525 static void doTest(int w, int h, const int *formats, int nformats, int subsamp, in doTest() function 935 doTest(35, 39, _3byteFormats, 2, TJSAMP_444, "test"); in testThreeByte444() 945 doTest(39, 41, _4byteFormats, num4bf, TJSAMP_444, "test"); in testFourByte444() 954 doTest(41, 35, _3byteFormats, 2, TJSAMP_422, "test"); in testThreeByte422() 964 doTest(35, 39, _4byteFormats, num4bf, TJSAMP_422, "test"); in testFourByte422() 973 doTest(39, 41, _3byteFormats, 2, TJSAMP_420, "test"); in testThreeByte420() 983 doTest(41, 35, _4byteFormats, num4bf, TJSAMP_420, "test"); in testFourByte420() 992 doTest(35, 39, _3byteFormats, 2, TJSAMP_440, "test"); in testThreeByte440() 1002 doTest(39, 41, _4byteFormats, num4bf, TJSAMP_440, "test"); in testFourByte440() 1011 doTest(41, 35, _3byteFormats, 2, TJSAMP_411, "test"); in testThreeByte411() [all …]
|