Home
last modified time | relevance | path

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

/external/selinux/libsepol/src/
Dports.c60 ocontext_t *tmp_port = NULL; in port_from_record() local
68 tmp_port = (ocontext_t *) calloc(1, sizeof(ocontext_t)); in port_from_record()
69 if (!tmp_port) in port_from_record()
76 tmp_port->u.port.protocol = tmp_proto; in port_from_record()
79 tmp_port->u.port.low_port = low; in port_from_record()
80 tmp_port->u.port.high_port = high; in port_from_record()
81 if (tmp_port->u.port.low_port > tmp_port->u.port.high_port) { in port_from_record()
83 tmp_port->u.port.low_port, tmp_port->u.port.high_port); in port_from_record()
91 context_cpy(&tmp_port->context[0], tmp_con); in port_from_record()
96 *port = tmp_port; in port_from_record()
[all …]
Dport_record.c202 sepol_port_t *tmp_port = (sepol_port_t *) malloc(sizeof(sepol_port_t)); in sepol_port_create() local
204 if (!tmp_port) { in sepol_port_create()
209 tmp_port->low = 0; in sepol_port_create()
210 tmp_port->high = 0; in sepol_port_create()
211 tmp_port->proto = SEPOL_PROTO_UDP; in sepol_port_create()
212 tmp_port->con = NULL; in sepol_port_create()
213 *port = tmp_port; in sepol_port_create()
/external/curl/lib/
Dhostip.c1120 unsigned long tmp_port; in Curl_loadhostpairs() local
1135 tmp_port = strtoul(port_ptr, &end_ptr, 10); in Curl_loadhostpairs()
1136 if(tmp_port > USHRT_MAX || end_ptr == port_ptr || *end_ptr != ':') in Curl_loadhostpairs()
1139 port = (int)tmp_port; in Curl_loadhostpairs()
/external/libevent/
Devutil.c1428 int tmp_port; in evutil_getaddrinfo() local
1430 res, &tmp_port); in evutil_getaddrinfo()