Searched refs:parse_current (Results 1 – 5 of 5) sorted by relevance
/external/selinux/libsepol/cil/src/ |
D | cil_build_ast.c | 186 int cil_gen_block(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast… in cil_gen_block() argument 199 if (db == NULL || parse_current == NULL || ast_node == NULL) { in cil_gen_block() 203 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_block() 212 key = parse_current->next->data; in cil_gen_block() 222 cil_tree_log(parse_current, CIL_ERR, "Bad block declaration"); in cil_gen_block() 241 int cil_gen_blockinherit(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_no… in cil_gen_blockinherit() argument 252 if (db == NULL || parse_current == NULL || ast_node == NULL) { in cil_gen_blockinherit() 256 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_blockinherit() 263 inherit->block_str = parse_current->next->data; in cil_gen_blockinherit() 271 cil_tree_log(parse_current, CIL_ERR, "Bad blockinherit declaration"); in cil_gen_blockinherit() [all …]
|
D | cil_build_ast.h | 43 int cil_gen_block(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast… 45 int cil_gen_blockinherit(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_no… 47 int cil_gen_blockabstract(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_n… 49 int cil_gen_in(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_no… 51 int cil_gen_class(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast… 53 int cil_gen_classorder(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node… 55 int cil_gen_perm(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_… 59 int cil_fill_classperms(struct cil_tree_node *parse_current, struct cil_classperms **cp); 61 void cil_fill_classperms_set(struct cil_tree_node *parse_current, struct cil_classperms_set **cp_se… 63 int cil_fill_classperms_list(struct cil_tree_node *parse_current, struct cil_list **expr_list); [all …]
|
D | cil_verify.h | 60 int __cil_verify_syntax(struct cil_tree_node *parse_current, enum cil_syntax s[], int len);
|
D | cil_verify.c | 87 int __cil_verify_syntax(struct cil_tree_node *parse_current, enum cil_syntax s[], int len) in __cil_verify_syntax() argument 91 struct cil_tree_node *c = parse_current; in __cil_verify_syntax()
|
/external/selinux/libsepol/cil/test/unit/ |
D | test_cil_build_ast.c | 41 int __cil_build_ast_last_child_helper(__attribute__((unused)) struct cil_tree_node *parse_current, … 5735 struct cil_tree_node *parse_current = test_tree->root->cl_head->cl_head; in test_cil_gen_constrain_expr_stack_eq2_t1type() local 5741 cil_fill_classpermset(parse_current->next->cl_head, cons->classpermset); in test_cil_gen_constrain_expr_stack_eq2_t1type() 5743 int rc = cil_gen_expr_stack(parse_current->next->next, CIL_MLSCONSTRAIN, &cons->expr); in test_cil_gen_constrain_expr_stack_eq2_t1type() 5761 struct cil_tree_node *parse_current = test_tree->root->cl_head->cl_head; in test_cil_gen_constrain_expr_stack_eq2_t1t1_neg() local 5766 cil_fill_classpermset(parse_current->next->cl_head, cons->classpermset); in test_cil_gen_constrain_expr_stack_eq2_t1t1_neg() 5768 int rc = cil_gen_expr_stack(parse_current->next->next->next, CIL_MLSCONSTRAIN, &cons->expr); in test_cil_gen_constrain_expr_stack_eq2_t1t1_neg() 5786 struct cil_tree_node *parse_current = test_tree->root->cl_head->cl_head; in test_cil_gen_constrain_expr_stack_eq2_t2type() local 5791 cil_fill_classpermset(parse_current->next->cl_head, cons->classpermset); in test_cil_gen_constrain_expr_stack_eq2_t2type() 5793 int rc = cil_gen_expr_stack(parse_current->next->next, CIL_MLSCONSTRAIN, &cons->expr); in test_cil_gen_constrain_expr_stack_eq2_t2type() [all …]
|