Home
last modified time | relevance | path

Searched refs:cil_nodecon (Results 1 – 15 of 15) sorted by relevance

/external/selinux/libsepol/cil/test/unit/
Dtest_cil_post.c402 struct cil_nodecon *anodecon; in test_cil_post_nodecon_compare_aipv4_bipv6()
407 struct cil_nodecon *bnodecon; in test_cil_post_nodecon_compare_aipv4_bipv6()
425 struct cil_nodecon *anodecon; in test_cil_post_nodecon_compare_aipv6_bipv4()
430 struct cil_nodecon *bnodecon; in test_cil_post_nodecon_compare_aipv6_bipv4()
448 struct cil_nodecon *anodecon; in test_cil_post_nodecon_compare_aipv4_greaterthan_bipv4()
453 struct cil_nodecon *bnodecon; in test_cil_post_nodecon_compare_aipv4_greaterthan_bipv4()
471 struct cil_nodecon *anodecon; in test_cil_post_nodecon_compare_aipv4_lessthan_bipv4()
476 struct cil_nodecon *bnodecon; in test_cil_post_nodecon_compare_aipv4_lessthan_bipv4()
494 struct cil_nodecon *anodecon; in test_cil_post_nodecon_compare_amaskipv4_greaterthan_bmaskipv4()
499 struct cil_nodecon *bnodecon; in test_cil_post_nodecon_compare_amaskipv4_greaterthan_bmaskipv4()
[all …]
Dtest_cil_copy_ast.c1136 struct cil_nodecon *test_copy; in test_cil_copy_nodecon()
1144 ((struct cil_nodecon *)test_ast_node->data)->addr_str); in test_cil_copy_nodecon()
1146 ((struct cil_nodecon *)test_ast_node->data)->mask_str); in test_cil_copy_nodecon()
1148 ((struct cil_nodecon *)test_ast_node->data)->context_str); in test_cil_copy_nodecon()
1168 struct cil_nodecon *test_copy; in test_cil_copy_nodecon_anon()
1176 ((struct cil_nodecon *)test_ast_node->data)->addr_str); in test_cil_copy_nodecon_anon()
1178 ((struct cil_nodecon *)test_ast_node->data)->mask_str); in test_cil_copy_nodecon_anon()
1180 ((struct cil_nodecon *)test_ast_node->data)->context_str); in test_cil_copy_nodecon_anon()
Dtest_cil_build_ast.c13171 struct cil_nodecon *nodecon; in test_cil_fill_ipaddr()
13194 struct cil_nodecon *nodecon; in test_cil_fill_ipaddr_addrnodenull_neg()
13217 struct cil_nodecon *nodecon; in test_cil_fill_ipaddr_addrnull_neg()
13240 struct cil_nodecon *nodecon; in test_cil_fill_ipaddr_addrinparens_neg()
13263 struct cil_nodecon *nodecon; in test_cil_fill_ipaddr_extra_neg()
/external/selinux/libsepol/cil/src/
Dcil_post.c325 struct cil_nodecon *anodecon; in cil_post_nodecon_compare()
326 struct cil_nodecon *bnodecon; in cil_post_nodecon_compare()
327 anodecon = *(struct cil_nodecon**)a; in cil_post_nodecon_compare()
328 bnodecon = *(struct cil_nodecon**)b; in cil_post_nodecon_compare()
504 struct cil_nodecon *a_nodecon = *(struct cil_nodecon **)a; in cil_post_nodecon_context_compare()
505 struct cil_nodecon *b_nodecon = *(struct cil_nodecon **)b; in cil_post_nodecon_context_compare()
1944 struct cil_nodecon *nodecon = node->data; in __cil_post_db_cat_helper()
Dcil_internal.h764 struct cil_nodecon { struct
1035 void cil_nodecon_init(struct cil_nodecon **nodecon);
Dcil_reset_ast.c305 static void cil_reset_nodecon(struct cil_nodecon *nodecon) in cil_reset_nodecon()
Dcil_binary.c3376 struct cil_nodecon *cil_nodecon = nodecons->array[i]; in cil_nodecon_to_policydb() local
3378 if (cil_nodecon->addr->family == AF_INET) { in cil_nodecon_to_policydb()
3380 new_ocon->u.node.addr = cil_nodecon->addr->ip.v4.s_addr; in cil_nodecon_to_policydb()
3381 new_ocon->u.node.mask = cil_nodecon->mask->ip.v4.s_addr; in cil_nodecon_to_policydb()
3382 } else if (cil_nodecon->addr->family == AF_INET6) { in cil_nodecon_to_policydb()
3384 memcpy(new_ocon->u.node6.addr, &cil_nodecon->addr->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb()
3385 memcpy(new_ocon->u.node6.mask, &cil_nodecon->mask->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb()
3392 rc = __cil_context_to_sepol_context(pdb, cil_nodecon->context, &new_ocon->context[0]); in cil_nodecon_to_policydb()
Dcil_build_ast.h185 void cil_destroy_nodecon(struct cil_nodecon *nodecon);
Dcil_copy_ast.c1176 struct cil_nodecon *orig = data; in cil_copy_nodecon()
1177 struct cil_nodecon *new = NULL; in cil_copy_nodecon()
Dcil_verify.c1085 struct cil_nodecon *nodecon = node->data; in __cil_verify_nodecon()
Dcil_tree.c1454 struct cil_nodecon *nodecon = node->data; in cil_tree_print_node()
Dcil_policy.c1791 struct cil_nodecon *nodecon; in cil_nodecons_to_policy()
Dcil.c2312 void cil_nodecon_init(struct cil_nodecon **nodecon) in cil_nodecon_init()
Dcil_build_ast.c4489 struct cil_nodecon *nodecon = NULL; in cil_gen_nodecon()
4546 void cil_destroy_nodecon(struct cil_nodecon *nodecon) in cil_destroy_nodecon()
Dcil_resolve_ast.c2003 struct cil_nodecon *nodecon = current->data; in cil_resolve_nodecon()