/device/google/cuttlefish_common/common/vsoc/lib/ |
socket_forward_region_view.h | 105 int AcquireConnectionID(int port); 150 int port() const { return view_->port(connection_id_); } function in class:vsoc::SocketForwardRegionView::Sender 189 int port() const { return view_->port(connection_id_); } function in class:vsoc::SocketForwardRegionView::Receiver 216 std::pair<Sender, Receiver> OpenConnection(int port); 221 int port(int connection_id);
|
/device/linaro/bootloader/OpenPlatformPkg/Platforms/Hisilicon/D02/FdtUpdateLibD02/ |
FdtUpdateLib.c | 69 GetMacAddress (UINT32 Port)
82 Status = OemNic->GetMac(&Mac, Port);
95 DEBUG((EFI_D_ERROR, "Port%d:0x%x 0x%x 0x%x 0x%x 0x%x 0x%x\n",
96 Port,gMacAddress[0].data0,gMacAddress[0].data1,gMacAddress[0].data2,
106 UINT8 port;
local 122 for( port=0; port<8; port++ )
124 (VOID) GetMacAddress(port);
125 ethernetnode=fdt_subnode_offset(Fdt, node,EthName[port]);
[all...] |
/device/linaro/bootloader/arm-trusted-firmware/plat/hisilicon/hikey/ |
hikey_ddr.c | 876 unsigned int port, data; local 880 port = 0; 881 mmio_write_32((0xf7120000 + 0x200 + port * 0x10), 0x1210); 882 mmio_write_32((0xf7120000 + 0x204 + port * 0x10), 0x11111111); 883 mmio_write_32((0xf7120000 + 0x208 + port * 0x10), 0x11111111); 886 for (port = 3; port <= 4; port++) { 887 mmio_write_32((0xf7120000 + 0x200 + port * 0x10), 0x1210); 888 mmio_write_32((0xf7120000 + 0x204 + port * 0x10), 0x77777777) [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
urlparse.py | 108 def port(self):
member in class:ResultMixin 111 port = netloc.split(':')[1]
112 if port:
113 port = int(port, 10)
114 # verify legal port
115 if (0 <= port <= 65535):
116 return port
203 # make sure "url" is not actually a port number (in which case
207 # not a port number [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
urlparse.py | 102 def port(self):
member in class:ResultMixin 105 port = netloc.split(':')[1]
106 return int(port, 10)
195 # make sure "url" is not actually a port number (in which case
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Modules/ |
getnameinfo.c | 109 u_short port;
local 141 port = ((struct gni_sockinet *)sa)->si_port; /* network byte order */
147 sprintf(numserv, "%d", ntohs(port));
152 sp = getservbyport(port, (flags & NI_DGRAM) ? "udp" : "tcp");
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
getnameinfo.c | 86 #define getservbyport_r(Port,pProto,pSv,pSvd) getservbyport(Port,pProto)
183 u_short port;
local 215 port = ((const struct sockinet *)(const void *)sa)->si_port;
233 sp = getservbyport_r(port,
242 snprintf(numserv, sizeof(numserv), "%u", ntohs(port));
|
/external/adhd/cras/src/server/ |
cras_dsp_ini.h | 31 struct port { struct 35 /* This is only used if there is a flow connects to this port, 36 -1 otherwise (i.e. the port has a constant input/output) */ 43 DECLARE_ARRAY_TYPE(struct port, port_array)
|
cras_dsp_mod_ladspa.c | 67 static void connect_port(struct dsp_module *module, unsigned long port, 72 desc->connect_port(data->handle, port, data_location); 130 struct port *port; local 133 syslog(LOG_ERR, "port count mismatch: %s", plugin->title); 137 FOR_ARRAY_ELEMENT(&plugin->ports, i, port) { 139 if ((port->direction == PORT_INPUT) != 141 syslog(LOG_ERR, "port direction mismatch: %s:%d!", 146 if ((port->type == PORT_CONTROL) != 148 syslog(LOG_ERR, "port type mismatch: %s:%d!" [all...] |
/external/apache-http/android/src/android/net/compatibility/ |
WebAddress.java | 36 * If given an https scheme but no port, fills in port 57 /* port */ "(?:\\:([0-9]*))?" + 90 throw new IllegalArgumentException("Bad port"); 109 /* Get port from scheme or scheme from port, if necessary and 124 String port = ""; local 127 port = ":" + Integer.toString(mPort); 134 return mScheme + "://" + authInfo + mHost + port + mPath; 153 public void setPort(int port) { [all...] |
/external/apache-http/src/org/apache/http/auth/ |
AuthScope.java | 39 * a port number, a realm name and an authentication scheme name which 61 * The <tt>-1</tt> value represents any port. 76 * Default scope matching any host, port, realm and authentication scheme. 91 /** The port the credentials apply to. */ 92 private final int port; field in class:AuthScope 95 * <tt>host</tt>, <tt>port</tt>, <tt>realm</tt>, and 101 * @param port the port the credentials apply to. May be set 103 * any port. 111 public AuthScope(final String host, int port, [all...] |
/external/autotest/client/tests/ipv6connect/src/ |
ipv6connect.c | 38 static void ConnectAndAccept(enum LoopbackAddr addr, int server_fd, int port) { 62 sa.sin6_port = port; 79 sa4.sin_port = port; 98 static void CreateServer(int* server_fd, int* port) { 123 *port = sa.sin6_port; 229 // Any IP, unused port. 350 int i, j, server_fd, port; local 351 fprintf(stderr, "Starting test with one server port for all connects\n"); 353 CreateServer(&server_fd, &port); 355 ConnectAndAccept(V4_LOOPBACK, server_fd, port); [all...] |
/external/caliper/caliper/src/test/java/com/google/caliper/runner/ |
ServerSocketServiceTest.java | 46 private int port; field in class:ServerSocketServiceTest 50 port = service.getPort(); 102 return OpenedSocket.fromSocket(new Socket(InetAddress.getLoopbackAddress(), port));
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
OpenSSLServerSocketImplTest.java | 64 int port = pickUnusedPort(); local 66 (SSLServerSocket) serverSocketFactory.createServerSocket(port); 98 SSLSocket socket = (SSLSocket) socketFactory.createSocket(LOCALHOST, server.port());
|
/external/conscrypt/openjdk-integ-tests/src/test/java/org/conscrypt/javax/net/ssl/ |
SSLSocketFactoryTest.java | 86 int port = sa.getPort(); local 87 Socket s = new Socket(host, port);
|
/external/curl/lib/ |
curl_sasl.c | 267 const long int port = SSL_IS_PROXY() ? conn->port : conn->remote_port; local 349 port, 417 const long int port = SSL_IS_PROXY() ? conn->port : conn->remote_port; local 557 port,
|
pipeline.c | 42 unsigned short port; member in struct:site_blacklist_entry 180 site->port == conn->remote_port) { 204 char *port; local 214 port = strchr(entry->hostname, ':'); 215 if(port) { 216 *port = '\0'; 217 port++; 218 entry->port = (unsigned short)strtol(port, NULL, 10); 221 /* Default port number for HTTP * [all...] |
/external/guava/guava/src/com/google/common/net/ |
HostAndPort.java | 34 * An immutable representation of a host and port. 58 * concerned with brackets, colons, and port numbers. Full validation of the 68 /** Magic value indicating the absence of a port number. */ 74 /** Validated port number in the range [0..65535], or NO_PORT */ 75 private final int port; field in class:HostAndPort 80 private HostAndPort(String host, int port, boolean hasBracketlessColons) { 82 this.port = port; 97 /** Return true if this instance has a defined port. */ 99 return port >= 0 134 checkArgument(isValidPort(port), "Port out of range: %s", port); local 190 int port = NO_PORT; local [all...] |
/external/iproute2/rdma/ |
link.c | 212 uint32_t port, idx; local 225 port = mnl_attr_get_u32(tb[RDMA_NLDEV_ATTR_PORT_INDEX]); 227 mnl_attr_get_str(tb[RDMA_NLDEV_ATTR_DEV_NAME]), port); 231 jsonw_uint_field(rd->jw, "port", port); 235 pr_out("%u/%u: %s: ", idx, port, name); 286 uint32_t port; local 294 for (port = 1; port < dev_map->num_ports + 1; port++) [all...] |
/external/ipsec-tools/src/racoon/ |
admin.c | 410 u_int16_t port; local 423 /* get remote IP address and port number. */ 427 port = extract_port(rmconf->remote); 428 if (set_port(remote, port) == NULL) 435 port = getmyaddrsport(local); 436 if (set_port(local, port) == NULL)
|
/external/iptables/extensions/ |
libip6t_DNAT.c | 32 " --to-destination [<ipaddr>[-<ipaddr>]][:port[-port]]\n" 59 /* Lets assume one colon is port information. Otherwise its an IPv6 address */ 76 int port; local 80 "Need TCP, UDP, SCTP or DCCP with port specification"); 84 port = atoi(colon+1); 85 if (port <= 0 || port > 65535) 87 "Port `%s' not valid\n", colon+1); 92 "Invalid port:port syntax - use dash\n") [all...] |
libip6t_SNAT.c | 34 " --to-source [<ipaddr>[-<ipaddr>]][:port[-port]]\n" 62 /* Lets assume one colon is port information. Otherwise its an IPv6 address */ 79 int port; local 83 "Need TCP, UDP, SCTP or DCCP with port specification"); 87 port = atoi(colon+1); 88 if (port <= 0 || port > 65535) 90 "Port `%s' not valid\n", colon+1); 95 "Invalid port:port syntax - use dash\n") [all...] |
libipt_DNAT.c | 33 " --to-destination [<ipaddr>[-<ipaddr>]][:port[-port]]\n" 80 int port; local 84 "Need TCP, UDP, SCTP or DCCP with port specification"); 88 port = atoi(colon+1); 89 if (port <= 0 || port > 65535) 91 "Port `%s' not valid\n", colon+1); 96 "Invalid port:port syntax - use dash\n") [all...] |
/external/jacoco/org.jacoco.cli.test/src/org/jacoco/cli/internal/commands/ |
DumpTest.java | 63 int port = startMockServer(); local 65 execute("dump", "--destfile", execfile.getAbsolutePath(), "--port", 66 String.valueOf(port)); 80 int port = unusedPort(); local 83 execute("dump", "--destfile", execfile.getAbsolutePath(), "--port", 84 String.valueOf(port), "--retry", "1"); 126 final int port = serverSocket.getLocalPort(); local 128 return port;
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/tools/ |
ExecDumpClientTest.java | 60 protected void onConnecting(InetAddress address, int port) { 115 int port = createExecServer(); local 116 ExecFileLoader loader = client.dump((String) null, port); 127 int port = createExecServer(); local 130 client.dump((String) null, port); 141 int port = createNopServer(); local 142 client.dump((String) null, port); 148 final int port = server.getLocalPort(); local 150 return port;
|