/external/curl/tests/unit/ |
unit1653.c | 49 char *portnum; variable 60 ret = curl_url_get(u, CURLUPART_PORT, &portnum, CURLU_NO_DEFAULT_PORT); 61 fail_unless(ret != CURLUE_OK, "curl_url_get portnum returned something"); 97 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0); 98 fail_unless(ret == CURLUE_OK, "curl_url_get portnum returned error"); 99 fail_unless(portnum && !strcmp(portnum, "80"), "Check portnumber"); 100 curl_free(portnum); variable 125 ret = curl_url_get(u, CURLUPART_PORT, &portnum, 0); 126 fail_unless(ret == CURLUE_OK, "curl_url_get portnum returned error") 128 curl_free(portnum); variable [all...] |
/external/libcups/cups/ |
http-addrlist.c | 667 int portnum; /* Port number */ 675 portnum = 0; 677 portnum = atoi(service); 679 portnum = ntohs(port->s_port); 681 portnum = 80; 683 portnum = 443; 685 portnum = 631; 687 portnum = 515; 689 portnum = 9100; 723 first->addr.ipv4.sin_port = htons(portnum); 794 int portnum; \/* Port number *\/ local [all...] |
/external/libevent/test/ |
regress_testutils.h | 42 ev_uint16_t *portnum,
|
regress_testutils.c | 94 ev_uint16_t *portnum, 112 my_addr.sin_port = htons(*portnum); 119 if (!*portnum) 120 *portnum = regress_get_socket_port(sock);
|
regress_dns.c | 538 ev_uint16_t portnum = 0; local 549 tt_assert(regress_dnsserver(base, &portnum, table)); 550 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); 659 ev_uint16_t portnum = 0; local 663 port = regress_get_dnsserver(base, &portnum, NULL, 666 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); 735 ev_uint16_t portnum = 0; local 740 port = regress_get_dnsserver(base, &portnum, NULL, 743 evutil_snprintf(buf, sizeof(buf), "127.0.0.1:%d", (int)portnum); 909 ev_uint16_t portnum = 0 local 973 ev_uint16_t portnum = 0; local 2038 ev_uint16_t portnum = 0; local 2083 ev_uint16_t portnum = 0; local [all...] |
regress_http.c | 1148 ev_uint16_t portnum = 0; local 1153 tt_assert(regress_dnsserver(data->base, &portnum, search_table)); 1160 evutil_snprintf(address, sizeof(address), "127.0.0.1:%d", portnum); 1417 ev_uint16_t portnum = 0; local 3780 ev_uint16_t portnum = 0; local 4323 ev_uint16_t portnum = 0; local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_network.h | 17 int u_socket_listen_on_port(uint16_t portnum);
|
u_network.c | 153 u_socket_listen_on_port(uint16_t portnum) 161 sa.sin_port = htons(portnum);
|
/external/ltp/testcases/network/stress/ns-tools/ |
ns-udpclient.c | 146 char *portnum; /* port number in string representation */ local 165 portnum = NULL; 200 portnum = strdup(optarg); 234 if (portnum == NULL) { 263 err = getaddrinfo(server_name, portnum, &hints, &res);
|
ns-mcast_receiver.c | 167 char *portnum; /* listen port number in character string */ local 171 portnum = NULL; 228 portnum = strdup(optarg); 268 if (portnum == NULL) { 273 info_p->mainfo = get_maddrinfo(family, maddr, portnum); 287 free(portnum);
|
ns-tcpserver.c | 72 char *portnum; /* port number */ member in struct:server_info 218 err = getaddrinfo(NULL, info_p->portnum, &hints, &res); 544 server.portnum = NULL; 571 server.portnum = strdup(optarg); 618 if (server.portnum == NULL) { 619 server.portnum = (char *)calloc(6, sizeof(char)); 620 sprintf(server.portnum, "%u", PORTNUMMIN);
|
ns-tcpclient.c | 138 char *portnum; /* port number in string representation */ local 157 portnum = NULL; 192 portnum = strdup(optarg); 239 if (portnum == NULL) { 259 err = getaddrinfo(server_name, portnum, &hints, &res);
|
ns-udpserver.c | 195 char *portnum = NULL; /* port number */ local 234 portnum = strdup(optarg); 285 err = getaddrinfo(NULL, portnum, &hints, &res);
|
ns-traffic.h | 235 struct addrinfo *get_maddrinfo(sa_family_t family, const char *maddr, const char *portnum);
|
ns-common.c | 432 * portnum: port number in character string 438 const char *portnum) 450 err = getaddrinfo(maddr, portnum, &hints, &res);
|
/external/u-boot/drivers/video/tegra124/ |
sor.c | 43 u8 portnum; /* 0 or 1 */ member in struct:tegra_dc_sor_data 72 tegra_sor_write_field(sor, DP_PADCTL(sor->portnum), 81 tegra_sor_write_field(sor, PR(sor->portnum), mask, pe_reg); 82 tegra_sor_write_field(sor, DC(sor->portnum), mask, vs_reg); 84 tegra_sor_write_field(sor, POSTCURSOR(sor->portnum), mask, 146 reg_val = tegra_sor_readl(sor, DP_LINKCTL(sor->portnum)); 159 tegra_sor_writel(sor, DP_LINKCTL(sor->portnum), reg_val); 217 reg_val = tegra_sor_readl(sor, DP_PADCTL(sor->portnum)); 235 tegra_sor_writel(sor, DP_PADCTL(sor->portnum), reg_val); 247 reg_val = tegra_sor_readl(sor, DP_PADCTL(sor->portnum)); [all...] |
/external/grpc-grpc/test/http2_test/ |
http2_test_server.py | 98 portnum = base_port + index 99 logging.warning('serving on port %d : %s'%(portnum, test_case)) 101 twisted.internet.reactor, portnum, backlog=128)
|
/external/python/httplib2/python2/httplib2/ |
socks.py | 478 portnum = self.__proxy[2] 480 portnum = 1080 481 _orgsocket.connect(self, (self.__proxy[1], portnum)) 485 portnum = self.__proxy[2] 487 portnum = 1080 488 _orgsocket.connect(self, (self.__proxy[1], portnum)) 492 portnum = self.__proxy[2] 494 portnum = 8080 495 _orgsocket.connect(self, (self.__proxy[1], portnum)) 499 portnum = self.__proxy[2 [all...] |
/external/python/httplib2/python3/httplib2/ |
socks.py | 484 portnum = self.__proxy[2] 486 portnum = 1080 487 _orgsocket.connect(self, (self.__proxy[1], portnum)) 491 portnum = self.__proxy[2] 493 portnum = 1080 494 _orgsocket.connect(self, (self.__proxy[1], portnum)) 498 portnum = self.__proxy[2] 500 portnum = 8080 501 _orgsocket.connect(self, (self.__proxy[1], portnum)) 505 portnum = self.__proxy[2 [all...] |
/external/chromium-trace/catapult/third_party/pyserial/serial/ |
sermsdos.py | 63 def device(portnum): 64 return 'COM%d' % (portnum+1)
|
serialcli.py | 15 def device(portnum): 17 return System.IO.Ports.SerialPort.GetPortNames()[portnum]
|
/external/u-boot/arch/powerpc/cpu/mpc85xx/ |
cpu_init.c | 154 int portnum; local 156 for (portnum = 0; portnum < 4; portnum++) { 163 iop_conf_t *iopc = (iop_conf_t *) & iop_conf_tab[portnum][0]; 192 volatile ioport_t *iop = ioport_addr (cpm, portnum);
|
/external/u-boot/board/freescale/mpc8569mds/ |
mpc8569mds.c | 358 u32 portnum = 0; local 392 fdt_setprop(blob, off, "port-number", &portnum, sizeof(portnum));
|
/external/curl/lib/ |
urlapi.c | 65 long portnum; /* the numerical version */ member in struct:Curl_URL 559 u->portnum = port; 929 u->portnum = in->portnum; 993 if(h && (h->defport == u->portnum) && 1050 if(h && (h->defport == u->portnum) && [all...] |
/external/libevent/ |
evutil.c | 951 * - Look up the port based on 'servname', and store it in *portnum, 963 struct evutil_addrinfo *hints, struct evutil_addrinfo **res, int *portnum) 1074 *portnum = port; 1357 int portnum=-1, need_np_hack, err; local [all...] |