Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/tests/
Dtest-linker-roles.c79 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_role_tests()
89 decls[0] = decl->decl_id; in base_role_tests()
110 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
120 decls[0] = decl->decl_id; in module_role_tests()
132 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_role_tests()
142 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_role_tests()
143 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
144 decls[2] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m2"))->decl_id; in module_role_tests()
155 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id; in module_role_tests()
156 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.c236 printf("could not find attr %s in decl %d\n", id, decl->decl_id); in test_attr_types()
/third_party/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.h454 uint32_t decl_id; member
/third_party/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.c1799 module->avdecl_map[decl->decl_id] = new_decl->decl_id; in copy_avrule_block()
2092 mod_name, cur->branch_list->decl_id, in debug_requirements()
2098 mod_name, cur->branch_list->decl_id, in debug_requirements()
2106 mod_name, cur->branch_list->decl_id, in debug_requirements()
2116 mod_name, cur->branch_list->decl_id, in debug_requirements()
2210 mod_name, decl->decl_id); in enable_avrules()
2311 if (decl->decl_id > num_decls) { in prepare_module()
2312 num_decls = decl->decl_id; in prepare_module()
2344 if (decl->decl_id > state->next_decl_id) { in prepare_base()
2345 state->next_decl_id = decl->decl_id; in prepare_base()
[all …]
Dmodule_to_cil.c390 if (decl != NULL && decl->decl_id > max_decl_id) { in typealias_list_create()
391 max_decl_id = decl->decl_id; in typealias_list_create()
507 if (scope->decl_ids[j] == decl->decl_id) { in is_id_in_scope_with_start()
3364 alias_list = typealias_lists[decl->decl_id]; in typealiases_to_cil()
3482 if (scope_datum->decl_ids[j] == decl->decl_id) { in required_scopes_to_cil()
3715 cil_println(*indent, "(optional %s_optional_%i", pdb->name, decl->decl_id); in module_block_to_cil()
Dpolicydb.c1194 if (!value_isvalid(decl->decl_id, num_decls)) { in policydb_index_decls()
1195 ERR(handle, "invalid decl ID %u", decl->decl_id); in policydb_index_decls()
1198 if (p->decl_val_to_struct[decl->decl_id - 1] != NULL) { in policydb_index_decls()
1199 ERR(handle, "duplicated decl ID %u", decl->decl_id); in policydb_index_decls()
1202 p->decl_val_to_struct[decl->decl_id - 1] = decl; in policydb_index_decls()
3956 decl->decl_id = le32_to_cpu(buf[0]); in avrule_decl_read()
Dwrite.c2029 buf[0] = cpu_to_le32(decl->decl_id); in avrule_decl_write()
/third_party/skia/third_party/externals/spirv-tools/source/opt/
Dconstants.cpp228 uint32_t decl_id = FindDeclaredConstant(c, type_id); in GetDefiningInstruction() local
229 if (decl_id == 0) { in GetDefiningInstruction()
234 auto def = context()->get_def_use_mgr()->GetDef(decl_id); in GetDefiningInstruction()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
Dconstants.cpp228 uint32_t decl_id = FindDeclaredConstant(c, type_id); in GetDefiningInstruction() local
229 if (decl_id == 0) { in GetDefiningInstruction()
234 auto def = context()->get_def_use_mgr()->GetDef(decl_id); in GetDefiningInstruction()
/third_party/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()
/third_party/selinux/checkpolicy/test/
Ddismod.c617 fprintf(out_fp, "decl %u:%s\n", decl->decl_id, in display_avdecl()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/val/
Dvalidate_extensions.cpp338 const auto decl_id = inst->GetOperandAs<uint32_t>(4); in ValidateKernelDecl() local
339 const auto decl = _.FindDef(decl_id); in ValidateKernelDecl()
/third_party/skia/third_party/externals/spirv-tools/source/val/
Dvalidate_extensions.cpp338 const auto decl_id = inst->GetOperandAs<uint32_t>(4); in ValidateKernelDecl() local
339 const auto decl = _.FindDef(decl_id); in ValidateKernelDecl()