/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/shaping/ |
D | ArabicShapingRegTest.java | 52 public static class TestData { class in ArabicShapingRegTest 64 public static TestData standard(String source, int flags, String result) { in standard() 65 return new TestData(STANDARD, source, flags, result, 0, null); in standard() 68 public static TestData preflight(String source, int flags, int length) { in preflight() 69 return new TestData(PREFLIGHT, source, flags, null, length, null); in preflight() 72 public static TestData error(String source, int flags, Class error) { in error() 73 return new TestData(ERROR, source, flags, null, 0, error); in error() 76 … private TestData(int type, String source, int flags, String result, int length, Class error) { in TestData() method in ArabicShapingRegTest.TestData 202 private static final TestData[] standardTests = { 204 TestData.standard(lamAlefSpecialVLTR, [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/shaping/ |
D | ArabicShapingRegTest.java | 51 public static class TestData { class in ArabicShapingRegTest 63 public static TestData standard(String source, int flags, String result) { in standard() 64 return new TestData(STANDARD, source, flags, result, 0, null); in standard() 67 public static TestData preflight(String source, int flags, int length) { in preflight() 68 return new TestData(PREFLIGHT, source, flags, null, length, null); in preflight() 71 public static TestData error(String source, int flags, Class error) { in error() 72 return new TestData(ERROR, source, flags, null, 0, error); in error() 75 … private TestData(int type, String source, int flags, String result, int length, Class error) { in TestData() method in ArabicShapingRegTest.TestData 201 private static final TestData[] standardTests = { 203 TestData.standard(lamAlefSpecialVLTR, [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/stringprep/ |
D | TestIDNARef.java | 30 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode() 32 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode() 33 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode() 48 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII() 50 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII() 51 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII() 66 for(int i=0; i<TestData.domainNames.length; i++){ in TestIDNToASCII() 67 … doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.DEFAULT, null); in TestIDNToASCII() 68 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.ALLOW_UNASSIGNED, n… in TestIDNToASCII() 69 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.USE_STD3_RULES, nul… in TestIDNToASCII() [all …]
|
D | TestIDNA.java | 33 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode() 35 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode() 36 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode() 37 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode() 38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode() 45 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII() 47 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII() 48 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII() 49 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII() 50 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/ |
D | TestIDNARef.java | 29 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode() 31 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode() 32 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode() 47 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII() 49 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII() 50 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII() 65 for(int i=0; i<TestData.domainNames.length; i++){ in TestIDNToASCII() 66 … doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.DEFAULT, null); in TestIDNToASCII() 67 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.ALLOW_UNASSIGNED, n… in TestIDNToASCII() 68 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.USE_STD3_RULES, nul… in TestIDNToASCII() [all …]
|
D | TestIDNA.java | 32 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode() 34 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode() 35 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode() 36 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode() 37 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode() 44 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII() 46 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII() 47 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII() 48 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII() 49 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII() [all …]
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/bidi/ |
D | TestClassOverride.java | 26 private static final int DEF = TestData.DEF; 27 private static final int L = TestData.L; 28 private static final int R = TestData.R; 29 private static final int AL = TestData.AL; 30 private static final int AN = TestData.AN; 31 private static final int EN = TestData.EN; 32 private static final int LRE = TestData.LRE; 33 private static final int RLE = TestData.RLE; 34 private static final int LRO = TestData.LRO; 35 private static final int RLO = TestData.RLO; [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/ |
D | TestClassOverride.java | 25 private static final int DEF = TestData.DEF; 26 private static final int L = TestData.L; 27 private static final int R = TestData.R; 28 private static final int AL = TestData.AL; 29 private static final int AN = TestData.AN; 30 private static final int EN = TestData.EN; 31 private static final int LRE = TestData.LRE; 32 private static final int RLE = TestData.RLE; 33 private static final int LRO = TestData.LRO; 34 private static final int RLO = TestData.RLO; [all …]
|
/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/framework/src/com/ibm/icu/dev/test/ |
D | ModuleTest.java | 18 import com.ibm.icu.dev.test.TestDataModule.TestData; 52 static TestData openTestData(TestDataModule module, String name) throws DataModuleFormatError { in openTestData() 57 public TestData td; 60 public TestDataPair(TestData td, DataMap dm) { in TestDataPair() 70 Iterator<TestData> tIter = m.getTestDataIterator(); in getTestData() 72 TestData t = tIter.next(); in getTestData()
|
D | TestDataModule.java | 34 public TestData getTestData(String name) throws DataModuleFormatError; in getTestData() 67 public static interface TestData { interface
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/ |
D | ModuleTest.java | 19 import android.icu.dev.test.TestDataModule.TestData; 53 static TestData openTestData(TestDataModule module, String name) throws DataModuleFormatError { in openTestData() 58 public TestData td; 61 public TestDataPair(TestData td, DataMap dm) { in TestDataPair() 71 Iterator<TestData> tIter = m.getTestDataIterator(); in getTestData() 73 TestData t = tIter.next(); in getTestData()
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 668 class TestData { in TestJB1684() class 679 public TestData(int year, int month, int date, in TestJB1684() method in IBMCalendarTest.TestData 702 TestData[] tests = { in TestJB1684() 703 new TestData(2001, 8, 6, 2001,8,2,Calendar.MONDAY, "2001 08 02 Mon", null), in TestJB1684() 704 new TestData(2001, 8, 7, 2001,8,2,Calendar.TUESDAY, "2001 08 02 Tue", null), in TestJB1684() 705 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684() 706 …new TestData(2001, 8,6, /*7, 30,*/ 2001,7,6,Calendar.MONDAY, "2001 07 06 Mon", "2001 08 02 Mon… in TestJB1684() 707 …new TestData(2001, 8,7, /*7, 31,*/ 2001,7,6,Calendar.TUESDAY, "2001 07 06 Tue", "2001 08 02 Tue… in TestJB1684() 708 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684() 709 … new TestData(2001, 7, 30, 2001,8,1,Calendar.MONDAY, "2001 08 01 Mon", "2001 07 05 Mon"), in TestJB1684() [all …]
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
D | IBMCalendarTest.java | 667 class TestData { in TestJB1684() class 678 public TestData(int year, int month, int date, in TestJB1684() method in IBMCalendarTest.TestData 701 TestData[] tests = { in TestJB1684() 702 new TestData(2001, 8, 6, 2001,8,2,Calendar.MONDAY, "2001 08 02 Mon", null), in TestJB1684() 703 new TestData(2001, 8, 7, 2001,8,2,Calendar.TUESDAY, "2001 08 02 Tue", null), in TestJB1684() 704 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684() 705 …new TestData(2001, 8,6, /*7, 30,*/ 2001,7,6,Calendar.MONDAY, "2001 07 06 Mon", "2001 08 02 Mon… in TestJB1684() 706 …new TestData(2001, 8,7, /*7, 31,*/ 2001,7,6,Calendar.TUESDAY, "2001 07 06 Tue", "2001 08 02 Tue… in TestJB1684() 707 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684() 708 … new TestData(2001, 7, 30, 2001,8,1,Calendar.MONDAY, "2001 08 01 Mon", "2001 07 05 Mon"), in TestJB1684() [all …]
|
/external/libmojo/mojo/message_pump/ |
D | handle_watcher_perftest.cc | 112 struct TestData { in TEST_P() struct 116 ScopedVector<TestData> data_vector; in TEST_P() 120 std::unique_ptr<TestData> test_data(new TestData); in TEST_P() 129 TestData* test_data = data_vector[i]; in TEST_P() 135 TestData* test_data = data_vector[i]; in TEST_P() 173 struct TestData { in TEST_P() struct 177 ScopedVector<TestData> data_vector; in TEST_P() 179 std::unique_ptr<TestData> test_data(new TestData); in TEST_P()
|
/external/icu/icu4c/source/tools/ctestfw/ |
D | testdata.cpp | 14 TestData::TestData(const char* testName) in TestData() function in TestData 27 TestData::~TestData() { in ~TestData() 39 const char * TestData::getName() const in getName() 47 : TestData(testName), in RBTestData() 56 : TestData(ures_getKey(data)), in RBTestData()
|
D | tstdtmod.cpp | 154 TestData* RBTestDataModule::createTestData(int32_t index, UErrorCode &status) const in createTestData() 156 TestData *result = NULL; in createTestData() 182 TestData* RBTestDataModule::createTestData(const char* name, UErrorCode &status) const in createTestData() 184 TestData *result = NULL; in createTestData()
|
/external/drm_hwcomposer/tests/ |
D | queue_worker_test.cpp | 13 struct TestData { struct 14 TestData(int val) : value(val) { in TestData() function 16 virtual ~TestData() { in ~TestData() argument 26 struct TestQueueWorker : public QueueWorker<TestData> { argument 35 void ProcessWork(std::unique_ptr<TestData> data) { in ProcessWork() 63 std::unique_ptr<TestData> data(new TestData(val)); in QueueValue() 146 struct SlowData : public TestData { in TEST_F() 147 SlowData(int val) : TestData(val) { in TEST_F()
|
/external/icu/icu4c/source/tools/ctestfw/unicode/ |
D | tstdtmod.h | 30 class TestData; variable 77 virtual TestData* createTestData(int32_t index, UErrorCode &status) const = 0; 84 virtual TestData* createTestData(const char* name, UErrorCode &status) const = 0; 97 virtual TestData* createTestData(int32_t index, UErrorCode &status) const; 98 virtual TestData* createTestData(const char* name, UErrorCode &status) const;
|
D | testdata.h | 40 class T_CTEST_EXPORT_API TestData { 52 TestData(const char* name); 55 virtual ~TestData(); 89 class T_CTEST_EXPORT_API RBTestData : public TestData {
|
/external/libmojo/mojo/android/javatests/src/org/chromium/mojo/bindings/ |
D | ValidationTest.java | 43 private static class TestData { class in ValidationTest 78 private static List<TestData> getTestData(String prefix) in getTestData() 80 List<TestData> results = new ArrayList<TestData>(); in getTestData() 93 TestData testData = new TestData(); in getTestData() 108 List<TestData> testData = getTestData(prefix); in runTest() 109 for (TestData test : testData) { in runTest()
|
/external/icu/icu4c/source/test/intltest/ |
D | dadrcal.h | 28 class TestData; variable 41 void processTest(TestData *testData); 43 void testConvert(TestData *testData, const DataMap *settings, UBool fwd); 44 void testOps(TestData *testData, const DataMap *settings);
|
D | dadrfmt.h | 28 class TestData; variable 41 void processTest(TestData *testData); 43 void testConvertDate(TestData *testData, const DataMap *settings, UBool fmt);
|
/external/skia/tests/ |
D | CanvasTest.cpp | 205 struct TestData { struct 207 TestData() in TestData() function 306 virtual void draw(SkCanvas*, const TestData&, skiatest::Reporter*) = 0; 332 virtual void draw(SkCanvas* canvas, const TestData& d, \ 344 virtual void draw(SkCanvas* canvas, const TestData& d, \ 353 static void NAME##TestStep(SkCanvas* canvas, const TestData& d, \ 360 static void NAME##TestStep(SkCanvas* canvas, const TestData& d, \ 386 static void SaveMatrixClipStep(SkCanvas* canvas, const TestData& d, in SaveMatrixClipStep() 401 static void SaveLayerStep(SkCanvas* canvas, const TestData& d, in SaveLayerStep() 411 static void BoundedSaveLayerStep(SkCanvas* canvas, const TestData& d, in BoundedSaveLayerStep() [all …]
|