Home
last modified time | relevance | path

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

12

/external/ltp/testcases/kernel/syscalls/getsockopt/
Dgetsockopt01.c67 cleanup(void), cleanup0(void), cleanup1(void);
98 EFAULT, setup1, cleanup1, "invalid option buffer"}
102 EFAULT, setup1, cleanup1, "invalid optlen"}
108 EOPNOTSUPP, setup1, cleanup1, "invalid level"}
112 -1, EOPNOTSUPP, setup1, cleanup1, "invalid option name"}
116 -1, EOPNOTSUPP, setup1, cleanup1,
121 ENOPROTOOPT, setup1, cleanup1, "invalid option name (IP)"}
125 ENOPROTOOPT, setup1, cleanup1, "invalid option name (TCP)"}
204 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/setsockopt/
Dsetsockopt01.c67 cleanup(void), cleanup0(void), cleanup1(void);
100 sizeof(fsin1), -1, EFAULT, setup1, cleanup1,
107 EINVAL, setup1, cleanup1, "invalid optlen"}
111 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
116 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
121 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
126 sizeof(fsin1), -1, ENOPROTOOPT, setup1, cleanup1,
209 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/sockioctl/
Dsockioctl01.c65 static void cleanup1(void);
94 EFAULT, setup1, cleanup1, "invalid option buffer"}
100 EINVAL, setup1, cleanup1, "ATMARK on UDP"}
104 0, setup2, cleanup1, "SIOCGIFCONF"}
108 0, setup3, cleanup1, "SIOCGIFFLAGS"}
112 EFAULT, setup3, cleanup1, "SIOCGIFFLAGS with invalid ifr"}
116 EFAULT, setup3, cleanup1, "SIOCSIFFLAGS with invalid ifr"}
234 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,
165 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.c77 static void cleanup1(void);
122 .cleanup = cleanup1,
137 .cleanup = cleanup1,
151 .cleanup = cleanup1,
165 .cleanup = cleanup1,
181 .cleanup = cleanup1,
196 .cleanup = cleanup1,
210 .cleanup = cleanup1,
224 .cleanup = cleanup1,
403 static void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/getsockname/
Dgetsockname01.c65 cleanup(void), cleanup0(void), cleanup1(void);
90 &sinlen, -1, EFAULT, setup1, cleanup1,
94 NULL, -1, EFAULT, setup1, cleanup1,
98 (socklen_t *) 1, -1, EFAULT, setup1, cleanup1,
177 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/connect/
Dconnect01.c66 cleanup(void), cleanup0(void), cleanup1(void), do_child(void);
91 cleanup1, "invalid socket buffer"},
95 3, -1, EINVAL, setup1, cleanup1, "invalid salen"}, {
101 sizeof(sin1), -1, EISCONN, setup2, cleanup1,
105 sizeof(sin2), -1, ECONNREFUSED, setup1, cleanup1,
109 sizeof(sin4), -1, EAFNOSUPPORT, setup1, cleanup1,
210 void cleanup1(void) in cleanup1() function
/external/python/cpython3/Lib/unittest/test/
Dtest_runner.py26 def cleanup1(*args, **kwargs): function
32 test.addCleanup(cleanup1, 1, 2, 3, four='hello', five='goodbye')
36 [(cleanup1, (1, 2, 3), dict(four='hello', five='goodbye')),
52 def cleanup1(): function
58 test.addCleanup(cleanup1)
87 def cleanup1(): function
91 test.addCleanup(cleanup1)
108 test.addCleanup(cleanup1)
118 self.addCleanup(cleanup1)
128 def cleanup1(): function
/external/ltp/testcases/kernel/syscalls/sendmsg/
Dsendmsg01.c80 static void cleanup1(void);
153 .cleanup = cleanup1,
170 .cleanup = cleanup1,
187 .cleanup = cleanup1,
204 .cleanup = cleanup1,
220 .cleanup = cleanup1,
236 .cleanup = cleanup1,
253 .cleanup = cleanup1,
270 .cleanup = cleanup1,
287 .cleanup = cleanup1,
[all …]
/external/ltp/testcases/kernel/syscalls/recvfrom/
Drecvfrom01.c74 void cleanup1(void);
105 0, ENOTSOCK, setup1, cleanup1, "invalid socket buffer"},
110 -1, EINVAL, setup2, cleanup1, "invalid socket addr length"},
115 -1, EFAULT, setup1, cleanup1, "invalid recv buffer"},
120 -1, EINVAL, setup1, cleanup1, "invalid MSG_OOB flag set"},
125 -1, EAGAIN, setup1, cleanup1, "invalid MSG_ERRQUEUE flag set"},};
242 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/recvmsg/
Drecvmsg01.c84 void cleanup1(void);
125 ENOTSOCK, setup1, cleanup1, "invalid socket buffer"}
131 EINVAL, setup1, cleanup1, "invalid socket length"},
136 -1, EFAULT, setup1, cleanup1, "invalid recv buffer"}
142 -1, EFAULT, setup1, cleanup1, "invalid iovec buffer"}
148 -1, EMSGSIZE, setup1, cleanup1, "invalid iovec count"}
160 sizeof(from), -1, EINVAL, setup1, cleanup1,
167 sizeof(from), -1, EAGAIN, setup1, cleanup1,
341 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/send/
Dsend01.c76 static void cleanup1(void);
114 .cleanup = cleanup1,
127 .cleanup = cleanup1,
139 .cleanup = cleanup1,
153 .cleanup = cleanup1,
333 static void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/iopl/
Diopl02.c88 static void cleanup1();
150 cleanup1(); in main()
176 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/syscalls/recv/
Drecv01.c67 cleanup(void), cleanup0(void), cleanup1(void);
94 -1, EFAULT, setup1, cleanup1, "invalid recv buffer"}
99 -1, EINVAL, setup1, cleanup1, "invalid MSG_OOB flag set"}
103 -1, EAGAIN, setup1, cleanup1, "invalid MSG_ERRQUEUE flag set"}
213 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/listen/
Dlisten01.c64 cleanup(void), cleanup0(void), cleanup1(void);
80 PF_INET, SOCK_DGRAM, 0, 0, -1, EOPNOTSUPP, setup1, cleanup1,
148 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/module/delete_module/
Ddelete_module02.c62 static void cleanup1(void);
76 { modname, EPERM, "non-superuser", setup1, cleanup1},
127 static void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/syslog/
Dsyslog11.c95 static void cleanup1(void);
105 {3, &buf, 0, setup1, cleanup1, "type 3/Read ring buffer for non-root "
177 void cleanup1(void) in cleanup1() function
Dsyslog12.c107 static void cleanup1(void);
115 {2, &buf, 0, EPERM, setup1, cleanup1, "non-root user"},
198 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/ioperm/
Dioperm02.c93 static void cleanup1();
153 cleanup1(); in main()
180 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/syscalls/bind/
Dbind01.c65 cleanup(void), cleanup0(void), cleanup1(void);
90 sizeof(sin1), -1, ENOTSOCK, setup1, cleanup1,
195 void cleanup1(void) in cleanup1() function
/external/ltp/testcases/kernel/module/create_module/
Dcreate_module02.c128 static void cleanup1(void);
134 "non-superuser", setup1, cleanup1},
211 void cleanup1(void) in cleanup1() function

12