Home
last modified time | relevance | path

Searched refs:cleanup1 (Results 1 – 25 of 34) sorted by relevance

12

/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt01.c66 cleanup(void), cleanup0(void), cleanup1(void);
97 EFAULT, setup1, cleanup1, "invalid option buffer"}
101 EFAULT, setup1, cleanup1, "invalid optlen"}
107 EOPNOTSUPP, setup1, cleanup1, "invalid level"}
111 -1, EOPNOTSUPP, setup1, cleanup1, "invalid option name"}
115 -1, EOPNOTSUPP, setup1, cleanup1,
120 ENOPROTOOPT, setup1, cleanup1, "invalid option name (IP)"}
124 ENOPROTOOPT, setup1, cleanup1, "invalid option name (TCP)"}
209 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt01.c66 cleanup(void), cleanup0(void), cleanup1(void);
99 sizeof(fsin1), -1, EFAULT, setup1, cleanup1,
106 EINVAL, setup1, cleanup1, "invalid optlen"}
110 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
115 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
120 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
125 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
214 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c64 static void cleanup1(void);
93 EFAULT, setup1, cleanup1, "invalid option buffer"}
99 EINVAL, setup1, cleanup1, "ATMARK on UDP"}
103 0, setup2, cleanup1, "SIOCGIFCONF"}
107 0, setup3, cleanup1, "SIOCGIFFLAGS"}
111 EFAULT, setup3, cleanup1, "SIOCGIFFLAGS with invalid ifr"}
115 EFAULT, setup3, cleanup1, "SIOCSIFFLAGS with invalid ifr"}
245 static void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/accept/
Daccept01.c52 static void cleanup1(void);
76 &sinlen, -1, EINVAL, setup1, cleanup1,
79 (socklen_t *) 1, -1, EINVAL, setup1, cleanup1,
82 &sinlen, -1, EINVAL, setup2, cleanup1,
85 &sinlen, -1, EINVAL, setup3, cleanup1,
88 &sinlen, -1, EOPNOTSUPP, setup1, cleanup1,
171 static void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/module/query_module/
Dquery_module01.c129 static void cleanup1(void);
137 setup1, cleanup1},
146 setup1, cleanup1},
149 setup1, cleanup1},
310 cleanup1(); in setup2()
316 void cleanup1(void) in cleanup1() function
333 cleanup1(); in cleanup2()
Dquery_module03.c126 static void cleanup1(void);
142 "accessible address space", setup1, cleanup1}
146 "results for too small buffer size", setup1, cleanup1},
222 void cleanup1(void) in cleanup1() function
/external/python/cpython2/Lib/unittest/test/
Dtest_runner.py22 def cleanup1(*args, **kwargs): function
28 test.addCleanup(cleanup1, 1, 2, 3, four='hello', five='goodbye')
32 [(cleanup1, (1, 2, 3), dict(four='hello', five='goodbye')),
57 def cleanup1(): function
63 test.addCleanup(cleanup1)
90 def cleanup1(): function
94 test.addCleanup(cleanup1)
111 test.addCleanup(cleanup1)
121 self.addCleanup(cleanup1)
131 def cleanup1(): function
/external/ltp/testcases/kernel/syscalls/sendto/
Dsendto01.c76 static void cleanup1(void);
121 .cleanup = cleanup1,
136 .cleanup = cleanup1,
150 .cleanup = cleanup1,
164 .cleanup = cleanup1,
180 .cleanup = cleanup1,
195 .cleanup = cleanup1,
209 .cleanup = cleanup1,
223 .cleanup = cleanup1,
405 static void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/getsockname/
Dgetsockname01.c64 cleanup(void), cleanup0(void), cleanup1(void);
89 &sinlen, -1, EFAULT, setup1, cleanup1,
93 NULL, -1, EFAULT, setup1, cleanup1,
97 (socklen_t *) 1, -1, EFAULT, setup1, cleanup1,
182 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/connect/
Dconnect01.c65 cleanup(void), cleanup0(void), cleanup1(void), do_child(void);
90 cleanup1, "invalid socket buffer"},
94 3, -1, EINVAL, setup1, cleanup1, "invalid salen"}, {
100 sizeof(sin1), -1, EISCONN, setup2, cleanup1,
104 sizeof(sin2), -1, ECONNREFUSED, setup1, cleanup1,
108 sizeof(sin4), -1, EAFNOSUPPORT, setup1, cleanup1,
210 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c79 static void cleanup1(void);
152 .cleanup = cleanup1,
169 .cleanup = cleanup1,
186 .cleanup = cleanup1,
203 .cleanup = cleanup1,
219 .cleanup = cleanup1,
235 .cleanup = cleanup1,
252 .cleanup = cleanup1,
269 .cleanup = cleanup1,
286 .cleanup = cleanup1,
[all …]
/external/ltp/testcases/kernel/syscalls/recvfrom/
Drecvfrom01.c73 void cleanup1(void);
104 0, ENOTSOCK, setup1, cleanup1, "invalid socket buffer"},
109 -1, EINVAL, setup2, cleanup1, "invalid socket addr length"},
114 -1, EFAULT, setup1, cleanup1, "invalid recv buffer"},
119 -1, EINVAL, setup1, cleanup1, "invalid MSG_OOB flag set"},
124 -1, EAGAIN, setup1, cleanup1, "invalid MSG_ERRQUEUE flag set"},};
242 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c83 void cleanup1(void);
124 ENOTSOCK, setup1, cleanup1, "invalid socket buffer"}
130 EINVAL, setup1, cleanup1, "invalid socket length"},
135 -1, EFAULT, setup1, cleanup1, "invalid recv buffer"}
141 -1, EFAULT, setup1, cleanup1, "invalid iovec buffer"}
147 -1, EMSGSIZE, setup1, cleanup1, "invalid iovec count"}
159 sizeof(from), -1, EINVAL, setup1, cleanup1,
166 sizeof(from), -1, EAGAIN, setup1, cleanup1,
345 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/send/
Dsend01.c75 static void cleanup1(void);
113 .cleanup = cleanup1,
126 .cleanup = cleanup1,
138 .cleanup = cleanup1,
152 .cleanup = cleanup1,
335 static void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/iopl/
Diopl02.c87 static void cleanup1();
149 cleanup1(); in main()
175 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/listen/
Dlisten01.c63 cleanup(void), cleanup0(void), cleanup1(void);
79 PF_INET, SOCK_DGRAM, 0, 0, -1, EOPNOTSUPP, setup1, cleanup1,
150 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/recv/
Drecv01.c66 cleanup(void), cleanup0(void), cleanup1(void);
93 -1, EFAULT, setup1, cleanup1, "invalid recv buffer"}
98 -1, EINVAL, setup1, cleanup1, "invalid MSG_OOB flag set"}
102 -1, EAGAIN, setup1, cleanup1, "invalid MSG_ERRQUEUE flag set"}
213 void cleanup1(void) in cleanup1() function
/external/tremolo/Tremolo/
Dres012.c139 if(partword==NULL)goto cleanup1; in res_inverse()
143 if(partword[j]==NULL)goto cleanup1; in res_inverse()
162 if(temp==-1)goto cleanup1; in res_inverse()
186 goto cleanup1; in res_inverse()
190 goto cleanup1; in res_inverse()
196 cleanup1: in res_inverse()
/external/ltp/testcases/kernel/module/delete_module/
Ddelete_module02.c61 static void cleanup1(void);
75 { modname, EPERM, "non-superuser", setup1, cleanup1},
126 static void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/syslog/
Dsyslog11.c94 static void cleanup1(void);
104 {3, &buf, 0, setup1, cleanup1, "type 3/Read ring buffer for non-root "
176 void cleanup1(void) in cleanup1() function
Dsyslog12.c106 static void cleanup1(void);
114 {2, &buf, 0, EPERM, setup1, cleanup1, "non-root user"},
197 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/ioperm/
Dioperm02.c92 static void cleanup1();
152 cleanup1(); in main()
179 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/module/create_module/
Dcreate_module02.c127 static void cleanup1(void);
133 "non-superuser", setup1, cleanup1},
210 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/bind/
Dbind01.c64 cleanup(void), cleanup0(void), cleanup1(void);
89 sizeof(sin1), -1, ENOTSOCK, setup1, cleanup1,
196 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/setns/
Dsetns01.c63 static void cleanup1(struct testcase_t *);
79 .cleanup = cleanup1
121 static void cleanup1(struct testcase_t *t) in cleanup1() function

12