/external/ltp/testcases/kernel/syscalls/clock_getres/ |
D | clock_getres01.c | 54 } 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/ |
D | signal01.c | 63 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/ |
D | access01.c | 41 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/ |
D | cptable.pl | 22 %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/ |
D | mq_unlink01.c | 152 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/ |
D | madvise02.c | 66 static struct tcase { struct 88 struct tcase *tc = &tcases[i]; in tcases_filter() argument 154 struct tcase *tc = &tcases[i]; in advice_test()
|
D | madvise01.c | 44 static struct tcase { struct 104 struct tcase *tc = &tcases[i]; in verify_madvise()
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
D | clock_nanosleep01.c | 168 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/ |
D | mbind01.c | 106 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/ |
D | nanosleep04.c | 47 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/ |
D | mq_notify01.c | 92 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/ |
D | 1-6.c | 182 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/ |
D | pwritev01.c | 43 static struct tcase { struct 56 struct tcase *tc = &tcases[n]; in verify_pwritev() argument
|
D | pwritev02.c | 65 static struct tcase { struct 83 struct tcase *tc = &tcases[n]; in verify_pwritev() argument
|
/external/ltp/testcases/kernel/syscalls/preadv/ |
D | preadv01.c | 42 static struct tcase { struct 57 struct tcase *tc = &tcases[n]; in verify_preadv() argument
|
D | preadv02.c | 68 static struct tcase { struct 87 struct tcase *tc = &tcases[n]; in verify_preadv() argument
|
/external/icu/icu4c/source/test/intltest/ |
D | calcasts.cpp | 487 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/ |
D | ppoll01.c | 93 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/ |
D | mq_timedreceive01.c | 185 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/ |
D | mq_open01.c | 168 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/ |
D | fcntl07.c | 73 static struct tcase { struct 87 static void verify_cloexec(struct tcase *tc) in verify_cloexec() argument
|
/external/ltp/testcases/kernel/syscalls/mq_timedsend/ |
D | mq_timedsend01.c | 183 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/ |
D | get_mempolicy01.c | 106 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/ |
D | kill11.c | 61 struct tcase { struct 90 static void verify_kill(struct tcase *t) in verify_kill()
|
/external/ltp/testcases/kernel/syscalls/add_key/ |
D | add_key02.c | 35 struct tcase { struct
|