Home
last modified time | relevance | path

Searched refs:setup1 (Results 1 - 18 of 18) sorted by relevance

/third_party/ltp/testcases/kernel/syscalls/getsockopt/
H A Dgetsockopt01.c66 void setup(void), setup0(void), setup1(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)"}
195 void setup1(void) in setup1() function
/third_party/ltp/testcases/kernel/syscalls/sendto/
H A Dsendto01.c72 static void setup1(void);
121 .setup = setup1,
136 .setup = setup1,
164 .setup = setup1,
180 .setup = setup1,
195 .setup = setup1,
223 .setup = setup1,
396 static void setup1(void) in setup1() function
411 setup1(); in setup2()
/third_party/ltp/testcases/kernel/syscalls/connect/
H A Dconnect01.c65 void setup(void), setup0(void), setup1(void), setup2(void),
90 sizeof(struct sockaddr_in), -1, EFAULT, setup1,
95 3, -1, EINVAL, setup1, cleanup1, "invalid salen"}, {
105 sizeof(sin2), -1, ECONNREFUSED, setup1, cleanup1,
109 sizeof(sin4), -1, EAFNOSUPPORT, setup1, cleanup1,
222 void setup1(void) in setup1() function
236 setup1(); /* get a socket in s */ in setup2()
/third_party/ltp/testcases/kernel/syscalls/getsockname/
H A Dgetsockname01.c64 void setup(void), setup0(void), setup1(void),
90 &sinlen, -1, EFAULT, setup1, cleanup1,
94 NULL, -1, EFAULT, setup1, cleanup1,
98 (socklen_t *) 1, -1, EFAULT, setup1, cleanup1,
169 void setup1(void) in setup1() function
/third_party/ltp/testcases/kernel/syscalls/send/
H A Dsend01.c73 static void setup1(void);
113 .setup = setup1,
126 .setup = setup1,
152 .setup = setup1,
326 static void setup1(void) in setup1() function
341 setup1(); in setup2()
/third_party/ltp/testcases/kernel/syscalls/recvfrom/
H A Drecvfrom01.c70 void setup1(void);
105 0, ENOTSOCK, setup1, cleanup1, "invalid socket buffer"},
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"},};
212 void setup1(void) in setup1() function
232 "client setup1 failed - no message ready in 2 sec"); in setup1()
238 setup1(); in setup2()
/third_party/gn/src/gn/
H A Dargs_unittest.cc14 TestWithScope setup1, setup2; in TEST() local
20 setup1.scope()->SetValue("a", Value(nullptr, true), &assignment1); in TEST()
21 setup1.scope()->GetCurrentScopeValues(&key_value_map1); in TEST()
22 EXPECT_TRUE(args.DeclareArgs(key_value_map1, setup1.scope(), &err)); in TEST()
/third_party/ltp/testcases/kernel/syscalls/sendmsg/
H A Dsendmsg01.c70 static void setup1(void);
152 .setup = setup1,
203 .setup = setup1,
219 .setup = setup1,
235 .setup = setup1,
269 .setup = setup1,
286 .setup = setup1,
320 .setup = setup1,
590 static void setup1(void) in setup1() function
609 setup1(); /* ge in setup2()
[all...]
/third_party/ltp/testcases/kernel/syscalls/recv/
H A Drecv01.c66 void do_child(void), setup(void), setup0(void), setup1(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"}
190 void setup1(void) in setup1() function
210 "client setup1 failed - no message ready in 2 sec"); in setup1()
/third_party/ltp/testcases/kernel/syscalls/fdatasync/
H A Dfdatasync02.c98 static int setup1(void);
103 {EBADF, "invalid file descriptor", setup1, NULL},
151 int setup1(void) in setup1() function
/third_party/ltp/testcases/kernel/syscalls/listen/
H A Dlisten01.c63 void setup(void), setup0(void), setup1(void),
80 PF_INET, SOCK_DGRAM, 0, 0, -1, EOPNOTSUPP, setup1, cleanup1,
142 void setup1(void) in setup1() function
/third_party/ltp/testcases/kernel/syscalls/sockioctl/
H A Dsockioctl01.c59 static void setup1(void);
94 EFAULT, setup1, cleanup1, "invalid option buffer"}
100 EINVAL, setup1, cleanup1, "ATMARK on UDP"}
205 static void setup1(void) in setup1() function
/third_party/ltp/testcases/kernel/syscalls/mknod/
H A Dmknod06.c91 int setup1(); /* setup function to test mknod for EEXIST */
103 {"tnode_1", "Specified node already exists", EEXIST, setup1}, {
233 * setup1() - setup function for a test condition for which mknod(2)
239 int setup1(void) in setup1() function
243 tst_brkm(TBROK, cleanup, "Fails to create node in setup1()"); in setup1()
/third_party/ltp/testcases/kernel/syscalls/mprotect/
H A Dmprotect01.c62 static void setup1(struct test_case *self);
70 {NULL, 0, PROT_READ, ENOMEM, setup1},
123 static void setup1(struct test_case *self) in setup1() function
/third_party/ltp/testcases/kernel/syscalls/symlink/
H A Dsymlink03.c107 int setup1(); /* setup function to test symlink for EACCES */
123 EACCES, setup1}, {
252 * setup1() - setup function for a test condition for which symlink(2)
261 int setup1(void) in setup1() function
/third_party/ltp/testcases/kernel/syscalls/mincore/
H A Dmincore01.c61 static void setup1(struct test_case_t *tc);
73 {NULL, 0, NULL, EINVAL, setup1},
102 static void setup1(struct test_case_t *tc) in setup1() function
/third_party/ltp/testcases/kernel/syscalls/mremap/
H A Dmremap05.c65 static void setup1(struct test_case_t *);
89 .setup = setup1,
166 static void setup1(struct test_case_t *t) in setup1() function
/third_party/ltp/testcases/kernel/syscalls/setns/
H A Dsetns01.c39 static void setup1(struct testcase_t *t, int i) in setup1() function
86 .setup = setup1,

Completed in 7 milliseconds