/external/icu4c/test/perf/unisetperf/ |
D | unisetperf.cpp | 135 Command(const UnicodeSetPerformanceTest &testcase) : testcase(testcase) {} in Command() argument 145 return testcase.countInputCodePoints+testcase.spanCount-1; in getOperationsPerIteration() 149 return testcase.spanCount; in getEventsPerIteration() 152 const UnicodeSetPerformanceTest &testcase; member in Command 157 Contains(const UnicodeSetPerformanceTest &testcase) : Command(testcase) { in Contains() argument 163 if(testcase.set.contains(c)) { in Contains() 167 if(set!=testcase.set) { in Contains() 172 static UPerfFunction* get(const UnicodeSetPerformanceTest &testcase) { in get() argument 173 return new Contains(testcase); in get() 176 const UnicodeSet &set=testcase.set; in call() [all …]
|
/external/icu4c/test/perf/utrie2perf/ |
D | utrie2perf.cpp | 97 Command(const UTrie2PerfTest &testcase) : testcase(testcase) {} in Command() argument 106 return testcase.countInputCodePoints; in getOperationsPerIteration() 111 const UTrie2PerfTest &testcase; member in Command 117 CheckFCD(const UTrie2PerfTest &testcase) : Command(testcase) {} in CheckFCD() argument 119 static UPerfFunction* get(const UTrie2PerfTest &testcase) { in get() argument 120 return new CheckFCD(testcase); in get() 124 qcResult=unorm_quickCheck(testcase.getBuffer(), testcase.getBufferLen(), in call() 137 CheckFCDAlwaysGet(const UTrie2PerfTest &testcase) : Command(testcase) {} 139 static UPerfFunction* get(const UTrie2PerfTest &testcase) { 140 return new CheckFCDAlwaysGet(testcase); [all …]
|
/external/webkit/Source/JavaScriptCore/qt/tests/qscriptvalue/ |
D | tst_qscriptvalue_generated_istype.cpp | 176 QPair<QString, QScriptValue> testcase = initScriptValues(i); in isValid_data() local 177 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isValid_data() 211 QPair<QString, QScriptValue> testcase = initScriptValues(i); in isBool_data() local 212 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isBool_data() 246 QPair<QString, QScriptValue> testcase = initScriptValues(i); in isBoolean_data() local 247 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isBoolean_data() 329 QPair<QString, QScriptValue> testcase = initScriptValues(i); in isNumber_data() local 330 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isNumber_data() 365 QPair<QString, QScriptValue> testcase = initScriptValues(i); in isFunction_data() local 366 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue.contains(t… in isFunction_data() [all …]
|
D | tst_qscriptvalue_generated_totype.cpp | 245 QPair<QString, QScriptValue> testcase = initScriptValues(i); in toString_data() local 246 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toString_data() 423 QPair<QString, QScriptValue> testcase = initScriptValues(i); in toNumber_data() local 424 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toNumber_data() 664 QPair<QString, QScriptValue> testcase = initScriptValues(i); in toBool_data() local 665 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toBool_data() 896 QPair<QString, QScriptValue> testcase = initScriptValues(i); in toBoolean_data() local 897 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toBoolean_data() 1074 QPair<QString, QScriptValue> testcase = initScriptValues(i); in toInteger_data() local 1075 …QTest::newRow(testcase.first.toAscii().constData()) << testcase.second << expectedValue[testcase.f… in toInteger_data() [all …]
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_6/ |
D | browser.js | 87 var testcase = new TestCase(gTestName, description, expected, actual); 88 testcase.passed = _reportCompare(expected, actual, description); 96 var testcase; 100 testcase = testcases[tc - 1]; 101 testcase.passed = false; 113 testcase = new TestCase(gTestName, DESCRIPTION, EXPECTED, "error"); 117 testcase.passed = true; 121 testcase.reason += msg; 125 testcase.reason += ' Page: ' + page; 129 testcase.reason += ' Line: ' + line; [all …]
|
/external/icu4c/test/perf/utfperf/ |
D | utfperf.cpp | 122 Command(const UtfPerformanceTest &testcase) in Command() argument 123 : testcase(testcase), in Command() 124 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()), in Command() 126 cnv=ucnv_open(testcase.charset, &errorCode); in Command() 128 …fprintf(stderr, "error opening converter for \"%s\" - %s\n", testcase.charset, u_errorName(errorCo… in Command() 143 const UtfPerformanceTest &testcase; member in Command 153 Roundtrip(const UtfPerformanceTest &testcase) : Command(testcase) {} in Roundtrip() argument 155 static UPerfFunction* get(const UtfPerformanceTest &testcase) { in get() argument 156 Roundtrip * t = new Roundtrip(testcase); in get() 180 pInterLimit=intermediate+testcase.chunkLength; in call() [all …]
|
/external/apache-harmony/auth/src/test/java/common/org/ietf/jgss/ |
D | OidTest.java | 41 Object[][] testcase = new Object[][] { in testValidOid() local 73 for (int i = 0; i < testcase.length; i++) { in testValidOid() 75 String strOid = (String) testcase[i][0]; in testValidOid() 76 byte[] enc = (byte[]) testcase[i][1]; in testValidOid() 148 String[] testcase = new String[] { "", // empty string in testInvalidOIDString() local 168 for (int i = 0; i < testcase.length; i++) { in testInvalidOIDString() 170 new Oid(testcase[i]); in testInvalidOIDString() 171 fail("No expected GSSException for oid string: " + testcase[i]); in testInvalidOIDString() 185 byte[][] testcase = new byte[][] { in testInvalidOIDEncodings() 197 for (int i = 0; i < testcase.length; i++) { in testInvalidOIDEncodings() [all …]
|
/external/icu4c/test/intltest/ |
D | astrotst.cpp | 440 static const double testcase[][10] = {{2012, 5, 20 , 16 , 48, 59}, in TestMoonAge() local 455 for (int32_t i = 0; i < (int32_t)(sizeof(testcase)/sizeof(testcase[0])); i++) { in TestMoonAge() 457 …logln((UnicodeString)"CASE["+i+"]: Year "+(int32_t)testcase[i][0]+" Month "+(int32_t)testcase[i][1… in TestMoonAge() 458 … (int32_t)testcase[i][2]+" Hour "+(int32_t)testcase[i][3]+" Minutes "+(int32_t)testcase[i][4]+ in TestMoonAge() 459 " Seconds "+(int32_t)testcase[i][5]); in TestMoonAge() 460 …(int32_t)testcase[i][0], (int32_t)testcase[i][1]-1, (int32_t)testcase[i][2], (int32_t)testcase[i][… in TestMoonAge()
|
/external/valgrind/main/none/tests/ |
D | tls.c | 46 struct testcase { struct 53 struct testcase *test = (struct testcase *)p; in tls_ptr() argument 74 static const struct testcase tests[] = {
|
/external/webkit/Tools/Scripts/webkitpy/common/system/ |
D | outputcapture.py | 57 …def assert_outputs(self, testcase, function, args=[], kwargs={}, expected_stdout="", expected_stde… argument 60 return_value = testcase.assertRaises(expected_exception, function, *args, **kwargs) 64 testcase.assertEqual(stdout_string, expected_stdout) 65 testcase.assertEqual(stderr_string, expected_stderr)
|
/external/icu4c/test/iotest/ |
D | stream.cpp | 327 char testcase[10]; in TestStreamEOF() local 328 testString(UStr, u_austrcpy(testcase, testCase1), expectedResultA, IOSTREAM_EOF|IOSTREAM_FAIL); in TestStreamEOF() 329 testString(UStr, u_austrcpy(testcase, testCase2), expectedResultB, IOSTREAM_EOF); in TestStreamEOF() 331 testString(UStr, u_austrcpy(testcase, testCase3), expectedResultC, IOSTREAM_EOF|IOSTREAM_FAIL); in TestStreamEOF() 332 testString(UStr, u_austrcpy(testcase, testCase4), expectedResultD, IOSTREAM_EOF); in TestStreamEOF() 333 testString(UStr, u_austrcpy(testcase, testCase5), expectedResultD, IOSTREAM_GOOD); in TestStreamEOF() 334 testString(UStr, u_austrcpy(testcase, testCase6), expectedResultD, IOSTREAM_GOOD); in TestStreamEOF()
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/asn1/der/ |
D | BerInputStreamTest.java | 52 Object[][] testcase = { in test_CtorLjava_io_ByteArrayInputStream() local 80 for (int i = 0; i < testcase.length; i++) { in test_CtorLjava_io_ByteArrayInputStream() 83 new ByteArrayInputStream((byte[]) testcase[i][0])); in test_CtorLjava_io_ByteArrayInputStream() 85 int expected = ((BigInteger) testcase[i][1]).intValue(); in test_CtorLjava_io_ByteArrayInputStream()
|
D | IntegerTest.java | 142 int[] testcase = new int[] { 0, 1, -1, 127, -127, 128, -128, 32767, in testConversion() local 145 for (int i = 0; i < testcase.length; i++) { in testConversion() 146 assertEquals("Testcase: " + i, testcase[i], ASN1Integer in testConversion() 147 .toIntValue(ASN1Integer.fromIntValue(testcase[i]))); in testConversion()
|
/external/v8/test/mjsunit/regress/ |
D | regress-1513.js | 31 function testcase() { function 44 testcase();
|
/external/webkit/Source/JavaScriptCore/tests/mozilla/js1_2/Array/ |
D | splice1.js | 125 var testcase = new TestCase( SECTION, testname, true, passed); 127 testcase.reason = reason; 128 return testcase;
|
D | splice2.js | 123 var testcase = new TestCase(SECTION, testname, true, passed); 124 if (!passed) testcase.reason = reason; 125 return testcase;
|
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/provider/crypto/serialization/ |
D | SHA1PRNG_SecureRandomTest.java | 57 private int testcase = 0; field in SHA1PRNG_SecureRandomTest 127 assertTrue("NOT same: testcase =" + testcase + in testingSame() 176 assertFalse("the same sequencies :: testcase=" + testcase + in testingNotSame() 204 switch ( testcase ) { 370 testcase++;
|
/external/llvm/test/Transforms/IndVarSimplify/ |
D | iterationCount_zext_or_trunc.ll | 3 ; ModuleID = 'testcase.bc' 7 define i32 @testcase(i5 zeroext %k) {
|
/external/icu4c/test/cintltst/ |
D | cnumtst.c | 1891 static void TestNBSPPatternRtNum(const char *testcase, UNumberFormat *nf, double myNumber) { in TestNBSPPatternRtNum() argument 1897 log_verbose("%s: formatted %.2f into %s\n", testcase, myNumber, u_austrcpy(tmpbuf, myString)); in TestNBSPPatternRtNum() 1899 log_err("%s: failed format of %.2g with %s\n", testcase, myNumber, u_errorName(status)); in TestNBSPPatternRtNum() 1904 log_err("%s: failed parse with %s\n", testcase, u_errorName(status)); in TestNBSPPatternRtNum() 1908 log_err("FAIL: %s: formatted %.2f, parsed into %.2f\n", testcase, myNumber, aNumber); in TestNBSPPatternRtNum() 1910 log_verbose("PASS: %s: formatted %.2f, parsed into %.2f\n", testcase, myNumber, aNumber); in TestNBSPPatternRtNum() 1914 static void TestNBSPPatternRT(const char *testcase, UNumberFormat *nf) { in TestNBSPPatternRT() argument 1915 TestNBSPPatternRtNum(testcase, nf, 12345.); in TestNBSPPatternRT() 1916 TestNBSPPatternRtNum(testcase, nf, -12345.); in TestNBSPPatternRT() 1922 const char *testcase; in TestNBSPInPattern() local [all …]
|
/external/llvm/test/Transforms/ADCE/ |
D | 2002-05-23-ZeroArgPHITest.ll | 1 ; This testcase contains a entire loop that should be removed. The only thing 2 ; left is the store instruction in BB0. The problem this testcase was running
|
/external/clang/test/CodeGen/ |
D | builtin-recursive.cc | 7 void testcase(void) { in testcase() function
|
/external/antlr/antlr-3.4/runtime/Python/ |
D | setup.py | 169 self.testcase = None 232 if (self.testcase is not None 233 and not os.path.basename(testPath)[:-3].startswith(self.testcase)):
|
/external/llvm/test/Transforms/InstCombine/ |
D | 2002-03-11-InstCombineHang.ll | 1 ; This testcase causes instcombine to hang.
|
D | 2004-08-09-RemInfLoop.ll | 3 ; This testcase should not send the instcombiner into an infinite loop!
|
/external/llvm/test/Assembler/ |
D | 2003-04-25-UnresolvedGlobalReference.ll | 2 ; There should be absolutely no problem with this testcase.
|