Searched defs:tc (Results 26 - 50 of 233) sorted by relevance

12345678910

/freebsd-head/contrib/netbsd-tests/fs/common/
H A Dfstest_ext2fs.c55 ext2fs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
95 ext2fs_fstest_delfs(const atf_tc_t *tc, void *buf) argument
114 ext2fs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
129 ext2fs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
H A Dfstest_msdosfs.c55 msdosfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
96 msdosfs_fstest_delfs(const atf_tc_t *tc, void *buf) argument
115 msdosfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
130 msdosfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
H A Dfstest_sysvbfs.c55 sysvbfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
95 sysvbfs_fstest_delfs(const atf_tc_t *tc, void *buf) argument
114 sysvbfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
129 sysvbfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
H A Dfstest_v7fs.c55 v7fs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
96 v7fs_fstest_delfs(const atf_tc_t *tc, void *buf) argument
115 v7fs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
130 v7fs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
H A Dfstest_zfs.c51 zfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
92 zfs_fstest_delfs(const atf_tc_t *tc, void *buf) argument
100 zfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
127 zfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
H A Dfstest_ffs.c56 ffs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, off_t size, argument
101 ffs_fstest_delfs(const atf_tc_t *tc, void *buf) argument
123 ffs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
138 ffslog_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
141 return ffs_fstest_mount(tc, buf, path, flags | MNT_LOG);
145 ffs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
H A Dfstest_udf.c56 udf_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, off_t size, argument
105 udf_fstest_delfs(const atf_tc_t *tc, void *buf) argument
127 udf_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
142 udf_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
H A Dfstest_lfs.c62 lfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, off_t size, argument
104 lfs_fstest_delfs(const atf_tc_t *tc, void *buf) argument
153 lfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
179 lfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
/freebsd-head/contrib/netbsd-tests/fs/vfs/
H A Dt_renamerace.c91 renamerace(const atf_tc_t *tc, const char *mp) argument
100 if (FSTYPE_SYSVBFS(tc))
102 if (FSTYPE_RUMPFS(tc))
104 if (FSTYPE_UDF(tc))
126 if (FSTYPE_UDF(tc))
129 if (FSTYPE_MSDOS(tc)) {
135 if (msdosfs_fstest_unmount(tc, mp, 0) != 0) {
144 renamerace_dirs(const atf_tc_t *tc, const char *mp) argument
148 if (FSTYPE_SYSVBFS(tc))
151 if (FSTYPE_RUMPFS(tc))
[all...]
H A Dt_unpriv.c44 if (FSTYPE_MSDOS(tc)) \
48 owner(const atf_tc_t *tc, const char *mp) argument
80 dirperms(const atf_tc_t *tc, const char *mp) argument
86 if (FSTYPE_SYSVBFS(tc))
97 if (FSTYPE_ZFS(tc))
125 times(const atf_tc_t *tc, const char *mp) argument
147 if (FSTYPE_ZFS(tc))
179 flags(const atf_tc_t *tc, const char *mp) argument
194 if (FSTYPE_ZFS(tc))
H A Dt_vfsops.c45 tmount(const atf_tc_t *tc, const char *path) argument
52 tstatvfs(const atf_tc_t *tc, const char *path) argument
54 const char *fstype = atf_tc_get_md_var(tc, "X-fs.mntname");
61 if (!(FSTYPE_PUFFS(tc) || FSTYPE_P2K_FFS(tc)))
67 tsync(const atf_tc_t *tc, const char *path) argument
75 tfilehandle(const atf_tc_t *tc, const char *path) argument
126 tfhremove(const atf_tc_t *tc, const char *path) argument
149 if (FSTYPE_LFS(tc))
164 tfhinval(const atf_tc_t *tc, cons argument
[all...]
H A Dt_ro.c53 nullgen(const atf_tc_t *tc, const char *mp) argument
60 filegen(const atf_tc_t *tc, const char *mp) argument
78 create(const atf_tc_t *tc, const char *mp) argument
87 rmfile(const atf_tc_t *tc, const char *mp) argument
96 fileio(const atf_tc_t *tc, const char *mp) argument
102 if (FSTYPE_NFSRO(tc))
120 attrs(const atf_tc_t *tc, const char *mp) argument
131 if (!FSTYPE_MSDOS(tc))
137 if (!FSTYPE_MSDOS(tc))
146 createdir(const atf_tc_t *tc, cons argument
155 createfifo(const atf_tc_t *tc, const char *mp) argument
164 createsymlink(const atf_tc_t *tc, const char *mp) argument
173 createlink(const atf_tc_t *tc, const char *mp) argument
[all...]
/freebsd-head/sys/dev/mlx5/mlx5_core/
H A Dmlx5_tls.c96 int mlx5_tls_open_tis(struct mlx5_core_dev *mdev, int tc, int tdn, int pdn, u32 *p_tisn) argument
102 MLX5_SET(tisc, tisc, prio, tc);
/freebsd-head/sys/i386/i386/
H A Dmp_clock.c53 static unsigned piix_get_timecount(struct timecounter *tc);
90 piix_get_timecount(struct timecounter *tc) argument
/freebsd-head/lib/libc/sys/
H A D__vdso_gettimeofday.c44 u_int tc; local
46 error = __vdso_gettc(th, &tc);
48 *delta = (tc - th->th_offset_count) & th->th_counter_mask;
/freebsd-head/contrib/apr-util/test/
H A Dtestdbm.c63 static void test_dbm_store(abts_case *tc, apr_dbm_t *db, dbm_table_t *table) argument
70 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
76 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
81 static void test_dbm_fetch(abts_case *tc, apr_dbm_t *db, dbm_table_t *table) argument
91 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
92 ABTS_INT_EQUAL(tc, table[i].val.dsize, val.dsize);
93 ABTS_INT_EQUAL(tc, 0, memcmp(table[i].val.dptr, val.dptr, val.dsize));
96 ABTS_INT_EQUAL(tc, 0, val.dsize);
101 static void test_dbm_delete(abts_case *tc, apr_dbm_t *db, dbm_table_t *table) argument
111 ABTS_INT_EQUAL(tc, APR_SUCCES
116 test_dbm_exists(abts_case *tc, apr_dbm_t *db, dbm_table_t *table) argument
131 test_dbm_traversal(abts_case *tc, apr_dbm_t *db, dbm_table_t *table) argument
166 test_dbm(abts_case *tc, void *data) argument
[all...]
H A Dtestrmm.c33 static void test_rmm(abts_case *tc, void *data) argument
45 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
50 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
56 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
70 ABTS_TRUE(tc, !off2);
77 ABTS_TRUE(tc, !!off[i]);
78 ABTS_TRUE(tc, !(sc & 7));
96 ABTS_STR_EQUAL(tc, d, *c);
103 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
117 ABTS_INT_EQUAL(tc, APR_SUCCES
[all...]
H A Dtestxlate.c32 static void test_conversion(abts_case *tc, apr_xlate_t *convset, argument
41 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
48 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
52 ABTS_STR_EQUAL(tc, expected, buf);
55 static void one_test(abts_case *tc, const char *cs1, const char *cs2, argument
63 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
68 test_conversion(tc, convset, str1, str2);
71 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
76 static int is_transform_supported(abts_case *tc, const char *cs1, argument
84 static int is_transform_supported(abts_case *tc, cons argument
101 test_transformation(abts_case *tc, void *data) argument
[all...]
H A Dtestxml.c23 static apr_status_t create_dummy_file_error(abts_case *tc, apr_pool_t *p, argument
33 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
40 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
45 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
49 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
52 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
57 static apr_status_t create_dummy_file(abts_case *tc, apr_pool_t *p, argument
67 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
73 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
78 ABTS_INT_EQUAL(tc, APR_SUCCES
90 dump_xml(abts_case *tc, apr_xml_elem *e, int level) argument
120 test_xml_parser(abts_case *tc, void *data) argument
151 test_billion_laughs(abts_case *tc, void *data) argument
169 test_CVE_2009_3720_alpha(abts_case *tc, void *data) argument
182 test_CVE_2009_3720_beta(abts_case *tc, void *data) argument
[all...]
H A Dtesturi.c254 static void test_aup(abts_case *tc, void *data) argument
270 ABTS_ASSERT(tc, msg, rv == t->rv);
272 ABTS_STR_EQUAL(tc, t->scheme, info.scheme);
273 ABTS_STR_EQUAL(tc, t->hostinfo, info.hostinfo);
274 ABTS_STR_EQUAL(tc, t->user, info.user);
275 ABTS_STR_EQUAL(tc, t->password, info.password);
276 ABTS_STR_EQUAL(tc, t->hostname, info.hostname);
277 ABTS_STR_EQUAL(tc, t->port_str, info.port_str);
278 ABTS_STR_EQUAL(tc, t->path, info.path);
279 ABTS_STR_EQUAL(tc,
302 test_uph(abts_case *tc, void *data) argument
[all...]
H A Dtestpass.c73 static void test_crypt(abts_case *tc, void *data) argument
78 apr_assert_success(tc, "check for valid password",
89 abts_case *tc = data; local
93 test_crypt(tc, NULL);
102 static void test_threadsafe(abts_case *tc, void *data) argument
109 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
112 rv = apr_thread_pool_push(thrp, testing_thread, tc, 0, NULL);
113 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv);
122 static void test_shapass(abts_case *tc, void *data) argument
130 apr_assert_success(tc, "SHA
136 test_md5pass(abts_case *tc, void *data) argument
165 test_glibc_shapass(abts_case *tc, void *data) argument
177 test_bcryptpass(abts_case *tc, void *data) argument
[all...]
/freebsd-head/contrib/netbsd-tests/include/
H A Dt_bitstring.c208 one_check(const atf_tc_t *tc, const int test_length) argument
222 atf_tc_get_config_var(tc, "srcdir"), test_length);
228 ATF_TC_HEAD(bits_8, tc)
230 atf_tc_set_md_var(tc, "descr", "Checks 8-bit long bitstrings");
232 ATF_TC_BODY(bits_8, tc)
234 one_check(tc, 8);
238 ATF_TC_HEAD(bits_27, tc)
240 atf_tc_set_md_var(tc, "descr", "Checks 27-bit long bitstrings");
242 ATF_TC_BODY(bits_27, tc)
244 one_check(tc, 2
[all...]
/freebsd-head/contrib/atf/atf-c/
H A Dtp.c37 #include "atf-c/tc.h"
52 const atf_tc_t *tc; local
55 tc = NULL;
60 tc = tc2;
64 return tc;
109 atf_tc_t *tc = atf_list_iter_data(iter); local
110 atf_tc_fini(tc);
130 const atf_tc_t *tc = find_tc(tp, id); local
131 return tc != NULL;
137 const atf_tc_t *tc local
176 atf_tp_add_tc(atf_tp_t *tp, atf_tc_t *tc) argument
196 const atf_tc_t *tc; local
207 const atf_tc_t *tc; local
[all...]
/freebsd-head/contrib/atf/atf-c++/detail/
H A Dprocess_test.cpp59 exec_process_helpers(const atf::tests::tc& tc, const char* helper_name) argument
64 argv.push_back(get_process_helpers_path(tc, true).leaf_name());
67 return exec(get_process_helpers_path(tc, true),
/freebsd-head/contrib/netbsd-tests/lib/libc/locale/
H A Dt_wctomb.c100 h_wctomb(const struct test *t, char tc) argument
127 if (tc == TC_WCRTOMB_ST) {
140 if (tc == TC_WCTOMB)
159 ATF_TC_HEAD(wctomb, tc)
161 atf_tc_set_md_var(tc, "descr", "Checks wctomb(3)");
163 ATF_TC_BODY(wctomb, tc)
174 ATF_TC_HEAD(wcrtomb_state, tc)
176 atf_tc_set_md_var(tc, "descr",
179 ATF_TC_BODY(wcrtomb_state, tc)
190 ATF_TC_HEAD(wcrtomb, tc)
[all...]

Completed in 125 milliseconds

12345678910