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.c210 sepol_port_t *tmp_port = (sepol_port_t *) malloc(sizeof(sepol_port_t)); in hidden_def() local
212 if (!tmp_port) { in hidden_def()
217 tmp_port->low = 0; in hidden_def()
218 tmp_port->high = 0; in hidden_def()
219 tmp_port->proto = SEPOL_PROTO_UDP; in hidden_def()
220 tmp_port->con = NULL; in hidden_def()
221 *port = tmp_port; in hidden_def()
/external/curl/lib/
Dhostip.c912 unsigned long tmp_port; in Curl_loadhostpairs() local
924 tmp_port = strtoul(port_ptr, &end_ptr, 10); in Curl_loadhostpairs()
925 if(tmp_port > USHRT_MAX || end_ptr == port_ptr || *end_ptr != ':') in Curl_loadhostpairs()
928 port = (int)tmp_port; in Curl_loadhostpairs()
/external/libevent/
Devutil.c1395 int tmp_port; in evutil_getaddrinfo() local
1397 res, &tmp_port); in evutil_getaddrinfo()