/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_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 | 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_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() 466 struct cil_list_item *curr; in cil_resolve_expandtypeattribute() 790 struct cil_list_item *curr; in cil_resolve_classmapping() 1195 struct cil_list_item *item = NULL; in __cil_ordered_lists_destroy() 1203 struct cil_list_item *next = item->next; in __cil_ordered_lists_destroy() 1219 struct cil_list_item *__cil_ordered_item_insert(struct cil_list *old, struct cil_list_item *curr, s… in __cil_ordered_item_insert() 1254 …ist_insert(struct cil_list *old, struct cil_list_item *ocurr, struct cil_list_item *nstart, struct… 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() 1274 struct cil_list_item *item; in __cil_verify_permissionx() [all …]
|
D | cil_binary.c | 299 struct cil_list_item *curr_class; in cil_classorder_to_policydb() 810 struct cil_list_item *curr_cat; in cil_catorder_to_policydb() 869 struct cil_list_item *curr; in cil_sensitivityorder_to_policydb() 1095 struct cil_list_item *c; in __cil_type_rule_to_avtab() 1157 struct cil_list_item *c; in __cil_typetransition_to_avtab() 1287 struct cil_list_item *curr_perm; in __cil_perms_to_datum() 1400 struct cil_list_item *curr; in __cil_avrule_expand() 1411 struct cil_list_item *i = NULL; in __cil_avrule_expand() 1683 struct cil_list_item *item; in __cil_avrulex_ioctl_to_policydb() 1798 struct cil_list_item *c; in __cil_avrulex_to_hashtable_helper() [all …]
|
D | cil_post.c | 58 struct cil_list_item *i, *j; in cats_compare() 135 struct cil_list_item *curr; in cil_verify_is_list() 1087 struct cil_list_item *curr; in __evaluate_cat_expression() 1135 struct cil_list_item *curr; in __cil_cat_to_bitmap() 1171 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() 1216 …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() 1249 static int __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_… in __cil_expr_to_bitmap_helper() 1292 struct cil_list_item *curr; in __cil_expr_to_bitmap() 1412 struct cil_list_item *expr; in __cil_expr_list_to_bitmap() 1481 struct cil_list_item *curr; in __mark_neverallow_attrs() [all …]
|
D | cil_tree.c | 337 struct cil_list_item *curr; in cil_expr_to_string() 545 struct cil_list_item *curr; in cil_tree_print_perm_strs() 583 struct cil_list_item *i; in cil_tree_print_classperms_list() 928 struct cil_list_item *class; in cil_tree_print_node() 1283 struct cil_list_item *cat; in cil_tree_print_node() 1314 struct cil_list_item *sens; in cil_tree_print_node() 1321 struct cil_list_item *sub; in cil_tree_print_node() 1638 struct cil_list_item *sid; in cil_tree_print_node() 1662 struct cil_list_item *curr_param; in cil_tree_print_node() 1686 struct cil_list_item *item; in cil_tree_print_node()
|
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() 955 static int cil_unfill_classperms(struct cil_list_item *curr, char **out_str) { in cil_unfill_classperms() 980 struct cil_list_item *curr; in cil_unfill_classperms_list()
|
D | cil.c | 1217 struct cil_list_item *curr; in cil_userprefixes_to_string() 1266 struct cil_list_item *i; in cil_cats_to_ebitmap() 1267 struct cil_list_item *j; in cil_cats_to_ebitmap() 1337 struct cil_list_item *item; in __cil_level_strlen() 1389 struct cil_list_item *item; in __cil_level_to_string() 1459 struct cil_list_item *curr; in cil_selinuxusers_to_string()
|
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() 1406 struct cil_list_item *curr; in cil_copy_expr() 1525 struct cil_list_item *curr_orig = NULL; in cil_copy_macro() 1526 struct cil_list_item *curr_new = NULL; in cil_copy_macro() 2086 struct cil_list_item *item; in __cil_copy_node_helper()
|
D | cil_build_ast.c | 153 struct cil_list_item *item; in cil_gen_node() 451 struct cil_list_item *curr = NULL; in cil_gen_classorder() 452 struct cil_list_item *head = NULL; in cil_gen_classorder() 730 struct cil_list_item *curr; in cil_destroy_classperms_list() 1168 struct cil_list_item *curr = NULL; in cil_gen_sidorder() 1309 struct cil_list_item *expr = NULL; in cil_destroy_userattribute() 1310 struct cil_list_item *next = NULL; in cil_destroy_userattribute() 1954 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_roleattribute() 1956 struct cil_list_item *next = expr->next; in cil_destroy_roleattribute() 2395 struct cil_list_item *expr = attr->expr_list->head; in cil_destroy_typeattribute() [all …]
|
D | android.c | 273 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()
|