Home
last modified time | relevance | path

Searched refs:decl_val_to_struct (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libsepol/tests/
Dtest-linker-types.c116 type = hashtab_search(p->decl_val_to_struct[decls[i] - 1]->p_types.table, id); in test_type_datum()
151 test_attr_types(base, "o1_b_attr_1", base->decl_val_to_struct[decls[0] - 1], types, 1); in base_type_tests()
196 test_attr_types(base, "o1_m1_attr_1", base->decl_val_to_struct[decls[0] - 1], types, 1); in module_type_tests()
211 test_attr_types(base, "g_b_attr_4", base->decl_val_to_struct[decls[0] - 1], types, 1); in module_type_tests()
Dhelpers.c80 return p->decl_val_to_struct[scope->decl_ids[0] - 1]; in test_find_decl_by_sym()
/external/selinux/policycoreutils/semodule_deps/
Dsemodule_deps.c183 p->decl_val_to_struct[scope-> in generate_requires()
186 decl_val_to_struct[scope-> in generate_requires()
/external/selinux/libsepol/src/
Davrule_block.c166 p->decl_val_to_struct[scope->decl_ids[i] - 1]; in is_id_enabled()
Dlink.c1805 state->base->decl_val_to_struct[state->next_decl_id - 1] = in copy_avrule_block()
2373 free(state->base->decl_val_to_struct); in prepare_base()
2374 if ((state->base->decl_val_to_struct = in prepare_base()
2376 sizeof(*(state->base->decl_val_to_struct)))) == NULL) { in prepare_base()
2391 state->base->decl_val_to_struct[decl->decl_id - 1] = in prepare_base()
Dpolicydb.c754 p->decl_val_to_struct = NULL; in policydb_init()
1016 free(p->decl_val_to_struct); in policydb_index_decls()
1025 p->decl_val_to_struct = in policydb_index_decls()
1026 calloc(num_decls, sizeof(*(p->decl_val_to_struct))); in policydb_index_decls()
1027 if (!p->decl_val_to_struct) { in policydb_index_decls()
1034 p->decl_val_to_struct[decl->decl_id - 1] = decl; in policydb_index_decls()
1319 free(p->decl_val_to_struct); in policydb_destroy()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h538 avrule_decl_t **decl_val_to_struct; member