Home
last modified time | relevance | path

Searched refs:decl_id (Results 1 – 12 of 12) sorted by relevance

/external/libsepol/tests/
Dtest-linker-roles.c81 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_role_tests()
91 decls[0] = decl->decl_id; in base_role_tests()
112 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
122 decls[0] = decl->decl_id; in module_role_tests()
134 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_role_tests()
135 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
145 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_role_tests()
146 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
147 decls[2] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m2"))->decl_id; in module_role_tests()
158 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id; in module_role_tests()
[all …]
Dtest-linker-types.c136 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_type_tests()
145 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id; in base_type_tests()
154 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_type_tests()
157 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o6_b"))->decl_id; in base_type_tests()
180 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_type_tests()
190 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_m1"))->decl_id; in module_type_tests()
200 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_type_tests()
206 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_type_tests()
209 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_m1"))->decl_id; in module_type_tests()
214 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_type_tests()
[all …]
Dtest-linker-cond-map.c98 decls[0] = d->decl_id; in base_cond_tests()
108 decls[0] = d->decl_id; in base_cond_tests()
126 decls[0] = d->decl_id; in module_cond_tests()
136 decls[0] = d->decl_id; in module_cond_tests()
146 decls[0] = d->decl_id; in module_cond_tests()
Dtest-common.c239 printf("could not find attr %s in decl %d\n", id, decl->decl_id); in test_attr_types()
/external/libsepol/include/sepol/policydb/
Davrule_block.h27 extern avrule_decl_t *avrule_decl_create(uint32_t decl_id);
30 extern avrule_decl_t *get_avrule_decl(policydb_t * p, uint32_t decl_id);
Dpolicydb.h407 uint32_t decl_id; member
/external/libsepol/src/
Davrule_block.c53 avrule_decl_t *avrule_decl_create(uint32_t decl_id) in avrule_decl_create() argument
60 decl->decl_id = decl_id; in avrule_decl_create()
Dlink.c1802 module->avdecl_map[decl->decl_id] = new_decl->decl_id; in copy_avrule_block()
2102 mod_name, cur->branch_list->decl_id, in debug_requirements()
2108 mod_name, cur->branch_list->decl_id, in debug_requirements()
2116 mod_name, cur->branch_list->decl_id, in debug_requirements()
2126 mod_name, cur->branch_list->decl_id, in debug_requirements()
2220 mod_name, decl->decl_id); in enable_avrules()
2321 if (decl->decl_id > num_decls) { in prepare_module()
2322 num_decls = decl->decl_id; in prepare_module()
2354 if (decl->decl_id > state->next_decl_id) { in prepare_base()
2355 state->next_decl_id = decl->decl_id; in prepare_base()
[all …]
Dpolicydb.c1018 p->decl_val_to_struct[decl->decl_id - 1] = decl; in policydb_index_decls()
3414 decl->decl_id = le32_to_cpu(buf[0]); in avrule_decl_read()
Dwrite.c1728 buf[0] = cpu_to_le32(decl->decl_id); in avrule_decl_write()
/external/checkpolicy/
Dmodule_compiler.c138 SCOPE_DECL, decl->decl_id, dest_value); in declare_symbol()
633 SCOPE_REQ, decl->decl_id, dest_value); in require_symbol()
1234 if (scope->decl_ids[i] == decl->decl_id) { in is_scope_in_stack()
1432 block->branch_list->decl_id == next_decl_id); in begin_optional()
1472 decl->next == NULL && decl->decl_id == next_decl_id); in begin_optional_else()
/external/checkpolicy/test/
Ddismod.c593 fprintf(out_fp, "decl %u:%s\n", decl->decl_id, in display_avdecl()