Lines Matching refs:classorder
450 struct cil_classorder *classorder = NULL; in cil_gen_classorder() local
464 cil_classorder_init(&classorder); in cil_gen_classorder()
466 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASSORDER, &classorder->class_list_str); in cil_gen_classorder()
471 head = classorder->class_list_str->head; in cil_gen_classorder()
472 cil_list_for_each(curr, classorder->class_list_str) { in cil_gen_classorder()
486 ast_node->data = classorder; in cil_gen_classorder()
493 cil_destroy_classorder(classorder); in cil_gen_classorder()
497 void cil_destroy_classorder(struct cil_classorder *classorder) in cil_destroy_classorder() argument
499 if (classorder == NULL) { in cil_destroy_classorder()
503 if (classorder->class_list_str != NULL) { in cil_destroy_classorder()
504 cil_list_destroy(&classorder->class_list_str, 1); in cil_destroy_classorder()
507 free(classorder); in cil_destroy_classorder()