Home
last modified time | relevance | path

Searched refs:CuTest (Results 1 – 25 of 29) sorted by relevance

12

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_build_ast.h35 void test_cil_parse_to_list(CuTest *);
36 void test_cil_parse_to_list_currnull_neg(CuTest *);
37 void test_cil_parse_to_list_listnull_neg(CuTest *);
39 void test_cil_set_to_list(CuTest *);
40 void test_cil_set_to_list_tree_node_null_neg(CuTest *);
41 void test_cil_set_to_list_cl_head_null_neg(CuTest *);
42 void test_cil_set_to_list_listnull_neg(CuTest *);
44 void test_cil_gen_block(CuTest *);
45 void test_cil_gen_block_justblock_neg(CuTest *);
46 void test_cil_gen_block_noname_neg(CuTest *);
[all …]
Dtest_cil_resolve_ast.h27 void test_cil_resolve_name(CuTest *);
28 void test_cil_resolve_name_invalid_type_neg(CuTest *);
30 void test_cil_resolve_ast_curr_null_neg(CuTest *);
37 void test_cil_resolve_roleallow(CuTest *);
38 void test_cil_resolve_roleallow_srcdecl_neg(CuTest *);
39 void test_cil_resolve_roleallow_tgtdecl_neg(CuTest *);
41 void test_cil_resolve_rolebounds(CuTest *tc);
42 void test_cil_resolve_rolebounds_exists_neg(CuTest *tc);
43 void test_cil_resolve_rolebounds_role1_neg(CuTest *tc);
44 void test_cil_resolve_rolebounds_role2_neg(CuTest *tc);
[all …]
Dtest_cil_copy_ast.h35 void test_cil_copy_list(CuTest *);
36 void test_cil_copy_list_sublist(CuTest *);
37 void test_cil_copy_list_sublist_extra(CuTest *);
38 void test_cil_copy_list_orignull_neg(CuTest *);
40 void test_cil_copy_block(CuTest *);
41 void test_cil_copy_node_helper_block(CuTest *tc);
42 void test_cil_copy_node_helper_block_merge(CuTest *tc);
44 void test_cil_copy_perm(CuTest *);
45 void test_cil_copy_node_helper_perm(CuTest *tc);
46 void test_cil_copy_node_helper_perm_neg(CuTest *tc);
[all …]
Dtest_cil_post.h35 void test_cil_post_filecon_compare_meta_a_not_b(CuTest *tc);
36 void test_cil_post_filecon_compare_meta_b_not_a(CuTest *tc);
37 void test_cil_post_filecon_compare_meta_a_and_b_strlen_a_greater_b(CuTest *tc);
38 void test_cil_post_filecon_compare_meta_a_and_b_strlen_b_greater_a(CuTest *tc);
39 void test_cil_post_filecon_compare_type_atype_greater_btype(CuTest *tc);
40 void test_cil_post_filecon_compare_type_btype_greater_atype(CuTest *tc);
41 void test_cil_post_filecon_compare_stemlen_a_greater_b(CuTest *tc);
42 void test_cil_post_filecon_compare_stemlen_b_greater_a(CuTest *tc);
43 void test_cil_post_filecon_compare_equal(CuTest *tc);
45 void test_cil_post_portcon_compare_atotal_greater_btotal(CuTest *tc);
[all …]
Dtest_cil.h35 void test_cil_symtab_array_init(CuTest *);
36 void test_cil_symtab_array_init_null_symtab_neg(CuTest *);
37 void test_cil_db_init(CuTest *);
38 void test_cil_get_symtab_block(CuTest *);
39 void test_cil_get_symtab_class(CuTest *);
40 void test_cil_get_symtab_root(CuTest *);
41 void test_cil_get_symtab_flavor_neg(CuTest *);
42 void test_cil_get_symtab_null_neg(CuTest *);
43 void test_cil_get_symtab_node_null_neg(CuTest *);
44 void test_cil_get_symtab_parent_null_neg(CuTest *);
Dtest_cil_list.h35 void test_cil_list_item_init(CuTest *);
36 void test_cil_list_append_item(CuTest *);
37 void test_cil_list_append_item_append(CuTest *);
38 void test_cil_list_append_item_append_extra(CuTest *);
39 void test_cil_list_append_item_listnull_neg(CuTest *);
40 void test_cil_list_append_item_itemnull_neg(CuTest *);
41 void test_cil_list_prepend_item_prepend(CuTest *);
42 void test_cil_list_prepend_item_prepend_neg(CuTest *);
43 void test_cil_list_prepend_item_listnull_neg(CuTest *);
44 void test_cil_list_prepend_item_itemnull_neg(CuTest *);
DCuTest.h62 typedef struct CuTest CuTest; typedef
64 typedef void (*TestFunction)(CuTest *);
66 struct CuTest struct
76 void CuTestInit(CuTest* t, const char* name, TestFunction function); argument
77 CuTest* CuTestNew(const char* name, TestFunction function);
78 void CuTestRun(CuTest* tc);
79 void CuTestDelete(CuTest *t);
82 void CuFail_Line(CuTest* tc, const char* file, int line, const char* message2, const char* message);
83 void CuAssert_Line(CuTest* tc, const char* file, int line, const char* message, int condition);
84 void CuAssertStrEquals_LineMsg(CuTest* tc,
[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_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 …]
DCuTest.c135 void CuTestInit(CuTest* t, const char* name, TestFunction function) in CuTestInit()
145 CuTest* CuTestNew(const char* name, TestFunction function) in CuTestNew()
147 CuTest* tc = CU_ALLOC(CuTest); in CuTestNew()
152 void CuTestDelete(CuTest *t) in CuTestDelete()
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()
[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_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 …]
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_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 …]
Dtest_cil_lexer.h35 void test_cil_lexer_setup(CuTest *);
36 void test_cil_lexer_next(CuTest *);
Dtest_cil_tree.h35 void test_cil_tree_node_init(CuTest *);
36 void test_cil_tree_init(CuTest *);
Dtest_integration.h35 void test_min_policy(CuTest *);
36 void test_integration(CuTest *);
Dtest_cil_fqn.h35 void test_cil_qualify_name(CuTest *);
36 void test_cil_qualify_name_cil_flavor(CuTest *tc);
Dtest_cil_fqn.c38 void test_cil_qualify_name(CuTest *tc) { in test_cil_qualify_name()
61 void test_cil_qualify_name_cil_flavor(CuTest *tc) { in test_cil_qualify_name_cil_flavor()
Dtest_integration.c40 void test_integration(CuTest *tc) { in test_integration()
66 void test_min_policy(CuTest *tc) { in test_min_policy()
Dtest_cil_tree.c37 void test_cil_tree_node_init(CuTest *tc) { in test_cil_tree_node_init()
54 void test_cil_tree_init(CuTest *tc) { in test_cil_tree_init()
Dtest_cil_lexer.c37 void test_cil_lexer_setup(CuTest *tc) { in test_cil_lexer_setup()
51 void test_cil_lexer_next(CuTest *tc) { in test_cil_lexer_next()
Dtest_cil_symtab.h35 void test_cil_symtab_insert(CuTest *);
/external/llvm-project/llvm/test/CodeGen/Hexagon/
Dalways-ext.ll13 %struct.CuTest.1.28.31.37.40.43.52.55.67.85.111 = type { i8*, void (%struct.CuTest.1.28.31.37.40.43…
14 %struct.CuSuite.2.29.32.38.41.44.53.56.68.86.112 = type { i32, [1024 x %struct.CuTest.1.28.31.37.40…
26 …%0 = load %struct.CuTest.1.28.31.37.40.43.52.55.67.85.111*, %struct.CuTest.1.28.31.37.40.43.52.55.…
37 …store %struct.CuTest.1.28.31.37.40.43.52.55.67.85.111* %0, %struct.CuTest.1.28.31.37.40.43.52.55.6…
/external/llvm/test/CodeGen/Hexagon/
Dalways-ext.ll13 %struct.CuTest.1.28.31.37.40.43.52.55.67.85.111 = type { i8*, void (%struct.CuTest.1.28.31.37.40.43…
14 %struct.CuSuite.2.29.32.38.41.44.53.56.68.86.112 = type { i32, [1024 x %struct.CuTest.1.28.31.37.40…
26 …%0 = load %struct.CuTest.1.28.31.37.40.43.52.55.67.85.111*, %struct.CuTest.1.28.31.37.40.43.52.55.…
37 …store %struct.CuTest.1.28.31.37.40.43.52.55.67.85.111* %0, %struct.CuTest.1.28.31.37.40.43.52.55.6…

12