Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dports.c53 ocontext_t *tmp_port = NULL; in port_from_record() local
61 tmp_port = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in port_from_record()
62 if (!tmp_port) in port_from_record()
69 tmp_port->u.port.protocol = tmp_proto; in port_from_record()
72 tmp_port->u.port.low_port = low; in port_from_record()
73 tmp_port->u.port.high_port = high; in port_from_record()
74 if (tmp_port->u.port.low_port > tmp_port->u.port.high_port) { in port_from_record()
76 tmp_port->u.port.low_port, tmp_port->u.port.high_port); in port_from_record()
84 context_cpy(&tmp_port->context[0], tmp_con); in port_from_record()
89 *port = tmp_port; in port_from_record()
[all …]
Dport_record.c208 sepol_port_t *tmp_port = (sepol_port_t *) malloc(sizeof(sepol_port_t)); in hidden_def() local
210 if (!tmp_port) { in hidden_def()
215 tmp_port->low = 0; in hidden_def()
216 tmp_port->high = 0; in hidden_def()
217 tmp_port->proto = SEPOL_PROTO_UDP; in hidden_def()
218 tmp_port->con = NULL; in hidden_def()
219 *port = tmp_port; in hidden_def()
/external/libevent/
Devutil.c1230 int tmp_port; in evutil_getaddrinfo() local
1232 res, &tmp_port); in evutil_getaddrinfo()