/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_policy.c | 188 struct cil_list_item *i1; in cil_simple_rules_to_policy() 199 struct cil_list_item *i1; in cil_cats_to_policy() 284 struct cil_list_item *i1 = expr->head; in cil_cond_expr_to_policy() 355 static size_t __cil_cons_leaf_operand_len(struct cil_db *db, struct cil_list_item *operand) in __cil_cons_leaf_operand_len() 357 struct cil_list_item *i1; in __cil_cons_leaf_operand_len() 387 static size_t __cil_cons_leaf_op_len(struct cil_list_item *op) in __cil_cons_leaf_op_len() 418 struct cil_list_item *i1; in cil_cons_expr_len() 470 static char *__cil_cons_leaf_operand_to_string(struct cil_db *db, struct cil_list_item *operand, ch… in __cil_cons_leaf_operand_to_string() 472 struct cil_list_item *i1; in __cil_cons_leaf_operand_to_string() 559 static char *__cil_cons_leaf_op_to_string(struct cil_list_item *op, char *new) in __cil_cons_leaf_op_to_string() [all …]
|
D | cil_find.c | 149 struct cil_list_item *i1, *i2; in cil_classperms_match_any() 166 struct cil_list_item *curr; in __cil_classperms_list_match_any() 175 struct cil_list_item *i = NULL; in __cil_classperms_list_match_any() 195 struct cil_list_item *curr; in cil_classperms_list_match_any() 204 struct cil_list_item *i = NULL; in cil_classperms_list_match_any() 223 struct cil_list_item *curr; in __add_classes_from_classperms_list() 231 struct cil_list_item *i = NULL; in __add_classes_from_classperms_list()
|
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_resolve_ast.c | 94 struct cil_list_item *item; in __cil_insert_name() 112 struct cil_list_item *curr; in __cil_resolve_perms() 216 struct cil_list_item *curr; in cil_resolve_classperms_list() 242 struct cil_list_item *curr; in cil_resolve_classpermissionset() 744 struct cil_list_item *curr; in cil_resolve_classmapping() 1149 struct cil_list_item *item = NULL; in __cil_ordered_lists_destroy() 1157 struct cil_list_item *next = item->next; in __cil_ordered_lists_destroy() 1173 struct cil_list_item *__cil_ordered_item_insert(struct cil_list *old, struct cil_list_item *curr, s… in __cil_ordered_item_insert() 1208 …ist_insert(struct cil_list *old, struct cil_list_item *ocurr, struct cil_list_item *nstart, struct… in __cil_ordered_list_insert() 1210 struct cil_list_item *ncurr = NULL; in __cil_ordered_list_insert() [all …]
|
D | cil_verify.c | 326 struct cil_list_item *i; in cil_verify_no_self_reference() 349 struct cil_list_item *curr; in __cil_verify_ranges() 350 struct cil_list_item *range = NULL; in __cil_verify_ranges() 428 struct cil_list_item *i; in __cil_verify_initsids() 449 struct cil_list_item *i; in __cil_is_cat_in_cats() 475 struct cil_list_item *i, *j; in __cil_verify_cats_associated_with_sens() 508 struct cil_list_item *curr; in __cil_verify_levelrange_sensitivity() 538 struct cil_list_item *item; in __cil_verify_levelrange_cats() 743 struct cil_list_item *curr; in __cil_verify_context() 1234 struct cil_list_item *item; in __cil_verify_permissionx() [all …]
|
D | cil_binary.c | 295 struct cil_list_item *curr_class; in cil_classorder_to_policydb() 806 struct cil_list_item *curr_cat; in cil_catorder_to_policydb() 865 struct cil_list_item *curr; in cil_sensitivityorder_to_policydb() 1077 struct cil_list_item *c; in __cil_type_rule_to_avtab() 1139 struct cil_list_item *c; in __cil_typetransition_to_avtab() 1265 struct cil_list_item *curr_perm; in __cil_perms_to_datum() 1378 struct cil_list_item *curr; in __cil_avrule_expand() 1389 struct cil_list_item *i = NULL; in __cil_avrule_expand() 1661 struct cil_list_item *item; in __cil_avrulex_ioctl_to_policydb() 1774 struct cil_list_item *c; in __cil_avrulex_to_hashtable_helper() [all …]
|
D | cil_tree.c | 337 struct cil_list_item *curr; in cil_expr_to_string() 541 struct cil_list_item *curr; in cil_tree_print_perm_strs() 579 struct cil_list_item *i; in cil_tree_print_classperms_list() 913 struct cil_list_item *class; in cil_tree_print_node() 1268 struct cil_list_item *cat; in cil_tree_print_node() 1299 struct cil_list_item *sens; in cil_tree_print_node() 1306 struct cil_list_item *sub; in cil_tree_print_node() 1594 struct cil_list_item *sid; in cil_tree_print_node() 1618 struct cil_list_item *curr_param; in cil_tree_print_node() 1642 struct cil_list_item *item; in cil_tree_print_node()
|
D | cil_post.c | 58 struct cil_list_item *curr; in cil_verify_is_list() 839 struct cil_list_item *curr; in __evaluate_cat_expression() 887 struct cil_list_item *curr; in __cil_cat_to_bitmap() 923 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() 968 …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() 1001 static int __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_… in __cil_expr_to_bitmap_helper() 1044 struct cil_list_item *curr; in __cil_expr_to_bitmap() 1163 struct cil_list_item *expr; in __cil_expr_list_to_bitmap() 1800 struct cil_list_item *curr; in __evaluate_classperms_list() 1811 struct cil_list_item *i = NULL; in __evaluate_classperms_list()
|
D | cil_write_ast.c | 23 struct cil_list_item *curr; in __cil_strlist_concat() 51 static int __cil_unfill_expr_helper(struct cil_list_item *curr, in __cil_unfill_expr_helper() 52 struct cil_list_item **next, char **out_str, int paren) { in __cil_unfill_expr_helper() 235 struct cil_list_item *curr = NULL; in cil_unfill_expr() 243 struct cil_list_item *next = NULL; in cil_unfill_expr() 937 static int cil_unfill_classperms(struct cil_list_item *curr, char **out_str) { in cil_unfill_classperms() 962 struct cil_list_item *curr; in cil_unfill_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() 2009 struct cil_list_item *item; in __cil_copy_node_helper()
|
D | cil.c | 1194 struct cil_list_item *curr; in cil_userprefixes_to_string() 1243 struct cil_list_item *i; in cil_cats_to_ebitmap() 1244 struct cil_list_item *j; in cil_cats_to_ebitmap() 1312 struct cil_list_item *item; in __cil_level_strlen() 1364 struct cil_list_item *item; in __cil_level_to_string() 1434 struct cil_list_item *curr; in cil_selinuxusers_to_string()
|
D | cil_build_ast.c | 119 struct cil_list_item *item; in cil_gen_node() 417 struct cil_list_item *curr = NULL; in cil_gen_classorder() 418 struct cil_list_item *head = NULL; in cil_gen_classorder() 696 struct cil_list_item *curr; in cil_destroy_classperms_list() 1134 struct cil_list_item *curr = NULL; in cil_gen_sidorder() 1275 struct cil_list_item *expr = NULL; in cil_destroy_userattribute() 1276 struct cil_list_item *next = NULL; in cil_destroy_userattribute() 1920 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_roleattribute() 1922 struct cil_list_item *next = expr->next; in cil_destroy_roleattribute() 2361 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_typeattribute() [all …]
|
D | android.c | 268 struct cil_list_item *curr = NULL; in cil_attrib_type_expr()
|
/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()
|