Searched refs:SCOPE_DECL (Results 1 - 12 of 12) sorted by relevance

/external/selinux/libsepol/tests/
H A Dtest-linker-types.c137 test_sym_presence(base, "g_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1);
140 test_sym_presence(base, "g_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1);
146 test_sym_presence(base, "o1_b_type_1", SYM_TYPES, SCOPE_DECL, decls, 1);
149 test_sym_presence(base, "o1_b_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1);
155 test_sym_presence(base, "g_b_alias_1", SYM_TYPES, SCOPE_DECL, decls, 1);
158 test_sym_presence(base, "g_b_alias_2", SYM_TYPES, SCOPE_DECL, decls, 1);
181 test_sym_presence(base, "g_m1_type_1", SYM_TYPES, SCOPE_DECL, decls, 1);
184 test_sym_presence(base, "g_m1_attr_1", SYM_TYPES, SCOPE_DECL, decls, 1);
191 test_sym_presence(base, "o1_m1_type_1", SYM_TYPES, SCOPE_DECL, decls, 1);
194 test_sym_presence(base, "o1_m1_attr_1", SYM_TYPES, SCOPE_DECL, decl
[all...]
H A Dtest-linker-roles.c82 test_sym_presence(base, "g_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
92 test_sym_presence(base, "o1_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
113 test_sym_presence(base, "g_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
123 test_sym_presence(base, "o1_m1_role_1", SYM_ROLES, SCOPE_DECL, decls, 1);
136 test_sym_presence(base, "g_b_role_2", SYM_ROLES, SCOPE_DECL, decls, 2);
148 test_sym_presence(base, "g_b_role_3", SYM_ROLES, SCOPE_DECL, decls, 3);
160 test_sym_presence(base, "o1_b_role_2", SYM_ROLES, SCOPE_DECL, decls, 2);
172 test_sym_presence(base, "g_b_role_4", SYM_ROLES, SCOPE_DECL, decls, 2);
184 test_sym_presence(base, "o3_b_role_1", SYM_ROLES, SCOPE_DECL, decls, 2);
197 test_sym_presence(base, "o4_b_role_1", SYM_ROLES, SCOPE_DECL, decl
[all...]
H A Dtest-linker-cond-map.c99 test_sym_presence(base, "g_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1);
109 test_sym_presence(base, "o1_b_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1);
127 test_sym_presence(base, "g_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1);
137 test_sym_presence(base, "o1_m1_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1);
147 test_sym_presence(base, "g_m2_bool_1", SYM_BOOLS, SCOPE_DECL, decls, 1);
148 test_sym_presence(base, "g_m2_bool_2", SYM_BOOLS, SCOPE_DECL, decls, 1);
H A Dhelpers.c73 if (scope->scope != SCOPE_DECL) {
/external/selinux/libsepol/src/
H A Davrule_block.c150 * marked as SCOPE_DECL, and any of its declaring block has been enabled,
161 if (scope->scope != SCOPE_DECL) {
H A Dlink.c269 if (scope->scope == SCOPE_DECL) {
652 if (scope->scope == SCOPE_DECL) {
683 if (scope->scope == SCOPE_DECL) {
724 if (scope->scope == SCOPE_DECL) {
1865 if (base_scope->scope == SCOPE_REQ && scope->scope == SCOPE_DECL) {
1868 base_scope->scope = SCOPE_DECL;
1879 } else if (base_scope->scope == SCOPE_DECL && scope->scope == SCOPE_REQ) {
H A Dmodule_to_cil.c2022 if (scope == SCOPE_DECL) {
2070 if (scope == SCOPE_DECL) {
2133 if (scope == SCOPE_DECL) {
2149 if (scope == SCOPE_DECL) {
2182 if (scope == SCOPE_DECL) {
2231 if (scope == SCOPE_DECL) {
2248 if (scope == SCOPE_DECL) {
H A Dpolicydb.c685 * otherwise set it to SCOPE_DECL.
706 POLICY_MOD ? SCOPE_REQ : SCOPE_DECL), 1,
1475 * scope scope of this symbol, either SCOPE_REQ or SCOPE_DECL
1536 } else if (scope_datum->scope == SCOPE_DECL && scope == SCOPE_DECL) {
1560 } else if (scope_datum->scope == SCOPE_REQ && scope == SCOPE_DECL) {
1561 scope_datum->scope = SCOPE_DECL;
/external/selinux/policycoreutils/semodule_deps/
H A Dsemodule_deps.c181 assert(scope->scope == SCOPE_DECL);
/external/selinux/libsepol/cil/src/
H A Dcil_binary.c296 rc = symtab_insert(pdb, SYM_COMMONS, key, sepol_common, SCOPE_DECL, 0, &value);
349 rc = symtab_insert(pdb, SYM_CLASSES, key, sepol_class, SCOPE_DECL, 0, &value);
418 rc = symtab_insert(pdb, SYM_ROLES, (hashtab_key_t)key, sepol_role, SCOPE_DECL, 0, &value);
504 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_type, SCOPE_DECL, 0, &value);
557 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_alias, SCOPE_DECL, 0, NULL);
611 rc = symtab_insert(pdb, SYM_TYPES, key, sepol_attr, SCOPE_DECL, 0, &value);
714 rc = symtab_insert(pdb, SYM_USERS, key, sepol_user, SCOPE_DECL, 0, &value);
801 rc = symtab_insert(pdb, SYM_BOOLS, key, sepol_bool, SCOPE_DECL, 0, &value);
831 rc = symtab_insert(pdb, SYM_CATS, key, sepol_cat, SCOPE_DECL, 0, &value);
859 rc = symtab_insert(pdb, SYM_CATS, key, sepol_alias, SCOPE_DECL,
[all...]
/external/selinux/libsepol/include/sepol/policydb/
H A Dpolicydb.h471 #define SCOPE_DECL 2 macro
476 * this symbol. If scope==SCOPE_DECL then this is a list of
/external/selinux/checkpolicy/
H A Dmodule_compiler.c139 SCOPE_DECL, decl->decl_id, dest_value);

Completed in 877 milliseconds