/third_party/icu/icu4c/source/test/perf/localecanperf/ |
D | localecanperf.cpp | 21 testCases.push_back("en"); in LocaleCreateCanonical() 22 testCases.push_back("en-US"); in LocaleCreateCanonical() 23 testCases.push_back("ja-JP"); in LocaleCreateCanonical() 24 testCases.push_back("zh-Hant-CN"); in LocaleCreateCanonical() 25 testCases.push_back("hy-SU"); in LocaleCreateCanonical() 30 std::for_each(testCases.begin(), testCases.end(), in call() 36 virtual long getOperationsPerIteration() { return testCases.size(); } in getOperationsPerIteration() 37 virtual long getEventsPerIteration() { return testCases.size(); } in getEventsPerIteration() 39 std::vector<std::string> testCases; member in LocaleCreateCanonical
|
/third_party/protobuf/js/binary/ |
D | writer_test.js | 215 var testCases = [ 236 testCases.forEach(function(c) { 244 writer.writeRepeatedSint64String(2, testCases.map(function(c) { 248 writer.writeRepeatedSintHash64(3, testCases.map(function(c) { 253 4, testCases.map(function(c) { 258 writer.writePackedSint64String(5, testCases.map(function(c) { 262 writer.writePackedSintHash64(6, testCases.map(function(c) { 267 7, testCases.map(function(c) { 275 testCases.forEach(function(c) { 287 testCases.forEach(function(c) { [all …]
|
/third_party/icu/icu4c/source/test/cintltst/ |
D | cbiditransformtst.c | 279 static const UBidiTestCases testCases[] = { in testAllTransformOptions() local 392 uint32_t i, nTestCases = sizeof(testCases) / sizeof(testCases[0]); in testAllTransformOptions() 403 expectedStr = testCases[i].pReorderAndMirror; in testAllTransformOptions() 405 testCases[i].inLevel, testCases[i].inOr, in testAllTransformOptions() 406 testCases[i].outLevel, testCases[i].outOr, in testAllTransformOptions() 408 verifyResultsForAllOpt(&testCases[i], src, dest, expectedStr, U_SHAPE_DIGITS_NOOP, in testAllTransformOptions() 412 expectedStr = digits[j] == U_SHAPE_DIGITS_ALEN2AN_INIT_LR ? testCases[i].pContextShapes in testAllTransformOptions() 413 : testCases[i].pReorderNoMirror; in testAllTransformOptions() 417 testCases[i].inLevel, testCases[i].inOr, in testAllTransformOptions() 418 testCases[i].outLevel, testCases[i].outOr, in testAllTransformOptions() [all …]
|
D | cg7coll.c | 68 const static UChar testCases[][MAX_TOKEN_LEN] = { variable 190 doTest(myCollation, testCases[results[i][j]], testCases[results[i][n]], UCOL_LESS); in TestG7Locales() 222 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], UCOL_LESS); in TestDemo1() 252 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], UCOL_LESS); in TestDemo2() 282 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], UCOL_LESS); in TestDemo3() 311 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], UCOL_LESS); in TestDemo4()
|
D | putiltst.c | 335 const char *testCases[] = { in TestCompareVersions() local 350 for(j=0;testCases[j]!=NULL;j+=3) { in TestCompareVersions() 351 v1str = testCases[j+0]; in TestCompareVersions() 352 opstr = testCases[j+1]; in TestCompareVersions() 353 v2str = testCases[j+2]; in TestCompareVersions() 580 } testCases[] = { in toolutil_findBasename() local 598 int32_t count=UPRV_LENGTHOF(testCases); in toolutil_findBasename() 605 const char *input = STRNULL(testCases[i].inBuf); in toolutil_findBasename() 606 const char *expect = STRNULL(testCases[i].expectResult); in toolutil_findBasename() 608 result = STRNULL(findBasename(testCases[i].inBuf)); in toolutil_findBasename() [all …]
|
D | cloctst.c | 1883 } testCases[] = { in TestKeywordVariants() local 1931 for(i = 0; i < UPRV_LENGTHOF(testCases); i++) { in TestKeywordVariants() 1934 keywords = uloc_openKeywords(testCases[i].localeID, &status); in TestKeywordVariants() 1936 if(status != testCases[i].expectedStatus) { in TestKeywordVariants() 1938 testCases[i].localeID, in TestKeywordVariants() 1939 u_errorName(testCases[i].expectedStatus), u_errorName(status)); in TestKeywordVariants() 1943 if((keyCount = uenum_count(keywords, &status)) != testCases[i].numKeywords) { in TestKeywordVariants() 1944 … log_err("Expected to get %i keywords, got %i\n", testCases[i].numKeywords, keyCount); in TestKeywordVariants() 1949 if(strcmp(keyword, testCases[i].expectedKeywords[j]) != 0) { in TestKeywordVariants() 1950 … log_err("Expected to get keyword value %s, got %s\n", testCases[i].expectedKeywords[j], keyword); in TestKeywordVariants() [all …]
|
/third_party/libphonenumber/java/libphonenumber/test/com/google/i18n/phonenumbers/ |
D | PhoneNumberMatcherTest.java | 544 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testMatchesWithPossibleLeniency() local 545 testCases.addAll(Arrays.asList(STRICT_GROUPING_CASES)); in testMatchesWithPossibleLeniency() 546 testCases.addAll(Arrays.asList(EXACT_GROUPING_CASES)); in testMatchesWithPossibleLeniency() 547 testCases.addAll(Arrays.asList(VALID_CASES)); in testMatchesWithPossibleLeniency() 548 testCases.addAll(Arrays.asList(POSSIBLE_ONLY_CASES)); in testMatchesWithPossibleLeniency() 549 doTestNumberMatchesForLeniency(testCases, Leniency.POSSIBLE); in testMatchesWithPossibleLeniency() 553 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testNonMatchesWithPossibleLeniency() local 554 testCases.addAll(Arrays.asList(IMPOSSIBLE_CASES)); in testNonMatchesWithPossibleLeniency() 555 doTestNumberNonMatchesForLeniency(testCases, Leniency.POSSIBLE); in testNonMatchesWithPossibleLeniency() 559 List<NumberTest> testCases = new ArrayList<NumberTest>(); in testMatchesWithValidLeniency() local [all …]
|
/third_party/icu/icu4c/source/test/intltest/ |
D | g7coll.cpp | 21 static const UChar testCases[][G7CollationTest::MAX_TOKEN_LEN] = { variable 143 …doTest(myCollation.getAlias(), testCases[results[i][j]], testCases[results[i][n]], Collator::LESS); in TestG7Locales() 175 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], Collator::LESS); in TestDemo1() 209 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], Collator::LESS); in TestDemo2() 243 … doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], Collator::LESS); in TestDemo3() 272 … doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], Collator::LESS); in TestDemo4()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/spirv_assembly/ |
D | vktSpvAsmFloatControlsTests.cpp | 1614 …void build(vector<OperationTestCase>& testCases, TypeTestResultsSP typeTestResults, bool arguments… 1619 void createUnaryTestCases(vector<OperationTestCase>& testCases, 2130 void TestCasesBuilder::build(vector<OperationTestCase>& testCases, TypeTestResultsSP typeTestResult… in build() argument 2135 testCases.reserve(750); in build() 2144 …testCases.push_back(OTC("denorm_op_var_flush_to_zero", B_DENORM_FLUSH, operation, V_DENORM, … in build() 2145 …testCases.push_back(OTC("denorm_op_denorm_flush_to_zero", B_DENORM_FLUSH, operation, V_DENORM… in build() 2146 …testCases.push_back(OTC("denorm_op_inf_flush_to_zero", B_DENORM_FLUSH | B_ZIN_PRESERVE, operation… in build() 2147 …testCases.push_back(OTC("denorm_op_nan_flush_to_zero", B_DENORM_FLUSH | B_ZIN_PRESERVE, operation… in build() 2151 …testCases.push_back(OTC("denorm_op_var_flush_to_zero_nostorage", B_DENORM_FLUSH, operation, … in build() 2152 …testCases.push_back(OTC("denorm_op_denorm_flush_to_zero_nostorage", B_DENORM_FLUSH, operatio… in build() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/ |
D | vktSpvAsmFloatControlsTests.cpp | 1614 …void build(vector<OperationTestCase>& testCases, TypeTestResultsSP typeTestResults, bool arguments… 1619 void createUnaryTestCases(vector<OperationTestCase>& testCases, 2130 void TestCasesBuilder::build(vector<OperationTestCase>& testCases, TypeTestResultsSP typeTestResult… in build() argument 2135 testCases.reserve(750); in build() 2144 …testCases.push_back(OTC("denorm_op_var_flush_to_zero", B_DENORM_FLUSH, operation, V_DENORM, … in build() 2145 …testCases.push_back(OTC("denorm_op_denorm_flush_to_zero", B_DENORM_FLUSH, operation, V_DENORM… in build() 2146 …testCases.push_back(OTC("denorm_op_inf_flush_to_zero", B_DENORM_FLUSH | B_ZIN_PRESERVE, operation… in build() 2147 …testCases.push_back(OTC("denorm_op_nan_flush_to_zero", B_DENORM_FLUSH | B_ZIN_PRESERVE, operation… in build() 2151 …testCases.push_back(OTC("denorm_op_var_flush_to_zero_nostorage", B_DENORM_FLUSH, operation, … in build() 2152 …testCases.push_back(OTC("denorm_op_denorm_flush_to_zero_nostorage", B_DENORM_FLUSH, operatio… in build() [all …]
|
/third_party/vk-gl-cts/execserver/tools/ |
D | xsTest.cpp | 206 void runCases (const std::vector<TestCase*>& testCases); 222 void TestExecutor::runCases (const std::vector<TestCase*>& testCases) in runCases() argument 225 int numCases = (int)testCases.size(); in runCases() 227 for (std::vector<TestCase*>::const_iterator i = testCases.begin(); i != testCases.end(); i++) in runCases() 892 std::vector<TestCase*> testCases; in runExecServerTests() local 893 testCases.push_back(new ConnectTest(testCtx)); in runExecServerTests() 894 testCases.push_back(new HelloTest(testCtx)); in runExecServerTests() 895 testCases.push_back(new ExecFailTest(testCtx)); in runExecServerTests() 896 testCases.push_back(new SimpleExecTest(testCtx)); in runExecServerTests() 897 testCases.push_back(new InfoTest(testCtx)); in runExecServerTests() [all …]
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
D | G7CollationTest.java | 33 private static String[] testCases = { field in G7CollationTest 89 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], -1); in TestDemo1() 116 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], -1); in TestDemo2() 144 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], -1); in TestDemo3() 171 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], -1); in TestDemo4() 202 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], -1); in TestG7Data()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
D | G7CollationTest.java | 30 private static String[] testCases = { field in G7CollationTest 86 doTest(myCollation, testCases[results[8][j]], testCases[results[8][n]], -1); in TestDemo1() 113 doTest(myCollation, testCases[results[9][j]], testCases[results[9][n]], -1); in TestDemo2() 141 doTest(myCollation, testCases[results[10][j]], testCases[results[10][n]], -1); in TestDemo3() 168 doTest(myCollation, testCases[results[11][j]], testCases[results[11][n]], -1); in TestDemo4() 199 doTest(tblColl1, testCases[results[i][j]], testCases[results[i][n]], -1); in TestG7Data()
|
/third_party/node/test/parallel/ |
D | test-http-response-status-message.js | 29 const testCases = [ variable 41 testCases.findByPath = function(path) { 54 const testCase = testCases.findByPath(path); 61 const countdown = new Countdown(testCases.length, () => server.close()); 64 const testCase = testCases[testCaseIndex]; 77 if (testCaseIndex + 1 < testCases.length) {
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestStreaming.java | 43 static final TestCase[] testCases = { field in TestStreaming 81 int nTests = testCases.length, nLevels = paraLevels.length; in testStreaming() 93 src = testCases[i].textIn; in testStreaming() 95 chunk = testCases[i].chunk; in testStreaming() 96 nPortions = testCases[i].nPortions[levelIndex]; in testStreaming() 119 processedLen != testCases[i].portionLens[levelIndex][j]; in testStreaming() 134 testCases[i].message[levelIndex] + " }\n"); in testStreaming()
|
D | TestInverse.java | 30 static final String[] testCases = { field in TestInverse 45 log("inverse Bidi: testInverse(L) with " + testCases.length + in testInverse() 47 for(i = 0; i < testCases.length; ++i) { in testInverse() 49 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_LEFT_TO_RIGHT); in testInverse() 52 log("inverse Bidi: testInverse(R) with " + testCases.length + in testInverse() 54 for (i = 0; i < testCases.length; ++i) { in testInverse() 56 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_RIGHT_TO_LEFT); in testInverse()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/ |
D | TestStreaming.java | 46 static final TestCase[] testCases = { field in TestStreaming 84 int nTests = testCases.length, nLevels = paraLevels.length; in testStreaming() 96 src = testCases[i].textIn; in testStreaming() 98 chunk = testCases[i].chunk; in testStreaming() 99 nPortions = testCases[i].nPortions[levelIndex]; in testStreaming() 122 processedLen != testCases[i].portionLens[levelIndex][j]; in testStreaming() 137 testCases[i].message[levelIndex] + " }\n"); in testStreaming()
|
D | TestInverse.java | 33 static final String[] testCases = { field in TestInverse 48 log("inverse Bidi: testInverse(L) with " + testCases.length + in testInverse() 50 for(i = 0; i < testCases.length; ++i) { in testInverse() 52 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_LEFT_TO_RIGHT); in testInverse() 55 log("inverse Bidi: testInverse(R) with " + testCases.length + in testInverse() 57 for (i = 0; i < testCases.length; ++i) { in testInverse() 59 _testInverseBidi(bidi, testCases[i], Bidi.DIRECTION_RIGHT_TO_LEFT); in testInverse()
|
D | TestReorderRunsOnly.java | 39 static final TestCase testCases[] = { field in TestReorderRunsOnly 134 for (i = 0, nCases = testCases.length; i < nCases; i++) { in testReorderRunsOnly() 135 src = testCases[i].textIn; in testReorderRunsOnly() 146 testCases[i].textOut[option][level], in testReorderRunsOnly() 149 if ((option == 0) && (testCases[i].noroundtrip[level] > 0)) { in testReorderRunsOnly()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/ |
D | TestStringPrepProfiles.java | 41 private static String[][] testCases = { field in TestStringPrepProfiles 152 for (int i = 0; i < testCases.length; i++) { in TestProfiles() 153 for (int j = 0; j < testCases[i].length; j++) { in TestProfiles() 155 profileName = testCases[i][j]; in TestProfiles() 159 src = testCases[i][j]; in TestProfiles() 160 expected = testCases[i][++j]; in TestProfiles()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | TestStringPrepProfiles.java | 38 private static String[][] testCases = { field in TestStringPrepProfiles 149 for (int i = 0; i < testCases.length; i++) { in TestProfiles() 150 for (int j = 0; j < testCases[i].length; j++) { in TestProfiles() 152 profileName = testCases[i][j]; in TestProfiles() 156 src = testCases[i][j]; in TestProfiles() 157 expected = testCases[i][++j]; in TestProfiles()
|
/third_party/flutter/skia/tests/ |
D | DashPathEffectTest.cpp | 48 } testCases[] = { in DEF_TEST() local 76 for (int j = 0; j < (int)SK_ARRAY_COUNT(testCases); ++j) { in DEF_TEST() 81 src.moveTo(testCases[j].fPts[k]); in DEF_TEST() 82 src.lineTo(testCases[j].fPts[(k+1)%2]); in DEF_TEST() 86 REPORTER_ASSERT(r, actualResult == testCases[j].fExpectedResult); in DEF_TEST()
|
/third_party/flutter/skia/third_party/externals/wuffs/lib/base38/ |
D | base38_test.go | 40 testCases := []struct { 64 for _, tc := range testCases { 86 testCases := []string{ 100 for _, tc := range testCases {
|
/third_party/skia/tests/ |
D | DashPathEffectTest.cpp | 49 } testCases[] = { in DEF_TEST() local 77 for (int j = 0; j < (int)SK_ARRAY_COUNT(testCases); ++j) { in DEF_TEST() 82 src.moveTo(testCases[j].fPts[k]); in DEF_TEST() 83 src.lineTo(testCases[j].fPts[(k+1)%2]); in DEF_TEST() 87 REPORTER_ASSERT(r, actualResult == testCases[j].fExpectedResult); in DEF_TEST()
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/util/ |
D | ICUResourceBundleCollationTest.java | 161 boolean truncate, String[] testCases) { in getFunctionalEquivalentTestCases() argument 167 for(int i = 0; i < testCases.length ;i+=3) { in getFunctionalEquivalentTestCases() 168 boolean expectAvail = T_STR.equals(testCases[i+0]); in getFunctionalEquivalentTestCases() 169 ULocale inLocale = new ULocale(testCases[i+1]); in getFunctionalEquivalentTestCases() 170 ULocale expectLocale = new ULocale(testCases[i+2]); in getFunctionalEquivalentTestCases()
|