Home
last modified time | relevance | path

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

/external/selinux/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()
144 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_role_tests()
145 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
146 decls[2] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m2"))->decl_id; in module_role_tests()
157 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id; in module_role_tests()
158 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->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.c238 printf("could not find attr %s in decl %d\n", id, decl->decl_id); in test_attr_types()
/external/selinux/libsepol/include/sepol/policydb/
Davrule_block.h31 extern avrule_decl_t *avrule_decl_create(uint32_t decl_id);
34 extern avrule_decl_t *get_avrule_decl(policydb_t * p, uint32_t decl_id);
Dpolicydb.h452 uint32_t decl_id; member
/external/selinux/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.c1818 module->avdecl_map[decl->decl_id] = new_decl->decl_id; in copy_avrule_block()
2118 mod_name, cur->branch_list->decl_id, in debug_requirements()
2124 mod_name, cur->branch_list->decl_id, in debug_requirements()
2132 mod_name, cur->branch_list->decl_id, in debug_requirements()
2142 mod_name, cur->branch_list->decl_id, in debug_requirements()
2236 mod_name, decl->decl_id); in enable_avrules()
2337 if (decl->decl_id > num_decls) { in prepare_module()
2338 num_decls = decl->decl_id; in prepare_module()
2370 if (decl->decl_id > state->next_decl_id) { in prepare_base()
2371 state->next_decl_id = decl->decl_id; in prepare_base()
[all …]
Dpolicydb.c1169 if (decl->decl_id < 1 || decl->decl_id > num_decls) { in policydb_index_decls()
1170 ERR(handle, "invalid decl ID %u", decl->decl_id); in policydb_index_decls()
1173 if (p->decl_val_to_struct[decl->decl_id - 1] != NULL) { in policydb_index_decls()
1174 ERR(handle, "duplicated decl ID %u", decl->decl_id); in policydb_index_decls()
1177 p->decl_val_to_struct[decl->decl_id - 1] = decl; in policydb_index_decls()
3760 decl->decl_id = le32_to_cpu(buf[0]); in avrule_decl_read()
Dmodule_to_cil.c387 if (decl != NULL && decl->decl_id > max_decl_id) { in typealias_list_create()
388 max_decl_id = decl->decl_id; in typealias_list_create()
504 if (scope->decl_ids[j] == decl->decl_id) { in is_id_in_scope_with_start()
3383 struct list *alias_list = typealias_lists[decl->decl_id]; in typealiases_to_cil()
3509 if (scope_datum->decl_ids[j] == decl->decl_id) { in required_scopes_to_cil()
3742 cil_println(*indent, "(optional %s_optional_%i", pdb->name, decl->decl_id); in module_block_to_cil()
Dwrite.c1931 buf[0] = cpu_to_le32(decl->decl_id); in avrule_decl_write()
/external/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconstants.cpp186 uint32_t decl_id = FindDeclaredConstant(c, type_id); in GetDefiningInstruction() local
187 if (decl_id == 0) { in GetDefiningInstruction()
192 auto def = context()->get_def_use_mgr()->GetDef(decl_id); in GetDefiningInstruction()
/external/deqp-deps/SPIRV-Tools/source/opt/
Dconstants.cpp186 uint32_t decl_id = FindDeclaredConstant(c, type_id); in GetDefiningInstruction() local
187 if (decl_id == 0) { in GetDefiningInstruction()
192 auto def = context()->get_def_use_mgr()->GetDef(decl_id); in GetDefiningInstruction()
/external/selinux/checkpolicy/
Dmodule_compiler.c165 decl->decl_id, dest_value); in create_symbol()
1116 if (scope->decl_ids[i] == decl->decl_id) { in is_scope_in_stack()
1314 block->branch_list->decl_id == next_decl_id); in begin_optional()
1354 decl->next == NULL && decl->decl_id == next_decl_id); in begin_optional_else()
/external/selinux/checkpolicy/test/
Ddismod.c618 fprintf(out_fp, "decl %u:%s\n", decl->decl_id, in display_avdecl()