Home
last modified time | relevance | path

Searched refs:decl_ids (Results 1 – 10 of 10) sorted by relevance

/external/selinux/libsepol/tests/
Dhelpers.c80 return p->decl_val_to_struct[scope->decl_ids[0] - 1]; in test_find_decl_by_sym()
Dtest-common.c49 if (decls[i] == scope->decl_ids[j]) in test_sym_presence()
/external/selinux/policycoreutils/semodule_deps/
Dsemodule_deps.c184 decl_ids[0]]-> in generate_requires()
187 decl_ids[0]]-> 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.c1869 free(base_scope->decl_ids); in scope_copy_callback()
1870 base_scope->decl_ids = NULL; in scope_copy_callback()
1873 if (add_i_to_a(avdecl_map[scope->decl_ids[i]], in scope_copy_callback()
1875 &base_scope->decl_ids) == -1) { in scope_copy_callback()
1885 if (add_i_to_a(avdecl_map[scope->decl_ids[i]], in scope_copy_callback()
1887 &base_scope->decl_ids) == -1) { in scope_copy_callback()
1903 if (add_i_to_a(avdecl_map[scope->decl_ids[i]], in scope_copy_callback()
1905 &base_scope->decl_ids) == -1) { in scope_copy_callback()
Dpolicydb.c1423 free(cur->decl_ids); in scope_destroy()
1527 scope_datum->decl_ids = NULL; in symtab_insert()
1569 if (scope_datum->decl_ids[i] == avrule_decl_id) { in symtab_insert()
1577 &scope_datum->decl_ids) == -1) { in symtab_insert()
3607 if ((scope->decl_ids = in scope_read()
3611 rc = next_entry(scope->decl_ids, fp, sizeof(uint32_t) * scope->decl_ids_len); in scope_read()
3615 scope->decl_ids[i] = le32_to_cpu(scope->decl_ids[i]); in scope_read()
Dmodule_to_cil.c331 scope_id = scope->decl_ids[i]; in typealiases_gather_map()
487 if (scope->decl_ids[j] == decl->decl_id) { in is_id_in_scope_with_start()
3350 if (scope_datum->decl_ids[j] == decl->decl_id) { in required_scopes_to_cil()
Dwrite.c1904 buf[2 + i] = cpu_to_le32(scope->decl_ids[i]); in scope_write()
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h476 uint32_t *decl_ids; member
/external/selinux/checkpolicy/
Dmodule_compiler.c1235 if (scope->decl_ids[i] == decl->decl_id) { in is_scope_in_stack()