Home
last modified time | relevance | path

Searched refs:class_str (Results 1 – 8 of 8) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil_internal.h395 char *class_str; member
418 char *class_str; member
871 char *class_str; member
Dcil_copy_ast.c193 (*new)->class_str = orig->class_str; in cil_copy_classperms()
326 new->class_str = orig->class_str; in cil_copy_classcommon()
1460 new->class_str = orig->class_str; in cil_copy_validatetrans()
Dcil_write_ast.c252 fprintf(out, "(%s ", datum_or_str(DATUM(cp->class), cp->class_str)); in write_classperms()
783 fprintf(out, "(classcommon %s %s)\n", cc->class_str, cc->common_str); in cil_write_ast_node()
1205 fprintf(out, "%s ", datum_or_str(DATUM(vt->class), vt->class_str)); in cil_write_ast_node()
1216 fprintf(out, "%s ", datum_or_str(DATUM(vt->class), vt->class_str)); in cil_write_ast_node()
Dcil.c2217 (*classcommon)->class_str = NULL; in cil_classcommon_init()
2649 (*validtrans)->class_str = NULL; in cil_validatetrans_init()
2698 (*cp)->class_str = NULL; in cil_classperms_init()
Dcil_resolve_ast.c169 rc = cil_resolve_name(current, cp->class_str, CIL_SYM_CLASSES, extra_args, &datum); in cil_resolve_classperms()
753 rc = cil_resolve_name(current, clscom->class_str, CIL_SYM_CLASSES, extra_args, &class_datum); in cil_resolve_classcommon()
1814 rc = cil_resolve_name(current, validtrans->class_str, CIL_SYM_CLASSES, args, &class_datum); in cil_resolve_validatetrans()
Dcil_build_ast.c707 (*cp)->class_str = parse_current->data; in cil_fill_classperms()
1090 clscom->class_str = parse_current->next->data; in cil_gen_classcommon()
4066 validtrans->class_str = parse_current->next->data; in cil_gen_validatetrans()
/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_copy_ast.c300 …ertStrEquals(tc, ((struct cil_classcommon *)test_ast_node->data)->class_str, test_copy->class_str); in test_cil_copy_classcommon()
615 …ruct cil_avrule *)test_ast_node->data)->classpermset->class_str, test_copy->classpermset->class_st… in test_cil_copy_avrule()
1328 …onstrain*)test_copy)->classpermset->class_str, ((struct cil_constrain *)test_ast_node->data)->clas… in test_cil_copy_constrain()
Dtest_cil_build_ast.c80 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data); in test_cil_parse_to_list()
111 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data); in test_cil_parse_to_list_currnull_neg()
142 test_avrule->classpermset->class_str = cil_strdup(test_current->next->next->next->cl_head->data); in test_cil_parse_to_list_listnull_neg()
8158 …CuAssertStrEquals(tc, ((struct cil_avrule*)test_ast_node->data)->classpermset->class_str, test_cur… in test_cil_gen_avrule()