Home
last modified time | relevance | path

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

/external/selinux/libsepol/cil/src/
Dcil_tree.c851 struct cil_classcommon *clscom = node->data; in cil_tree_print_node() local
853 cil_log(CIL_INFO, "CLASSCOMMON: class: %s, common: %s\n", clscom->class_str, clscom->common_str); in cil_tree_print_node()
Dcil_build_ast.c974 struct cil_classcommon *clscom = NULL; in cil_gen_classcommon() local
986 cil_classcommon_init(&clscom); in cil_gen_classcommon()
988 clscom->class_str = parse_current->next->data; in cil_gen_classcommon()
989 clscom->common_str = parse_current->next->next->data; in cil_gen_classcommon()
991 ast_node->data = clscom; in cil_gen_classcommon()
999 cil_destroy_classcommon(clscom); in cil_gen_classcommon()
1004 void cil_destroy_classcommon(struct cil_classcommon *clscom) in cil_destroy_classcommon() argument
1006 if (clscom == NULL) { in cil_destroy_classcommon()
1010 free(clscom); in cil_destroy_classcommon()
Dcil_build_ast.h74 void cil_destroy_classcommon(struct cil_classcommon *clscom);
Dcil_resolve_ast.c692 struct cil_classcommon *clscom = current->data; in cil_resolve_classcommon() local
697 rc = cil_resolve_name(current, clscom->class_str, CIL_SYM_CLASSES, extra_args, &class_datum); in cil_resolve_classcommon()
702 rc = cil_resolve_name(current, clscom->common_str, CIL_SYM_COMMONS, extra_args, &common_datum); in cil_resolve_classcommon()