/external/clang/test/Sema/ |
const-eval-64.c | 4 #define EVAL_EXPR(testno, expr) int test##testno = sizeof(struct{char qq[expr];});
|
/external/ltp/testcases/kernel/syscalls/listen/ |
listen01.c | 58 int testno; variable 94 for (testno = 0; testno < TST_TOTAL; ++testno) { 95 tdat[testno].setup(); 97 TEST(listen(s, tdat[testno].backlog)); 98 if (TEST_RETURN != tdat[testno].retval || 100 TEST_ERRNO != tdat[testno].experrno)) { 103 " %d)", tdat[testno].desc, 104 TEST_RETURN, tdat[testno].retval [all...] |
/external/ltp/testcases/kernel/syscalls/fdatasync/ |
fdatasync02.c | 92 static int testno; variable 120 for (testno = 0; testno < TST_TOTAL; ++testno) { 121 if ((tdat[testno].setup) && (tdat[testno].setup())) { 129 (TEST_ERRNO == tdat[testno].experrno)) { 131 "errno: %d", tdat[testno].desc, 136 "(expected %d)", tdat[testno].desc, 138 TEST_ERRNO, tdat[testno].experrno) [all...] |
/external/ltp/testcases/kernel/syscalls/getsockname/ |
getsockname01.c | 57 int testno; variable 114 for (testno = 0; testno < TST_TOTAL; ++testno) { 115 tdat[testno].setup(); 117 TEST(getsockname(s, tdat[testno].sockaddr, 118 tdat[testno].salen)); 119 if (TEST_RETURN != tdat[testno].retval || 121 TEST_ERRNO != tdat[testno].experrno)) { 124 " %d)", tdat[testno].desc [all...] |
/external/ltp/testcases/kernel/syscalls/syslog/ |
syslog11.c | 87 static int testno; variable 129 for (testno = 0; testno < TST_TOTAL; ++testno) { 131 if (tdat[testno].setup && tdat[testno].setup()) { 136 TEST(syslog(tdat[testno].type, tdat[testno].buf, 137 tdat[testno].len)); 143 tdat[testno].desc) [all...] |
syslog12.c | 98 static int testno; variable 124 " for %s", tdat[testno].desc); 146 for (testno = 0; testno < TST_TOTAL; ++testno) { 148 if (tdat[testno].setup && tdat[testno].setup()) { 155 TEST(syslog(tdat[testno].type, tdat[testno].buf, 156 tdat[testno].len)) [all...] |
/external/ltp/testcases/kernel/module/query_module/ |
query_module03.c | 117 static int testno; variable 164 for (testno = 0; testno < TST_TOTAL; ++testno) { 166 if ((tdat[testno].setup) && (tdat[testno].setup())) { 170 TEST(query_module(tdat[testno].modname, 171 tdat[testno].which, tdat[testno].buf, 172 tdat[testno].bufsize [all...] |
query_module02.c | 108 static int testno; variable 152 for (testno = 0; testno < TST_TOTAL; ++testno) { 154 TEST(query_module(tdat[testno].modname, 155 tdat[testno].which, tdat[testno].buf, 156 tdat[testno].bufsize, &ret_size)); 158 (TEST_ERRNO == tdat[testno].experrno)) { 160 tdat[testno].desc, TEST_ERRNO) [all...] |
query_module01.c | 121 static int testno; variable 168 for (testno = 0; testno < TST_TOTAL; ++testno) { 169 if ((tdat[testno].setup) && (tdat[testno].setup())) { 174 TEST(query_module(tdat[testno].modname, 175 tdat[testno].which, (void *)out_buf, 179 !test_functionality(tdat[testno].which, 182 "for %s", tdat[testno].desc) [all...] |
/external/ltp/testcases/kernel/syscalls/bdflush/ |
bdflush01.c | 89 int testno; variable 117 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/set_tid_address/ |
set_tid_address01.c | 48 int testno; variable 114 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/accept/ |
accept01.c | 41 int testno; variable 103 for (testno = 0; testno < TST_TOTAL; ++testno) { 104 tdat[testno].setup(); 106 TEST(accept(s, tdat[testno].sockaddr, 107 tdat[testno].salen)); 110 if (TEST_RETURN != tdat[testno].retval || 112 TEST_ERRNO != tdat[testno].experrno)) { 115 " %d)", tdat[testno].desc [all...] |
/external/ltp/testcases/kernel/syscalls/getsockopt/ |
getsockopt01.c | 57 int testno; variable 139 for (testno = 0; testno < TST_TOTAL; ++testno) { 140 tdat[testno].setup(); 142 TEST(getsockopt(s, tdat[testno].level, 143 tdat[testno].optname, 144 tdat[testno].optval, 145 tdat[testno].optlen)); 146 if (TEST_RETURN != tdat[testno].retval | [all...] |
/external/ltp/testcases/kernel/syscalls/setsockopt/ |
setsockopt01.c | 59 int testno; variable 140 for (testno = 0; testno < TST_TOTAL; ++testno) { 141 tdat[testno].setup(); 143 TEST(setsockopt(s, tdat[testno].level, 144 tdat[testno].optname, 145 tdat[testno].optval, 146 tdat[testno].optlen)); 151 if (TEST_RETURN != tdat[testno].retval | [all...] |
/external/ltp/testcases/kernel/syscalls/setresgid/ |
setresgid01.c | 93 static int testno; variable 129 for (testno = 0; testno < TST_TOTAL; ++testno) { 131 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, 132 *tdat[testno].sgid)); 136 (tdat[testno].exp_rgid->pw_gid, 137 tdat[testno].exp_egid->pw_gid, 138 tdat[testno].exp_sgid->pw_gid)) [all...] |
setresgid03.c | 99 static int testno; variable 128 for (testno = 0; testno < TST_TOTAL; ++testno) { 130 TEST(SETRESGID(cleanup, *tdat[testno].rgid, *tdat[testno].egid, 131 *tdat[testno].sgid)); 137 (tdat[testno].exp_rgid->pw_gid, 138 tdat[testno].exp_egid->pw_gid, 139 tdat[testno].exp_sgid->pw_gid)) [all...] |
/external/ltp/testcases/kernel/syscalls/bind/ |
bind01.c | 57 int testno; variable 117 for (testno = 0; testno < TST_TOTAL; ++testno) { 118 tdat[testno].setup(); 121 (s, tdat[testno].sockaddr, tdat[testno].salen)); 126 if (TEST_RETURN != tdat[testno].retval || 128 TEST_ERRNO != tdat[testno].experrno)) { 131 " %d)", tdat[testno].desc [all...] |
/external/ltp/testcases/kernel/module/create_module/ |
create_module02.c | 121 static int testno; variable 170 for (testno = 0; testno < TST_TOTAL; ++testno) { 171 if ((tdat[testno].setup) && (tdat[testno].setup())) { 176 TEST(create_module(tdat[testno].modname, 177 tdat[testno].size)); 178 if ((TEST_RETURN == (int)tdat[testno].retval) && 179 (TEST_ERRNO == tdat[testno].experrno)) [all...] |
/external/ltp/testcases/kernel/syscalls/rt_sigqueueinfo/ |
rt_sigqueueinfo01.c | 55 int testno; variable 79 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/sgetmask/ |
sgetmask01.c | 59 int testno; variable 125 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/sockioctl/ |
sockioctl01.c | 45 int testno; variable 130 for (testno = 0; testno < TST_TOTAL; ++testno) { 131 tdat[testno].setup(); 133 TEST(ioctl(s, tdat[testno].cmd, tdat[testno].arg)); 134 if (TEST_RETURN != tdat[testno].retval || 136 TEST_ERRNO != tdat[testno].experrno)) { 139 " %d)", tdat[testno].desc [all...] |
/external/ltp/testcases/kernel/syscalls/ssetmask/ |
ssetmask01.c | 50 int testno; variable 114 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/tkill/ |
tkill01.c | 55 int testno; variable 88 for (testno = 0; testno < TST_TOTAL; ++testno) {
|
/external/ltp/testcases/kernel/syscalls/recvfrom/ |
recvfrom01.c | 58 int testno; variable 147 for (testno = 0; testno < TST_TOTAL; ++testno) { 149 && (tdat[testno].flags & MSG_ERRQUEUE) 150 && (tdat[testno].type & SOCK_STREAM)) { 156 tdat[testno].setup(); 157 TEST(recvfrom(s, tdat[testno].buf, tdat[testno].buflen, 158 tdat[testno].flags, tdat[testno].from [all...] |
/external/ltp/testcases/kernel/syscalls/recv/ |
recv01.c | 58 int testno; variable 125 for (testno = 0; testno < TST_TOTAL; ++testno) { 127 && (tdat[testno].flags & MSG_ERRQUEUE) 128 && (tdat[testno].type & SOCK_STREAM)) { 134 tdat[testno].setup(); 135 TEST(recv(s, tdat[testno].buf, tdat[testno].buflen, 136 tdat[testno].flags)) [all...] |