Home
last modified time | relevance | path

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

12345678910>>...17

/external/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_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.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_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 …]
DCuTest.c147 CuTest* tc = CU_ALLOC(CuTest); in CuTestNew() local
159 void CuTestRun(CuTest* tc) in CuTestRun()
171 static void CuFailInternal(CuTest* tc, const char* file, int line, CuString* string) in CuFailInternal()
183 void CuFail_Line(CuTest* tc, const char* file, int line, const char* message2, const char* message) in CuFail_Line()
197 void CuAssert_Line(CuTest* tc, const char* file, int line, const char* message, int condition) in CuAssert_Line()
203 void CuAssertStrEquals_LineMsg(CuTest* tc, const char* file, int line, const char* message, in CuAssertStrEquals_LineMsg()
228 void CuAssertIntEquals_LineMsg(CuTest* tc, const char* file, int line, const char* message, in CuAssertIntEquals_LineMsg()
237 void CuAssertDblEquals_LineMsg(CuTest* tc, const char* file, int line, const char* message, in CuAssertDblEquals_LineMsg()
247 void CuAssertPtrEquals_LineMsg(CuTest* tc, const char* file, int line, const char* message, in CuAssertPtrEquals_LineMsg()
/external/libnl/lib/route/
Dtc.c61 int rtnl_tc_msg_parse(struct nlmsghdr *n, struct rtnl_tc *tc) in rtnl_tc_msg_parse()
193 int rtnl_tc_msg_build(struct rtnl_tc *tc, int type, int flags, in rtnl_tc_msg_build()
265 void rtnl_tc_set_ifindex(struct rtnl_tc *tc, int ifindex) in rtnl_tc_set_ifindex()
280 int rtnl_tc_get_ifindex(struct rtnl_tc *tc) in rtnl_tc_get_ifindex()
297 void rtnl_tc_set_link(struct rtnl_tc *tc, struct rtnl_link *link) in rtnl_tc_set_link()
328 struct rtnl_link *rtnl_tc_get_link(struct rtnl_tc *tc) in rtnl_tc_get_link()
351 void rtnl_tc_set_mtu(struct rtnl_tc *tc, uint32_t mtu) in rtnl_tc_set_mtu()
366 uint32_t rtnl_tc_get_mtu(struct rtnl_tc *tc) in rtnl_tc_get_mtu()
386 void rtnl_tc_set_mpu(struct rtnl_tc *tc, uint32_t mpu) in rtnl_tc_set_mpu()
398 uint32_t rtnl_tc_get_mpu(struct rtnl_tc *tc) in rtnl_tc_get_mpu()
[all …]
/external/mesa3d/src/gallium/drivers/softpipe/
Dsp_tex_tile_cache.c49 struct softpipe_tex_tile_cache *tc; in sp_create_tex_tile_cache() local
68 sp_destroy_tex_tile_cache(struct softpipe_tex_tile_cache *tc) in sp_destroy_tex_tile_cache()
93 sp_tex_tile_cache_validate_texture(struct softpipe_tex_tile_cache *tc) in sp_tex_tile_cache_validate_texture()
106 sp_tex_tile_is_compat_view(struct softpipe_tex_tile_cache *tc, in sp_tex_tile_is_compat_view()
123 sp_tex_tile_cache_set_sampler_view(struct softpipe_tex_tile_cache *tc, in sp_tex_tile_cache_set_sampler_view()
166 sp_flush_tex_tile_cache(struct softpipe_tex_tile_cache *tc) in sp_flush_tex_tile_cache()
204 sp_find_cached_tile_tex(struct softpipe_tex_tile_cache *tc, in sp_find_cached_tile_tex()
Dsp_tile_cache.c93 struct softpipe_tile_cache *tc; in sp_create_tile_cache() local
140 sp_destroy_tile_cache(struct softpipe_tile_cache *tc) in sp_destroy_tile_cache()
171 sp_tile_cache_set_surface(struct softpipe_tile_cache *tc, in sp_tile_cache_set_surface()
228 sp_tile_cache_get_surface(struct softpipe_tile_cache *tc) in sp_tile_cache_get_surface()
343 sp_tile_cache_flush_clear(struct softpipe_tile_cache *tc, int layer) in sp_tile_cache_flush_clear()
401 sp_flush_tile(struct softpipe_tile_cache* tc, unsigned pos) in sp_flush_tile()
445 sp_flush_tile_cache(struct softpipe_tile_cache *tc) in sp_flush_tile_cache()
479 sp_alloc_tile(struct softpipe_tile_cache *tc) in sp_alloc_tile()
516 sp_find_cached_tile(struct softpipe_tile_cache *tc, in sp_find_cached_tile()
635 sp_tile_cache_clear(struct softpipe_tile_cache *tc, in sp_tile_cache_clear()
/external/libnl/src/lib/
Dtc.c21 void nl_cli_tc_parse_dev(struct rtnl_tc *tc, struct nl_cache *link_cache, char *name) in nl_cli_tc_parse_dev()
33 void nl_cli_tc_parse_parent(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_parent()
45 void nl_cli_tc_parse_handle(struct rtnl_tc *tc, char *arg, int create) in nl_cli_tc_parse_handle()
64 void nl_cli_tc_parse_mtu(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_mtu()
69 void nl_cli_tc_parse_mpu(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_mpu()
74 void nl_cli_tc_parse_overhead(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_overhead()
79 void nl_cli_tc_parse_kind(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_kind()
84 void nl_cli_tc_parse_linktype(struct rtnl_tc *tc, char *arg) in nl_cli_tc_parse_linktype()
/external/testng/src/test/java/test/regression/
DMyTestngTest2.java11 public void beforeClass(ITestContext tc) throws Exception { in beforeClass()
15 public void beforeMethod(ITestContext tc) throws Exception { in beforeMethod()
19 public void test(ITestContext tc) { in test()
DMyTestngTest.java10 public void beforeSuite(ITestContext tc) throws Exception { in beforeSuite()
14 public void beforeTest(ITestContext tc) throws Exception { in beforeTest()
/external/expat/tests/
Dminicheck.c59 TCase *tc = (TCase *) calloc(1, sizeof(TCase)); in tcase_create() local
67 suite_add_tcase(Suite *suite, TCase *tc) in suite_add_tcase()
78 tcase_add_checked_fixture(TCase *tc, in tcase_add_checked_fixture()
88 tcase_add_test(TCase *tc, tcase_test_function test) in tcase_add_test()
104 tcase_free(TCase *tc) in tcase_free()
168 TCase *tc; in srunner_run_all() local
/external/libnl/lib/route/cls/
Dcgroup.c42 static void cgroup_free_data(struct rtnl_tc *tc, void *data) in cgroup_free_data()
52 static int cgroup_msg_parser(struct rtnl_tc *tc, void *data) in cgroup_msg_parser()
78 static void cgroup_dump_line(struct rtnl_tc *tc, void *data, in cgroup_dump_line()
92 static void cgroup_dump_details(struct rtnl_tc *tc, void *data, in cgroup_dump_details()
111 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()
/external/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()
/external/mesa3d/src/gallium/auxiliary/util/
Du_threaded_context.c74 tc_debug_check(struct threaded_context *tc) in tc_debug_check()
104 tc_batch_flush(struct threaded_context *tc) in tc_batch_flush()
129 tc_add_sized_call(struct threaded_context *tc, enum tc_call_id id, in tc_add_sized_call()
157 #define tc_add_struct_typed_call(tc, execute, type) \ argument
160 #define tc_add_slot_based_call(tc, execute, type, num_slots) \ argument
167 tc_add_small_call(struct threaded_context *tc, enum tc_call_id id) in tc_add_small_call()
173 tc_is_sync(struct threaded_context *tc) in tc_is_sync()
183 _tc_sync(struct threaded_context *tc, MAYBE_UNUSED const char *info, MAYBE_UNUSED const char *func) in _tc_sync()
222 #define tc_sync(tc) _tc_sync(tc, "", __func__) argument
223 #define tc_sync_msg(tc, info) _tc_sync(tc, info, __func__) argument
[all …]
/external/libnl/lib/route/act/
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()
/external/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()
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()
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()
/external/ltp/testcases/kernel/syscalls/access/
Daccess01.c253 static void verify_success(struct tcase *tc, const char *user) in verify_success()
265 static void verify_failure(struct tcase *tc, const char *user) in verify_failure()
285 static void access_test(struct tcase *tc, const char *user) in access_test()
297 struct tcase *tc = tcases + n; in verify_access() local

12345678910>>...17