Home
last modified time | relevance | path

Searched refs:tmp_node (Results 1 – 3 of 3) sorted by relevance

/external/selinux/libsepol/src/
Dnodes.c19 ocontext_t *tmp_node = NULL; in node_from_record() local
23 tmp_node = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in node_from_record()
24 if (!tmp_node) in node_from_record()
39 memcpy(&tmp_node->u.node.addr, addr_buf, addr_bsize); in node_from_record()
40 memcpy(&tmp_node->u.node.mask, mask_buf, mask_bsize); in node_from_record()
43 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()
59 context_cpy(&tmp_node->context[0], tmp_con); in node_from_record()
64 *node = tmp_node; in node_from_record()
71 if (tmp_node != NULL) { in node_from_record()
[all …]
Dnode_record.c569 sepol_node_t *tmp_node = (sepol_node_t *) malloc(sizeof(sepol_node_t)); in hidden_def() local
571 if (!tmp_node) { in hidden_def()
576 tmp_node->addr = NULL; in hidden_def()
577 tmp_node->addr_sz = 0; in hidden_def()
578 tmp_node->mask = NULL; in hidden_def()
579 tmp_node->mask_sz = 0; in hidden_def()
580 tmp_node->proto = SEPOL_PROTO_IP4; in hidden_def()
581 tmp_node->con = NULL; in hidden_def()
582 *node = tmp_node; in hidden_def()
/external/selinux/libsepol/cil/src/
Dcil_binary.c2200 struct cil_tree_node *tmp_node = NULL; in cil_booleanif_to_policydb() local
2259 tmp_node = true_node; in cil_booleanif_to_policydb()
2261 false_node = tmp_node; in cil_booleanif_to_policydb()