Home
last modified time | relevance | path

Searched defs:test (Results 1 – 25 of 497) sorted by relevance

12345678910>>...20

/freebsd/tools/regression/priv/
H A Dpriv_netinet_ipsec.c54 struct test *test, int af) in priv_netinet_ipsec_policy_bypass_setup_af()
88 struct test *test) in priv_netinet_ipsec_policy4_bypass_setup()
98 struct test *test) in priv_netinet_ipsec_policy6_bypass_setup()
109 struct test *test, int af) in priv_netinet_ipsec_policy_entrust_setup_af()
143 struct test *test) in priv_netinet_ipsec_policy4_entrust_setup()
153 struct test *test) in priv_netinet_ipsec_policy6_entrust_setup()
162 priv_netinet_ipsec_pfkey(int asroot, int injail, struct test *test) in priv_netinet_ipsec_pfkey()
230 priv_netinet_ipsec_policy4_bypass(int asroot, int injail, struct test *test) in priv_netinet_ipsec_policy4_bypass()
238 priv_netinet_ipsec_policy6_bypass(int asroot, int injail, struct test *test) in priv_netinet_ipsec_policy6_bypass()
300 struct test *test) in priv_netinet_ipsec_policy_bypass_cleanup()
[all …]
H A Dpriv_cred.c49 priv_cred_setup(int asroot, int injail, struct test *test) in priv_cred_setup()
56 priv_cred_setuid(int asroot, int injail, struct test *test) in priv_cred_setuid()
72 priv_cred_seteuid(int asroot, int injail, struct test *test) in priv_cred_seteuid()
88 priv_cred_setgid(int asroot, int injail, struct test *test) in priv_cred_setgid()
104 priv_cred_setegid(int asroot, int injail, struct test *test) in priv_cred_setegid()
123 priv_cred_setgroups(int asroot, int injail, struct test *test) in priv_cred_setgroups()
139 priv_cred_setreuid(int asroot, int injail, struct test *test) in priv_cred_setreuid()
155 priv_cred_setregid(int asroot, int injail, struct test *test) in priv_cred_setregid()
171 priv_cred_setresuid(int asroot, int injail, struct test *test) in priv_cred_setresuid()
187 priv_cred_setresgid(int asroot, int injail, struct test *test) in priv_cred_setresgid()
[all …]
H A Dpriv_vfs_stickyfile.c52 struct test *test) in priv_vfs_stickyfile_dir_fowner_setup()
63 struct test *test) in priv_vfs_stickyfile_dir_fother_setup()
74 struct test *test) in priv_vfs_stickyfile_file_fowner_setup()
85 struct test *test) in priv_vfs_stickyfile_file_fother_setup()
95 priv_vfs_stickyfile_dir_fowner(int asroot, int injail, struct test *test) in priv_vfs_stickyfile_dir_fowner()
115 priv_vfs_stickyfile_dir_fother(int asroot, int injail, struct test *test) in priv_vfs_stickyfile_dir_fother()
135 priv_vfs_stickyfile_file_fowner(int asroot, int injail, struct test *test) in priv_vfs_stickyfile_file_fowner()
155 priv_vfs_stickyfile_file_fother(int asroot, int injail, struct test *test) in priv_vfs_stickyfile_file_fother()
175 priv_vfs_stickyfile_dir_cleanup(int asroot, int injail, struct test *test) in priv_vfs_stickyfile_dir_cleanup()
185 priv_vfs_stickyfile_file_cleanup(int asroot, int injail, struct test *test) in priv_vfs_stickyfile_file_cleanup()
H A Dpriv_vfs_utimes.c52 priv_vfs_utimes_froot_setup(int asroot, int injail, struct test *test) in priv_vfs_utimes_froot_setup()
62 priv_vfs_utimes_fowner_setup(int asroot, int injail, struct test *test) in priv_vfs_utimes_fowner_setup()
72 priv_vfs_utimes_fother_setup(int asroot, int injail, struct test *test) in priv_vfs_utimes_fother_setup()
88 priv_vfs_utimes_froot(int asroot, int injail, struct test *test) in priv_vfs_utimes_froot()
111 priv_vfs_utimes_froot_null(int asroot, int injail, struct test *test) in priv_vfs_utimes_froot_null()
131 priv_vfs_utimes_fowner(int asroot, int injail, struct test *test) in priv_vfs_utimes_fowner()
152 priv_vfs_utimes_fowner_null(int asroot, int injail, struct test *test) in priv_vfs_utimes_fowner_null()
172 priv_vfs_utimes_fother(int asroot, int injail, struct test *test) in priv_vfs_utimes_fother()
195 priv_vfs_utimes_fother_null(int asroot, int injail, struct test *test) in priv_vfs_utimes_fother_null()
215 priv_vfs_utimes_cleanup(int asroot, int injail, struct test *test) in priv_vfs_utimes_cleanup()
H A Dpriv_sched_rtprio.c60 priv_sched_rtprio_setup(int asroot, int injail, struct test *test) in priv_sched_rtprio_setup()
103 priv_sched_rtprio_curproc_normal(int asroot, int injail, struct test *test) in priv_sched_rtprio_curproc_normal()
126 priv_sched_rtprio_curproc_idle(int asroot, int injail, struct test *test) in priv_sched_rtprio_curproc_idle()
149 priv_sched_rtprio_curproc_realtime(int asroot, int injail, struct test *test) in priv_sched_rtprio_curproc_realtime()
172 priv_sched_rtprio_myproc_normal(int asroot, int injail, struct test *test) in priv_sched_rtprio_myproc_normal()
195 priv_sched_rtprio_myproc_idle(int asroot, int injail, struct test *test) in priv_sched_rtprio_myproc_idle()
218 priv_sched_rtprio_myproc_realtime(int asroot, int injail, struct test *test) in priv_sched_rtprio_myproc_realtime()
241 priv_sched_rtprio_aproc_normal(int asroot, int injail, struct test *test) in priv_sched_rtprio_aproc_normal()
264 priv_sched_rtprio_aproc_idle(int asroot, int injail, struct test *test) in priv_sched_rtprio_aproc_idle()
287 priv_sched_rtprio_aproc_realtime(int asroot, int injail, struct test *test) in priv_sched_rtprio_aproc_realtime()
[all …]
H A Dpriv_vfs_chflags.c68 priv_vfs_chflags_froot_setup(int asroot, int injail, struct test *test) in priv_vfs_chflags_froot_setup()
79 struct test *test) in priv_vfs_chflags_fowner_setup()
90 struct test *test) in priv_vfs_chflags_fother_setup()
101 struct test *test) in priv_vfs_chflags_froot_uflags()
125 struct test *test) in priv_vfs_chflags_fowner_uflags()
149 struct test *test) in priv_vfs_chflags_fother_uflags()
173 struct test *test) in priv_vfs_chflags_froot_sflags()
197 struct test *test) in priv_vfs_chflags_fowner_sflags()
221 struct test *test) in priv_vfs_chflags_fother_sflags()
244 priv_vfs_chflags_cleanup(int asroot, int injail, struct test *test) in priv_vfs_chflags_cleanup()
H A Dpriv_vfs_chown.c59 priv_vfs_chown_uid_setup(int asroot, int injail, struct test *test) in priv_vfs_chown_uid_setup()
69 priv_vfs_chown_uid(int asroot, int injail, struct test *test) in priv_vfs_chown_uid()
89 priv_vfs_chown_mygid_setup(int asroot, int injail, struct test *test) in priv_vfs_chown_mygid_setup()
103 priv_vfs_chown_mygid(int asroot, int injail, struct test *test) in priv_vfs_chown_mygid()
123 priv_vfs_chown_othergid_setup(int asroot, int injail, struct test *test) in priv_vfs_chown_othergid_setup()
137 priv_vfs_chown_othergid(int asroot, int injail, struct test *test) in priv_vfs_chown_othergid()
155 priv_vfs_chown_cleanup(int asroot, int injail, struct test *test) in priv_vfs_chown_cleanup()
H A Dpriv_vfs_chmod.c51 priv_vfs_chmod_froot_setup(int asroot, int injail, struct test *test) in priv_vfs_chmod_froot_setup()
61 priv_vfs_chmod_fowner_setup(int asroot, int injail, struct test *test) in priv_vfs_chmod_fowner_setup()
71 priv_vfs_chmod_fother_setup(int asroot, int injail, struct test *test) in priv_vfs_chmod_fother_setup()
81 priv_vfs_chmod_froot(int asroot, int injail, struct test *test) in priv_vfs_chmod_froot()
99 priv_vfs_chmod_fowner(int asroot, int injail, struct test *test) in priv_vfs_chmod_fowner()
118 priv_vfs_chmod_fother(int asroot, int injail, struct test *test) in priv_vfs_chmod_fother()
137 priv_vfs_chmod_cleanup(int asroot, int injail, struct test *test) in priv_vfs_chmod_cleanup()
H A Dmain.h59 struct test { struct
62 struct test *test); argument
63 void (*t_test_func)(int asroot, int injail, argument
66 struct test *test); argument
H A Dpriv_vfs_read_write.c81 priv_vfs_readwrite_fowner_setup(int asroot, int injail, struct test *test) in priv_vfs_readwrite_fowner_setup()
100 priv_vfs_readwrite_fgroup_setup(int asroot, int injail, struct test *test) in priv_vfs_readwrite_fgroup_setup()
120 priv_vfs_readwrite_fother_setup(int asroot, int injail, struct test *test) in priv_vfs_readwrite_fother_setup()
139 priv_vfs_readwrite_fowner(int asroot, int injail, struct test *test) in priv_vfs_readwrite_fowner()
172 priv_vfs_readwrite_fgroup(int asroot, int injail, struct test *test) in priv_vfs_readwrite_fgroup()
205 priv_vfs_readwrite_fother(int asroot, int injail, struct test *test) in priv_vfs_readwrite_fother()
238 priv_vfs_readwrite_cleanup(int asroot, int injail, struct test *test) in priv_vfs_readwrite_cleanup()
H A Dpriv_vfs_setgid.c51 priv_vfs_setgid_fowner_setup(int asroot, int injail, struct test *test) in priv_vfs_setgid_fowner_setup()
61 priv_vfs_setgid_fother_setup(int asroot, int injail, struct test *test) in priv_vfs_setgid_fother_setup()
72 priv_vfs_setgid_fowner(int asroot, int injail, struct test *test) in priv_vfs_setgid_fowner()
92 priv_vfs_setgid_fother(int asroot, int injail, struct test *test) in priv_vfs_setgid_fother()
112 priv_vfs_setgid_cleanup(int asroot, int injail, struct test *test) in priv_vfs_setgid_cleanup()
H A Dpriv_acct.c63 priv_acct_setup(int asroot, int injail, struct test *test) in priv_acct_setup()
100 priv_acct_cleanup(int asroot, int injail, struct test *test) in priv_acct_cleanup()
115 priv_acct_enable(int asroot, int injail, struct test *test) in priv_acct_enable()
131 priv_acct_disable(int asroot, int injail, struct test *test) in priv_acct_disable()
147 priv_acct_rotate(int asroot, int injail, struct test *test) in priv_acct_rotate()
163 priv_acct_noopdisable(int asroot, int injail, struct test *test) in priv_acct_noopdisable()
H A Dmain.c365 expect(const char *test, int error, int expected_error, int expected_errno) in expect()
385 setup_dir(const char *test, char *dpathp, uid_t uid, gid_t gid, mode_t mode) in setup_dir()
401 setup_file(const char *test, char *fpathp, uid_t uid, gid_t gid, mode_t mode) in setup_file()
424 set_creds(const char *test, uid_t uid, gid_t gid) in set_creds()
437 enter_jail(const char *test) in enter_jail()
462 run_child(struct test *test, int asroot, int injail) in run_child()
481 run(struct test *test, int asroot, int injail) in run()
H A Dpriv_sched_setpriority.c56 priv_sched_setpriority_setup(int asroot, int injail, struct test *test) in priv_sched_setpriority_setup()
94 priv_sched_setpriority_curproc(int asroot, int injail, struct test *test) in priv_sched_setpriority_curproc()
114 priv_sched_setpriority_myproc(int asroot, int injail, struct test *test) in priv_sched_setpriority_myproc()
134 priv_sched_setpriority_aproc(int asroot, int injail, struct test *test) in priv_sched_setpriority_aproc()
154 priv_sched_setpriority_cleanup(int asroot, int injail, struct test *test) in priv_sched_setpriority_cleanup()
H A Dpriv_proc_setrlimit.c55 priv_proc_setrlimit_setup(int asroot, int injail, struct test *test) in priv_proc_setrlimit_setup()
84 priv_proc_setrlimit_raisemax(int asroot, int injail, struct test *test) in priv_proc_setrlimit_raisemax()
112 struct test *test) in priv_proc_setrlimit_raisecur_nopriv()
139 priv_proc_setrlimit_raisecur(int asroot, int injail, struct test *test) in priv_proc_setrlimit_raisecur()
162 priv_proc_setrlimit_cleanup(int asroot, int injail, struct test *test) in priv_proc_setrlimit_cleanup()
/freebsd/contrib/atf/atf-c++/
H A Dmacros_test.cpp334 struct test { in ATF_TEST_CASE_BODY() struct
336 bool ok; in ATF_TEST_CASE_BODY()
378 struct test { in ATF_TEST_CASE_BODY() struct
381 bool ok; in ATF_TEST_CASE_BODY()
429 bool ok; in ATF_TEST_CASE_BODY()
475 bool ok; in ATF_TEST_CASE_BODY()
521 bool ok; in ATF_TEST_CASE_BODY()
566 bool ok; in ATF_TEST_CASE_BODY()
615 bool ok; in ATF_TEST_CASE_BODY()
667 bool ok; in ATF_TEST_CASE_BODY()
[all …]
/freebsd/contrib/netbsd-tests/lib/libc/locale/
H A Dt_mbsnrtowcs.c41 static const struct test { struct
49 } tests[] = { argument
67 const struct test *t; in ATF_TC_BODY() argument
H A Dt_mbstowcs.c75 static struct test { struct
81 } tests[] = { argument
H A Dt_wcstod.c78 static struct test { struct
83 } tests[] = { argument
/freebsd/tools/regression/netinet/ipdivert/
H A Dipdivert.c50 ok(const char *test) in ok()
57 fail(const char *test, const char *note) in fail()
65 failx(const char *test, const char *note) in failx()
73 ipdivert_create(const char *test) in ipdivert_create()
84 ipdivert_close(const char *test, int s) in ipdivert_close()
92 ipdivert_bind(const char *test, int s, u_short port, int expect) in ipdivert_bind()
117 const char *test; in main() local
/freebsd/contrib/netbsd-tests/lib/libbluetooth/
H A Dt_sdp_put.c49 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
82 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
115 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
173 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
198 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
224 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
261 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
288 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
333 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
360 sdp_data_t test = { buf, buf + sizeof(buf) }; in ATF_TC_BODY() local
[all …]
/freebsd/tools/regression/sockets/zerosend/
H A Dzerosend.c47 try_0send(const char *test, int fd) in try_0send()
61 try_0write(const char *test, int fd) in try_0write()
75 setup_udp(const char *test, int *fdp, int port1, int port2) in setup_udp()
113 setup_tcp(const char *test, int *fdp, int port) in setup_tcp()
184 setup_udsstream(const char *test, int *fdp) in setup_udsstream()
192 setup_udsdgram(const char *test, int *fdp) in setup_udsdgram()
200 setup_pipe(const char *test, int *fdp) in setup_pipe()
208 setup_fifo(const char *test, int *fdp) in setup_fifo()
/freebsd/tests/sys/kern/
H A Dlistener_wakeup.c58 static const struct test { struct
76 } tests[] = { argument
208 struct test const *test; member
/freebsd/contrib/netbsd-tests/lib/libc/stdlib/
H A Dt_strtoi.c47 struct test { struct
57 static void check(struct test *, intmax_t, char *, int); argument
/freebsd/crypto/heimdal/lib/roken/
H A Dbase64-test.c44 struct test { in main() struct
45 void *data; in main()
46 size_t len; in main()
47 const char *result; in main()

12345678910>>...20