/external/selinux/libsepol/cil/src/ |
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; 53 void cil_list_item_init(struct cil_list_item **item); 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_flavor flavor, void *data); 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) [all...] |
cil_list.c | 62 struct cil_list_item *item = (*list)->head; 63 struct cil_list_item *next = NULL; 79 void cil_list_item_init(struct cil_list_item **item) 81 struct cil_list_item *new_item = cil_malloc(sizeof(*new_item)); 89 void cil_list_item_destroy(struct cil_list_item **item, unsigned destroy_data) 100 struct cil_list_item *item; 122 struct cil_list_item *item; 142 struct cil_list_item *cil_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *data) 144 struct cil_list_item *item [all...] |
cil_find.c | 145 struct cil_list_item *i1, *i2; 162 struct cil_list_item *curr; 171 struct cil_list_item *i = NULL; 191 struct cil_list_item *curr; 200 struct cil_list_item *i = NULL; 219 struct cil_list_item *curr; 227 struct cil_list_item *i = NULL;
|
cil_reset_ast.c | 65 struct cil_list_item *curr; 106 struct cil_list_item *expr = NULL; 107 struct cil_list_item *next = NULL; 150 struct cil_list_item *expr = attr->expr_list->head; 152 struct cil_list_item *next = expr->next; 179 struct cil_list_item *expr = attr->expr_list->head; 181 struct cil_list_item *next = expr->next;
|
cil_resolve_ast.c | 94 struct cil_list_item *item; 112 struct cil_list_item *curr; 208 struct cil_list_item *curr; 234 struct cil_list_item *curr; 734 struct cil_list_item *curr; 1141 struct cil_list_item *item = NULL; 1149 struct cil_list_item *next = item->next; 1162 cil_list_init(ordered_lists, CIL_LIST_ITEM); 1165 struct cil_list_item *__cil_ordered_item_insert(struct cil_list *old, struct cil_list_item *curr, struct cil_list_item *item [all...] |
cil_policy.c | 301 struct cil_list_item *curr_key; 312 struct cil_list_item *curr_value; 314 if (curr_value == (struct cil_list_item*)value) { 328 cil_list_init(&new_data->values, CIL_LIST_ITEM); 339 struct cil_list_item *current_user; 347 struct cil_list_item *current_role; 367 struct cil_list_item *curr_cat; 379 struct cil_list_item *curr_catalias; 393 struct cil_list_item *curr_sens; 405 struct cil_list_item *curr_sensalias [all...] |
cil_verify.c | 320 struct cil_list_item *i; 343 struct cil_list_item *curr; 344 struct cil_list_item *range = NULL; 422 struct cil_list_item *i; 443 struct cil_list_item *i; 469 struct cil_list_item *i, *j; 502 struct cil_list_item *curr; 532 struct cil_list_item *item; 737 struct cil_list_item *curr; 1234 struct cil_list_item *item [all...] |
cil_binary.c | 292 struct cil_list_item *curr_class; 795 struct cil_list_item *curr_cat; 855 struct cil_list_item *curr; 1067 struct cil_list_item *c; 1128 struct cil_list_item *c; [all...] |
cil_tree.c | 251 struct cil_list_item *curr; 455 struct cil_list_item *curr; 493 struct cil_list_item *i; 827 struct cil_list_item *class; 1182 struct cil_list_item *cat; 1213 struct cil_list_item *sens; 1220 struct cil_list_item *sub; [all...] |
cil_post.c | 55 struct cil_list_item *curr; 836 struct cil_list_item *curr; 890 struct cil_list_item *curr; 926 static int __cil_cat_expr_range_to_bitmap_helper(struct cil_list_item *i1, struct cil_list_item *i2, ebitmap_t *bitmap) 966 static int __cil_permissionx_expr_range_to_bitmap_helper(struct cil_list_item *i1, struct cil_list_item *i2, ebitmap_t *bitmap) 999 static int __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_t *bitmap, int max, struct cil_db *db) 1042 struct cil_list_item *curr; 1161 struct cil_list_item *expr [all...] |
cil_copy_ast.c | 52 struct cil_list_item *orig_item; 196 struct cil_list_item *orig_item; 202 cil_list_init(new, CIL_LIST_ITEM); 1338 struct cil_list_item *curr; [all...] |
cil.c | 262 cil_list_init(&(*db)->userprefixes, CIL_LIST_ITEM); 263 cil_list_init(&(*db)->selinuxusers, CIL_LIST_ITEM); 264 cil_list_init(&(*db)->names, CIL_LIST_ITEM); 481 case CIL_LIST_ITEM: 877 case CIL_LIST_ITEM: 1177 struct cil_list_item *curr; 1226 struct cil_list_item *i; 1227 struct cil_list_item *j; [all...] |
cil_build_ast.c | 120 struct cil_list_item *item; 418 struct cil_list_item *curr = NULL; 419 struct cil_list_item *head = NULL; 691 struct cil_list_item *curr; 1133 struct cil_list_item *curr = NULL; 1277 struct cil_list_item *expr = NULL; 1278 struct cil_list_item *next = NULL; [all...] |
/external/selinux/libsepol/cil/test/unit/ |
test_cil_list.c | 66 struct cil_list_item *test_new_item; 94 struct cil_list_item *test_new_item; 130 struct cil_list_item *test_new_item; 171 struct cil_list_item *test_new_item; 199 struct cil_list_item *test_new_item = NULL; 223 struct cil_list_item *test_new_item; 251 struct cil_list_item *test_new_item; 280 struct cil_list_item *test_new_item; 286 struct cil_list_item *test_new_item_next; 313 struct cil_list_item *test_new_item [all...] |
test_cil_copy_ast.c | [all...] |
test_cil_resolve_ast.c | [all...] |
test_cil_build_ast.c | [all...] |