Home
last modified time | relevance | path

Searched refs:cil_list_init (Results 1 – 17 of 17) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_list.c42 cil_list_init(&test_avrule->classpermset->permset->perms_list_str); in test_cil_list_init()
64 cil_list_init(&test_class_list); in test_cil_list_append_item()
92 cil_list_init(&test_class_list); in test_cil_list_append_item_append()
128 cil_list_init(&test_class_list); in test_cil_list_append_item_append_extra()
197 cil_list_init(&test_class_list); in test_cil_list_append_item_itemnull_neg()
221 cil_list_init(&test_class_list); in test_cil_list_prepend_item()
249 cil_list_init(&test_class_list); in test_cil_list_prepend_item_prepend()
278 cil_list_init(&test_class_list); in test_cil_list_prepend_item_prepend_neg()
339 cil_list_init(&test_class_list); in test_cil_list_prepend_item_itemnull_neg()
Dtest_cil_copy_ast.c63 cil_list_init(&cil_l); in test_cil_copy_list()
68 cil_list_init(&copy_list); in test_cil_copy_list()
85 cil_list_init(&cil_l); in test_cil_copy_list_sublist()
90 cil_list_init(&copy_list); in test_cil_copy_list_sublist()
109 cil_list_init(&cil_l); in test_cil_copy_list_sublist_extra()
114 cil_list_init(&copy_list); in test_cil_copy_list_sublist_extra()
137 cil_list_init(&copy_list); in test_cil_copy_list_orignull_neg()
Dtest_cil_resolve_ast.c617 cil_list_init(&test_cat_list); in test_cil_resolve_cat_list()
643 cil_list_init(&test_cat_list); in test_cil_resolve_cat_list_catlistnull_neg()
699 cil_list_init(&test_cat_list); in test_cil_resolve_cat_list_catrange()
726 cil_list_init(&test_cat_list); in test_cil_resolve_cat_list_catrange_neg()
760 cil_list_init(&test_cat_list); in test_cil_resolve_cat_list_catname_neg()
Dtest_cil_build_ast.c84 cil_list_init(&test_avrule->classpermset->permset->perms_list_str); in test_cil_parse_to_list()
115 cil_list_init(&test_avrule->classpermset->permset->perms_list_str); in test_cil_parse_to_list_currnull_neg()
162 cil_list_init(&cil_l); in test_cil_set_to_list()
186 cil_list_init(&cil_l); in test_cil_set_to_list_cl_head_null_neg()
/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c114 cil_list_init(perm_datums, perm_strs->flavor); in __cil_resolve_perms()
141 cil_list_init(&empty_list, perm_strs->flavor); in __cil_resolve_perms()
259 cil_list_init(&cp->classperms, CIL_CLASSPERMS); in cil_resolve_classpermissionset()
450 cil_list_init(&attr->expr_list, CIL_TYPEATTRIBUTE); in cil_resolve_typeattributeset()
470 cil_list_init(&expandattr->attr_datums, CIL_TYPE); in cil_resolve_expandtypeattribute()
811 cil_list_init(&mp->classperms, CIL_CLASSPERMS); in cil_resolve_classmapping()
1159 cil_list_init(&attr->expr_list, CIL_ROLEATTRIBUTE); in cil_resolve_roleattributeset()
1216 cil_list_init(ordered_lists, CIL_LIST_ITEM); in __cil_ordered_lists_reset()
1415 cil_list_init(&composite, CIL_LIST_ITEM); in __cil_ordered_lists_merge_all()
1476 cil_list_init(&new, CIL_CLASSORDER); in cil_resolve_classorder()
[all …]
Dcil_list.h51 void cil_list_init(struct cil_list **list, enum cil_flavor flavor);
Dcil_policy.c865 cil_list_init(&aliases, CIL_LIST); in cil_sensitivities_to_policy()
920 cil_list_init(&aliases, CIL_LIST); in cil_categories_to_policy()
974 cil_list_init(&classperms_strs, CIL_LIST); in cil_mlsconstrains_to_policy()
1038 cil_list_init(&aliases, CIL_LIST); in cil_typealiases_to_policy()
1216 cil_list_init(&classperms_strs, CIL_LIST); in cil_av_rule_to_policy()
1600 cil_list_init(&roles, CIL_LIST); in cil_users_to_policy()
1645 cil_list_init(&classperms_strs, CIL_LIST); in cil_constrains_to_policy()
1921 cil_list_init(&lists[i], CIL_LIST); in cil_gen_policy()
Dcil_list.c47 void cil_list_init(struct cil_list **list, enum cil_flavor flavor) in cil_list_init() function
Dcil_symtab.c67 cil_list_init(&datum->nodes, CIL_LIST_ITEM); in cil_symtab_datum_init()
Dandroid.c797 cil_list_init(&attrset->str_expr, CIL_TYPE); in cil_build_mappings_tree()
816 cil_list_init(&expandattr->attr_strs, CIL_TYPE); in cil_build_mappings_tree()
Dcil_find.c259 cil_list_init(&class_list, CIL_CLASS); in cil_expand_class()
Dcil_build_ast.c73 cil_list_init(list, flavor); in cil_fill_list()
697 cil_list_init(cp_list, CIL_CLASSPERMS); in cil_fill_classperms_list()
2603 cil_list_init(&sub_expr, flavor); in __cil_fill_expr()
2624 cil_list_init(expr, flavor); in cil_gen_expr()
2714 cil_list_init(leaf_expr, leaf_expr_flavor); in __cil_fill_constraint_leaf_expr()
2779 cil_list_init(expr, flavor); in __cil_fill_constraint_expr()
2793 cil_list_init(expr, flavor); in __cil_fill_constraint_expr()
3238 cil_list_init(&expandattr->attr_strs, CIL_TYPE); in cil_gen_expandtypeattribute()
5253 cil_list_init(&macro->params, CIL_LIST_ITEM); in cil_gen_macro()
5843 cil_list_init(&def->class_strs, CIL_CLASS); in cil_gen_default()
[all …]
Dcil.c272 cil_list_init(&(*db)->userprefixes, CIL_LIST_ITEM); in cil_db_init()
273 cil_list_init(&(*db)->selinuxusers, CIL_LIST_ITEM); in cil_db_init()
274 cil_list_init(&(*db)->names, CIL_LIST_ITEM); in cil_db_init()
Dcil_copy_ast.c54 cil_list_init(&new, data->flavor); in cil_copy_list()
202 cil_list_init(new, CIL_LIST_ITEM); in cil_copy_classperms_list()
1413 cil_list_init(new, orig->flavor); in cil_copy_expr()
Dcil_write_ast.c237 cil_list_init(&str_list, CIL_NONE); in cil_unfill_expr()
985 cil_list_init(&str_list, CIL_NONE); in cil_unfill_classperms_list()
Dcil_binary.c1618 cil_list_init(xperms_list, CIL_NONE); in __cil_permx_bitmap_to_sepol_xperms_list()
4660 cil_list_init(&matching, CIL_NODE); in __cil_print_neverallow_failure()
4796 cil_list_init(&cp->perms, CIL_PERM); in cil_classperms_from_sepol()
4805 cil_list_init(&cp_list, CIL_CLASSPERMS); in cil_classperms_from_sepol()
4884 cil_list_init(&matching, CIL_NODE); in cil_check_type_bounds()
4987 cil_list_init(&neverallows, CIL_LIST_ITEM); in cil_binary_create_allocated_pdb()
Dcil_post.c1105 cil_list_init(&new, CIL_CAT); in __evaluate_cat_expression()
2069 cil_list_init(new_list, flavor); in __evaluate_perm_expression()