Home
last modified time | relevance | path

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

/third_party/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()
/third_party/curl/lib/
Dhostip.c1036 unsigned long tmp_port; in Curl_loadhostpairs() local
1053 tmp_port = strtoul(port_ptr, &end_ptr, 10); in Curl_loadhostpairs()
1054 if(tmp_port > USHRT_MAX || end_ptr == port_ptr || *end_ptr != ':') in Curl_loadhostpairs()
1057 port = (int)tmp_port; in Curl_loadhostpairs()
/third_party/openssl/apps/
Ds_client.c1577 char *tmp_host = host, *tmp_port = port; in s_client_main() local
1585 if (tmp_port != port) in s_client_main()
1586 OPENSSL_free(tmp_port); in s_client_main()
1603 char *tmp_host = host, *tmp_port = port; in s_client_main() local
1609 if (tmp_port != port) in s_client_main()
1610 OPENSSL_free(tmp_port); in s_client_main()