Home
last modified time | relevance | path

Searched refs:SCOPE_DECL (Results 1 – 9 of 9) sorted by relevance

/external/libsepol/tests/
Dtest-linker-types.c137 test_sym_presence(base, "g_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
140 test_sym_presence(base, "g_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
146 test_sym_presence(base, "o1_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
149 test_sym_presence(base, "o1_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
155 test_sym_presence(base, "g_b_alias_1", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
158 test_sym_presence(base, "g_b_alias_2", SYM_TYPES, SCOPE_DECL, decls, 1); in base_type_tests()
181 test_sym_presence(base, "g_m1_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in module_type_tests()
184 test_sym_presence(base, "g_m1_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in module_type_tests()
191 test_sym_presence(base, "o1_m1_type_1", SYM_TYPES, SCOPE_DECL, decls, 1); in module_type_tests()
194 test_sym_presence(base, "o1_m1_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1); in module_type_tests()
[all …]
Dtest-linker-roles.c82 test_sym_presence(base, "g_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in base_role_tests()
92 test_sym_presence(base, "o1_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in base_role_tests()
113 test_sym_presence(base, "g_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in module_role_tests()
123 test_sym_presence(base, "o1_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1); in module_role_tests()
136 test_sym_presence(base, "g_b_role_2", SYM_ROLES, SCOPE_DECL, decls, 2); in module_role_tests()
148 test_sym_presence(base, "g_b_role_3", SYM_ROLES, SCOPE_DECL, decls, 3); in module_role_tests()
160 test_sym_presence(base, "o1_b_role_2", SYM_ROLES, SCOPE_DECL, decls, 2); in module_role_tests()
172 test_sym_presence(base, "g_b_role_4", SYM_ROLES, SCOPE_DECL, decls, 2); in module_role_tests()
184 test_sym_presence(base, "o3_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 2); in module_role_tests()
197 test_sym_presence(base, "o4_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 3); in module_role_tests()
Dtest-linker-cond-map.c99 test_sym_presence(base, "g_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests()
109 test_sym_presence(base, "o1_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in base_cond_tests()
127 test_sym_presence(base, "g_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
137 test_sym_presence(base, "o1_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
147 test_sym_presence(base, "g_m2_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
148 test_sym_presence(base, "g_m2_bool_2", SYM_BOOLS, SCOPE_DECL, decls, 1); in module_cond_tests()
Dhelpers.c73 if (scope->scope != SCOPE_DECL) { in test_find_decl_by_sym()
/external/libsepol/src/
Davrule_block.c161 if (scope->scope != SCOPE_DECL) { in is_id_enabled()
Dlink.c269 if (scope->scope == SCOPE_DECL) { in class_copy_callback()
651 if (scope->scope == SCOPE_DECL) { in bool_copy_callback()
682 if (scope->scope == SCOPE_DECL) { in sens_copy_callback()
723 if (scope->scope == SCOPE_DECL) { in cat_copy_callback()
1858 if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_DECL) { in scope_copy_callback()
1861 base_scope->scope = SCOPE_DECL; in scope_copy_callback()
1872 } else if (base_scope->scope == SCOPE_DECL && scope->scope == SCOPE_REQ) { in scope_copy_callback()
Dpolicydb.c690 POLICY_MOD ? SCOPE_REQ : SCOPE_DECL), 1, in roles_init()
1520 } else if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_DECL) { in symtab_insert()
1544 } else if (scope_datum->scope == SCOPE_REQ && scope == SCOPE_DECL) { in symtab_insert()
1545 scope_datum->scope = SCOPE_DECL; in symtab_insert()
/external/libsepol/include/sepol/policydb/
Dpolicydb.h447 #define SCOPE_DECL 2 macro
/external/checkpolicy/
Dmodule_compiler.c138 SCOPE_DECL, decl->decl_id, dest_value); in declare_symbol()