Home
last modified time | relevance | path

Searched refs:macro_node (Results 1 – 2 of 2) sorted by relevance

/external/selinux/libsepol/cil/src/
Dcil_resolve_ast.c2727 int cil_check_recursive_call(struct cil_tree_node *call_node, struct cil_tree_node *macro_node) in cil_check_recursive_call() argument
2740 if (call->macro != macro_node->data) { in cil_check_recursive_call()
2744 if (curr != macro_node) { in cil_check_recursive_call()
2769 struct cil_tree_node *macro_node = NULL; in cil_resolve_call1() local
2782 macro_node = macro_datum->nodes->head->data; in cil_resolve_call1()
2784 if (macro_node->flavor != CIL_MACRO) { in cil_resolve_call1()
3007 rc = cil_check_recursive_call(current, macro_node); in cil_resolve_call1()
3012 rc = cil_copy_ast(db, macro_node, current); in cil_resolve_call1()
/external/selinux/libsepol/cil/test/unit/
Dtest_cil_resolve_ast.c5858 struct cil_tree_node *macro_node = NULL; in test_cil_resolve_call1_unknown_neg() local
5859 …est_db->ast->root->cl_head->next->next->next->data)->macro_str, CIL_SYM_BLOCKS, args, &macro_node); in test_cil_resolve_call1_unknown_neg()
5860 …)test_db->ast->root->cl_head->next->next->next->data)->macro = (struct cil_macro*)macro_node->data; in test_cil_resolve_call1_unknown_neg()
5985 struct cil_tree_node *macro_node = NULL; in test_cil_resolve_call1_paramsflavor_neg() local
5988 …_db->ast->root->cl_head->next->next->next, new_call->macro_str, CIL_SYM_BLOCKS, args, &macro_node); in test_cil_resolve_call1_paramsflavor_neg()
5989 new_call->macro = (struct cil_macro*)macro_node->data; in test_cil_resolve_call1_paramsflavor_neg()
6016 struct cil_tree_node *macro_node = NULL; in test_cil_resolve_call1_unknownflavor_neg() local
6019 …_db->ast->root->cl_head->next->next->next, new_call->macro_str, CIL_SYM_BLOCKS, args, &macro_node); in test_cil_resolve_call1_unknownflavor_neg()
6020 new_call->macro = (struct cil_macro*)macro_node->data; in test_cil_resolve_call1_unknownflavor_neg()