Home
last modified time | relevance | path

Searched refs:tcase (Results 1 – 25 of 32) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/clock_getres/
Dclock_getres01.c54 } tcase[] = { variable
73 int TST_TOTAL = ARRAY_SIZE(tcase);
90 if (tcase[i].ttype == NULL_POINTER) in main()
91 TEST(clock_getres(tcase[i].clk_id, NULL)); in main()
93 TEST(clock_getres(tcase[i].clk_id, &res)); in main()
95 if (TEST_RETURN != tcase[i].ret) { in main()
99 tcase[i].name); in main()
103 tcase[i].name); in main()
106 if (TEST_ERRNO != tcase[i].err) { in main()
110 tcase[i].name, TEST_ERRNO); in main()
[all …]
/external/ltp/testcases/kernel/syscalls/signal/
Dsignal01.c63 static struct tcase { struct
78 static int tcase; argument
87 maybe_run_child(&do_child, "d", &tcase); in main()
112 tcase = tc; in do_test()
164 void (*sighandler)(int) = tcases[tcase].sighandler; in do_child()
168 if (tcases[tcase].kill) in do_child()
/external/ltp/testcases/kernel/syscalls/access/
Daccess01.c41 static struct tcase { struct
96 static void verify_success(struct tcase *tc, const char *user) in verify_success()
108 static void verify_failure(struct tcase *tc, const char *user) in verify_failure()
128 static void access_test(struct tcase *tc, const char *user) in access_test()
140 struct tcase *tc = tcases + n; in verify_access()
/external/syslinux/codepage/
Dcptable.pl22 %tcase = ();
33 $tcase{$n} = ($f[14] ne '') ? hex $f[14] : $n;
161 } elsif ($tcase{$p0} != $p0) {
162 $p1 = $tcase{$p0};
/external/ltp/testcases/kernel/syscalls/mq_unlink/
Dmq_unlink01.c152 static struct test_case tcase[] = { variable
283 i < (int)ARRAY_SIZE(tcase); i++) { in main()
284 ret = do_test(&tcase[i]); in main()
/external/ltp/testcases/kernel/syscalls/madvise/
Dmadvise02.c66 static struct tcase { struct
88 struct tcase *tc = &tcases[i]; in tcases_filter() argument
154 struct tcase *tc = &tcases[i]; in advice_test()
Dmadvise01.c44 static struct tcase { struct
104 struct tcase *tc = &tcases[i]; in verify_madvise()
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/
Dclock_nanosleep01.c168 static struct test_case tcase[] = { variable
376 for (i = 0; i < (int)(sizeof(tcase) / sizeof(tcase[0])); in main()
380 ret = do_test(&tcase[i]); in main()
/external/ltp/testcases/kernel/syscalls/mbind/
Dmbind01.c106 static struct test_case tcase[] = { variable
188 testno = (int)(sizeof(tcase) / sizeof(tcase[0])); in main()
194 ret = do_test(&tcase[i]); in main()
/external/ltp/testcases/kernel/syscalls/nanosleep/
Dnanosleep04.c47 static void verify_nanosleep(struct timespec *tcase) in verify_nanosleep() argument
49 TEST(nanosleep(tcase, NULL)); in verify_nanosleep()
/external/ltp/testcases/kernel/syscalls/mq_notify/
Dmq_notify01.c92 static struct test_case tcase[] = { variable
335 for (i = 0; i < (int)(sizeof(tcase) / sizeof(tcase[0])); in main()
339 ret = do_test(&tcase[i]); in main()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_create/
D1-6.c182 struct tcase { struct
193 struct tcase tcases[] = { argument
202 static int get_prio(struct tcase *self) in get_prio()
/external/ltp/testcases/kernel/syscalls/pwritev/
Dpwritev01.c43 static struct tcase { struct
56 struct tcase *tc = &tcases[n]; in verify_pwritev() argument
Dpwritev02.c65 static struct tcase { struct
83 struct tcase *tc = &tcases[n]; in verify_pwritev() argument
/external/ltp/testcases/kernel/syscalls/preadv/
Dpreadv01.c42 static struct tcase { struct
57 struct tcase *tc = &tcases[n]; in verify_preadv() argument
Dpreadv02.c68 static struct tcase { struct
87 struct tcase *tc = &tcases[n]; in verify_preadv() argument
/external/icu/icu4c/source/test/intltest/
Dcalcasts.cpp487 TestCase *tcase = tests; in Ethiopic() local
488 for (i = 0; tcase[i].era >= 0; i++) { in Ethiopic()
489 if (tcase[i].era == 1) { in Ethiopic()
490 tcase[i].era = 0; // Change to Amete Alem era in Ethiopic()
491 tcase[i].year += 5500; // Amete Mihret 1 = Amete Alem 5501 in Ethiopic()
/external/ltp/testcases/kernel/syscalls/ppoll/
Dppoll01.c93 static struct test_case tcase[] = { variable
231 struct test_case *tc = &tcase[i]; in do_test()
283 .tcnt = ARRAY_SIZE(tcase),
/external/ltp/testcases/kernel/syscalls/mq_timedreceive/
Dmq_timedreceive01.c185 static struct test_case tcase[] = { variable
452 for (i = 0; i < (int)ARRAY_SIZE(tcase); i++) { in main()
455 ret = do_test(&tcase[i]); in main()
/external/ltp/testcases/kernel/syscalls/mq_open/
Dmq_open01.c168 static struct test_case tcase[] = { variable
410 for (i = 0; i < (int)ARRAY_SIZE(tcase); i++) { in main()
413 ret = do_test(&tcase[i]); in main()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl07.c73 static struct tcase { struct
87 static void verify_cloexec(struct tcase *tc) in verify_cloexec() argument
/external/ltp/testcases/kernel/syscalls/mq_timedsend/
Dmq_timedsend01.c183 static struct test_case tcase[] = { variable
455 for (i = 0; i < (int)ARRAY_SIZE(tcase); i++) { in main()
458 ret = do_test(&tcase[i]); in main()
/external/ltp/testcases/kernel/syscalls/get_mempolicy/
Dget_mempolicy01.c106 static struct test_case tcase[] = { variable
204 testno = (int)ARRAY_SIZE(tcase); in main()
210 ret = do_test(&tcase[i]); in main()
/external/ltp/testcases/kernel/syscalls/kill/
Dkill11.c61 struct tcase { struct
90 static void verify_kill(struct tcase *t) in verify_kill()
/external/ltp/testcases/kernel/syscalls/add_key/
Dadd_key02.c35 struct tcase { struct

12