/external/ltp/testcases/kernel/syscalls/clock_getres/ |
D | clock_getres01.c | 43 } tcase[] = { variable 60 TEST(clock_getres(tcase[i].clk_id, tcase[i].res)); in do_test() 62 if (TEST_RETURN != tcase[i].ret) { in do_test() 64 tst_res(TCONF, "clock_getres(%s, ...) NO SUPPORTED", tcase[i].name); in do_test() 68 tst_res(TFAIL | TTERRNO, "clock_getres(%s, ...) failed", tcase[i].name); in do_test() 72 if (TEST_ERRNO != tcase[i].err) { in do_test() 75 tcase[i].name, tst_strerrno(TEST_ERRNO), tst_strerrno(tcase[i].err)); in do_test() 79 tst_res(TPASS, "clock_getres(%s, ...) succeeded", tcase[i].name); in do_test() 84 .tcnt = ARRAY_SIZE(tcase),
|
/external/ltp/testcases/kernel/syscalls/writev/ |
D | writev01.c | 128 struct testcase_t *tcase = &testcases[i]; in test_writev() local 131 TEST(writev(*(tcase->pfd), *(tcase->piovec), tcase->iovcnt)); in test_writev() 133 ret = (TEST_RETURN == tcase->exp_ret); in test_writev() 134 if (TEST_RETURN < 0 || tcase->exp_ret < 0) { in test_writev() 135 ret &= (TEST_ERRNO == tcase->exp_errno); in test_writev() 137 "%s, expected: %d (%s), got: %ld (%s)", tcase->desc, in test_writev() 138 tcase->exp_ret, tst_strerrno(tcase->exp_errno), in test_writev() 142 "%s, expected: %d, got: %ld", tcase->desc, in test_writev() 143 tcase->exp_ret, TEST_RETURN); in test_writev()
|
/external/ltp/testcases/kernel/syscalls/mkdir/ |
D | mkdir03.c | 48 struct tcase; 49 static void prot_none_pathname(struct tcase *tc); 51 static struct tcase { struct 54 void (*setupfunc)(struct tcase *tc); argument 67 struct tcase *tc = TC + n; in verify_mkdir() 85 static void prot_none_pathname(struct tcase *tc) in prot_none_pathname()
|
/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/linux-kselftest/tools/testing/selftests/tc-testing/ |
D | tdc_helper.py | 58 def print_test_case(tcase): argument 60 for k in tcase.keys(): 61 if (isinstance(tcase[k], list)): 63 print_list(tcase[k]) 65 print(k + ": " + tcase[k])
|
/external/ltp/testcases/kernel/syscalls/mbind/ |
D | mbind01.c | 58 static struct test_case tcase[] = { variable 134 struct test_case *tc = &tcase[i]; in test_default() 142 struct test_case *tc = &tcase[i]; in test_none() 149 struct test_case *tc = &tcase[i]; in test_invalid_nodemask() 177 struct test_case *tc = &tcase[i]; in do_test() 234 .tcnt = ARRAY_SIZE(tcase),
|
/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/lgetxattr/ |
D | lgetxattr02.c | 53 } tcase[] = { variable 61 struct test_case *tc = tcase + n; in verify_lgetxattr() 101 .tcnt = ARRAY_SIZE(tcase),
|
/external/ltp/testcases/kernel/syscalls/access/ |
D | access03.c | 37 static struct tcase { struct 48 static void access_test(struct tcase *tc, const char *user) in access_test() argument 71 struct tcase *tc = &tcases[n]; in verify_access()
|
D | access04.c | 58 static struct tcase { struct 71 static void access_test(struct tcase *tc, const char *user) in access_test() argument 92 struct tcase *tc = tcases + n; in verify_access()
|
D | access02.c | 55 static struct tcase { struct 71 static void access_test(struct tcase *tc, const char *user) in access_test() argument 163 struct tcase *tc = &tcases[n]; in verify_access()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgget/ |
D | msgget02.c | 44 static struct tcase { struct 59 static void verify_msgget(struct tcase *tc) in verify_msgget() argument 79 struct tcase *tc = &tcases[n]; in do_test()
|
/external/ltp/testcases/kernel/syscalls/ipc/msgsnd/ |
D | msgsnd05.c | 44 static struct tcase { struct 54 static void verify_msgsnd(struct tcase *tc) in verify_msgsnd() argument 81 struct tcase *tc = &tcases[n]; in do_test()
|
D | msgsnd02.c | 58 static struct tcase { struct 74 static void verify_msgsnd(struct tcase *tc) in verify_msgsnd() argument 93 struct tcase *tc = &tcases[n]; in do_test()
|
/external/ltp/testcases/kernel/syscalls/mq_unlink/ |
D | mq_unlink01.c | 42 static struct test_case tcase[] = { variable 86 struct test_case *tc = &tcase[i]; in do_test() 127 .tcnt = ARRAY_SIZE(tcase),
|
/external/ltp/testcases/kernel/syscalls/setpriority/ |
D | setpriority02.c | 48 static struct tcase { struct 67 static void setpriority_test(struct tcase *tc) in setpriority_test() argument 99 struct tcase *tc = &tcases[n]; in verify_setpriority()
|
D | setpriority01.c | 36 static struct tcase { struct 59 static void setpriority_test(struct tcase *tc) in setpriority_test() argument 93 struct tcase *tc = &tcases[n]; in verify_setpriority()
|
/external/ltp/testcases/kernel/syscalls/clock_nanosleep/ |
D | clock_nanosleep01.c | 57 static struct test_case tcase[] = { variable 99 struct test_case *tc = &tcase[i]; in do_test() 148 .tcnt = ARRAY_SIZE(tcase),
|
/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()
|
/external/ltp/testcases/kernel/syscalls/getpriority/ |
D | getpriority01.c | 32 static struct tcase { struct 44 struct tcase *tc = &tcases[n]; in verify_getpriority() argument
|
D | getpriority02.c | 36 static struct tcase { struct 52 struct tcase *tc = &tcases[n]; in verify_getpriority() argument
|
/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_timedreceive/ |
D | mq_timedreceive01.c | 33 static struct test_case tcase[] = { variable 136 const struct test_case *tc = &tcase[i]; in do_test() 200 .tcnt = ARRAY_SIZE(tcase),
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
D | setrlimit03.c | 40 static struct tcase { struct 50 struct tcase *tc = &tcases[n]; in verify_setrlimit() argument
|
D | setrlimit02.c | 30 static struct tcase { struct 41 struct tcase *tc = &tcases[n]; in verify_setrlimit() argument
|