Home
last modified time | relevance | path

Searched refs:testcase (Results 1 – 25 of 170) sorted by relevance

1234567

/third_party/ffmpeg/tools/
Dtarget_dec_fate.list1 496/clusterfuzz-testcase-5805083497332736 tar…
2 498/clusterfuzz-testcase-6157986632302592 tar…
3 500/clusterfuzz-testcase-6315221727576064 tar…
4 501/clusterfuzz-testcase-5672752870588416 tar…
5 503/clusterfuzz-testcase-6386429735206912 tar…
6 508/clusterfuzz-testcase-6245747678773248 tar…
7 510/clusterfuzz-testcase-5737865715646464 tar…
8 540/clusterfuzz-testcase-5674546153652224 tar…
9 544/clusterfuzz-testcase-5936536407244800.f8bd9b24_8ba77916_70c2c7be_3df6a2ea_96cd9f14 tar…
10 546/clusterfuzz-testcase-4809433909559296 tar…
[all …]
/third_party/mesa3d/src/freedreno/fdl/
Dfd_layout_test.c33 fdl_test_layout(const struct testcase *testcase, int gpu_id) in fdl_test_layout() argument
36 .ubwc = testcase->layout.ubwc, in fdl_test_layout()
37 .tile_mode = testcase->layout.tile_mode, in fdl_test_layout()
38 .tile_all = testcase->layout.tile_all, in fdl_test_layout()
42 int max_size = MAX2(testcase->layout.width0, testcase->layout.height0); in fdl_test_layout()
44 while (max_size > 1 && testcase->layout.slices[mip_levels].pitch) { in fdl_test_layout()
50 fdl6_layout(&layout, testcase->format, in fdl_test_layout()
51 MAX2(testcase->layout.nr_samples, 1), testcase->layout.width0, in fdl_test_layout()
52 MAX2(testcase->layout.height0, 1), in fdl_test_layout()
53 MAX2(testcase->layout.depth0, 1), mip_levels, in fdl_test_layout()
[all …]
Dfd_layout_test.h24 struct testcase { struct
49 bool fdl_test_layout(const struct testcase *testcase, int gpu_id); argument
/third_party/icu/icu4c/source/test/perf/unisetperf/
Dunisetperf.cpp138 Command(const UnicodeSetPerformanceTest &testcase) : testcase(testcase) {} in Command() argument
148 return testcase.countInputCodePoints+testcase.spanCount-1; in getOperationsPerIteration()
152 return testcase.spanCount; in getEventsPerIteration()
155 const UnicodeSetPerformanceTest &testcase; member in Command
160 Contains(const UnicodeSetPerformanceTest &testcase) : Command(testcase) { in Contains() argument
166 if(testcase.set.contains(c)) { in Contains()
170 if(set!=testcase.set) { in Contains()
175 static UPerfFunction* get(const UnicodeSetPerformanceTest &testcase) { in get() argument
176 return new Contains(testcase); in get()
179 const UnicodeSet &set=testcase.set; in call()
[all …]
/third_party/icu/icu4c/source/test/perf/utrie2perf/
Dutrie2perf.cpp99 Command(const UTrie2PerfTest &testcase) : testcase(testcase) {} in Command() argument
108 return testcase.countInputCodePoints; in getOperationsPerIteration()
113 const UTrie2PerfTest &testcase; member in Command
119 CheckFCD(const UTrie2PerfTest &testcase) : Command(testcase) {} in CheckFCD() argument
121 static UPerfFunction* get(const UTrie2PerfTest &testcase) { in get() argument
122 return new CheckFCD(testcase); in get()
126 qcResult=unorm_quickCheck(testcase.getBuffer(), testcase.getBufferLen(), in call()
139 CheckFCDAlwaysGet(const UTrie2PerfTest &testcase) : Command(testcase) {}
141 static UPerfFunction* get(const UTrie2PerfTest &testcase) {
142 return new CheckFCDAlwaysGet(testcase);
[all …]
/third_party/spirv-tools/test/tools/
Dplaceholder.py37 def instantiate_for_spirv_args(self, testcase): argument
48 def instantiate_for_expectation(self, testcase): argument
73 def instantiate_for_spirv_args(self, testcase): argument
80 dir=testcase.directory, suffix=self.suffix)
86 def instantiate_for_expectation(self, testcase): argument
101 def instantiate_for_spirv_args(self, testcase): argument
108 dir=testcase.directory, suffix=self.suffix)
114 def instantiate_for_expectation(self, testcase): argument
132 def instantiate_for_spirv_args(self, testcase): argument
139 dir=testcase.directory, suffix=self.suffix)
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/tools/
Dplaceholder.py37 def instantiate_for_spirv_args(self, testcase): argument
48 def instantiate_for_expectation(self, testcase): argument
73 def instantiate_for_spirv_args(self, testcase): argument
80 dir=testcase.directory, suffix=self.suffix)
86 def instantiate_for_expectation(self, testcase): argument
101 def instantiate_for_spirv_args(self, testcase): argument
108 dir=testcase.directory, suffix=self.suffix)
114 def instantiate_for_expectation(self, testcase): argument
132 def instantiate_for_spirv_args(self, testcase): argument
139 dir=testcase.directory, suffix=self.suffix)
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
Dplaceholder.py37 def instantiate_for_spirv_args(self, testcase): argument
48 def instantiate_for_expectation(self, testcase): argument
73 def instantiate_for_spirv_args(self, testcase): argument
80 dir=testcase.directory, suffix=self.suffix)
86 def instantiate_for_expectation(self, testcase): argument
101 def instantiate_for_spirv_args(self, testcase): argument
108 dir=testcase.directory, suffix=self.suffix)
114 def instantiate_for_expectation(self, testcase): argument
132 def instantiate_for_spirv_args(self, testcase): argument
139 dir=testcase.directory, suffix=self.suffix)
[all …]
/third_party/ltp/testcases/network/can/filter-tests/
Dcan_filter.c23 static canid_t calc_id(int testcase) in calc_id() argument
27 if (testcase & 1) in calc_id()
29 if (testcase & 2) in calc_id()
35 static canid_t calc_mask(int testcase) in calc_mask() argument
39 if (testcase > 15) in calc_mask()
42 if (testcase & 4) in calc_mask()
44 if (testcase & 8) in calc_mask()
86 int testcase = n; in run() local
91 rfilter.can_id = calc_id(testcase); in run()
92 rfilter.can_mask = calc_mask(testcase); in run()
[all …]
/third_party/icu/icu4c/source/test/perf/utfperf/
Dutfperf.cpp125 Command(const UtfPerformanceTest &testcase) in Command() argument
126 : testcase(testcase), in Command()
127 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()), in Command()
129 cnv=ucnv_open(testcase.charset, &errorCode); in Command()
131 …fprintf(stderr, "error opening converter for \"%s\" - %s\n", testcase.charset, u_errorName(errorCo… in Command()
146 const UtfPerformanceTest &testcase; member in Command
156 Roundtrip(const UtfPerformanceTest &testcase) : Command(testcase) {} in Roundtrip() argument
158 static UPerfFunction* get(const UtfPerformanceTest &testcase) { in get() argument
159 Roundtrip * t = new Roundtrip(testcase); in get()
183 pInterLimit=intermediate+testcase.chunkLength; in call()
[all …]
/third_party/flatbuffers/tests/
Dgo_test.go351 type testcase struct {
356 testForOriginalValues := []testcase{
357 testcase{"Hp", func() bool { return monster.Hp() == 80 }},
358 testcase{"Mana", func() bool { return monster.Mana() == 150 }},
359 testcase{"Testbool", func() bool { return monster.Testbool() == true }},
360 testcase{"Pos.X'", func() bool { return monster.Pos(nil).X() == float32(1.0) }},
361 testcase{"Pos.Y'", func() bool { return monster.Pos(nil).Y() == float32(2.0) }},
362 testcase{"Pos.Z'", func() bool { return monster.Pos(nil).Z() == float32(3.0) }},
363 testcase{"Pos.Test1'", func() bool { return monster.Pos(nil).Test1() == float64(3.0) }},
364 testcase{"Pos.Test2'", func() bool { return monster.Pos(nil).Test2() == example.ColorGreen }},
[all …]
/third_party/python/Lib/test/support/
Dwarnings_helper.py8 def check_syntax_warning(testcase, statement, errtext='', argument
15 testcase.assertEqual(len(warns), 1, warns)
18 testcase.assertTrue(issubclass(warn.category, SyntaxWarning),
21 testcase.assertRegex(str(warn.message), errtext)
22 testcase.assertEqual(warn.filename, '<testcase>')
23 testcase.assertIsNotNone(warn.lineno)
25 testcase.assertEqual(warn.lineno, lineno)
32 check_syntax_error(testcase, statement, errtext,
35 testcase.assertEqual(warns, [])
102 def check_no_warnings(testcase, message='', category=Warning, force_gc=False): argument
[all …]
/third_party/mesa3d/src/amd/common/
Dac_surface_test_common.h156 struct testcase { struct
165 static struct testcase testcases[] = { argument
186 static struct radeon_info get_radeon_info(struct testcase *testcase) in get_radeon_info() argument
193 testcase->init(&info); in get_radeon_info()
202 S_0098F8_NUM_PIPES(testcase->pipes) | in get_radeon_info()
203 S_0098F8_NUM_BANKS(testcase->banks_or_pkrs) | in get_radeon_info()
204 S_0098F8_NUM_SHADER_ENGINES_GFX9(testcase->se) | in get_radeon_info()
205 S_0098F8_NUM_RB_PER_SE(testcase->rb_per_se); in get_radeon_info()
213 S_0098F8_NUM_PIPES(testcase->pipes) | in get_radeon_info()
214 S_0098F8_NUM_PKRS(testcase->banks_or_pkrs); in get_radeon_info()
[all …]
/third_party/json/test/
DCMakeLists.txt59 string(REGEX REPLACE "unit-([^$]+)" "test-\\1" testcase ${file_basename})
61 add_executable(${testcase} $<TARGET_OBJECTS:doctest_main> ${file})
62 target_compile_definitions(${testcase} PRIVATE DOCTEST_CONFIG_SUPER_FAST_ASSERTS)
63 target_compile_options(${testcase} PRIVATE
68 …target_include_directories(${testcase} PRIVATE ${CMAKE_BINARY_DIR}/include thirdparty/doctest thir…
69 target_link_libraries(${testcase} PRIVATE ${NLOHMANN_JSON_TARGET_NAME})
72 add_test(NAME "${testcase}"
73 COMMAND ${testcase} ${DOCTEST_TEST_FILTER}
77 add_test(NAME "${testcase}"
78 COMMAND ${testcase} ${DOCTEST_TEST_FILTER} --no-skip
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
DNumberFormatRegressionTest.java330 void checkNBSPPatternRtNum(String testcase, NumberFormat nf, double myNumber) { in checkNBSPPatternRtNum() argument
338 errln("FAIL: " + testcase +" - failed to parse. " + e.toString()); in checkNBSPPatternRtNum()
342 errln("FAIL: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum()
344 logln("PASS: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum()
348 void checkNBSPPatternRT(String testcase, NumberFormat nf) { in checkNBSPPatternRT() argument
349 checkNBSPPatternRtNum(testcase, nf, 12345.); in checkNBSPPatternRT()
350 checkNBSPPatternRtNum(testcase, nf, -12345.); in checkNBSPPatternRT()
356 String testcase; in TestNBSPInPattern() local
359 testcase="ar_AE UNUM_CURRENCY"; in TestNBSPInPattern()
361 checkNBSPPatternRT(testcase, nf); in TestNBSPInPattern()
[all …]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
DNumberFormatRegressionTest.java327 void checkNBSPPatternRtNum(String testcase, NumberFormat nf, double myNumber) { in checkNBSPPatternRtNum() argument
335 errln("FAIL: " + testcase +" - failed to parse. " + e.toString()); in checkNBSPPatternRtNum()
339 errln("FAIL: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum()
341 logln("PASS: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); in checkNBSPPatternRtNum()
345 void checkNBSPPatternRT(String testcase, NumberFormat nf) { in checkNBSPPatternRT() argument
346 checkNBSPPatternRtNum(testcase, nf, 12345.); in checkNBSPPatternRT()
347 checkNBSPPatternRtNum(testcase, nf, -12345.); in checkNBSPPatternRT()
353 String testcase; in TestNBSPInPattern() local
356 testcase="ar_AE UNUM_CURRENCY"; in TestNBSPInPattern()
358 checkNBSPPatternRT(testcase, nf); in TestNBSPInPattern()
[all …]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
DAstroTest.java366 double testcase[][] = {{2012, 5, 20 , 16 , 48, 59}, in TestMoonAge() local
380 for(int i=0; i<testcase.length; i++){ in TestMoonAge()
382 …String testString = "CASE["+i+"]: Year "+(int)testcase[i][0]+" Month "+(int)testcase[i][1]+" Day "+ in TestMoonAge()
383 … (int)testcase[i][2]+" Hour "+(int)testcase[i][3]+" Minutes "+(int)testcase[i][4]+ in TestMoonAge()
384 " Seconds "+(int)testcase[i][5]; in TestMoonAge()
385 …gc.set((int)testcase[i][0],(int)testcase[i][1]-1,(int)testcase[i][2],(int)testcase[i][3],(int)test… in TestMoonAge()
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
DAstroTest.java363 double testcase[][] = {{2012, 5, 20 , 16 , 48, 59}, in TestMoonAge() local
377 for(int i=0; i<testcase.length; i++){ in TestMoonAge()
379 …String testString = "CASE["+i+"]: Year "+(int)testcase[i][0]+" Month "+(int)testcase[i][1]+" Day "+ in TestMoonAge()
380 … (int)testcase[i][2]+" Hour "+(int)testcase[i][3]+" Minutes "+(int)testcase[i][4]+ in TestMoonAge()
381 " Seconds "+(int)testcase[i][5]; in TestMoonAge()
382 …gc.set((int)testcase[i][0],(int)testcase[i][1]-1,(int)testcase[i][2],(int)testcase[i][3],(int)test… in TestMoonAge()
/third_party/typescript/tests/baselines/reference/
Dparser15.4.4.14-9-2.js13 function testcase() { function
26 runTestCase(testcase);
39 function testcase() {
52 runTestCase(testcase);
Dparser15.4.4.14-9-2.symbols13 function testcase() {
14 >testcase : Symbol(testcase, Decl(parser15.4.4.14-9-2.ts, 0, 0))
57 runTestCase(testcase);
58 >testcase : Symbol(testcase, Decl(parser15.4.4.14-9-2.ts, 0, 0))
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
DTestConversion.java114 DataMap testcase = (DataMap) iter.next(); in conversionTest() local
117 TestToUnicode(testcase, testToUnicode); in conversionTest()
121 TestFromUnicode(testcase, testFromUnicode); in conversionTest()
124 TestGetUnicodeSet(testcase); in conversionTest()
136 private void TestFromUnicode(DataMap testcase, int caseNr) { in TestFromUnicode() argument
143 cc.charset = ((ICUResourceBundle) testcase.getObject("charset")).getString(); in TestFromUnicode()
144 cc.unicode = ((ICUResourceBundle) testcase.getObject("unicode")).getString(); in TestFromUnicode()
145 cc.bytes = ((ICUResourceBundle) testcase.getObject("bytes")).getBinary(); in TestFromUnicode()
146 cc.offsets = ((ICUResourceBundle) testcase.getObject("offsets")).getIntVector(); in TestFromUnicode()
147 cc.finalFlush = ((ICUResourceBundle) testcase.getObject("flush")).getUInt() != 0; in TestFromUnicode()
[all …]
/third_party/icu/icu4c/source/test/intltest/
Dastrotst.cpp443 static const double testcase[][10] = {{2012, 5, 20 , 16 , 48, 59}, in TestMoonAge() local
458 for (int32_t i = 0; i < UPRV_LENGTHOF(testcase); i++) { in TestMoonAge()
460 …logln((UnicodeString)"CASE["+i+"]: Year "+(int32_t)testcase[i][0]+" Month "+(int32_t)testcase[i][1… in TestMoonAge()
461 … (int32_t)testcase[i][2]+" Hour "+(int32_t)testcase[i][3]+" Minutes "+(int32_t)testcase[i][4]+ in TestMoonAge()
462 " Seconds "+(int32_t)testcase[i][5]); in TestMoonAge()
463 …(int32_t)testcase[i][0], (int32_t)testcase[i][1]-1, (int32_t)testcase[i][2], (int32_t)testcase[i][… in TestMoonAge()
/third_party/openssl/test/recipes/
D30-test_evp_fetch_prov.t105 foreach my $testcase (@testdata) {
107 foreach my $test (@{$testcase->{tests}}) {
109 @{ $test->{providers} // $testcase->{providers} };
122 "-config", "$testcase->{config}",
/third_party/icu/icu4c/source/test/iotest/
Dstream.cpp309 char testcase[10]; in TestStreamEOF() local
310 testString(UStr, u_austrcpy(testcase, testCase1), expectedResultA, IOSTREAM_EOF|IOSTREAM_FAIL); in TestStreamEOF()
311 testString(UStr, u_austrcpy(testcase, testCase2), expectedResultB, IOSTREAM_EOF); in TestStreamEOF()
313 testString(UStr, u_austrcpy(testcase, testCase3), expectedResultC, IOSTREAM_EOF|IOSTREAM_FAIL); in TestStreamEOF()
314 testString(UStr, u_austrcpy(testcase, testCase4), expectedResultD, IOSTREAM_EOF); in TestStreamEOF()
315 testString(UStr, u_austrcpy(testcase, testCase5), expectedResultD, IOSTREAM_GOOD); in TestStreamEOF()
316 testString(UStr, u_austrcpy(testcase, testCase6), expectedResultD, IOSTREAM_GOOD); in TestStreamEOF()
/third_party/googletest/googletest/src/hwext/
Dgtest-multithread.cpp59 …MultiThreadTest::runTask(unsigned thread_num, PF func, std::string testsuite, std::string testcase) in runTask() argument
68 appendTaskToList(i, func, testsuite, testcase); in runTask()
83 …eadTest::appendTaskToList(unsigned thread_id, PF func, std::string testsuite, std::string testcase) in appendTaskToList() argument
85 TestTask task(testsuite, testcase, func); in appendTaskToList()

1234567