Searched refs:decl_id (Results 1 - 13 of 13) sorted by relevance

/external/selinux/libsepol/tests/
H A Dtest-linker-types.c136 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
145 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id;
154 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
157 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o6_b"))->decl_id;
180 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id;
190 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_m1"))->decl_id;
200 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
206 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
209 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_m1"))->decl_id;
214 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
[all...]
H A Dtest-linker-roles.c81 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
91 decls[0] = decl->decl_id;
112 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id;
122 decls[0] = decl->decl_id;
134 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
135 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id;
145 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_b"))->decl_id;
146 decls[1] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m1"))->decl_id;
147 decls[2] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_g_m2"))->decl_id;
158 decls[0] = (test_find_decl_by_sym(base, SYM_TYPES, "tag_o1_b"))->decl_id;
[all...]
H A Dtest-linker-cond-map.c98 decls[0] = d->decl_id;
108 decls[0] = d->decl_id;
126 decls[0] = d->decl_id;
136 decls[0] = d->decl_id;
146 decls[0] = d->decl_id;
H A Dtest-common.c239 printf("could not find attr %s in decl %d\n", id, decl->decl_id);
/external/selinux/libsepol/include/sepol/policydb/
H A Davrule_block.h30 extern avrule_decl_t *avrule_decl_create(uint32_t decl_id);
33 extern avrule_decl_t *get_avrule_decl(policydb_t * p, uint32_t decl_id);
H A Dpolicydb.h431 uint32_t decl_id; member in struct:avrule_decl
/external/selinux/libsepol/src/
H A Davrule_block.c53 avrule_decl_t *avrule_decl_create(uint32_t decl_id) argument
60 decl->decl_id = decl_id;
H A Dlink.c1809 module->avdecl_map[decl->decl_id] = new_decl->decl_id;
2109 mod_name, cur->branch_list->decl_id,
2115 mod_name, cur->branch_list->decl_id,
2123 mod_name, cur->branch_list->decl_id,
2133 mod_name, cur->branch_list->decl_id,
2227 mod_name, decl->decl_id);
2328 if (decl->decl_id > num_decls) {
2329 num_decls = decl->decl_id;
2357 determine what the next decl_id shoul
[all...]
H A Dmodule_to_cil.c370 if (decl->decl_id > max_decl_id) {
371 max_decl_id = decl->decl_id;
487 if (scope->decl_ids[j] == decl->decl_id) {
3181 struct list *alias_list = typealias_lists[decl->decl_id];
3299 if (scope_datum->decl_ids[j] == decl->decl_id) {
3518 cil_println(*indent, "(optional %s_optional_%i", pdb->name, decl->decl_id);
H A Dpolicydb.c1034 p->decl_val_to_struct[decl->decl_id - 1] = decl;
3455 decl->decl_id = le32_to_cpu(buf[0]);
H A Dwrite.c1794 buf[0] = cpu_to_le32(decl->decl_id);
/external/selinux/checkpolicy/
H A Dmodule_compiler.c139 SCOPE_DECL, decl->decl_id, dest_value);
634 SCOPE_REQ, decl->decl_id, dest_value);
1235 if (scope->decl_ids[i] == decl->decl_id) {
1433 block->branch_list->decl_id == next_decl_id);
1473 decl->next == NULL && decl->decl_id == next_decl_id);
/external/selinux/checkpolicy/test/
H A Ddismod.c593 fprintf(out_fp, "decl %u:%s\n", decl->decl_id,

Completed in 3519 milliseconds