Searched defs:classorder (Results 1 - 5 of 5) sorted by relevance

/external/selinux/libsepol/cil/src/
H A Dcil_tree.c826 struct cil_classorder *classorder = node->data; local
829 if (classorder->class_list_str == NULL) {
835 cil_list_for_each(class, classorder->class_list_str) {
H A Dcil.c145 CIL_KEY_CLASSORDER = cil_strpool_add("classorder");
248 (*db)->classorder = NULL;
297 cil_list_destroy(&(*db)->classorder, CIL_FALSE);
1893 void cil_classorder_init(struct cil_classorder **classorder) argument
1895 *classorder = cil_malloc(sizeof(**classorder));
1897 (*classorder)->class_list_str = NULL;
H A Dcil_resolve_ast.c1334 cil_log(CIL_WARN, "Ignoring '%s' as it has already been declared in classorder.\n", ((struct cil_class*)(item->data))->datum.name);
1414 struct cil_classorder *classorder = current->data; local
1424 cil_list_for_each(curr, classorder->class_list_str) {
1432 cil_log(CIL_ERR, "Failed to resolve class %s in classorder\n", (char *)curr->data);
3830 db->classorder = __cil_ordered_lists_merge_all(&extra_args.classorder_lists, &extra_args.unordered_classorder_lists);
3831 if (db->classorder == NULL) {
3885 cil_list_destroy(&db->classorder, CIL_FALSE);
H A Dcil_build_ast.c417 struct cil_classorder *classorder = NULL; local
431 cil_classorder_init(&classorder);
433 rc = cil_fill_list(parse_current->next->cl_head, CIL_CLASSORDER, &classorder->class_list_str);
438 head = classorder->class_list_str->head;
439 cil_list_for_each(curr, classorder->class_list_str) {
453 ast_node->data = classorder;
459 cil_log(CIL_ERR, "Bad classorder declaration at line %d of %s\n",
461 cil_destroy_classorder(classorder);
465 void cil_destroy_classorder(struct cil_classorder *classorder) argument
467 if (classorder
[all...]
H A Dcil_internal.h275 struct cil_list *classorder; member in struct:cil_db
950 void cil_classorder_init(struct cil_classorder **classorder);

Completed in 158 milliseconds