Home
last modified time | relevance | path

Searched refs:parse_current (Results 1 – 5 of 5) sorted by relevance

/third_party/selinux/libsepol/cil/src/
Dcil_build_ast.c189 int cil_gen_block(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast… in cil_gen_block() argument
202 if (db == NULL || parse_current == NULL || ast_node == NULL) { in cil_gen_block()
211 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_block()
220 key = parse_current->next->data; in cil_gen_block()
230 cil_tree_log(parse_current, CIL_ERR, "Bad block declaration"); in cil_gen_block()
266 int cil_gen_blockinherit(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_no… in cil_gen_blockinherit() argument
277 if (db == NULL || parse_current == NULL || ast_node == NULL) { in cil_gen_blockinherit()
286 rc = __cil_verify_syntax(parse_current, syntax, syntax_len); in cil_gen_blockinherit()
293 inherit->block_str = parse_current->next->data; in cil_gen_blockinherit()
301 cil_tree_log(parse_current, CIL_ERR, "Bad blockinherit declaration"); in cil_gen_blockinherit()
[all …]
Dcil_build_ast.h45 int cil_gen_block(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast…
47 int cil_gen_blockinherit(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_no…
49 int cil_gen_blockabstract(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_n…
51 int cil_gen_in(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_no…
53 int cil_gen_class(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast…
55 int cil_gen_classorder(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node…
57 int cil_gen_perm(struct cil_db *db, struct cil_tree_node *parse_current, struct cil_tree_node *ast_…
61 int cil_fill_classperms(struct cil_tree_node *parse_current, struct cil_classperms **cp);
63 void cil_fill_classperms_set(struct cil_tree_node *parse_current, struct cil_classperms_set **cp_se…
65 int cil_fill_classperms_list(struct cil_tree_node *parse_current, struct cil_list **expr_list);
[all …]
Dcil_verify.h60 int __cil_verify_syntax(struct cil_tree_node *parse_current, enum cil_syntax s[], size_t len);
Dcil_verify.c147 int __cil_verify_syntax(struct cil_tree_node *parse_current, enum cil_syntax s[], size_t len) in __cil_verify_syntax() argument
149 struct cil_tree_node *c = parse_current; in __cil_verify_syntax()
/third_party/selinux/libsepol/cil/test/unit/
Dtest_cil_build_ast.c41 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 …]