Home
last modified time | relevance | path

Searched refs:cil_flavor (Results 1 – 20 of 20) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_verify.h61 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_…
62 …y_constraint_leaf_expr_syntax(enum cil_flavor l_flavor, enum cil_flavor r_flavor, enum cil_flavor
63 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op);
67 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor);
Dcil_list.h38 enum cil_flavor flavor;
43 enum cil_flavor flavor;
51 void cil_list_init(struct cil_list **list, enum cil_flavor flavor);
55 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data);
56 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, void *data);
57 void cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_da…
58 …il_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *da…
Dcil_build_ast.h40 …t cil_symtab_datum *datum, hashtab_key_t key, enum cil_sym_index sflavor, enum cil_flavor nflavor);
41 int cil_parse_to_list(struct cil_tree_node *parse_cl_head, struct cil_list *ast_cl, enum cil_flavor
55 …uct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned…
57 …ruct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned…
127 int cil_gen_constrain_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *…
128 int cil_gen_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **stack);
133 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
135 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
137 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
167 … *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor);
[all …]
Dcil_list.c47 void cil_list_init(struct cil_list **list, enum cil_flavor flavor) in cil_list_init()
98 void cil_list_append(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_append()
120 void cil_list_prepend(struct cil_list *list, enum cil_flavor flavor, void *data) in cil_list_prepend()
142 …il_list_insert(struct cil_list *list, struct cil_list_item *curr, enum cil_flavor flavor, void *da… in cil_list_insert()
224 void cil_list_remove(struct cil_list *list, enum cil_flavor flavor, void *data, unsigned destroy_da… in cil_list_remove()
Dcil_stack.h40 enum cil_flavor flavor;
56 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data);
Dcil_find.c39 enum cil_flavor flavor;
47 enum cil_flavor f1 = ((struct cil_tree_node*)d1->nodes->head->data)->flavor; in cil_type_match_any()
48 enum cil_flavor f2 = ((struct cil_tree_node*)d2->nodes->head->data)->flavor; in cil_type_match_any()
80 enum cil_flavor f1 = ((struct cil_tree_node*)d1->nodes->head->data)->flavor; in cil_type_matches()
81 enum cil_flavor f2 = ((struct cil_tree_node*)d2->nodes->head->data)->flavor; in cil_type_matches()
370 int cil_find_matching_avrule_in_ast(struct cil_tree_node *current, enum cil_flavor flavor, void *ta… in cil_find_matching_avrule_in_ast()
Dcil_internal.h315 enum cil_flavor flavor;
827 enum cil_flavor flavor;
840 enum cil_flavor flavor;
855 enum cil_flavor flavor;
887 enum cil_flavor flavor;
924 void cil_destroy_data(void **data, enum cil_flavor flavor);
926 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *index);
Dcil_find.h37 int cil_find_matching_avrule_in_ast(struct cil_tree_node *current, enum cil_flavor flavor, void *ta…
Dcil_tree.h47 enum cil_flavor flavor;
Dcil_binary.c77 enum cil_flavor cond_flavor;
925 …_key_t *avtab_key, avtab_datum_t *avtab_datum, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_cond_insert_rule()
976 …src, uint32_t tgt, uint32_t obj, uint32_t res, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_insert_type_rule()
1055 …ct cil_db *db, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_type_rule_to_avtab()
1116 …struct cil_nametypetransition *typetrans, cond_node_t *cond_node, enum cil_flavor cond_flavor, has… in __cil_typetransition_to_avtab()
1271 …rc, uint32_t tgt, uint32_t obj, uint32_t data, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_insert_avrule()
1318 …_symtab_datum *tgt, struct cil_classperms *cp, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_avrule_expand_helper()
1359 …ymtab_datum *tgt, struct cil_list *classperms, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_avrule_expand()
1398 …uct cil_db *db, struct cil_avrule *cil_avrule, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_avrule_to_avtab()
1756 enum cil_flavor flavor; in __cil_cond_to_policydb_helper()
[all …]
Dcil_verify.c147 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_… in cil_verify_expr_syntax()
211 …y_constraint_leaf_expr_syntax(enum cil_flavor l_flavor, enum cil_flavor r_flavor, enum cil_flavor in cil_verify_constraint_leaf_expr_syntax()
269 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op) in cil_verify_constraint_expr_syntax()
407 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor) in __cil_verify_ordered()
Dcil_stack.c70 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data) in cil_stack_push()
Dcil_flavor.h39 enum cil_flavor { enum
Dcil_build_ast.c58 int cil_fill_list(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list **list) in cil_fill_list()
85 …ct cil_symtab_datum *datum, hashtab_key_t key, enum cil_sym_index sflavor, enum cil_flavor nflavor) in cil_gen_node()
478 …uct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned… in cil_gen_perm()
516 …ruct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned… in cil_gen_perm_nodes()
2524 static enum cil_flavor __cil_get_expr_operator_flavor(const char *op) in __cil_get_expr_operator_flavor()
2538 static int __cil_fill_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *…
2540 static int __cil_fill_expr_helper(struct cil_tree_node *current, enum cil_flavor flavor, struct cil… in __cil_fill_expr_helper()
2543 enum cil_flavor op; in __cil_fill_expr_helper()
2581 static int __cil_fill_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *… in __cil_fill_expr()
2586 enum cil_flavor op = __cil_get_expr_operator_flavor(current->data); in __cil_fill_expr()
[all …]
Dcil_policy.c471 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_perms_to_policy()
533 …r, __attribute__((unused)) uint32_t file_index, struct cil_constrain *cons, enum cil_flavor flavor) in cil_constrain_to_policy()
674 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string()
743 enum cil_flavor operand_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string()
Dcil_resolve_ast.h93 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_…
Dcil_post.c53 static int cil_verify_is_list(struct cil_list *list, enum cil_flavor flavor) in cil_verify_is_list()
999 static int __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_… in __cil_expr_to_bitmap_helper()
1043 enum cil_flavor flavor; in __cil_expr_to_bitmap()
1054 enum cil_flavor op = (enum cil_flavor)curr->data; in __cil_expr_to_bitmap()
1674 enum cil_flavor flavor;
1696 static int __evaluate_perm_expression(struct cil_list *perms, enum cil_flavor flavor, symtab_t *cla… in __evaluate_perm_expression()
Dcil_tree.c279 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string()
351 enum cil_flavor operand_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string()
Dcil_resolve_ast.c451 int cil_resolve_aliasactual(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor) in cil_resolve_aliasactual()
490 int cil_resolve_alias_to_actual(struct cil_tree_node *current, enum cil_flavor flavor) in cil_resolve_alias_to_actual()
2459 int cil_resolve_bounds(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor) in cil_resolve_bounds()
2713 enum cil_flavor flavor = ((struct cil_param*)item->data)->flavor; in cil_resolve_call1()
3064 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_… in cil_resolve_expr()
3172 enum cil_flavor op_flavor = (enum cil_flavor)curr->data; in __cil_evaluate_tunable_expr()
Dcil.c460 void cil_destroy_data(void **data, enum cil_flavor flavor) in cil_destroy_data()
770 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *sym_index) in cil_flavor_to_symtab_index()