Home
last modified time | relevance | path

Searched refs:cil_flavor (Results 1 – 21 of 21) 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);
169 … *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_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()
84 enum cil_flavor f1 = ((struct cil_tree_node*)d1->nodes->head->data)->flavor; in cil_type_matches()
85 enum cil_flavor f2 = ((struct cil_tree_node*)d2->nodes->head->data)->flavor; in cil_type_matches()
374 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_stack.h40 enum cil_flavor flavor;
56 void cil_stack_push(struct cil_stack *stack, enum cil_flavor flavor, void *data);
Dcil_internal.h330 enum cil_flavor flavor;
870 enum cil_flavor flavor;
883 enum cil_flavor flavor;
898 enum cil_flavor flavor;
930 enum cil_flavor flavor;
972 void cil_destroy_data(void **data, enum cil_flavor flavor);
974 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *index);
Dcil_policy.c287 enum cil_flavor op = (enum cil_flavor)i1->data; in cil_cond_expr_to_policy()
358 enum cil_flavor flavor = operand->flavor; in __cil_cons_leaf_operand_len()
389 enum cil_flavor flavor = (enum cil_flavor)op->data; in __cil_cons_leaf_op_len()
419 enum cil_flavor op; in cil_cons_expr_len()
424 op = (enum cil_flavor)i1->data; in cil_cons_expr_len()
473 enum cil_flavor flavor = operand->flavor; in __cil_cons_leaf_operand_to_string()
478 enum cil_flavor o_flavor = (enum cil_flavor)operand->data; in __cil_cons_leaf_operand_to_string()
561 enum cil_flavor flavor = (enum cil_flavor)op->data; in __cil_cons_leaf_op_to_string()
601 enum cil_flavor op; in __cil_cons_expr_to_string()
605 op = (enum cil_flavor)i1->data; in __cil_cons_expr_to_string()
[all …]
Dcil_find.h37 int cil_find_matching_avrule_in_ast(struct cil_tree_node *current, enum cil_flavor flavor, void *ta…
Dcil_binary.c84 enum cil_flavor cond_flavor;
939 …_key_t *avtab_key, avtab_datum_t *avtab_datum, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_cond_insert_rule()
990 … uint32_t res, struct cil_type_rule *cil_rule, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_insert_type_rule()
1083 …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()
1144 …struct cil_nametypetransition *typetrans, cond_node_t *cond_node, enum cil_flavor cond_flavor, has… in __cil_typetransition_to_avtab()
1309 …rc, uint32_t tgt, uint32_t obj, uint32_t data, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_insert_avrule()
1356 …_symtab_datum *tgt, struct cil_classperms *cp, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_avrule_expand_helper()
1397 …ymtab_datum *tgt, struct cil_list *classperms, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_avrule_expand()
1452 …uct cil_db *db, struct cil_avrule *cil_avrule, cond_node_t *cond_node, enum cil_flavor cond_flavor) in __cil_avrule_to_avtab()
1949 enum cil_flavor flavor; in __cil_cond_to_policydb_helper()
[all …]
Dcil_verify.c153 int cil_verify_expr_syntax(struct cil_tree_node *current, enum cil_flavor op, enum cil_flavor expr_… in cil_verify_expr_syntax()
217 …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()
275 int cil_verify_constraint_expr_syntax(struct cil_tree_node *current, enum cil_flavor op) in cil_verify_constraint_expr_syntax()
413 int __cil_verify_ordered(struct cil_tree_node *current, enum cil_flavor flavor) in __cil_verify_ordered()
Dcil_tree.h47 enum cil_flavor flavor;
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()
91 enum cil_flavor f) in cil_is_datum_multiple_decl()
107 …ct cil_symtab_datum *datum, hashtab_key_t key, enum cil_sym_index sflavor, enum cil_flavor nflavor) in cil_gen_node()
510 …uct cil_tree_node *parse_current, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned… in cil_gen_perm()
552 …ruct cil_tree_node *current_perm, struct cil_tree_node *ast_node, enum cil_flavor flavor, unsigned… in cil_gen_perm_nodes()
2533 static enum cil_flavor __cil_get_expr_operator_flavor(const char *op) in __cil_get_expr_operator_flavor()
2547 static int __cil_fill_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *…
2549 static int __cil_fill_expr_helper(struct cil_tree_node *current, enum cil_flavor flavor, struct cil… in __cil_fill_expr_helper()
2552 enum cil_flavor op; in __cil_fill_expr_helper()
2590 static int __cil_fill_expr(struct cil_tree_node *current, enum cil_flavor flavor, struct cil_list *… in __cil_fill_expr()
[all …]
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_post.c133 static int cil_verify_is_list(struct cil_list *list, enum cil_flavor flavor) in cil_verify_is_list()
1249 static int __cil_expr_to_bitmap_helper(struct cil_list_item *curr, enum cil_flavor flavor, ebitmap_… in __cil_expr_to_bitmap_helper()
1293 enum cil_flavor flavor; in __cil_expr_to_bitmap()
1304 enum cil_flavor op = (enum cil_flavor)curr->data; in __cil_expr_to_bitmap()
2030 enum cil_flavor flavor;
2052 static int __evaluate_perm_expression(struct cil_list *perms, enum cil_flavor flavor, symtab_t *cla… in __evaluate_perm_expression()
2266 … int (*concompar)(const void *, const void *), struct cil_db *db, enum cil_flavor flavor, const ch… in __cil_post_process_context_rules()
Dcil_resolve_ast.h95 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_…
Dcil_write_ast.c89 enum cil_flavor op_flavor = (enum cil_flavor)curr->data; in __cil_unfill_expr_helper()
161 enum cil_flavor operand_flavor = (enum cil_flavor)curr->data; in __cil_unfill_expr_helper()
Dcil_resolve_ast.c109 …on_symtab, struct cil_list *perm_strs, struct cil_list **perm_datums, enum cil_flavor class_flavor) in __cil_resolve_perms()
495 …tual(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor, enum cil_flavor alia… in cil_resolve_aliasactual()
546 int cil_resolve_alias_to_actual(struct cil_tree_node *current, enum cil_flavor flavor) in cil_resolve_alias_to_actual()
2564 …unds(struct cil_tree_node *current, void *extra_args, enum cil_flavor flavor, enum cil_flavor attr… in cil_resolve_bounds()
2808 enum cil_flavor flavor = ((struct cil_param*)item->data)->flavor; in cil_resolve_call1()
3165 int cil_resolve_expr(enum cil_flavor expr_type, struct cil_list *str_expr, struct cil_list **datum_… in cil_resolve_expr()
3273 enum cil_flavor op_flavor = (enum cil_flavor)curr->data; in __cil_evaluate_tunable_expr()
Dcil_tree.c365 enum cil_flavor op_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string()
437 enum cil_flavor operand_flavor = *((enum cil_flavor *)curr->data); in cil_expr_to_string()
Dcil.c480 void cil_destroy_data(void **data, enum cil_flavor flavor) in cil_destroy_data()
802 int cil_flavor_to_symtab_index(enum cil_flavor flavor, enum cil_sym_index *sym_index) in cil_flavor_to_symtab_index()