Lines Matching defs:decl
384 struct avrule_decl *decl;
389 decl = block->branch_list;
390 if (decl != NULL && decl->decl_id > max_decl_id) {
391 max_decl_id = decl->decl_id;
497 struct avrule_decl *decl;
506 decl = decl_stack->stack[i];
509 if (scope->decl_ids[j] == decl->decl_id) {
3393 struct avrule_decl *decl = stack_peek(decl_stack);
3397 if (decl == NULL) {
3401 alias_list = typealias_lists[decl->decl_id];
3438 struct avrule_decl *decl = stack_peek(decl_stack);
3445 map = decl->declared.scope[sym];
3501 struct avrule_decl *decl = stack_peek(decl_stack);
3509 map = decl->required.scope[sym];
3519 if (scope_datum->decl_ids[j] == decl->decl_id) {
3528 // required in this decl, or if it's just required in the
3571 struct avrule_decl *decl = stack_peek(decl_stack);
3582 rc = hashtab_map(decl->symtab[args.sym_index].table, additive_scopes_to_cil_map, &args);
3644 struct avrule_decl *decl;
3648 decl = block->branch_list;
3679 rc = avrule_list_to_cil(indent, pdb, decl->avrules, type_attr_list);
3684 rc = role_trans_to_cil(indent, pdb, decl->role_tr_rules, role_attr_list, type_attr_list);
3689 rc = role_allows_to_cil(indent, pdb, decl->role_allow_rules, role_attr_list);
3694 rc = range_trans_to_cil(indent, pdb, decl->range_tr_rules, type_attr_list);
3699 rc = filename_trans_to_cil(indent, pdb, decl->filename_trans_rules, type_attr_list);
3704 rc = cond_list_to_cil(indent, pdb, decl->cond_list, type_attr_list);
3728 struct avrule_decl *decl;
3731 decl = block->branch_list;
3732 if (decl == NULL) {
3736 if (decl->next != NULL) {
3743 if (is_scope_superset(&decl->required, &decl_tmp->required)) {
3752 cil_println(*indent, "(optional %s_optional_%i", pdb->name, decl->decl_id);
3756 stack_push(stack, decl);
3770 struct avrule_decl *decl;
3772 decl = block->branch_list;
3773 if (decl == NULL) {
3777 if (decl->next != NULL) {
3781 stack_push(stack, decl);
3839 struct avrule_decl *decl;
3841 decl = block->branch_list;
3842 if (decl == NULL) {
3846 if (!decl->enabled) {
3847 if (decl->next != NULL) {
3848 decl = decl->next;
3854 stack_push(stack, decl);