/external/libcups/cups/ |
http-addrlist.c | 652 int portnum; /* Port number */ 660 portnum = 0; 662 portnum = atoi(service); 664 portnum = ntohs(port->s_port); 666 portnum = 80; 668 portnum = 443; 670 portnum = 631; 672 portnum = 515; 674 portnum = 9100; 708 first->addr.ipv4.sin_port = htons(portnum); 779 int portnum; \/* Port number *\/ local [all...] |
/external/mesa3d/src/gallium/auxiliary/util/ |
u_network.h | 17 int u_socket_listen_on_port(uint16_t portnum);
|
u_network.c | 143 u_socket_listen_on_port(uint16_t portnum) 151 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/chromium-trace/catapult/telemetry/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]
|
serialwin32.py | 17 def device(portnum): 19 return 'COM%d' % (portnum+1) # numbers are transformed to a string
|
serialposix.py | 229 return '/dev/ttyS%d' % portnum
|
/prebuilts/go/darwin-x86/src/net/ |
ipsock.go | 202 portnum int 210 if portnum, err = r.LookupPort(ctx, net, port); err != nil { 224 return &TCPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone} 226 return &UDPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
|
/prebuilts/go/linux-x86/src/net/ |
ipsock.go | 202 portnum int 210 if portnum, err = r.LookupPort(ctx, net, port); err != nil { 224 return &TCPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone} 226 return &UDPAddr{IP: ip.IP, Port: portnum, Zone: ip.Zone}
|
/external/libevent/ |
util-internal.h | 251 struct evutil_addrinfo *hints, struct evutil_addrinfo **res, int *portnum);
|
evutil.c | 798 * - Look up the port based on 'servname', and store it in *portnum, 810 struct evutil_addrinfo *hints, struct evutil_addrinfo **res, int *portnum) 921 *portnum = port; 1192 int portnum=-1, need_np_hack, err; local [all...] |
http.c | 4000 int portnum = 0; local [all...] |
/external/libpcap/ |
pcap-sita.c | 409 int portnum; local 411 portnum = ((u->chassis - 1) * 64) + ((u->geoslot - 1) * 8) + IOPportnum + 1; 412 snprintf(buf, bufsize, "%s_%d", proto, portnum); [all...] |
/external/iptables/libxtables/ |
xtables.c | 508 unsigned int portnum; local 510 if (xtables_strtoui(port, NULL, &portnum, 0, UINT16_MAX) || 511 (portnum = xtables_service_to_port(port, proto)) != (unsigned)-1) 512 return portnum; [all...] |
/external/curl/lib/ |
connect.c | 256 int portnum = data->set.localportrange; local 449 if(--portnum > 0) { [all...] |
/external/webrtc/talk/app/webrtc/ |
webrtcsession_unittest.cc | 3907 int portnum = -1; local [all...] |