/external/selinux/libsepol/cil/src/ |
D | cil_list.c | 62 struct cil_list_item *item = (*list)->head; in cil_list_destroy() 63 struct cil_list_item *next = NULL; in cil_list_destroy() 79 void cil_list_item_init(struct cil_list_item **item) in cil_list_item_init() 81 struct cil_list_item *new_item = cil_malloc(sizeof(*new_item)); in cil_list_item_init() 89 void cil_list_item_destroy(struct cil_list_item **item, unsigned destroy_data) in cil_list_item_destroy() 100 struct cil_list_item *item; in cil_list_append() 122 struct cil_list_item *item; in cil_list_prepend() 142 struct cil_list_item *cil_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_f… in cil_list_insert() 144 struct cil_list_item *item; in cil_list_insert() 171 void cil_list_append_item(struct cil_list *list, struct cil_list_item *item) in cil_list_append_item() [all …]
|
D | cil_list.h | 36 struct cil_list_item *head; 37 struct cil_list_item *tail; 41 struct cil_list_item { struct 42 struct cil_list_item *next; argument 53 void cil_list_item_init(struct cil_list_item **item); argument 54 void cil_list_item_destroy(struct cil_list_item **item, unsigned destroy_data); 58 struct cil_list_item *cil_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_f… 59 void cil_list_append_item(struct cil_list *list, struct cil_list_item *item); 60 void cil_list_prepend_item(struct cil_list *list, struct cil_list_item *item);
|
D | cil_reset_ast.c | 65 struct cil_list_item *curr; in cil_reset_classperms_list() 106 struct cil_list_item *expr = NULL; in cil_reset_userattr() 107 struct cil_list_item *next = NULL; in cil_reset_userattr() 150 struct cil_list_item *expr = attr->expr_list->head; in cil_reset_roleattr() 152 struct cil_list_item *next = expr->next; in cil_reset_roleattr() 179 struct cil_list_item *expr = attr->expr_list->head; in cil_reset_typeattr() 181 struct cil_list_item *next = expr->next; in cil_reset_typeattr()
|
D | cil_find.c | 145 struct cil_list_item *i1, *i2; in cil_classperms_match_any() 162 struct cil_list_item *curr; in __cil_classperms_list_match_any() 171 struct cil_list_item *i = NULL; in __cil_classperms_list_match_any() 191 struct cil_list_item *curr; in cil_classperms_list_match_any() 200 struct cil_list_item *i = NULL; in cil_classperms_list_match_any() 219 struct cil_list_item *curr; in __add_classes_from_classperms_list() 227 struct cil_list_item *i = NULL; in __add_classes_from_classperms_list()
|
D | cil_resolve_ast.c | 94 struct cil_list_item *item; in __cil_insert_name() 112 struct cil_list_item *curr; in __cil_resolve_perms() 208 struct cil_list_item *curr; in cil_resolve_classperms_list() 234 struct cil_list_item *curr; in cil_resolve_classpermissionset() 734 struct cil_list_item *curr; in cil_resolve_classmapping() 1141 struct cil_list_item *item = NULL; in __cil_ordered_lists_destroy() 1149 struct cil_list_item *next = item->next; in __cil_ordered_lists_destroy() 1165 struct cil_list_item *__cil_ordered_item_insert(struct cil_list *old, struct cil_list_item *curr, s… in __cil_ordered_item_insert() 1200 …ist_insert(struct cil_list *old, struct cil_list_item *ocurr, struct cil_list_item *nstart, struct… in __cil_ordered_list_insert() 1202 struct cil_list_item *ncurr = NULL; in __cil_ordered_list_insert() [all …]
|
D | cil_policy.c | 301 struct cil_list_item *curr_key; in cil_multimap_insert() 312 struct cil_list_item *curr_value; in cil_multimap_insert() 314 if (curr_value == (struct cil_list_item*)value) { in cil_multimap_insert() 339 struct cil_list_item *current_user; in cil_userrole_to_policy() 347 struct cil_list_item *current_role; in cil_userrole_to_policy() 367 struct cil_list_item *curr_cat; in cil_cat_to_policy() 379 struct cil_list_item *curr_catalias; in cil_cat_to_policy() 393 struct cil_list_item *curr_sens; in cil_sens_to_policy() 405 struct cil_list_item *curr_sensalias; in cil_sens_to_policy() 456 struct cil_list_item *curr; in cil_perms_to_policy() [all …]
|
D | cil_binary.c | 292 struct cil_list_item *curr_class; in cil_classorder_to_policydb() 795 struct cil_list_item *curr_cat; in cil_catorder_to_policydb() 855 struct cil_list_item *curr; in cil_sensitivityorder_to_policydb() 1067 struct cil_list_item *c; in __cil_type_rule_to_avtab() 1128 struct cil_list_item *c; in __cil_typetransition_to_avtab() 1249 struct cil_list_item *curr_perm; in __cil_perms_to_datum() 1362 struct cil_list_item *curr; in __cil_avrule_expand() 1373 struct cil_list_item *i = NULL; in __cil_avrule_expand() 1559 struct cil_list_item *item; in __cil_avrulex_ioctl_to_policydb() 1672 struct cil_list_item *c; in __cil_avrulex_to_hashtable_helper() [all …]
|
D | cil_verify.c | 320 struct cil_list_item *i; in cil_verify_no_self_reference() 343 struct cil_list_item *curr; in __cil_verify_ranges() 344 struct cil_list_item *range = NULL; in __cil_verify_ranges() 422 struct cil_list_item *i; in __cil_verify_initsids() 443 struct cil_list_item *i; in __cil_is_cat_in_cats() 469 struct cil_list_item *i, *j; in __cil_verify_cats_associated_with_sens() 502 struct cil_list_item *curr; in __cil_verify_levelrange_sensitivity() 532 struct cil_list_item *item; in __cil_verify_levelrange_cats() 737 struct cil_list_item *curr; in __cil_verify_context() 1234 struct cil_list_item *item; in __cil_verify_permissionx() [all …]
|
D | cil_tree.c | 251 struct cil_list_item *curr; in cil_expr_to_string() 455 struct cil_list_item *curr; in cil_tree_print_perm_strs() 493 struct cil_list_item *i; in cil_tree_print_classperms_list() 827 struct cil_list_item *class; in cil_tree_print_node() 1182 struct cil_list_item *cat; in cil_tree_print_node() 1213 struct cil_list_item *sens; in cil_tree_print_node() 1220 struct cil_list_item *sub; in cil_tree_print_node() 1506 struct cil_list_item *sid; in cil_tree_print_node() 1530 struct cil_list_item *curr_param; in cil_tree_print_node() 1554 struct cil_list_item *item; in cil_tree_print_node()
|
D | cil_post.c | 55 struct cil_list_item *curr; in cil_verify_is_list() 836 struct cil_list_item *curr; in __evaluate_cat_expression() 890 struct cil_list_item *curr; in __cil_cat_to_bitmap() 926 static int __cil_cat_expr_range_to_bitmap_helper(struct cil_list_item *i1, struct cil_list_item *i2… in __cil_cat_expr_range_to_bitmap_helper() 966 …int __cil_permissionx_expr_range_to_bitmap_helper(struct cil_list_item *i1, struct cil_list_item *… in __cil_permissionx_expr_range_to_bitmap_helper() 999 static int __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_… in __cil_expr_to_bitmap_helper() 1042 struct cil_list_item *curr; in __cil_expr_to_bitmap() 1161 struct cil_list_item *expr; in __cil_expr_list_to_bitmap() 1766 struct cil_list_item *curr; in __evaluate_classperms_list() 1777 struct cil_list_item *i = NULL; in __evaluate_classperms_list()
|
D | cil_copy_ast.c | 52 struct cil_list_item *orig_item; in cil_copy_list() 196 struct cil_list_item *orig_item; in cil_copy_classperms_list() 1338 struct cil_list_item *curr; in cil_copy_expr() 1457 struct cil_list_item *curr_orig = NULL; in cil_copy_macro() 1458 struct cil_list_item *curr_new = NULL; in cil_copy_macro() 1983 struct cil_list_item *item; in __cil_copy_node_helper()
|
D | cil.c | 1177 struct cil_list_item *curr; in cil_userprefixes_to_string() 1226 struct cil_list_item *i; in cil_cats_to_ebitmap() 1227 struct cil_list_item *j; in cil_cats_to_ebitmap() 1295 struct cil_list_item *item; in __cil_level_strlen() 1347 struct cil_list_item *item; in __cil_level_to_string() 1417 struct cil_list_item *curr; in cil_selinuxusers_to_string()
|
D | cil_build_ast.c | 120 struct cil_list_item *item; in cil_gen_node() 418 struct cil_list_item *curr = NULL; in cil_gen_classorder() 419 struct cil_list_item *head = NULL; in cil_gen_classorder() 691 struct cil_list_item *curr; in cil_destroy_classperms_list() 1133 struct cil_list_item *curr = NULL; in cil_gen_sidorder() 1277 struct cil_list_item *expr = NULL; in cil_destroy_userattribute() 1278 struct cil_list_item *next = NULL; in cil_destroy_userattribute() 1934 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_roleattribute() 1936 struct cil_list_item *next = expr->next; in cil_destroy_roleattribute() 2383 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_typeattribute() [all …]
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_list.c | 66 struct cil_list_item *test_new_item; in test_cil_list_append_item() 94 struct cil_list_item *test_new_item; in test_cil_list_append_item_append() 130 struct cil_list_item *test_new_item; in test_cil_list_append_item_append_extra() 171 struct cil_list_item *test_new_item; in test_cil_list_append_item_listnull_neg() 199 struct cil_list_item *test_new_item = NULL; in test_cil_list_append_item_itemnull_neg() 223 struct cil_list_item *test_new_item; in test_cil_list_prepend_item() 251 struct cil_list_item *test_new_item; in test_cil_list_prepend_item_prepend() 280 struct cil_list_item *test_new_item; in test_cil_list_prepend_item_prepend_neg() 286 struct cil_list_item *test_new_item_next; in test_cil_list_prepend_item_prepend_neg() 313 struct cil_list_item *test_new_item; in test_cil_list_prepend_item_listnull_neg() [all …]
|
D | test_cil_copy_ast.c | 1261 struct cil_list_item *curr_old; in test_cil_copy_conditional()
|
D | test_cil_resolve_ast.c | 5990 struct cil_list_item *item = new_call->macro->params->head; in test_cil_resolve_call1_paramsflavor_neg() 6021 struct cil_list_item *item = new_call->macro->params->head; in test_cil_resolve_call1_unknownflavor_neg() 6533 …((struct cil_args*)((struct cil_list_item *)((struct cil_call *)test_db->ast->root->cl_head->next-… in test_cil_resolve_call2_unknown_neg()
|
D | test_cil_build_ast.c | 8162 …struct cil_list_item *test_list = ((struct cil_avrule*)test_ast_node->data)->classpermset->permset… in test_cil_gen_avrule()
|