Home
last modified time | relevance | path

Searched refs:node6 (Results 1 – 18 of 18) sorted by relevance

/external/selinux/libsepol/src/
Dnodes.c43 memcpy(tmp_node->u.node6.addr, addr_buf, addr_bsize); in node_from_record()
44 memcpy(tmp_node->u.node6.mask, mask_buf, mask_bsize); in node_from_record()
114 (const char *)&node->u.node6.addr, in node_to_record()
119 (const char *)&node->u.node6.mask, in node_to_record()
203 unsigned int *addr2 = c->u.node6.addr; in sepol_node_exists()
204 unsigned int *mask2 = c->u.node6.mask; in sepol_node_exists()
266 unsigned int *addr2 = c->u.node6.addr; in sepol_node_query()
267 unsigned int *mask2 = c->u.node6.mask; in sepol_node_query()
Dkernel_to_common.c515 rc = memcmp(&(*aa)->u.node6.mask, &(*bb)->u.node6.mask, sizeof((*aa)->u.node6.mask)); in node6_data_cmp()
522 return memcmp(&(*aa)->u.node6.addr, &(*bb)->u.node6.addr, sizeof((*aa)->u.node6.addr)); in node6_data_cmp()
Dkernel_to_conf.c2646 struct ocontext *node6; in write_selinux_node6_rules_to_conf() local
2652 for (node6 = pdb->ocontexts[6]; node6 != NULL; node6 = node6->next) { in write_selinux_node6_rules_to_conf()
2653 if (inet_ntop(AF_INET6, &node6->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_conf()
2659 if (inet_ntop(AF_INET6, &node6->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_conf()
2665 ctx = context_to_str(pdb, &node6->context[0]); in write_selinux_node6_rules_to_conf()
Dexpand.c2229 n->u.node6.addr[j] = c->u.node6.addr[j]; in ocontext_copy_selinux()
2231 n->u.node6.mask[j] = c->u.node6.mask[j]; in ocontext_copy_selinux()
Dservices.c2120 if (match_ipv6_addrmask(addrp, c->u.node6.addr, in sepol_node_sid()
2121 c->u.node6.mask)) in sepol_node_sid()
Dwrite.c1511 buf[j] = c->u.node6.addr[j]; /* network order */ in ocontext_write_selinux()
1513 buf[j + 4] = c->u.node6.mask[j]; /* network order */ in ocontext_write_selinux()
Dkernel_to_cil.c2780 if (inet_ntop(AF_INET6, &node->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_cil()
2786 if (inet_ntop(AF_INET6, &node->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in write_selinux_node6_rules_to_cil()
Dmodule_to_cil.c2737 if (inet_ntop(AF_INET6, &node->u.node6.addr, addr, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_node6_to_cil()
2743 if (inet_ntop(AF_INET6, &node->u.node6.mask, mask, INET6_ADDRSTRLEN) == NULL) { in ocontext_selinux_node6_to_cil()
Dpolicydb.c2950 c->u.node6.addr[k] = buf[k]; in ocontext_read_selinux()
2953 c->u.node6.mask[k] = buf[k + 4]; in ocontext_read_selinux()
/external/guava/android/guava-tests/test/com/google/common/graph/
DElementOrderTest.java205 ComparableSubClass node6 = new ComparableSubClass(6); in customComparable() local
210 graph.addNode(node6); in customComparable()
214 assertThat(graph.nodes()).containsExactly(node2, node4, node6, node8).inOrder(); in customComparable()
/external/guava/guava-tests/test/com/google/common/graph/
DElementOrderTest.java205 ComparableSubClass node6 = new ComparableSubClass(6); in customComparable() local
210 graph.addNode(node6); in customComparable()
214 assertThat(graph.nodes()).containsExactly(node2, node4, node6, node8).inOrder(); in customComparable()
/external/dtc/tests/
Dreferences.dts37 node6 {
Dmultilabel.dts45 node6 {
Dmultilabel_merge.dts43 node6 {
/external/selinux/libsepol/include/sepol/policydb/
Dpolicydb.h354 } node6; /* IPv6 node information */ member
/external/tensorflow/tensorflow/core/common_runtime/
Ddirect_session_test.cc1694 Node* node6 = test::graph::Add(&g, node5, const1); in TEST() local
1716 s = session->Run({{const2->name(), string_handle}}, {node6->name() + ":0"}, in TEST()
1747 Node* node6 = test::graph::Add(&g, node5, const1); in TEST() local
1769 s = session->Run({{const2->name(), string_handle}}, {node6->name() + ":0"}, in TEST()
/external/selinux/checkpolicy/
Dpolicy_define.c5427 memcpy(&newc->u.node6.addr[0], &addr.s6_addr[0], 16); in define_ipv6_node_context()
5428 memcpy(&newc->u.node6.mask[0], &mask.s6_addr[0], 16); in define_ipv6_node_context()
5440 if (memcmp(&newc->u.node6.mask, &c->u.node6.mask, 16) > 0) in define_ipv6_node_context()
/external/selinux/libsepol/cil/src/
Dcil_binary.c3303 memcpy(new_ocon->u.node6.addr, &cil_nodecon->addr->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb()
3304 memcpy(new_ocon->u.node6.mask, &cil_nodecon->mask->ip.v6.s6_addr[0], 16); in cil_nodecon_to_policydb()