/art/test/161-final-abstract-class/src/ |
Main.java | 33 Class<?> tc = Class.forName("TestClass"); local 34 Method test = tc.getDeclaredMethod("test");
|
/external/ltp/testcases/kernel/syscalls/getcwd/ |
getcwd01.c | 57 struct t_case *tc = &tcases[n]; local 61 res = getcwd(tc->buf, tc->size); 68 if (TEST_ERRNO != tc->exp_err) { 70 tst_strerrno(tc->exp_err));
|
getcwd02.c | 81 struct t_case *tc = &tcases[n]; local 85 res = getcwd(tc->buf, tc->size); 101 if (!tc->buf)
|
/external/ltp/testcases/kernel/syscalls/getpriority/ |
getpriority01.c | 44 struct tcase *tc = &tcases[n]; local 46 TEST(getpriority(tc->which, 0)); 50 tc->which); 54 if (TEST_RETURN < tc->min || TEST_RETURN > tc->max) { 57 tc->which, TEST_RETURN, tc->min, tc->max); 62 tc->which, TEST_RETURN);
|
getpriority02.c | 52 struct tcase *tc = &tcases[n]; local 54 TEST(getpriority(tc->which, tc->who)); 58 "returned %li", tc->which, tc->who, TEST_RETURN); 62 if (tc->exp_errno != TEST_ERRNO) { 65 tc->which, tc->who, tst_strerrno(tc->exp_errno)); 70 tc->which, tc->who) [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_texture.c | 53 /* Compute sc = +/-scale and tc = +/-scale. 59 * would be to clamp (sc, tc) against +/- 1.0-1.0/mipsize, in the shader. 65 const float tc = (2 * in_st[1] - 1) * scale; local 70 ry = -tc; 75 ry = -tc; 81 rz = tc; 86 rz = -tc; 90 ry = -tc; 95 ry = -tc;
|
/external/ltp/testcases/kernel/device-drivers/uaccess/ |
ltp_uaccess.c | 64 int tc = 0; local 67 sscanf(buf, "%d %lu", &tc, &ptr); 71 switch (tc) { 117 prk_err(": Can't create sysfs file 'tc'");
|
/external/ltp/testcases/kernel/syscalls/access/ |
access03.c | 48 static void access_test(struct tcase *tc, const char *user) 50 TEST(access(tc->addr, tc->mode)); 54 tc->addr, tc->name, user); 61 tc->addr, tc->name, user); 66 tc->addr, tc->name, user); 71 struct tcase *tc = &tcases[n] local [all...] |
/external/ltp/testcases/kernel/syscalls/epoll_ctl/ |
epoll_ctl02.c | 102 struct testcase *tc = &tcases[n]; local 104 TEST(epoll_ctl(*tc->epfds, tc->opt, *tc->fds, tc->ts_event)); 110 if (tc->exp_err == TEST_ERRNO) { 115 tc->exp_err, tst_strerrno(tc->exp_err));
|
/external/ltp/testcases/kernel/syscalls/fchown/ |
fchown05.c | 47 } tc[] = { variable in typeref:struct:test_case_t 56 int TST_TOTAL = ARRAY_SIZE(tc); 76 for (i = 0; tc[i].desc != NULL; i++) { 77 user_id = tc[i].user_id; 78 group_id = tc[i].group_id; 84 "fchown() Fails to %s", tc[i].desc); 91 user_id = tc[i - 1].user_id; 94 group_id = tc[i - 1].group_id; 104 tc[i].desc, TESTFILE);
|
/external/ltp/testcases/kernel/syscalls/fcntl/ |
fcntl32.c | 60 int tc; local 69 for (tc = 0; tc < TST_TOTAL; tc++) 70 verify_fcntl(tc);
|
/external/ltp/testcases/kernel/syscalls/flistxattr/ |
flistxattr02.c | 53 } tc[] = { variable in typeref:struct:test_case 60 struct test_case *t = tc + n; 98 .tcnt = ARRAY_SIZE(tc),
|
/external/ltp/testcases/kernel/syscalls/kcmp/ |
kcmp03.c | 87 struct tcase *tc = &tcases[n]; local 91 res = ltp_clone(tc->clone_type | SIGCHLD, do_child, &tc->kcmp_type,
|
/external/ltp/testcases/kernel/syscalls/lgetxattr/ |
lgetxattr02.c | 61 struct test_case *tc = tcase + n; local 62 char buf[tc->size]; 64 TEST(lgetxattr(tc->path, SECURITY_KEY, buf, sizeof(buf))); 70 if (TEST_ERRNO != tc->exp_err) { 72 "expected %s", tst_strerrno(tc->exp_err));
|
/external/ltp/testcases/kernel/syscalls/listxattr/ |
listxattr02.c | 59 } tc[] = { variable in typeref:struct:test_case 68 struct test_case *t = tc + n; 102 .tcnt = ARRAY_SIZE(tc),
|
/external/ltp/testcases/kernel/syscalls/llistxattr/ |
llistxattr02.c | 58 } tc[] = { variable in typeref:struct:test_case 67 struct test_case *t = tc + n; 103 .tcnt = ARRAY_SIZE(tc),
|
/external/ltp/testcases/kernel/syscalls/memfd_create/ |
memfd_create02.c | 78 const struct tcase *tc; local 81 tc = &tcases[n]; 82 needed_flags = tc->flags & FLAGS_ALL_MASK; 86 tc->descr); 90 TEST(sys_memfd_create(tc->memfd_name, tc->flags)); 91 if (TEST_ERRNO != tc->memfd_create_exp_err) 92 tst_brk(TFAIL, "test '%s'", tc->descr); 94 tst_res(TPASS, "test '%s'", tc->descr);
|
/external/ltp/testcases/kernel/syscalls/mq_timedreceive/ |
mq_timedreceive01.c | 136 const struct test_case *tc = &tcase[i]; local 143 if (tc->signal) 144 pid = set_sig(tc->rq); 146 if (tc->timeout) 147 set_timeout(tc->rq); 149 if (tc->send) 150 send_msg(*tc->fd, tc->len, tc->prio); 152 if (tc->invalid_msg [all...] |
/external/ltp/testcases/kernel/syscalls/mq_timedsend/ |
mq_timedsend01.c | 141 const struct test_case *tc = &tcase[i]; local 148 if (tc->signal) 149 pid = set_sig(tc->rq); 151 if (tc->timeout) 152 set_timeout(tc->rq); 154 if (tc->send) { 156 send_msg(*tc->fd, tc->len, tc->prio); 159 TEST(mq_timedsend(*tc->fd, smsg, tc->len, tc->prio, tc->rq)) [all...] |
/external/ltp/testcases/kernel/syscalls/mq_unlink/ |
mq_unlink01.c | 86 struct test_case *tc = &tcase[i]; local 89 tst_res(TINFO, "queue name %s", tc->qname); 100 if (tc->as_nobody && seteuid(pw->pw_uid)) { 106 TEST(mq_unlink(tc->qname)); 107 if (TEST_ERRNO != tc->err || TEST_RETURN != tc->ret) { 110 tc->ret, tst_strerrno(tc->err), tc->err); 117 if (tc->as_nobody && seteuid(euid) == -1 [all...] |
/external/ltp/testcases/kernel/syscalls/open/ |
open02.c | 62 struct tcase *tc = &tcases[n]; local 64 TEST(open(tc->filename, tc->flag, 0444)); 68 tc->filename); 72 if (tc->exp_errno != TEST_ERRNO) { 75 tst_strerrno(tc->exp_errno));
|
/external/ltp/testcases/kernel/syscalls/ptrace/ |
ptrace06.c | 175 struct test_case_t *tc = &test_cases[i]; local 179 ptrace(tc->request, pid, (void *)tc->addr, 180 (void *)tc->data); 185 strptrace(tc->request), tc->addr, tc->data, 190 strptrace(tc->request), tc->addr, tc->data [all...] |
/external/ltp/testcases/kernel/syscalls/removexattr/ |
removexattr02.c | 50 } tc[] = { variable in typeref:struct:test_case 59 static void verify_removexattr(struct test_case *tc); 63 int TST_TOTAL = ARRAY_SIZE(tc); 77 verify_removexattr(&tc[i]); 84 static void verify_removexattr(struct test_case *tc) 87 TEST(removexattr(tc->path, tc->name)); 98 if (TEST_ERRNO != tc->exp_err) { 100 " expected %s", tst_strerrno(tc->exp_err));
|
/external/ltp/testcases/kernel/syscalls/request_key/ |
request_key02.c | 54 struct test_case *tc = tcases + n; local 56 TEST(request_key("keyring", tc->des, NULL, *tc->id)); 62 if (TEST_ERRNO == tc->exp_err) { 68 "expected %s", tst_strerrno(tc->exp_err));
|
/external/ltp/testcases/kernel/syscalls/setrlimit/ |
setrlimit02.c | 41 struct tcase *tc = &tcases[n]; local 43 TEST(setrlimit(tc->resource, tc->rlim)); 50 if (TEST_ERRNO != tc->exp_errno) { 53 tst_strerrno(tc->exp_errno));
|