/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/ |
D | ArabicShapingRegTest.java | 46 public static class TestData { class in ArabicShapingRegTest 58 public static TestData standard(String source, int flags, String result) { in standard() 59 return new TestData(STANDARD, source, flags, result, 0, null); in standard() 62 public static TestData preflight(String source, int flags, int length) { in preflight() 63 return new TestData(PREFLIGHT, source, flags, null, length, null); in preflight() 66 public static TestData error(String source, int flags, Class error) { in error() 67 return new TestData(ERROR, source, flags, null, 0, error); in error() 70 … private TestData(int type, String source, int flags, String result, int length, Class error) { in TestData() method in ArabicShapingRegTest.TestData 196 private static final TestData[] standardTests = { 198 TestData.standard(lamAlefSpecialVLTR, [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | TestIDNARef.java | 26 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode() 28 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode() 29 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode() 43 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII() 45 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII() 46 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII() 60 for(int i=0; i<TestData.domainNames.length; i++){ in TestIDNToASCII() 61 … doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.DEFAULT, null); in TestIDNToASCII() 62 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.ALLOW_UNASSIGNED, n… in TestIDNToASCII() 63 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.USE_STD3_RULES, nul… in TestIDNToASCII() [all …]
|
D | TestIDNA.java | 28 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode() 30 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode() 31 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode() 32 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode() 33 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode() 39 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII() 41 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII() 42 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII() 43 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII() 44 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII() [all …]
|
D | TestStringPrep.java | 132 for(int i=0;i< (TestData.conformanceTestCases.length);i++){ in TestCISPrep() 133 TestData.ConformanceTestCase testCase = TestData.conformanceTestCases[i]; in TestCISPrep()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestClassOverride.java | 21 private static final int DEF = TestData.DEF; 22 private static final int L = TestData.L; 23 private static final int R = TestData.R; 24 private static final int AL = TestData.AL; 25 private static final int AN = TestData.AN; 26 private static final int EN = TestData.EN; 27 private static final int LRE = TestData.LRE; 28 private static final int RLE = TestData.RLE; 29 private static final int LRO = TestData.LRO; 30 private static final int RLO = TestData.RLO; [all …]
|
D | TestBidi.java | 45 int bidiTestCount = TestData.testCount(); in doTests() 48 TestData test = TestData.getTestData(testNumber); in doTests() 92 private void doTest(Bidi bidi, int testNumber, TestData test, in doTest() 115 + TestData.dirPropNames[dirProps[lineStart + i]] + " " in doTest()
|
D | TestData.java | 20 public class TestData { class 249 private TestData(short[] dirProps, int lineStart, int lineLimit, in TestData() method in TestData 262 protected static TestData getTestData(int testNumber) { in getTestData() 263 return new TestData(testDirProps[testNumber], in getTestData()
|
/external/compiler-rt/lib/tsan/tests/unit/ |
D | tsan_mutex_test.cc | 23 class TestData { class 25 explicit TestData(MutexType *mtx) in TestData() function in __tsan::TestData 75 TestData<MutexType> *data = (TestData<MutexType>*)param; in write_mutex_thread() 85 TestData<MutexType> *data = (TestData<MutexType>*)param; in read_mutex_thread() 98 TestData<Mutex> data(&mtx); in TEST() 108 TestData<Mutex> data(&mtx); in TEST() 118 TestData<SpinMutex> data(&mtx); in TEST()
|
/external/compiler-rt/lib/sanitizer_common/tests/ |
D | sanitizer_mutex_test.cc | 25 class TestData { class 27 explicit TestData(MutexType *mtx) in TestData() function in __sanitizer::TestData 79 TestData<MutexType> *data = (TestData<MutexType>*)param; in lock_thread() 89 TestData<MutexType> *data = (TestData<MutexType>*)param; in try_thread() 106 TestData<SpinMutex> data(&mtx); in TEST() 117 TestData<SpinMutex> data(&mtx); in TEST() 128 TestData<BlockingMutex> data(mtx); in TEST()
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 651 class TestData { in TestJB1684() class 662 public TestData(int year, int month, int date, in TestJB1684() method in IBMCalendarTest.TestData 685 TestData[] tests = { in TestJB1684() 686 new TestData(2001, 8, 6, 2001,8,2,Calendar.MONDAY, "2001 08 02 Mon", null), in TestJB1684() 687 new TestData(2001, 8, 7, 2001,8,2,Calendar.TUESDAY, "2001 08 02 Tue", null), in TestJB1684() 688 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684() 689 …new TestData(2001, 8,6, /*7, 30,*/ 2001,7,6,Calendar.MONDAY, "2001 07 06 Mon", "2001 08 02 Mon… in TestJB1684() 690 …new TestData(2001, 8,7, /*7, 31,*/ 2001,7,6,Calendar.TUESDAY, "2001 07 06 Tue", "2001 08 02 Tue… in TestJB1684() 691 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684() 692 … new TestData(2001, 7, 30, 2001,8,1,Calendar.MONDAY, "2001 08 01 Mon", "2001 07 05 Mon"), in TestJB1684() [all …]
|
/external/icu/icu4c/source/tools/ctestfw/ |
D | testdata.cpp | 12 TestData::TestData(const char* testName) in TestData() function in TestData 25 TestData::~TestData() { in ~TestData() 37 const char * TestData::getName() const in getName() 45 : TestData(testName), in RBTestData() 54 : TestData(ures_getKey(data)), in RBTestData()
|
D | tstdtmod.cpp | 152 TestData* RBTestDataModule::createTestData(int32_t index, UErrorCode &status) const in createTestData() 154 TestData *result = NULL; in createTestData() 180 TestData* RBTestDataModule::createTestData(const char* name, UErrorCode &status) const in createTestData() 182 TestData *result = NULL; in createTestData()
|
/external/icu/icu4c/source/tools/ctestfw/unicode/ |
D | tstdtmod.h | 28 class TestData; variable 75 virtual TestData* createTestData(int32_t index, UErrorCode &status) const = 0; 82 virtual TestData* createTestData(const char* name, UErrorCode &status) const = 0; 95 virtual TestData* createTestData(int32_t index, UErrorCode &status) const; 96 virtual TestData* createTestData(const char* name, UErrorCode &status) const;
|
D | testdata.h | 38 class T_CTEST_EXPORT_API TestData { 50 TestData(const char* name); 53 virtual ~TestData(); 87 class T_CTEST_EXPORT_API RBTestData : public TestData {
|
/external/icu/icu4c/source/test/intltest/ |
D | dadrcal.h | 26 class TestData; variable 39 void processTest(TestData *testData); 41 void testConvert(TestData *testData, const DataMap *settings, UBool fwd); 42 void testOps(TestData *testData, const DataMap *settings);
|
D | dadrfmt.h | 26 class TestData; variable 39 void processTest(TestData *testData); 41 void testConvertDate(TestData *testData, const DataMap *settings, UBool fmt);
|
D | regiontst.cpp | 394 typedef struct TestData { in TestGetInstanceString() struct 398 } TestData; in TestGetInstanceString() typedef 400 static TestData testData[] = { in TestGetInstanceString() 427 TestData data = testData[i]; in TestGetInstanceString() 449 typedef struct TestData { in TestGetInstanceInt() struct 453 } TestData; in TestGetInstanceInt() typedef 455 static TestData testData[] = { in TestGetInstanceInt() 471 TestData data = testData[i]; in TestGetInstanceInt()
|
D | dadrfmt.cpp | 49 TestData *testData = driver->createTestData(index, status); in runIndexedTest() 93 void DataDrivenFormatTest::testConvertDate(TestData *testData, in testConvertDate() 327 void DataDrivenFormatTest::processTest(TestData *testData) { in processTest()
|
D | dadrcal.cpp | 47 TestData *testData = driver->createTestData(index, status); in runIndexedTest() 71 void DataDrivenCalendarTest::testOps(TestData *testData, in testOps() 364 void DataDrivenCalendarTest::testConvert(TestData *testData, in testConvert() 448 void DataDrivenCalendarTest::processTest(TestData *testData) { in processTest()
|
/external/skia/tests/ |
D | CanvasTest.cpp | 101 struct TestData { struct 103 TestData() in TestData() function 275 virtual void draw(SkCanvas*, const TestData&, skiatest::Reporter*) = 0; 301 virtual void draw(SkCanvas* canvas, const TestData& d, \ 313 virtual void draw(SkCanvas* canvas, const TestData& d, \ 322 static void NAME##TestStep(SkCanvas* canvas, const TestData& d, \ 329 static void NAME##TestStep(SkCanvas* canvas, const TestData& d, \ 358 static void SaveMatrixClipStep(SkCanvas* canvas, const TestData& d, in SaveMatrixClipStep() 373 static void SaveLayerStep(SkCanvas* canvas, const TestData& d, in SaveLayerStep() 383 static void BoundedSaveLayerStep(SkCanvas* canvas, const TestData& d, in BoundedSaveLayerStep() [all …]
|
/external/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/ |
D | ModuleTest.java | 16 import com.ibm.icu.dev.test.TestDataModule.TestData; 36 protected TestData t = null; 61 target = new MethodTarget(((TestData) testData.next()) in getTargets()
|
D | TestDataModule.java | 32 public TestData getTestData(String name) throws DataModuleFormatError; in getTestData() 65 public static interface TestData { interface
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/duration/ |
D | LanguageTestRoot.java | 50 private TestData data; 70 private static TestData getTestData(String locale) { in getTestData() 75 TestData data = (TestData) datacache.get(locale); in getTestData() 104 public LanguageTestRoot(TestData data, String locale) { in LanguageTestRoot() 498 public static abstract class TestData { class in LanguageTestRoot 514 class FileTestData extends LanguageTestRoot.TestData { 667 class DefaultData extends LanguageTestRoot.TestData {
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
D | TestDefaultPackageLoading.jpp | 25 UResourceBundle bundle = UResourceBundle.getBundleInstance("TestData", "en"); 47 …UResourceBundle bundle = UResourceBundle.getBundleInstance("com.ibm.icu.dev.data.TestData", "bge");
|
/external/icu/icu4c/source/test/cintltst/ |
D | utmstest.c | 24 static void TestData(void); 33 addTest(root, &TestData, "tsformat/utmstest/TestData"); in addUtmsTest() 322 static void TestData(void) in TestData() function
|