Home
last modified time | relevance | path

Searched refs:cp_list (Results 1 – 7 of 7) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_reset_ast.c7 static inline void cil_reset_classperms_list(struct cil_list *cp_list);
63 static inline void cil_reset_classperms_list(struct cil_list *cp_list) in cil_reset_classperms_list() argument
67 if (cp_list == NULL) { in cil_reset_classperms_list()
71 cil_list_for_each(curr, cp_list) { in cil_reset_classperms_list()
Dcil_resolve_ast.h41 int cil_resolve_classperms_list(struct cil_tree_node *current, struct cil_list *cp_list, void *extr…
Dcil_tree.c581 void cil_tree_print_classperms_list(struct cil_list *cp_list) in cil_tree_print_classperms_list() argument
585 if (cp_list == NULL) { in cil_tree_print_classperms_list()
589 cil_list_for_each(i, cp_list) { in cil_tree_print_classperms_list()
Dcil_build_ast.c679 int cil_fill_classperms_list(struct cil_tree_node *parse_current, struct cil_list **cp_list) in cil_fill_classperms_list() argument
688 if (parse_current == NULL || cp_list == NULL) { in cil_fill_classperms_list()
697 cil_list_init(cp_list, CIL_CLASSPERMS); in cil_fill_classperms_list()
705 cil_list_append(*cp_list, CIL_CLASSPERMS_SET, new_cp_set); in cil_fill_classperms_list()
713 cil_list_append(*cp_list, CIL_CLASSPERMS, new_cp); in cil_fill_classperms_list()
724 cil_list_destroy(cp_list, CIL_TRUE); in cil_fill_classperms_list()
728 void cil_destroy_classperms_list(struct cil_list **cp_list) in cil_destroy_classperms_list() argument
732 if (cp_list == NULL || *cp_list == NULL) { in cil_destroy_classperms_list()
736 cil_list_for_each(curr, *cp_list) { in cil_destroy_classperms_list()
744 cil_list_destroy(cp_list, CIL_FALSE); in cil_destroy_classperms_list()
Dcil_build_ast.h64 void cil_destroy_classperms_list(struct cil_list **cp_list);
Dcil_binary.c4451 static void __cil_print_classperm(struct cil_list *cp_list) in __cil_print_classperm() argument
4455 i1 = cp_list->head; in __cil_print_classperm()
4667 struct cil_list *cp_list; in cil_classperms_from_sepol() local
4685 cil_list_init(&cp_list, CIL_CLASSPERMS); in cil_classperms_from_sepol()
4686 cil_list_append(cp_list, CIL_CLASSPERMS, cp); in cil_classperms_from_sepol()
4688 return cp_list; in cil_classperms_from_sepol()
Dcil_resolve_ast.c209 int cil_resolve_classperms_list(struct cil_tree_node *current, struct cil_list *cp_list, void *extr… in cil_resolve_classperms_list() argument
214 cil_list_for_each(curr, cp_list) { in cil_resolve_classperms_list()