Searched refs:macro_node (Results 1 – 2 of 2) sorted by relevance
/aosp_15_r20/external/selinux/libsepol/cil/src/ |
H A D | cil_resolve_ast.c | 2601 …tic int cil_check_recursive_call(struct cil_tree_node *call_node, struct cil_tree_node *macro_node) in cil_check_recursive_call() argument 2614 if (call->macro != macro_node->data) { in cil_check_recursive_call() 2618 if (curr != macro_node) { in cil_check_recursive_call() 2939 struct cil_tree_node *macro_node = NULL; in cil_resolve_call() local 2952 macro_node = NODE(macro_datum); in cil_resolve_call() 2954 if (macro_node->flavor != CIL_MACRO) { in cil_resolve_call() 2966 rc = cil_check_recursive_call(current, macro_node); in cil_resolve_call() 2971 rc = cil_copy_ast(db, macro_node, current); in cil_resolve_call()
|
/aosp_15_r20/external/selinux/libsepol/cil/test/unit/ |
H A D | test_cil_resolve_ast.c | 5858 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, ¯o_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, ¯o_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, ¯o_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()
|