Lines Matching refs:DATUM
191 fprintf(out, "%s %s;\n", kind, DATUM(i1->data)->fqn); in cil_simple_rules_to_policy()
209 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy()
216 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy()
223 fprintf(out, "%s", DATUM(last)->fqn); in cil_cats_to_policy()
229 fprintf(out, "%s%s", lead, DATUM(first)->fqn); in cil_cats_to_policy()
236 fprintf(out, "%s", DATUM(last)->fqn); in cil_cats_to_policy()
243 fprintf(out, "%s", DATUM(level->sens)->fqn); in cil_level_to_policy()
273 fprintf(out, "%s:", DATUM(context->user)->fqn); in cil_context_to_policy()
274 fprintf(out, "%s:", DATUM(context->role)->fqn); in cil_context_to_policy()
275 fprintf(out, "%s", DATUM(context->type)->fqn); in cil_context_to_policy()
328 fprintf(out, "%s", DATUM(i1->data)->fqn); in cil_cond_expr_to_policy()
348 len += strlen(DATUM(db->val_to_user[i])->fqn); in __cil_userattribute_len()
369 len = strlen(DATUM(operand->data)->fqn); in __cil_cons_leaf_operand_len()
378 len += strlen(DATUM(operand->data)->fqn); in __cil_cons_leaf_operand_len()
460 str = DATUM(db->val_to_user[i])->fqn; in __cil_userattribute_to_string()
533 o_str = DATUM(operand->data)->fqn; in __cil_cons_leaf_operand_to_string()
545 o_str = DATUM(operand->data)->fqn; in __cil_cons_leaf_operand_to_string()
659 len += strlen(DATUM(classperms->class)->fqn) + 1; in cil_classperms_to_string()
661 len += strlen(DATUM(i1->data)->fqn) + 1; in cil_classperms_to_string()
670 len = strlen(DATUM(classperms->class)->fqn); in cil_classperms_to_string()
671 memcpy(curr, DATUM(classperms->class)->fqn, len); in cil_classperms_to_string()
678 len = strlen(DATUM(i1->data)->fqn); in cil_classperms_to_string()
679 memcpy(curr, DATUM(i1->data)->fqn, len); in cil_classperms_to_string()
717 fprintf(out, "class %s\n", DATUM(i1->data)->fqn); in cil_class_decls_to_policy()
726 fprintf(out, "sid %s\n", DATUM(i1->data)->fqn); in cil_sid_decls_to_policy()
744 fprintf(out, "%s ", DATUM(perm->data)->fqn); in cil_commons_to_policy()
769 fprintf(out, " %s", DATUM(perm->data)->fqn); in cil_classes_to_policy()
790 fprintf(out, " %s", DATUM(i3->data)->fqn); in cil_defaults_to_policy()
816 fprintf(out, " %s", DATUM(i3->data)->fqn); in cil_default_ranges_to_policy()
1119 fprintf(out, "%s %s {", DATUM(permx->obj)->fqn, kind); in cil_xperms_to_policy()
1254 fprintf(out, "%s %s %s : %s %s;\n", kind, src->fqn, tgt->fqn, DATUM(i1->data)->fqn, res->fqn); in cil_type_rule_to_policy()
1273 …fprintf(out, "type_transition %s %s : %s %s \"%s\";\n", src->fqn, tgt->fqn, DATUM(i1->data)->fqn, … in cil_nametypetransition_to_policy()
1289 fprintf(out, "range_transition %s %s : %s ", src->fqn, exec->fqn, DATUM(i1->data)->fqn); in cil_rangetransition_to_policy()
1298 fprintf(out, "permissive %s;\n", DATUM(rule->type)->fqn); in cil_typepermissive_to_policy()
1563 fprintf(out, "allow %s %s;\n", DATUM(allow->src)->fqn, DATUM(allow->tgt)->fqn); in cil_roleallows_to_policy()
1578 …t, "role_transition %s %s : %s %s;\n", DATUM(trans->src)->fqn, DATUM(trans->tgt)->fqn, DATUM(i2->d… in cil_roletransitions_to_policy()