Home
last modified time | relevance | path

Searched refs:TestData (Results 1 – 25 of 102) sorted by relevance

12345

/third_party/skia/third_party/externals/tint/src/writer/spirv/
Dbuilder_format_conversion_test.cc23 struct TestData { struct
28 inline std::ostream& operator<<(std::ostream& out, TestData data) { in operator <<()
32 using ImageFormatConversionTest = TestParamHelper<TestData>;
54 TestData{ast::ImageFormat::kR8Unorm, SpvImageFormatR8, true},
55 TestData{ast::ImageFormat::kR8Snorm, SpvImageFormatR8Snorm, true},
56 TestData{ast::ImageFormat::kR8Uint, SpvImageFormatR8ui, true},
57 TestData{ast::ImageFormat::kR8Sint, SpvImageFormatR8i, true},
58 TestData{ast::ImageFormat::kR16Uint, SpvImageFormatR16ui, true},
59 TestData{ast::ImageFormat::kR16Sint, SpvImageFormatR16i, true},
60 TestData{ast::ImageFormat::kR16Float, SpvImageFormatR16f, true},
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/impl/
DUnitsTest.java245 class TestData {
250 TestData(String source, String target, UnitsConverter.Convertibility convertibility) {
257 TestData[] tests = {
258 new TestData("meter", "foot", UnitsConverter.Convertibility.CONVERTIBLE),
259 new TestData("kilometer", "foot", UnitsConverter.Convertibility.CONVERTIBLE),
260 new TestData("hectare", "square-foot", UnitsConverter.Convertibility.CONVERTIBLE),
261 …new TestData("kilometer-per-second", "second-per-meter", UnitsConverter.Convertibility.RECIPROCAL),
262 … new TestData("square-meter", "square-foot", UnitsConverter.Convertibility.CONVERTIBLE),
263 …new TestData("kilometer-per-second", "foot-per-second", UnitsConverter.Convertibility.CONVERTIBLE),
264 … new TestData("square-hectare", "pow4-foot", UnitsConverter.Convertibility.CONVERTIBLE),
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/stringprep/
DTestIDNARef.java32 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
34 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode()
35 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode()
50 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
52 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII()
53 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII()
68 for(int i=0; i<TestData.domainNames.length; i++){ in TestIDNToASCII()
69 … doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.DEFAULT, null); in TestIDNToASCII()
70 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.ALLOW_UNASSIGNED, n… in TestIDNToASCII()
71 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.USE_STD3_RULES, nul… in TestIDNToASCII()
[all …]
DTestIDNA.java35 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
37 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode()
38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode()
39 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode()
40 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode()
47 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
49 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII()
50 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII()
51 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII()
52 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/stringprep/
DTestIDNARef.java35 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
37 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.DEFAULT, null); in TestToUnicode()
38 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNAReference.ALLOW_UNASSIGN… in TestToUnicode()
53 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
55 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.DEFAULT, null); in TestToASCII()
56 …doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNAReference.ALLOW_UNASSIGNED… in TestToASCII()
71 for(int i=0; i<TestData.domainNames.length; i++){ in TestIDNToASCII()
72 … doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.DEFAULT, null); in TestIDNToASCII()
73 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.ALLOW_UNASSIGNED, n… in TestIDNToASCII()
74 …doTestIDNToASCII(TestData.domainNames[i],TestData.domainNames[i],IDNAReference.USE_STD3_RULES, nul… in TestIDNToASCII()
[all …]
DTestIDNA.java38 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToUnicode()
40 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.DEFAULT, null); in TestToUnicode()
41 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.ALLOW_UNASSIGNED, null); in TestToUnicode()
42 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToUnicode()
43 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToUnicode()
50 for(int i=0; i<TestData.asciiIn.length; i++){ in TestToASCII()
52 doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.DEFAULT, null); in TestToASCII()
53 … doTestToASCII(new String(TestData.unicodeIn[i]),TestData.asciiIn[i],IDNA.ALLOW_UNASSIGNED, null); in TestToASCII()
54 … doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES, null); in TestToASCII()
55 …doTestToUnicode(TestData.asciiIn[i],new String(TestData.unicodeIn[i]),IDNA.USE_STD3_RULES|IDNA.ALL… in TestToASCII()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/bidi/
DTestClassOverride.java25 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 …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/bidi/
DTestClassOverride.java28 private static final int DEF = TestData.DEF;
29 private static final int L = TestData.L;
30 private static final int R = TestData.R;
31 private static final int AL = TestData.AL;
32 private static final int AN = TestData.AN;
33 private static final int EN = TestData.EN;
34 private static final int LRE = TestData.LRE;
35 private static final int RLE = TestData.RLE;
36 private static final int LRO = TestData.LRO;
37 private static final int RLO = TestData.RLO;
[all …]
/third_party/icu/tools/cldr/cldr-to-icu/src/test/java/org/unicode/icu/tool/cldrtoicu/localedistance/
DLocaleDistanceMapperTest.java7 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.DEPRECATED;
8 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.LEGACY;
9 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.MACRO;
10 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasType.LANGUAGE;
11 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasType.TERRITORY;
12 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.alias;
13 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.cldrData;
14 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.deprecatedTerritory;
15 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.languageMatch;
16 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.likelySubtag;
[all …]
DLikelySubtagsBuilderTest.java7 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.DEPRECATED;
8 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.LEGACY;
9 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasReason.OVERLONG;
10 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasType.LANGUAGE;
11 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.AliasType.TERRITORY;
12 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.alias;
13 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.likelySubtag;
14 import static org.unicode.icu.tool.cldrtoicu.localedistance.TestData.lsr;
104 return TestData.getTrieTable(new BytesTrie(subtags.trie, 0), "*", i -> subtags.lsrs[i]); in getTrieTable()
DPartitionInfoTest.java18 TestData.territoryGroup("001", "019", "150"), in testPartitionInfo()
20 TestData.territoryGroup("019", "003", "029"), in testPartitionInfo()
21 TestData.territoryGroup("003", "CA", "US"), in testPartitionInfo()
22 TestData.territoryGroup("029", "PR", "VI"), in testPartitionInfo()
24 TestData.territoryGroup("150", "DE", "FR", "GB")); in testPartitionInfo()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/
DModuleTest.java19 import ohos.global.icu.dev.test.TestDataModule.TestData;
55 static TestData openTestData(TestDataModule module, String name) throws DataModuleFormatError { in openTestData()
60 public TestData td;
63 public TestDataPair(TestData td, DataMap dm) { in TestDataPair()
73 Iterator<TestData> tIter = m.getTestDataIterator(); in getTestData()
75 TestData t = tIter.next(); in getTestData()
/third_party/icu/icu4j/main/tests/framework/src/com/ibm/icu/dev/test/
DModuleTest.java18 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()
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DIBMCalendarTest.java671 class TestData { in TestJB1684() class
682 public TestData(int year, int month, int date, in TestJB1684() method in IBMCalendarTest.TestData
705 TestData[] tests = { in TestJB1684()
706 new TestData(2001, 8, 6, 2001,8,2,Calendar.MONDAY, "2001 08 02 Mon", null), in TestJB1684()
707 new TestData(2001, 8, 7, 2001,8,2,Calendar.TUESDAY, "2001 08 02 Tue", null), in TestJB1684()
708 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684()
709 …new TestData(2001, 8,6, /*7, 30,*/ 2001,7,6,Calendar.MONDAY, "2001 07 06 Mon", "2001 08 02 Mon… in TestJB1684()
710 …new TestData(2001, 8,7, /*7, 31,*/ 2001,7,6,Calendar.TUESDAY, "2001 07 06 Tue", "2001 08 02 Tue… in TestJB1684()
711 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684()
712 … new TestData(2001, 7, 30, 2001,8,1,Calendar.MONDAY, "2001 08 01 Mon", "2001 07 05 Mon"), in TestJB1684()
[all …]
/third_party/icu/icu4c/source/tools/ctestfw/
Dtestdata.cpp14 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()
/third_party/flutter/skia/third_party/externals/icu/source/tools/ctestfw/
Dtestdata.cpp14 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()
/third_party/skia/third_party/externals/tint/test/bug/tint/
D993.wgsl.expected.spvasm16 OpName %TestData "TestData"
17 OpMemberName %TestData 0 "data"
31 OpDecorate %TestData Block
32 OpMemberDecorate %TestData 0 Offset 0
46 %TestData = OpTypeStruct %_arr_int_uint_3
47 %_ptr_StorageBuffer_TestData = OpTypePointer StorageBuffer %TestData
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/
Dtestdata.cpp14 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()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DIBMCalendarTest.java671 class TestData { in TestJB1684() class
682 public TestData(int year, int month, int date, in TestJB1684() method in IBMCalendarTest.TestData
705 TestData[] tests = { in TestJB1684()
706 new TestData(2001, 8, 6, 2001,8,2,Calendar.MONDAY, "2001 08 02 Mon", null), in TestJB1684()
707 new TestData(2001, 8, 7, 2001,8,2,Calendar.TUESDAY, "2001 08 02 Tue", null), in TestJB1684()
708 new TestData(2001, 8, 5,/*12,*/ 2001,8,2,Calendar.SUNDAY, "2001 08 02 Sun", null), in TestJB1684()
709 …new TestData(2001, 8,6, /*7, 30,*/ 2001,7,6,Calendar.MONDAY, "2001 07 06 Mon", "2001 08 02 Mon… in TestJB1684()
710 …new TestData(2001, 8,7, /*7, 31,*/ 2001,7,6,Calendar.TUESDAY, "2001 07 06 Tue", "2001 08 02 Tue… in TestJB1684()
711 … new TestData(2001, 8, 5, 2001,7,6,Calendar.SUNDAY, "2001 07 06 Sun", "2001 08 02 Sun"), in TestJB1684()
712 … new TestData(2001, 7, 30, 2001,8,1,Calendar.MONDAY, "2001 08 01 Mon", "2001 07 05 Mon"), in TestJB1684()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/tools/ctestfw/unicode/
Dtstdtmod.h30 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;
/third_party/skia/third_party/externals/icu/source/tools/ctestfw/unicode/
Dtstdtmod.h30 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;
Dtestdata.h40 class T_CTEST_EXPORT_API TestData {
52 TestData(const char* name);
55 virtual ~TestData();
89 class T_CTEST_EXPORT_API RBTestData : public TestData {
/third_party/icu/icu4c/source/tools/ctestfw/unicode/
Dtstdtmod.h30 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;
/third_party/icu/icu4c/source/test/intltest/
Ddadrcal.h28 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);
/third_party/gstreamer/gstreamer/tests/check/libs/
Dcollectpads.c295 } TestData; typedef
311 static TestData *data1, *data2;
356 TestData *test_data = (TestData *) user_data; in push_buffer()
378 TestData *test_data = (TestData *) user_data; in push_event()
441 data1 = (TestData *) gst_collect_pads_add_pad (collect, in GST_START_TEST()
442 sinkpad1, sizeof (TestData), NULL, TRUE); in GST_START_TEST()
456 data1 = (TestData *) gst_collect_pads_add_pad (collect, in GST_START_TEST()
457 sinkpad1, sizeof (TestData), NULL, TRUE); in GST_START_TEST()
460 data2 = (TestData *) gst_collect_pads_add_pad (collect, in GST_START_TEST()
461 sinkpad2, sizeof (TestData), NULL, TRUE); in GST_START_TEST()
[all …]

12345