Searched refs:decl_id (Results 1 – 12 of 12) sorted by relevance
/external/libsepol/tests/ |
D | test-linker-roles.c | 81 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 …]
|
D | test-linker-types.c | 136 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 …]
|
D | test-linker-cond-map.c | 98 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()
|
D | test-common.c | 239 printf("could not find attr %s in decl %d\n", id, decl->decl_id); in test_attr_types()
|
/external/libsepol/include/sepol/policydb/ |
D | avrule_block.h | 27 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);
|
D | policydb.h | 407 uint32_t decl_id; member
|
/external/libsepol/src/ |
D | avrule_block.c | 53 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()
|
D | link.c | 1802 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 …]
|
D | policydb.c | 1018 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()
|
D | write.c | 1728 buf[0] = cpu_to_le32(decl->decl_id); in avrule_decl_write()
|
/external/checkpolicy/ |
D | module_compiler.c | 138 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/ |
D | dismod.c | 593 fprintf(out_fp, "decl %u:%s\n", decl->decl_id, in display_avdecl()
|