Home
last modified time | relevance | path

Searched refs:clscom (Results 1 – 4 of 4) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_tree.c952 struct cil_classcommon *clscom = node->data; in cil_tree_print_node() local
954 cil_log(CIL_INFO, "CLASSCOMMON: class: %s, common: %s\n", clscom->class_str, clscom->common_str); in cil_tree_print_node()
Dcil_build_ast.h74 void cil_destroy_classcommon(struct cil_classcommon *clscom);
Dcil_build_ast.c1012 struct cil_classcommon *clscom = NULL; in cil_gen_classcommon() local
1024 cil_classcommon_init(&clscom); in cil_gen_classcommon()
1026 clscom->class_str = parse_current->next->data; in cil_gen_classcommon()
1027 clscom->common_str = parse_current->next->next->data; in cil_gen_classcommon()
1029 ast_node->data = clscom; in cil_gen_classcommon()
1036 cil_destroy_classcommon(clscom); in cil_gen_classcommon()
1041 void cil_destroy_classcommon(struct cil_classcommon *clscom) in cil_destroy_classcommon() argument
1043 if (clscom == NULL) { in cil_destroy_classcommon()
1047 free(clscom); in cil_destroy_classcommon()
Dcil_resolve_ast.c740 struct cil_classcommon *clscom = current->data; in cil_resolve_classcommon() local
745 rc = cil_resolve_name(current, clscom->class_str, CIL_SYM_CLASSES, extra_args, &class_datum); in cil_resolve_classcommon()
750 rc = cil_resolve_name(current, clscom->common_str, CIL_SYM_COMMONS, extra_args, &common_datum); in cil_resolve_classcommon()