Searched defs:tc (Results 1 - 25 of 237) sorted by relevance

12345678910

/freebsd-head/lib/libc/sys/
H A Dtrivial-vdso_tc.c36 __vdso_gettc(const struct vdso_timehands *th, u_int *tc) argument
/freebsd-head/sys/kern/
H A Dsubr_dummy_vdso_tc.c36 cpu_fill_vdso_timehands(struct vdso_timehands *vdso_th, struct timecounter *tc) argument
45 struct timecounter *tc)
44 cpu_fill_vdso_timehands32(struct vdso_timehands32 *vdso_th32, struct timecounter *tc) argument
/freebsd-head/lib/libc/powerpc/sys/
H A D__vdso_gettc.c48 __vdso_gettc(const struct vdso_timehands *th, u_int *tc) argument
57 *tc = mfspr(TBR_TBL);
/freebsd-head/lib/libc/powerpc64/sys/
H A D__vdso_gettc.c47 __vdso_gettc(const struct vdso_timehands *th, u_int *tc) argument
55 *tc = tb;
/freebsd-head/contrib/apr-util/test/
H A Dtestuuid.c21 static void test_uuid_parse(abts_case *tc, void *data) argument
31 ABTS_ASSERT(tc, "parse produced a different UUID",
35 static void test_gen2(abts_case *tc, void *data) argument
44 ABTS_ASSERT(tc, "generated the same UUID twice",
H A Dtestutil.c26 void apr_assert_success(abts_case* tc, const char* context, apr_status_t rv) argument
29 ABTS_NOT_IMPL(tc, context);
36 ABTS_FAIL(tc, buf);
40 void apr_assert_failure(abts_case* tc, const char* context, apr_status_t rv, argument
44 abts_not_impl(tc, context, lineno);
48 abts_fail(tc, buf, lineno);
H A Dtestmd4.c92 static void test_md4sum(abts_case *tc, void *data) argument
100 ABTS_ASSERT(tc, "apr_md4_init", (apr_md4_init(&context) == 0));
101 ABTS_ASSERT(tc, "apr_md4_update",
105 ABTS_ASSERT(tc, "apr_md4_final", (apr_md4_final(digest, &context) ==0));
106 ABTS_ASSERT(tc, "check for correct md4 digest",
H A Dtestmd5.c52 static void test_md5sum(abts_case *tc, void *data) argument
60 ABTS_ASSERT(tc, "apr_md5_init", (apr_md5_init(&context) == 0));
61 ABTS_ASSERT(tc, "apr_md5_update",
63 ABTS_ASSERT(tc, "apr_md5_final", (apr_md5_final(digest, &context)
65 ABTS_ASSERT(tc, "check for correct md5 digest",
69 static void test_md5sum_unaligned(abts_case *tc, void *data) argument
81 ABTS_ASSERT(tc, "apr_md5_init", (apr_md5_init(&context) == 0));
83 ABTS_ASSERT(tc, "apr_md5_update",
87 ABTS_ASSERT(tc, "apr_md5_final", (apr_md5_final(digest, &context)
89 ABTS_ASSERT(tc, "chec
[all...]
H A Dtestsiphash.c136 static void test_siphash_vectors(abts_case *tc, void *data) argument
138 ABTS_ASSERT(tc, "SipHash-2-4 test vectors", test_vectors());
/freebsd-head/contrib/atf/atf-c/
H A Dtc_test.c26 #include "atf-c/tc.h"
39 ATF_TC_HEAD(empty, tc)
41 if (tc != NULL) {}
43 ATF_TC_BODY(empty, tc)
47 ATF_TC_HEAD(test_var, tc)
49 atf_tc_set_md_var(tc, "test-var", "Test text");
57 ATF_TC_HEAD(init, tc)
59 atf_tc_set_md_var(tc, "descr", "Tests the atf_tc_init function");
63 atf_tc_t tc; local
65 RE(atf_tc_init(&tc, "test
85 atf_tc_t tc; local
118 atf_tc_t tc; local
138 atf_tc_t tc; local
[all...]
/freebsd-head/lib/libc/aarch64/sys/
H A D__vdso_gettc.c60 __vdso_gettc(const struct vdso_timehands *th, u_int *tc) argument
66 *tc = th->th_physical == 0 ? cp15_cntvct_get() : cp15_cntpct_get();
/freebsd-head/contrib/netbsd-tests/fs/vfs/
H A Dt_mtime_otrunc.c62 otrunc_mtime_update(const atf_tc_t *tc, const char *path) argument
H A Dt_rmdirrace.c66 race(const atf_tc_t *tc, const char *path) argument
71 if (FSTYPE_SYSVBFS(tc))
H A Dt_full.c51 fillfs(const atf_tc_t *tc, const char *mp) argument
59 if (FSTYPE_P2K_FFS(tc) || FSTYPE_PUFFS(tc) || FSTYPE_RUMPFS(tc)) {
65 if (FSTYPE_NFS(tc))
80 if (FSTYPE_ZFS(tc))
/freebsd-head/contrib/netbsd-tests/rump/rumpkern/
H A Dt_kern.c46 ATF_TC_HEAD(lockme_##_name_, tc) { \
47 atf_tc_set_md_var(tc, "descr", _descr_); \
49 ATF_TC_BODY(lockme_##_name_, tc) { \
50 locktest(tc, LOCKME_##_name_, _needld_, _expect_); \
54 locktest(const atf_tc_t *tc, enum locktest lt, int needld, const char *expect) argument
/freebsd-head/lib/libc/arm/sys/
H A D__vdso_gettc.c65 __vdso_gettc(const struct vdso_timehands *th, u_int *tc) argument
77 *tc = th->th_physical == 0 ? cp15_cntvct_get() : cp15_cntpct_get();
80 *tc = 0;
/freebsd-head/contrib/netbsd-tests/fs/common/
H A Dfstest_rumpfs.c47 rumpfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
62 rumpfs_fstest_delfs(const atf_tc_t *tc, void *buf) argument
69 rumpfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
81 rumpfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
H A Dfstest_tmpfs.c53 tmpfs_fstest_newfs(const atf_tc_t *tc, void **buf, const char *image, argument
77 tmpfs_fstest_delfs(const atf_tc_t *tc, void *buf) argument
87 tmpfs_fstest_mount(const atf_tc_t *tc, void *buf, const char *path, int flags) argument
102 tmpfs_fstest_unmount(const atf_tc_t *tc, const char *path, int flags) argument
/freebsd-head/contrib/atf/atf-c++/detail/
H A Dtest_helpers.cpp65 build_check_cxx_o_srcdir(const atf::tests::tc& tc, const char* sfile) argument
68 atf::fs::path(tc.get_config_var("srcdir")) / sfile;
87 get_process_helpers_path(const atf::tests::tc& tc, bool is_detail) argument
92 return atf::fs::path(tc.get_config_var("srcdir")) /
95 return atf::fs::path(tc.get_config_var("srcdir")) /
H A Dtest_helpers.hpp67 class tc;
73 bool build_check_cxx_o_srcdir(const atf::tests::tc&, const char*);
74 atf::fs::path get_process_helpers_path(const atf::tests::tc&, bool);
89 TestCase tc; local
90 tc.init(data->m_config);
91 tc.run("result");
/freebsd-head/contrib/atf/atf-c++/
H A Dtests.hpp66 // The "tc" class.
71 class tc { class in namespace:atf::tests
73 tc(const tc&);
74 tc& operator=(const tc&);
88 tc(const std::string&, const bool);
89 virtual ~tc(void);
H A Dtests_test.cpp64 check_equal(const atf::tests::tc& tc, const std::string& str, argument
74 tc.fail("Constructed string differs from the expected one");
/freebsd-head/contrib/netbsd-tests/fs/ffs/
H A Dt_quota2_1.c24 do_quota(const atf_tc_t *tc, int n, const char *newfs_opts, int log) argument
73 ATF_TC_HEAD(quota_##name, tc) \
75 atf_tc_set_md_var(tc, "descr", \
80 ATF_TC_BODY(quota_##name, tc) \
82 do_quota(tc, nent, newops, log); \
H A Dt_quota2_remount.c25 do_quota(const atf_tc_t *tc, int n, const char *newfs_opts, int log) argument
105 ATF_TC_HEAD(quota_##name, tc) \
107 atf_tc_set_md_var(tc, "descr", \
111 ATF_TC_BODY(quota_##name, tc) \
113 do_quota(tc, nent, newops, log); \
/freebsd-head/sys/x86/x86/
H A Ddelay.c76 struct timecounter *tc; local
91 tc = timecounter;
92 if (tc->tc_quality <= 0)
94 func = tc->tc_get_timecount;
95 mask = tc->tc_counter_mask;
96 freq = tc->tc_frequency;
99 last = func(tc) & mask;
102 u = func(tc) & mask;

Completed in 99 milliseconds

12345678910