/third_party/curl/tests/unit/ |
H A D | unit1653.c | 64 char *portnum; variable 75 ret = curl_url_get(u, CURLUPART_PORT, &portnum, CURLU_NO_DEFAULT_PORT); 76 fail_unless(ret != CURLUE_OK, "curl_url_get portnum returned something"); 100 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0); 101 fail_unless(ret == CURLUE_OK, "curl_url_get portnum returned error"); 102 fail_unless(portnum && !strcmp(portnum, "808"), "Check portnumber"); 104 curl_free(portnum); variable 117 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0); 118 fail_unless(ret == CURLUE_OK, "curl_url_get portnum returne 120 curl_free(portnum); global() variable 148 curl_free(portnum); global() variable 200 curl_free(portnum); global() variable [all...] |
/third_party/openssl/crypto/http/ |
H A D | http_lib.c | 48 unsigned int portnum; in OSSL_parse_url() local 113 if (!sscanf(port, "%u", &portnum) || portnum > 65535) { in OSSL_parse_url() 157 *pport_num = (int)portnum; in OSSL_parse_url() 189 int ssl = 0, portnum; in OSSL_HTTP_parse_url() local 215 if (!ossl_assert(sscanf(port, "%d", &portnum) == 1)) in OSSL_HTTP_parse_url() 218 *pport_num = portnum; in OSSL_HTTP_parse_url()
|
/third_party/ltp/testcases/network/stress/ns-tools/ |
H A D | ns-mcast_receiver.c | 167 char *portnum; /* listen port number in character string */ in parse_options() local 171 portnum = NULL; in parse_options() 228 portnum = strdup(optarg); in parse_options() 268 if (portnum == NULL) { in parse_options() 273 info_p->mainfo = get_maddrinfo(family, maddr, portnum); in parse_options() 287 free(portnum); in parse_options()
|
H A D | ns-udpclient.c | 146 char *portnum; /* port number in string representation */ in main() local 165 portnum = NULL; in main() 200 portnum = strdup(optarg); in main() 234 if (portnum == NULL) { in main() 263 err = getaddrinfo(server_name, portnum, &hints, &res); in main()
|
H A D | ns-tcpserver.c | 72 char *portnum; /* port number */ member 218 err = getaddrinfo(NULL, info_p->portnum, &hints, &res); in create_listen_socket() 544 server.portnum = NULL; in main() 571 server.portnum = strdup(optarg); in main() 618 if (server.portnum == NULL) { in main() 619 server.portnum = (char *)calloc(6, sizeof(char)); in main() 620 sprintf(server.portnum, "%u", PORTNUMMIN); in main()
|
H A D | ns-tcpclient.c | 138 char *portnum; /* port number in string representation */ in main() local 157 portnum = NULL; in main() 192 portnum = strdup(optarg); in main() 239 if (portnum == NULL) { in main() 259 err = getaddrinfo(server_name, portnum, &hints, &res); in main()
|
H A D | ns-udpserver.c | 195 char *portnum = NULL; /* port number */ in main() local 234 portnum = strdup(optarg); in main() 285 err = getaddrinfo(NULL, portnum, &hints, &res); in main()
|
H A D | ns-common.c | 432 * portnum: port number in character string 438 const char *portnum) in get_maddrinfo() 450 err = getaddrinfo(maddr, portnum, &hints, &res); in get_maddrinfo() 437 get_maddrinfo(sa_family_t family, const char *maddr, const char *portnum) get_maddrinfo() argument
|
H A D | ns-traffic.h | 235 struct addrinfo *get_maddrinfo(sa_family_t family, const char *maddr, const char *portnum);
|
/third_party/node/deps/openssl/openssl/crypto/http/ |
H A D | http_lib.c | 55 unsigned int portnum; in OSSL_parse_url() local 121 if (sscanf(port, "%u", &portnum) <= 0 || portnum > 65535) { in OSSL_parse_url() 165 *pport_num = (int)portnum; in OSSL_parse_url() 197 int ssl = 0, portnum; in OSSL_HTTP_parse_url() local 223 if (!ossl_assert(sscanf(port, "%d", &portnum) == 1)) in OSSL_HTTP_parse_url() 226 *pport_num = portnum; in OSSL_HTTP_parse_url()
|
/third_party/mesa3d/src/gallium/auxiliary/util/ |
H A D | u_network.c | 151 u_socket_listen_on_port(uint16_t portnum) in u_socket_listen_on_port() argument 159 sa.sin_port = htons(portnum); in u_socket_listen_on_port()
|
H A D | u_network.h | 14 int u_socket_listen_on_port(uint16_t portnum);
|
/third_party/curl/lib/ |
H A D | urlapi.c | 82 long portnum; /* the numerical version */ member 561 u->portnum = port; in Curl_parse_port() 1406 u->portnum = in->portnum; in curl_url_dup() 1477 if(h && (h->defport == u->portnum) && in curl_url_get() 1533 if(h && (h->defport == u->portnum) && in curl_url_get() 1725 u->portnum = 0; in curl_url_set() 1972 u->portnum = port; in curl_url_set()
|
H A D | transfer.c | 1337 char *portnum; in Curl_follow() 1345 uc = curl_url_get(data->state.uh, CURLUPART_PORT, &portnum, in Curl_follow() 1351 port = atoi(portnum); in Curl_follow() 1352 free(portnum); in Curl_follow()
|
H A D | cf-socket.c | 416 int portnum = data->set.localportrange; in bindlocal() local 634 if(--portnum > 0) { in bindlocal()
|
/third_party/node/deps/openssl/openssl/crypto/bio/ |
H A D | bio_addr.c | 845 long portnum = strtol(service, &endp, 10); in BIO_lookup_ex() local 870 && portnum > 0 && portnum < 65536) { in BIO_lookup_ex() 871 se_fallback.s_port = htons((unsigned short)portnum); in BIO_lookup_ex()
|
/third_party/openssl/crypto/bio/ |
H A D | bio_addr.c | 845 long portnum = strtol(service, &endp, 10); in BIO_lookup_ex() local 870 && portnum > 0 && portnum < 65536) { in BIO_lookup_ex() 871 se_fallback.s_port = htons((unsigned short)portnum); in BIO_lookup_ex()
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | cmp.c | 1850 int portnum, ssl; in setup_client_ctx() local 1881 &portnum, &path, NULL /* q */, NULL /* frag */)) { in setup_client_ctx() 1894 || !OSSL_CMP_CTX_set_serverPort(ctx, portnum)) in setup_client_ctx()
|
/third_party/openssl/apps/ |
H A D | cmp.c | 1850 int portnum, ssl; in setup_client_ctx() local 1881 &portnum, &path, NULL /* q */, NULL /* frag */)) { in setup_client_ctx() 1894 || !OSSL_CMP_CTX_set_serverPort(ctx, portnum)) in setup_client_ctx()
|