/external/clang/test/CodeGen/ |
H A D | builtin-recursive.cpp | 7 void testcase(void) { function
|
/external/google-breakpad/src/processor/ |
H A D | static_address_map_unittest.cc | 54 for (int testcase = 0; testcase < kNumberTestCases; ++testcase) { 55 testdata[testcase] = new int[testsize[testcase]]; 75 for (int testcase = 0; testcase < kNumberTestCases; ++testcase) { 76 for (int data_item = 0; data_item < testsize[testcase]; ++data_item) { 78 sstream << "test " << testdata[testcase][data_ite 93 CompareRetrieveResult(int testcase, int target) argument 115 RetrieveTester(int testcase) argument 157 int testcase = 0; local 176 int testcase = 1; local 195 int testcase = 2; local 214 int testcase = 3; local [all...] |
H A D | static_map_unittest.cc | 142 int testcase = 0; local 145 map_data[testcase] = 146 serializer.Serialize(std_map[testcase], &size[testcase]); 147 test_map[testcase] = TestMap(map_data[testcase]); 148 ++testcase; 151 std_map[testcase].insert(std::make_pair(2, 8)); 152 map_data[testcase] = 153 serializer.Serialize(std_map[testcase], [all...] |
/external/ltp/testcases/kernel/timers/timer_create/ |
H A D | timer_create04.c | 80 int testcase[6] = { variable 88 int TST_TOTAL = ARRAY_SIZE(testcase); 116 TST_TOTAL = sizeof(testcase) / sizeof(testcase[0]); 122 testcase[4] = EINVAL; 123 testcase[5] = EINVAL; 125 testcase[4] = EFAULT; 126 testcase[5] = EFAULT; 163 if (TEST_RETURN == -1 && TEST_ERRNO == testcase[i]) { 169 testcase[ [all...] |
/external/ltp/testcases/kernel/syscalls/sysfs/ |
H A D | sysfs05.c | 88 } testcase[] = { variable in typeref:struct:test_case_t 95 int TST_TOTAL = ARRAY_SIZE(testcase); 114 && (TEST_ERRNO == testcase[i].exp_errno)) { 118 testcase[i].exp_errval, 119 testcase[i].err_desc); 124 testcase[i].exp_errno, 125 testcase[i].exp_errval, TEST_ERRNO);
|
H A D | sysfs06.c | 89 } testcase[] = { variable in typeref:struct:test_case_t 96 int TST_TOTAL = ARRAY_SIZE(testcase); 118 && (TEST_ERRNO == testcase[i].exp_errno)) { 122 testcase[i].exp_errval, 123 testcase[i].err_desc); 128 testcase[i].exp_errno, 129 testcase[i].exp_errval, TEST_ERRNO);
|
/external/ltp/testcases/network/can/filter-tests/ |
H A D | can_filter.c | 69 canid_t calc_id(int testcase) argument 73 if (testcase & 1) 75 if (testcase & 2) 81 canid_t calc_mask(int testcase) argument 85 if (testcase > 15) 88 if (testcase & 4) 90 if (testcase & 8) 104 int testcase; local 142 for (testcase = 0; testcase < T [all...] |
/external/ltp/testcases/kernel/syscalls/remap_file_pages/ |
H A D | remap_file_pages02.c | 118 } testcase[] = { variable in typeref:struct:test_case_t 154 if (testcase[i].setupfunc 155 && testcase[i].setupfunc(i) == -1) { 164 (testcase[i].start, testcase[i].size, 165 testcase[i].prot, testcase[i].pgoff, 166 testcase[i].flags)); 169 if (testcase[i].cleanfunc 170 && testcase[ [all...] |
/external/icu/icu4c/source/test/perf/unisetperf/ |
H A D | unisetperf.cpp | 138 Command(const UnicodeSetPerformanceTest &testcase) : testcase(testcase) {} argument 148 return testcase.countInputCodePoints+testcase.spanCount-1; 152 return testcase.spanCount; 155 const UnicodeSetPerformanceTest &testcase; member in class:Command 160 Contains(const UnicodeSetPerformanceTest &testcase) : Command(testcase) { argument 166 if(testcase 175 get(const UnicodeSetPerformanceTest &testcase) argument 210 SpanUTF16(const UnicodeSetPerformanceTest &testcase) argument 237 get(const UnicodeSetPerformanceTest &testcase) argument 261 SpanBackUTF16(const UnicodeSetPerformanceTest &testcase) argument 288 get(const UnicodeSetPerformanceTest &testcase) argument 316 SpanUTF8(const UnicodeSetPerformanceTest &testcase) argument 338 get(const UnicodeSetPerformanceTest &testcase) argument 362 SpanBackUTF8(const UnicodeSetPerformanceTest &testcase) argument 384 get(const UnicodeSetPerformanceTest &testcase) argument [all...] |
/external/icu/icu4c/source/test/perf/utrie2perf/ |
H A D | utrie2perf.cpp | 99 Command(const UTrie2PerfTest &testcase) : testcase(testcase) {} argument 108 return testcase.countInputCodePoints; 113 const UTrie2PerfTest &testcase; member in class:Command 119 CheckFCD(const UTrie2PerfTest &testcase) : Command(testcase) {} argument 121 static UPerfFunction* get(const UTrie2PerfTest &testcase) { argument 122 return new CheckFCD(testcase); 126 qcResult=unorm_quickCheck(testcase 177 ToNFC(const UTrie2PerfTest &testcase) argument 189 get(const UTrie2PerfTest &testcase) argument 211 GetBiDiClass(const UTrie2PerfTest &testcase) argument 213 get(const UTrie2PerfTest &testcase) argument [all...] |
/external/ltp/testcases/kernel/timers/clock_gettime/ |
H A D | clock_gettime03.c | 80 int testcase[6] = { variable 88 int TST_TOTAL = ARRAY_SIZE(testcase); 111 testcase[4] = EINVAL; 112 testcase[5] = EINVAL; 114 testcase[4] = EFAULT; 115 testcase[5] = EFAULT; 138 if (TEST_RETURN == -1 && TEST_ERRNO == testcase[i]) { 146 testcase[i], strerror(testcase[i]),
|
/external/ltp/testcases/kernel/syscalls/swapoff/ |
H A D | swapoff02.c | 54 } testcase[] = { variable in typeref:struct:test_case_t 74 if (testcase[i].setup) 75 testcase[i].setup(); 77 TEST(ltp_syscall(__NR_swapoff, testcase[i].path)); 79 if (testcase[i].cleanup) 80 testcase[i].cleanup(); 83 && (TEST_ERRNO == testcase[i].exp_errno)) { 87 testcase[i].exp_errval, 88 testcase[i].err_desc); 94 testcase[ [all...] |
/external/ltp/testcases/kernel/timers/timer_delete/ |
H A D | timer_delete03.c | 79 int testcase[] = { variable 84 int TST_TOTAL = ARRAY_SIZE(testcase); 103 if (TEST_RETURN == -1 && TEST_ERRNO == testcase[i]) { 110 testcase[i], strerror(testcase[i]));
|
/external/v8/tools/testrunner/local/ |
H A D | testsuite.py | 35 from ..objects import testcase namespace 50 def FilterVariantsByTest(self, testcase): 52 if testcase.outcomes: 53 if statusfile.OnlyStandardVariant(testcase.outcomes): 55 if statusfile.OnlyFastVariants(testcase.outcomes): 59 def GetFlagSets(self, testcase, variant): 60 if testcase.outcomes and statusfile.OnlyFastVariants(testcase.outcomes): 102 def CommonTestName(self, testcase): 104 return testcase [all...] |
/external/ltp/testcases/kernel/syscalls/reboot/ |
H A D | reboot02.c | 72 *Therefore this testcase may not work under libc4 and libc5 libraries 97 } testcase[] = { variable in typeref:struct:test_case_t 138 && (TEST_ERRNO == testcase[i].exp_errno)) { 142 testcase[i].exp_errval, 143 testcase[i].err_desc); 148 testcase[i].exp_errno, 149 testcase[i].exp_errval, TEST_ERRNO);
|
/external/ltp/testcases/kernel/timers/timer_settime/ |
H A D | timer_settime03.c | 78 int testcase[] = { variable 88 int TST_TOTAL = ARRAY_SIZE(testcase); 113 if (TEST_RETURN == -1 && TEST_ERRNO == testcase[i]) { 119 testcase[i], strerror(testcase[i]));
|
/external/ltp/testcases/kernel/syscalls/futex/ |
H A D | futex_wake01.c | 30 struct testcase { struct 38 static struct testcase testcases[] = { 50 static void verify_futex_wake(struct testcase *tc)
|
H A D | futex_wait01.c | 36 struct testcase { struct 46 static struct testcase testcases[] = { 55 static void verify_futex_wait(struct testcase *tc)
|
/external/icu/icu4c/source/test/perf/utfperf/ |
H A D | utfperf.cpp | 125 Command(const UtfPerformanceTest &testcase) argument 126 : testcase(testcase), 127 input(testcase.getBuffer()), inputLength(testcase.getBufferLen()), 129 cnv=ucnv_open(testcase.charset, &errorCode); 131 fprintf(stderr, "error opening converter for \"%s\" - %s\n", testcase.charset, u_errorName(errorCode)); 146 const UtfPerformanceTest &testcase; member in class:Command 156 Roundtrip(const UtfPerformanceTest &testcase) : Command(testcase) {} argument 158 get(const UtfPerformanceTest &testcase) argument 223 FromUnicode(const UtfPerformanceTest &testcase) argument 225 get(const UtfPerformanceTest &testcase) argument 268 FromUTF8(const UtfPerformanceTest &testcase) argument 275 get(const UtfPerformanceTest &testcase) argument [all...] |
/external/valgrind/none/tests/ |
H A D | tls.c | 46 struct testcase { struct 53 struct testcase *test = (struct testcase *)p; 74 static const struct testcase tests[] = {
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/format/ |
H A D | NumberFormatRegressionTest.java | 324 void checkNBSPPatternRtNum(String testcase, NumberFormat nf, double myNumber) { argument 332 errln("FAIL: " + testcase +" - failed to parse. " + e.toString()); 336 errln("FAIL: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); 338 logln("PASS: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); 342 void checkNBSPPatternRT(String testcase, NumberFormat nf) { argument 343 checkNBSPPatternRtNum(testcase, nf, 12345.); 344 checkNBSPPatternRtNum(testcase, nf, -12345.); 350 String testcase; 353 testcase="ar_AE UNUM_CURRENCY"; 355 checkNBSPPatternRT(testcase, n [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/format/ |
H A D | NumberFormatRegressionTest.java | 323 void checkNBSPPatternRtNum(String testcase, NumberFormat nf, double myNumber) { argument 331 errln("FAIL: " + testcase +" - failed to parse. " + e.toString()); 335 errln("FAIL: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); 337 logln("PASS: "+testcase+": formatted "+myNumber+", parsed into "+aNumber+"\n"); 341 void checkNBSPPatternRT(String testcase, NumberFormat nf) { argument 342 checkNBSPPatternRtNum(testcase, nf, 12345.); 343 checkNBSPPatternRtNum(testcase, nf, -12345.); 349 String testcase; 352 testcase="ar_AE UNUM_CURRENCY"; 354 checkNBSPPatternRT(testcase, n [all...] |
/external/flatbuffers/tests/ |
H A D | go_test.go | 308 type testcase struct { 313 testForOriginalValues := []testcase{ 314 testcase{"Hp", func() bool { return monster.Hp() == 80 }}, 315 testcase{"Mana", func() bool { return monster.Mana() == 150 }}, 316 testcase{"Pos.X'", func() bool { return monster.Pos(nil).X() == float32(1.0) }}, 317 testcase{"Pos.Y'", func() bool { return monster.Pos(nil).Y() == float32(2.0) }}, 318 testcase{"Pos.Z'", func() bool { return monster.Pos(nil).Z() == float32(3.0) }}, 319 testcase{"Pos.Test1'", func() bool { return monster.Pos(nil).Test1() == float64(3.0) }}, 320 testcase{"Pos.Test2'", func() bool { return monster.Pos(nil).Test2() == int8(2) }}, 321 testcase{"Po [all...] |
/external/libexif/test/nls/ |
H A D | test-nls.c | 15 typedef struct _testcase testcase; typedef in typeref:struct:_testcase 18 static testcase testcases[] = {
|
/external/v8/tools/testrunner/objects/ |
H A D | workpacket.py | 30 from . import testcase namespace 87 tests = [ testcase.TestCase.UnpackTask(t) for t in packed["tests"] ]
|