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

123

/external/clang/test/CodeGen/
H A Dbuiltin-recursive.cpp7 void testcase(void) { function
/external/google-breakpad/src/processor/
H A Dstatic_address_map_unittest.cc54 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 Dstatic_map_unittest.cc142 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 Dtimer_create04.c80 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 Dsysfs05.c88 } 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 Dsysfs06.c89 } 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 Dcan_filter.c69 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 Dremap_file_pages02.c118 } 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 Dunisetperf.cpp138 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 Dutrie2perf.cpp99 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 Dclock_gettime03.c80 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 Dswapoff02.c54 } 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 Dtimer_delete03.c79 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 Dtestsuite.py35 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 Dreboot02.c72 *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 Dtimer_settime03.c78 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 Dfutex_wake01.c30 struct testcase { struct
38 static struct testcase testcases[] = {
50 static void verify_futex_wake(struct testcase *tc)
H A Dfutex_wait01.c36 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 Dutfperf.cpp125 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 Dtls.c46 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 DNumberFormatRegressionTest.java324 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 DNumberFormatRegressionTest.java323 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 Dgo_test.go308 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 Dtest-nls.c15 typedef struct _testcase testcase; typedef in typeref:struct:_testcase
18 static testcase testcases[] = {
/external/v8/tools/testrunner/objects/
H A Dworkpacket.py30 from . import testcase namespace
87 tests = [ testcase.TestCase.UnpackTask(t) for t in packed["tests"] ]

Completed in 6482 milliseconds

123