Home
last modified time | relevance | path

Searched refs:testcase (Results 1 - 25 of 91) sorted by relevance

1234

/third_party/mesa3d/src/freedreno/fdl/
H A 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 in fdl_test_layout()
[all...]
H A Dfd_layout_test.h24 struct testcase { struct
49 bool fdl_test_layout(const struct testcase *testcase, int gpu_id);
/third_party/icu/icu4c/source/test/perf/unisetperf/
H A 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 in Contains()
175 get(const UnicodeSetPerformanceTest &testcase) get() argument
210 SpanUTF16(const UnicodeSetPerformanceTest &testcase) SpanUTF16() argument
237 get(const UnicodeSetPerformanceTest &testcase) get() argument
261 SpanBackUTF16(const UnicodeSetPerformanceTest &testcase) SpanBackUTF16() argument
288 get(const UnicodeSetPerformanceTest &testcase) get() argument
316 SpanUTF8(const UnicodeSetPerformanceTest &testcase) SpanUTF8() argument
338 get(const UnicodeSetPerformanceTest &testcase) get() argument
362 SpanBackUTF8(const UnicodeSetPerformanceTest &testcase) SpanBackUTF8() argument
384 get(const UnicodeSetPerformanceTest &testcase) get() argument
[all...]
/third_party/icu/icu4c/source/test/perf/utrie2perf/
H A 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 in call()
177 ToNFC(const UTrie2PerfTest &testcase) ToNFC() argument
189 get(const UTrie2PerfTest &testcase) get() argument
211 GetBiDiClass(const UTrie2PerfTest &testcase) GetBiDiClass() argument
213 get(const UTrie2PerfTest &testcase) get() argument
[all...]
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dplaceholder.py37 def instantiate_for_spirv_args(self, testcase):
48 def instantiate_for_expectation(self, testcase):
73 def instantiate_for_spirv_args(self, testcase):
80 dir=testcase.directory, suffix=self.suffix)
86 def instantiate_for_expectation(self, testcase):
101 def instantiate_for_spirv_args(self, testcase):
108 dir=testcase.directory, suffix=self.suffix)
114 def instantiate_for_expectation(self, testcase):
132 def instantiate_for_spirv_args(self, testcase):
139 dir=testcase
[all...]
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
H A Dplaceholder.py37 def instantiate_for_spirv_args(self, testcase):
48 def instantiate_for_expectation(self, testcase):
73 def instantiate_for_spirv_args(self, testcase):
80 dir=testcase.directory, suffix=self.suffix)
86 def instantiate_for_expectation(self, testcase):
101 def instantiate_for_spirv_args(self, testcase):
108 dir=testcase.directory, suffix=self.suffix)
114 def instantiate_for_expectation(self, testcase):
132 def instantiate_for_spirv_args(self, testcase):
139 dir=testcase
[all...]
/third_party/spirv-tools/test/tools/
H A Dplaceholder.py37 def instantiate_for_spirv_args(self, testcase):
48 def instantiate_for_expectation(self, testcase):
73 def instantiate_for_spirv_args(self, testcase):
80 dir=testcase.directory, suffix=self.suffix)
86 def instantiate_for_expectation(self, testcase):
101 def instantiate_for_spirv_args(self, testcase):
108 dir=testcase.directory, suffix=self.suffix)
114 def instantiate_for_expectation(self, testcase):
132 def instantiate_for_spirv_args(self, testcase):
139 dir=testcase
[all...]
/third_party/ltp/testcases/network/can/filter-tests/
H A 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/
H A 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(errorCode)); in Command()
146 const UtfPerformanceTest &testcase; member in Command
156 Roundtrip(const UtfPerformanceTest &testcase) : Command(testcase) {} in Roundtrip() argument
158 get(const UtfPerformanceTest &testcase) get() argument
223 FromUnicode(const UtfPerformanceTest &testcase) FromUnicode() argument
225 get(const UtfPerformanceTest &testcase) get() argument
268 FromUTF8(const UtfPerformanceTest &testcase) FromUTF8() argument
275 get(const UtfPerformanceTest &testcase) get() argument
[all...]
/third_party/python/Lib/test/support/
H A Dwarnings_helper.py16 def check_syntax_warning(testcase, statement, errtext='',
22 compile(statement, '<testcase>', 'exec')
23 testcase.assertEqual(len(warns), 1, warns)
26 testcase.assertTrue(issubclass(warn.category, SyntaxWarning),
29 testcase.assertRegex(str(warn.message), errtext)
30 testcase.assertEqual(warn.filename, '<testcase>')
31 testcase.assertIsNotNone(warn.lineno)
33 testcase.assertEqual(warn.lineno, lineno)
40 check_syntax_error(testcase, statemen
[all...]
/third_party/mesa3d/src/amd/common/
H A Dac_surface_test_common.h156 struct testcase { struct
165 static struct testcase testcases[] = {
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 in get_radeon_info()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/
H A 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()
356 testcase="ar_AE UNUM_CURRENCY"; in TestNBSPInPattern()
358 checkNBSPPatternRT(testcase, n in TestNBSPInPattern()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/format/
H A 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()
359 testcase="ar_AE UNUM_CURRENCY"; in TestNBSPInPattern()
361 checkNBSPPatternRT(testcase, n in TestNBSPInPattern()
[all...]
/third_party/typescript/tests/baselines/reference/
H A Dparser15.4.4.14-9-2.js13 function testcase() { function
26 runTestCase(testcase);
39 function testcase() {
52 runTestCase(testcase);
H A DduplicateLocalVariable1.js28 var testcase = <TestCase>this.tests[test]
31 testResult = testcase.test();
36 if (typeof testcase.errorMessageRegEx === "string") {
37 if (testcase.errorMessageRegEx === "") { // Any error is fine
40 var regex = new RegExp(testcase.errorMessageRegEx);
48 if ((testcase.errorMessageRegEx !== undefined) && !exception) {
376 var testcase = this.tests[test];
379 testResult = testcase.test();
384 if (typeof testcase.errorMessageRegEx === "string") {
385 if (testcase
[all...]
/third_party/icu/icu4c/source/test/intltest/
H A 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]+" Day "+ 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 gc->set((int32_t)testcase[i][0], (int32_t)testcase[ in TestMoonAge()
[all...]
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/
H A DAstroTest.java366 double testcase[][] = {{2012, 5, 20 , 16 , 48, 59}, in TestMoonAge()
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[ in TestMoonAge()
[all...]
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/
H A DAstroTest.java363 double testcase[][] = {{2012, 5, 20 , 16 , 48, 59}, in TestMoonAge()
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[ in TestMoonAge()
[all...]
/third_party/icu/icu4j/main/tests/charset/src/com/ibm/icu/dev/test/charset/
H A DTestConversion.java53 int caseNr; // testcase index
114 DataMap testcase = (DataMap) iter.next(); in conversionTest()
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 in TestFromUnicode()
447 TestToUnicode(DataMap testcase, int caseNr) TestToUnicode() argument
877 TestGetUnicodeSet(DataMap testcase) TestGetUnicodeSet() argument
[all...]
/third_party/curl/tests/server/
H A Dtftpd.c104 struct testcase { struct
236 static void read_ahead(struct testcase *test, int convert);
238 static ssize_t write_behind(struct testcase *test, int convert);
242 static int do_tftp(struct testcase *test, struct tftphdr *tp, ssize_t size);
244 static int validate_access(struct testcase *test, const char *fname, int mode);
246 static void sendtftp(struct testcase *test, const struct formats *pf);
248 static void recvtftp(struct testcase *test, const struct formats *pf);
341 static int readit(struct testcase *test, struct tftphdr **dpp, in readit()
361 static void read_ahead(struct testcase *test, in read_ahead()
421 static int writeit(struct testcase *tes
[all...]
/third_party/skia/third_party/externals/abseil-cpp/absl/strings/
H A Dcharconv_benchmark.cc156 std::string testcase = MakeHardCase(state.range(0)); in BM_Strtod_Big_And_Difficult() local
157 const char* begin = testcase.c_str(); in BM_Strtod_Big_And_Difficult()
166 std::string testcase = MakeHardCase(state.range(0)); in BM_Absl_Big_And_Difficult() local
167 const char* begin = testcase.c_str(); in BM_Absl_Big_And_Difficult()
168 const char* end = begin + testcase.size(); in BM_Absl_Big_And_Difficult()
/third_party/icu/icu4c/source/test/iotest/
H A 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/include/gtest/hwext/
H A Dgtest-multithread.h55 uint runTask(unsigned thread_num, PF func, std::string testsuite, std::string testcase);
56 void appendTaskToList(unsigned thread_id, PF func, std::string testsuite, std::string testcase);
83 inline void addPostTest(unsigned thread_id, PF func, std::string testsuite = "NA", std::string testcase = "NA") in addPostTest()
86 testInstance.appendTaskToList(thread_id, func, testsuite, testcase); in addPostTest()
/third_party/googletest/googletest/src/hwext/
H A Dgtest-multithread.cpp59 unsigned 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 void MultiThreadTest::appendTaskToList(unsigned thread_id, PF func, std::string testsuite, std::string testcase) in appendTaskToList() argument
85 TestTask task(testsuite, testcase, func); in appendTaskToList()
/third_party/ltp/testcases/kernel/syscalls/futex/
H A Dfutex_wake01.c12 struct testcase { struct
20 static struct testcase testcases[] = {
43 struct testcase *tc = &testcases[n]; in run()

Completed in 14 milliseconds

1234