Home
last modified time | relevance | path

Searched defs:tc (Results 1 – 25 of 567) sorted by relevance

12345678910>>...23

/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_post.c39 void test_cil_post_filecon_compare_meta_a_not_b(CuTest *tc) { in test_cil_post_filecon_compare_meta_a_not_b()
57 void test_cil_post_filecon_compare_meta_b_not_a(CuTest *tc) { in test_cil_post_filecon_compare_meta_b_not_a()
75 void test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b(CuTest *tc) { in test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b()
93 void test_cil_post_filecon_compare_type_atype_greater_btype(CuTest *tc) { in test_cil_post_filecon_compare_type_atype_greater_btype()
112 void test_cil_post_filecon_compare_type_btype_greater_atype(CuTest *tc) { in test_cil_post_filecon_compare_type_btype_greater_atype()
132 void test_cil_post_filecon_compare_meta_a_and_b_strlen_b_greater_a(CuTest *tc) { in test_cil_post_filecon_compare_meta_a_and_b_strlen_b_greater_a()
150 void test_cil_post_filecon_compare_stemlen_a_greater_b(CuTest *tc) { in test_cil_post_filecon_compare_stemlen_a_greater_b()
168 void test_cil_post_filecon_compare_stemlen_b_greater_a(CuTest *tc) { in test_cil_post_filecon_compare_stemlen_b_greater_a()
186 void test_cil_post_filecon_compare_equal(CuTest *tc) { in test_cil_post_filecon_compare_equal()
206 void test_cil_post_portcon_compare_atotal_greater_btotal(CuTest *tc) { in test_cil_post_portcon_compare_atotal_greater_btotal()
[all …]
Dtest_cil_build_ast.c63 void test_cil_parse_to_list(CuTest *tc) { in test_cil_parse_to_list()
94 void test_cil_parse_to_list_currnull_neg(CuTest *tc) { in test_cil_parse_to_list_currnull_neg()
125 void test_cil_parse_to_list_listnull_neg(CuTest *tc) { in test_cil_parse_to_list_listnull_neg()
154 void test_cil_set_to_list(CuTest *tc) { in test_cil_set_to_list()
173 void test_cil_set_to_list_tree_node_null_neg(CuTest *tc) { in test_cil_set_to_list_tree_node_null_neg()
180 void test_cil_set_to_list_cl_head_null_neg(CuTest *tc) { in test_cil_set_to_list_cl_head_null_neg()
195 void test_cil_set_to_list_listnull_neg(CuTest *tc) { in test_cil_set_to_list_listnull_neg()
206 void test_cil_gen_block(CuTest *tc) { in test_cil_gen_block()
228 void test_cil_gen_block_justblock_neg(CuTest *tc) { in test_cil_gen_block_justblock_neg()
247 void test_cil_gen_block_noname_neg(CuTest *tc) { in test_cil_gen_block_noname_neg()
[all …]
Dtest_cil.c38 void test_cil_symtab_array_init(CuTest *tc) { in test_cil_symtab_array_init()
48 void test_cil_db_init(CuTest *tc) { in test_cil_db_init()
60 void test_cil_get_symtab_block(CuTest *tc) { in test_cil_get_symtab_block()
78 void test_cil_get_symtab_class(CuTest *tc) { in test_cil_get_symtab_class()
96 void test_cil_get_symtab_root(CuTest *tc) { in test_cil_get_symtab_root()
114 void test_cil_get_symtab_flavor_neg(CuTest *tc) { in test_cil_get_symtab_flavor_neg()
132 void test_cil_get_symtab_null_neg(CuTest *tc) { in test_cil_get_symtab_null_neg()
149 void test_cil_get_symtab_node_null_neg(CuTest *tc) { in test_cil_get_symtab_node_null_neg()
163 void test_cil_get_symtab_parent_null_neg(CuTest *tc) { in test_cil_get_symtab_parent_null_neg()
Dtest_cil_resolve_ast.c66 void test_cil_resolve_name(CuTest *tc) { in test_cil_resolve_name()
90 void test_cil_resolve_name_invalid_type_neg(CuTest *tc) { in test_cil_resolve_name_invalid_type_neg()
114 void test_cil_resolve_ast_curr_null_neg(CuTest *tc) { in test_cil_resolve_ast_curr_null_neg()
129 void test_cil_resolve_roleallow(CuTest *tc) { in test_cil_resolve_roleallow()
149 void test_cil_resolve_roleallow_srcdecl_neg(CuTest *tc) { in test_cil_resolve_roleallow_srcdecl_neg()
169 void test_cil_resolve_roleallow_tgtdecl_neg(CuTest *tc) { in test_cil_resolve_roleallow_tgtdecl_neg()
188 void test_cil_resolve_classmapping_anon(CuTest *tc) { in test_cil_resolve_classmapping_anon()
208 void test_cil_resolve_classmapping_anon_inmacro(CuTest *tc) { in test_cil_resolve_classmapping_anon_inmacro()
243 void test_cil_resolve_classmapping_anon_inmacro_neg(CuTest *tc) { in test_cil_resolve_classmapping_anon_inmacro_neg()
278 void test_cil_resolve_classmapping_named(CuTest *tc) { in test_cil_resolve_classmapping_named()
[all …]
Dtest_cil_copy_ast.c56 void test_cil_copy_list(CuTest *tc) { in test_cil_copy_list()
78 void test_cil_copy_list_sublist(CuTest *tc) { in test_cil_copy_list_sublist()
102 void test_cil_copy_list_sublist_extra(CuTest *tc) { in test_cil_copy_list_sublist_extra()
128 void test_cil_copy_list_orignull_neg(CuTest *tc) { in test_cil_copy_list_orignull_neg()
144 void test_cil_copy_block(CuTest *tc) { in test_cil_copy_block()
171 void test_cil_copy_perm(CuTest *tc) { in test_cil_copy_perm()
212 void test_cil_copy_class(CuTest *tc) { in test_cil_copy_class()
239 void test_cil_copy_common(CuTest *tc) { in test_cil_copy_common()
266 void test_cil_copy_classcommon(CuTest *tc) { in test_cil_copy_classcommon()
304 void test_cil_copy_sid(CuTest *tc) { in test_cil_copy_sid()
[all …]
DCuTest.h99 #define CuFail(tc, ms) CuFail_Line( (tc), __FILE__, __LINE__, NULL, (ms)) argument
100 #define CuAssert(tc, ms, cond) CuAssert_Line((tc), __FILE__, __LINE__, (ms), (cond)) argument
101 #define CuAssertTrue(tc, cond) CuAssert_Line((tc), __FILE__, __LINE__, "assert faile… argument
103 #define CuAssertStrEquals(tc,ex,ac) CuAssertStrEquals_LineMsg((tc),__FILE__,__LINE__,NULL… argument
104 #define CuAssertStrEquals_Msg(tc,ms,ex,ac) CuAssertStrEquals_LineMsg((tc),__FILE__,__LINE__,(ms)… argument
105 #define CuAssertIntEquals(tc,ex,ac) CuAssertIntEquals_LineMsg((tc),__FILE__,__LINE__,NULL… argument
106 #define CuAssertIntEquals_Msg(tc,ms,ex,ac) CuAssertIntEquals_LineMsg((tc),__FILE__,__LINE__,(ms)… argument
107 #define CuAssertDblEquals(tc,ex,ac,dl) CuAssertDblEquals_LineMsg((tc),__FILE__,__LINE__,NULL… argument
108 #define CuAssertDblEquals_Msg(tc,ms,ex,ac,dl) CuAssertDblEquals_LineMsg((tc),__FILE__,__LINE__,(ms)… argument
109 #define CuAssertPtrEquals(tc,ex,ac) CuAssertPtrEquals_LineMsg((tc),__FILE__,__LINE__,NULL… argument
[all …]
Dtest_cil_list.c36 void test_cil_list_init(CuTest *tc) { in test_cil_list_init()
48 void test_cil_list_append_item(CuTest *tc) { in test_cil_list_append_item()
76 void test_cil_list_append_item_append(CuTest *tc) { in test_cil_list_append_item_append()
112 void test_cil_list_append_item_append_extra(CuTest *tc) { in test_cil_list_append_item_append_extra()
154 void test_cil_list_append_item_listnull_neg(CuTest *tc) { in test_cil_list_append_item_listnull_neg()
181 void test_cil_list_append_item_itemnull_neg(CuTest *tc) { in test_cil_list_append_item_itemnull_neg()
205 void test_cil_list_prepend_item(CuTest *tc) { in test_cil_list_prepend_item()
233 void test_cil_list_prepend_item_prepend(CuTest *tc) { in test_cil_list_prepend_item_prepend()
262 void test_cil_list_prepend_item_prepend_neg(CuTest *tc) { in test_cil_list_prepend_item_prepend_neg()
296 void test_cil_list_prepend_item_listnull_neg(CuTest *tc) { in test_cil_list_prepend_item_listnull_neg()
[all …]
/third_party/libnl/lib/route/
Dtc.c65 int rtnl_tc_msg_parse(struct nlmsghdr *n, struct rtnl_tc *tc) in rtnl_tc_msg_parse()
201 int rtnl_tc_msg_build(struct rtnl_tc *tc, int type, int flags, in rtnl_tc_msg_build()
279 void rtnl_tc_set_ifindex(struct rtnl_tc *tc, int ifindex) in rtnl_tc_set_ifindex()
294 int rtnl_tc_get_ifindex(struct rtnl_tc *tc) in rtnl_tc_get_ifindex()
311 void rtnl_tc_set_link(struct rtnl_tc *tc, struct rtnl_link *link) in rtnl_tc_set_link()
342 struct rtnl_link *rtnl_tc_get_link(struct rtnl_tc *tc) in rtnl_tc_get_link()
365 void rtnl_tc_set_mtu(struct rtnl_tc *tc, uint32_t mtu) in rtnl_tc_set_mtu()
380 uint32_t rtnl_tc_get_mtu(struct rtnl_tc *tc) in rtnl_tc_get_mtu()
400 void rtnl_tc_set_mpu(struct rtnl_tc *tc, uint32_t mpu) in rtnl_tc_set_mpu()
412 uint32_t rtnl_tc_get_mpu(struct rtnl_tc *tc) in rtnl_tc_get_mpu()
[all …]
/third_party/gstreamer/gstplugins_base/gst-libs/gst/video/
Dgstvideotimecode.c66 gst_video_time_code_is_valid (const GstVideoTimeCode * tc) in gst_video_time_code_is_valid()
134 gst_video_time_code_to_string (const GstVideoTimeCode * tc) in gst_video_time_code_to_string()
170 gst_video_time_code_to_date_time (const GstVideoTimeCode * tc) in gst_video_time_code_to_date_time()
228 gst_video_time_code_init_from_date_time (GstVideoTimeCode * tc, in gst_video_time_code_init_from_date_time()
254 gst_video_time_code_init_from_date_time_full (GstVideoTimeCode * tc, in gst_video_time_code_init_from_date_time_full()
311 gst_video_time_code_nsec_since_daily_jam (const GstVideoTimeCode * tc) in gst_video_time_code_nsec_since_daily_jam()
334 gst_video_time_code_frames_since_daily_jam (const GstVideoTimeCode * tc) in gst_video_time_code_frames_since_daily_jam()
385 gst_video_time_code_increment_frame (GstVideoTimeCode * tc) in gst_video_time_code_increment_frame()
401 gst_video_time_code_add_frames (GstVideoTimeCode * tc, gint64 frames) in gst_video_time_code_add_frames()
614 GstVideoTimeCode *tc; in gst_video_time_code_new() local
[all …]
/third_party/skia/third_party/externals/tint/src/resolver/
Dtype_constructor_validation_test.cc314 auto* tc = Construct(lhs_type2, arg); in TEST_P() local
448 auto* tc = array<u32, 10>(); in TEST_F() local
465 auto* tc = array<u32, 3>(Expr(0u), Expr(10u), Expr(20u)); in TEST_F() local
485 auto* tc = array<u32, 3>(Expr(0u), Expr(Source{{12, 34}}, 1.0f), Expr(20u)); in TEST_F() local
497 auto* tc = array<f32, 1>(Expr(Source{{12, 34}}, 1)); in TEST_F() local
509 auto* tc = array<u32, 1>(Expr(Source{{12, 34}}, 1), Expr(0u), Expr(0u), in TEST_F() local
522 auto* tc = in TEST_F() local
595 auto* tc = array<i32, 4>(Expr(1), Expr(2), Expr(3)); in TEST_F() local
608 auto* tc = array<i32, 4>(Expr(1), Expr(2), Expr(3), Expr(4), Expr(5)); in TEST_F() local
620 auto* tc = array(ty.i32(), nullptr, Expr(Source{{12, 34}}, 1)); in TEST_F() local
[all …]
/third_party/libnl/src/lib/
Dtc.c22 void nl_cli_tc_parse_dev(struct rtnl_tc *tc, struct nl_cache *link_cache, char *name) in nl_cli_tc_parse_dev()
34 void nl_cli_tc_parse_parent(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_parent()
46 void nl_cli_tc_parse_handle(struct rtnl_tc *tc, char *arg, int create) in nl_cli_tc_parse_handle()
65 void nl_cli_tc_parse_mtu(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_mtu()
70 void nl_cli_tc_parse_mpu(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_mpu()
75 void nl_cli_tc_parse_overhead(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_overhead()
80 void nl_cli_tc_parse_kind(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_kind()
85 void nl_cli_tc_parse_linktype(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_linktype()
/third_party/libnl/lib/route/act/
Dgact.c31 static int gact_msg_parser(struct rtnl_tc *tc, void *data) in gact_msg_parser()
49 static void gact_free_data(struct rtnl_tc *tc, void *data) in gact_free_data()
61 static void gact_dump_line(struct rtnl_tc *tc, void *data, in gact_dump_line()
86 static void gact_dump_details(struct rtnl_tc *tc, void *data, in gact_dump_details()
91 static void gact_dump_stats(struct rtnl_tc *tc, void *data, in gact_dump_stats()
102 static int gact_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in gact_msg_fill()
Dmirred.c31 static int mirred_msg_parser(struct rtnl_tc *tc, void *data) in mirred_msg_parser()
48 static void mirred_free_data(struct rtnl_tc *tc, void *data) in mirred_free_data()
60 static void mirred_dump_line(struct rtnl_tc *tc, void *data, in mirred_dump_line()
96 static void mirred_dump_details(struct rtnl_tc *tc, void *data, in mirred_dump_details()
101 static void mirred_dump_stats(struct rtnl_tc *tc, void *data, in mirred_dump_stats()
112 static int mirred_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in mirred_msg_fill()
Dskbedit.c34 static int skbedit_msg_parser(struct rtnl_tc *tc, void *data) in skbedit_msg_parser()
66 static void skbedit_free_data(struct rtnl_tc *tc, void *data) in skbedit_free_data()
78 static void skbedit_dump_line(struct rtnl_tc *tc, void *data, in skbedit_dump_line()
117 static void skbedit_dump_details(struct rtnl_tc *tc, void *data, in skbedit_dump_details()
122 static void skbedit_dump_stats(struct rtnl_tc *tc, void *data, in skbedit_dump_stats()
133 static int skbedit_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in skbedit_msg_fill()
/third_party/ltp/testcases/kernel/syscalls/mincore/
Dmincore01.c102 static void setup1(struct test_case_t *tc) in setup1()
109 void setup2(struct test_case_t *tc) in setup2()
131 static void setup3(struct test_case_t *tc) in setup3()
139 static void setup4(struct test_case_t *tc) in setup4()
191 static void mincore_verify(struct test_case_t *tc) in mincore_verify()
/third_party/libnl/lib/route/cls/
Dcgroup.c55 static void cgroup_free_data(struct rtnl_tc *tc, void *data) in cgroup_free_data()
65 static int cgroup_msg_parser(struct rtnl_tc *tc, void *data) in cgroup_msg_parser()
91 static void cgroup_dump_line(struct rtnl_tc *tc, void *data, in cgroup_dump_line()
105 static void cgroup_dump_details(struct rtnl_tc *tc, void *data, in cgroup_dump_details()
124 static int cgroup_fill_msg(struct rtnl_tc *tc, void *data, in cgroup_fill_msg()
Dfw.c43 static int fw_msg_parser(struct rtnl_tc *tc, void *data) in fw_msg_parser()
85 static void fw_free_data(struct rtnl_tc *tc, void *data) in fw_free_data()
106 static void fw_dump_line(struct rtnl_tc *tc, void *data, in fw_dump_line()
125 static void fw_dump_details(struct rtnl_tc *tc, void *data, in fw_dump_details()
134 static int fw_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in fw_msg_fill()
/third_party/skia/third_party/externals/expat/expat/tests/
Dminicheck.c60 TCase *tc = (TCase *)calloc(1, sizeof(TCase)); in tcase_create() local
68 suite_add_tcase(Suite *suite, TCase *tc) { in suite_add_tcase()
78 tcase_add_checked_fixture(TCase *tc, tcase_setup_function setup, in tcase_add_checked_fixture()
86 tcase_add_test(TCase *tc, tcase_test_function test) { in tcase_add_test()
101 tcase_free(TCase *tc) { in tcase_free()
165 TCase *volatile tc; in srunner_run_all() local
/third_party/expat/tests/
Dminicheck.c60 TCase *tc = (TCase *)calloc(1, sizeof(TCase)); in tcase_create() local
68 suite_add_tcase(Suite *suite, TCase *tc) { in suite_add_tcase()
78 tcase_add_checked_fixture(TCase *tc, tcase_setup_function setup, in tcase_add_checked_fixture()
86 tcase_add_test(TCase *tc, tcase_test_function test) { in tcase_add_test()
101 tcase_free(TCase *tc) { in tcase_free()
165 TCase *volatile tc; in srunner_run_all() local
/third_party/libnl/lib/route/qdisc/
Dred.c41 static int red_msg_parser(struct rtnl_tc *tc, void *data) in red_msg_parser()
75 static void red_dump_line(struct rtnl_tc *tc, void *data, in red_dump_line()
85 static void red_dump_details(struct rtnl_tc *tc, void *data, in red_dump_details()
95 static void red_dump_stats(struct rtnl_tc *tc, void *data, in red_dump_stats()
105 static int red_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in red_msg_fill()
Dingress.c30 static int dumb_msg_parser(struct rtnl_tc *tc, void *data) in dumb_msg_parser()
35 static void dumb_dump_line(struct rtnl_tc *tc, void *data, in dumb_dump_line()
40 static int dumb_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in dumb_msg_fill()
Dfifo.c44 static int fifo_msg_parser(struct rtnl_tc *tc, void *data) in fifo_msg_parser()
59 static void pfifo_dump_line(struct rtnl_tc *tc, void *data, in pfifo_dump_line()
68 static void bfifo_dump_line(struct rtnl_tc *tc, void *data, in bfifo_dump_line()
82 static int fifo_msg_fill(struct rtnl_tc *tc, void *data, struct nl_msg *msg) in fifo_msg_fill()
Ddsmark.c45 static int dsmark_qdisc_msg_parser(struct rtnl_tc *tc, void *data) in dsmark_qdisc_msg_parser()
74 static int dsmark_class_msg_parser(struct rtnl_tc *tc, void *data) in dsmark_class_msg_parser()
97 static void dsmark_qdisc_dump_line(struct rtnl_tc *tc, void *data, in dsmark_qdisc_dump_line()
106 static void dsmark_qdisc_dump_details(struct rtnl_tc *tc, void *data, in dsmark_qdisc_dump_details()
121 static void dsmark_class_dump_line(struct rtnl_tc *tc, void *data, in dsmark_class_dump_line()
136 static int dsmark_qdisc_msg_fill(struct rtnl_tc *tc, void *data, in dsmark_qdisc_msg_fill()
160 static int dsmark_class_msg_fill(struct rtnl_tc *tc, void *data, in dsmark_class_msg_fill()
/third_party/gstreamer/gstreamer/libs/gst/check/libcheck/
Dcheck.c83 TCase *tc; in suite_tcase() local
120 TCase *tc = (TCase *) emalloc (sizeof (TCase)); /*freed in tcase_free */ in tcase_create() local
189 tcase_set_tags (TCase * tc, const char *tags_orig) in tcase_set_tags()
200 tcase_free (TCase * tc) in tcase_free()
218 tcase_matching_tag (TCase * tc, List * check_for) in tcase_matching_tag()
239 suite_add_tcase (Suite * s, TCase * tc) in suite_add_tcase()
249 _tcase_add_test (TCase * tc, TFun fn, const char *name, int _signal, in _tcase_add_test()
279 tcase_add_unchecked_fixture (TCase * tc, SFun setup, SFun teardown) in tcase_add_unchecked_fixture()
285 tcase_add_checked_fixture (TCase * tc, SFun setup, SFun teardown) in tcase_add_checked_fixture()
291 tcase_add_fixture (TCase * tc, SFun setup, SFun teardown, int ischecked) in tcase_add_fixture()
[all …]
/third_party/skia/third_party/externals/spirv-tools/test/opt/
Dfold_test.cpp75 const auto& tc = GetParam(); in TEST_P() local
773 const auto& tc = GetParam(); in TEST_P() local
865 const auto& tc = GetParam(); in TEST_P() local
917 const auto& tc = GetParam(); in TEST_P() local
986 const auto& tc = GetParam(); in TEST_P() local
1597 const auto& tc = GetParam(); in TEST_P() local
1998 const auto& tc = GetParam(); in TEST_P() local
2848 const auto& tc = GetParam(); in TEST_P() local
2896 const auto& tc = GetParam(); in TEST_P() local
2946 const auto& tc = GetParam(); in TEST_P() local
[all …]

12345678910>>...23