Home
last modified time | relevance | path

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

/third_party/selinux/libsepol/tests/
Dtest-linker-roles.c80 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_role_tests()
90 decls[0] = decl->decl_id; in base_role_tests()
111 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
121 decls[0] = decl->decl_id; in module_role_tests()
133 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_role_tests()
143 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_role_tests()
144 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
145 decls[2] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m2"))->decl_id; in module_role_tests()
156 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id; in module_role_tests()
157 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_role_tests()
[all …]
Dtest-linker-types.c137 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_type_tests()
146 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id; in base_type_tests()
155 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in base_type_tests()
158 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o6_b"))->decl_id; in base_type_tests()
181 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id; in module_type_tests()
191 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_m1"))->decl_id; in module_type_tests()
201 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_type_tests()
207 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_type_tests()
210 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_m1"))->decl_id; in module_type_tests()
215 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id; in module_type_tests()
[all …]
Dtest-linker-cond-map.c99 decls[0] = d->decl_id; in base_cond_tests()
109 decls[0] = d->decl_id; in base_cond_tests()
127 decls[0] = d->decl_id; in module_cond_tests()
137 decls[0] = d->decl_id; in module_cond_tests()
147 decls[0] = d->decl_id; in module_cond_tests()
Dtest-common.c237 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.h455 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.c1752 module->avdecl_map[decl->decl_id] = new_decl->decl_id; in copy_avrule_block()
2045 mod_name, cur->branch_list->decl_id, in debug_requirements()
2051 mod_name, cur->branch_list->decl_id, in debug_requirements()
2059 mod_name, cur->branch_list->decl_id, in debug_requirements()
2069 mod_name, cur->branch_list->decl_id, in debug_requirements()
2163 mod_name, decl->decl_id); in enable_avrules()
2264 if (decl->decl_id > num_decls) { in prepare_module()
2265 num_decls = decl->decl_id; in prepare_module()
2297 if (decl->decl_id > state->next_decl_id) { in prepare_base()
2298 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()
509 if (scope->decl_ids[j] == decl->decl_id) { in is_id_in_scope_with_start()
3401 alias_list = typealias_lists[decl->decl_id]; in typealiases_to_cil()
3519 if (scope_datum->decl_ids[j] == decl->decl_id) { in required_scopes_to_cil()
3752 cil_println(*indent, "(optional %s_optional_%i", pdb->name, decl->decl_id); in module_block_to_cil()
Dpolicydb.c1206 if (!value_isvalid(decl->decl_id, num_decls)) { in policydb_index_decls()
1207 ERR(handle, "invalid decl ID %u", decl->decl_id); in policydb_index_decls()
1210 if (p->decl_val_to_struct[decl->decl_id - 1] != NULL) { in policydb_index_decls()
1211 ERR(handle, "duplicated decl ID %u", decl->decl_id); in policydb_index_decls()
1214 p->decl_val_to_struct[decl->decl_id - 1] = decl; in policydb_index_decls()
3990 decl->decl_id = le32_to_cpu(buf[0]); in avrule_decl_read()
Dwrite.c2051 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/spirv-tools/source/opt/
Dconstants.cpp229 uint32_t decl_id = FindDeclaredConstant(c, type_id); in GetDefiningInstruction() local
230 if (decl_id == 0) { in GetDefiningInstruction()
235 auto def = context()->get_def_use_mgr()->GetDef(decl_id); in GetDefiningInstruction()
/third_party/selinux/checkpolicy/
Dmodule_compiler.c166 decl->decl_id, dest_value); in create_symbol()
1125 if (scope->decl_ids[i] == decl->decl_id) { in is_scope_in_stack()
1323 block->branch_list->decl_id == next_decl_id); in begin_optional()
1363 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()
/third_party/spirv-tools/source/val/
Dvalidate_extensions.cpp367 const auto decl_id = inst->GetOperandAs<uint32_t>(4); in ValidateKernelDecl() local
368 const auto decl = _.FindDef(decl_id); in ValidateKernelDecl()