/external/jetty/src/java/org/eclipse/jetty/websocket/ |
WebSocketClient.java | 381 int port = uri.getPort(); local 382 if (port == 0) 383 throw new IllegalArgumentException("Bad WebSocket port: " + port); 384 if (port < 0) 385 port = "ws".equals(scheme) ? 80 : 443; 387 return new InetSocketAddress(uri.getHost(), port);
|
/external/kernel-headers/original/uapi/linux/ |
inet_diag.h | 80 int port; member in struct:inet_diag_hostcond
|
serial.h | 21 unsigned int port; member in struct:serial_struct 40 * For the close wait times, 0 means wait forever for serial port to
|
/external/libnl/include/linux/ |
if_bad.h | 126 unsigned char port; member in struct:ifmap
|
/external/libusb/libusb/os/ |
linux_usbfs.h | 115 unsigned char port[127]; /* port to device num mapping */ member in struct:usbfs_hub_portinfo
|
/external/libvncserver/x11vnc/ |
inet.c | 59 int listen6(int port); 62 int connect_tcp(char *host, int port); 63 int listen_tcp(int port, in_addr_t iface, int try6); 416 int port; local 423 for (port = start; port <= end; port++) { 424 int sock = listen_tcp(port, htonl(INADDR_ANY), 0); 427 return port; 434 int port; local [all...] |
/external/mdnsresponder/mDNSPosix/ |
Responder.c | 180 // Checks that portNumber is a reasonable port number 190 "%s: Port number specified by -p must be in range 1..65535\n", 212 "Usage: %s [-v level ] [-r] [-n name] [-t type] [-d domain] [-p port] [-f file] [-b] [-P pidfile] [-x name=val ...]\n", 219 fprintf(stderr, " -r also bind to port 53 (port 5353 is always bound)\n"); 223 fprintf(stderr, " -p uses 'port' as the port number (default is '%d')\n", kDefaultPortNumber); 456 "%s: Registered service %d, name \"%s\", type \"%s\", domain \"%s\", port %ld\n", 522 char port[256]; local 525 // Read the service name, type, port, and optional text record fields [all...] |
/external/mdnsresponder/mDNSShared/ |
dnssd_clientshim.c | 242 mDNSIPPort port; local 258 port.NotAnInteger = notAnIntPort; 278 &x->host, port, // Host and port 474 x->SRV->rdata->u.srv.port.NotAnInteger, x->TXT->rdlength, (unsigned char*)x->TXT->rdata->u.txt.c, x->context);
|
/external/mesa3d/src/gallium/drivers/rbug/ |
rbug_core.c | 805 uint16_t port = 13370; local 811 for (;port <= 13379 && s < 0; port++) 812 s = u_socket_listen_on_port(port); 821 debug_printf("rbug_rbug - remote debugging listening on port %u\n", --port);
|
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/session/ |
DefaultSessionTest.java | 50 private static final int PORT = 197;
115 session.setClientDataPort(PORT);
118 assertEquals("data port", PORT, stubSocketFactory.requestedDataPort);
125 StubServerSocket stubServerSocket = new StubServerSocket(PORT);
132 session.setClientDataPort(PORT);
159 // Use default client data port
162 assertEquals("data port", DefaultSession.DEFAULT_CLIENT_DATA_PORT, stubSocketFactory.requestedDataPort);
165 // Set client data port explicitly
166 session.setClientDataPort(PORT);
287 int port = session.switchToPassiveMode(); local [all...] |
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/session/ |
DefaultSessionTest.java | 49 private static final int PORT = 197;
114 session.setClientDataPort(PORT);
117 assertEquals("data port", PORT, stubSocketFactory.requestedDataPort);
124 StubServerSocket stubServerSocket = new StubServerSocket(PORT);
131 session.setClientDataPort(PORT);
158 // Use default client data port
161 assertEquals("data port", DefaultSession.DEFAULT_CLIENT_DATA_PORT, stubSocketFactory.requestedDataPort);
164 // Set client data port explicitly
165 session.setClientDataPort(PORT);
259 int port = session.switchToPassiveMode(); local [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
MockSpdyPeer.java | 47 private int port; field in class:MockSpdyPeer 118 port = serverSocket.getLocalPort(); 178 return new Socket("localhost", port); 309 String host, int port, long maxAge) {
|
/external/regex-re2/re2/testing/ |
re2_test.cc | 344 RE2 re("((\\w+):([0-9]+))"); // extracts host and port 362 int port; local 363 CHECK(RE2::PartialMatch("a chrisr:9000 here", re, &all, &host, &port)); 366 CHECK_EQ(port, 9000); [all...] |
/external/selinux/checkpolicy/ |
checkpolicy.c | 390 unsigned int protocol, port; local 926 printf("port? "); 928 port = atoi(ans); 929 sepol_port_sid(0, 0, protocol, port, &ssid);
|
/external/tcpdump/ |
ipsec_doi.h | 129 u_int16_t port; /* Port */ member in struct:ipsecdoi_id
|
/external/toybox/toys/pending/ |
syslogd.c | 26 -R HOST Log to IP or hostname on PORT (default PORT=514/UDP)" 243 long port = 514; local 253 port = strtol(++p, &endptr, 10); 254 if (*endptr || endptr == p || port < 0 || port > 65535) 255 error_exit("bad port in %s", tfd->filename); 264 ((struct sockaddr_in*)info->ai_addr)->sin_port = htons(port);
|
/frameworks/base/core/java/android/hardware/usb/ |
UsbManager.java | 80 * Broadcast Action: A broadcast for USB port changes. 82 * This intent is sent when a USB port is added, removed, or changes state. 85 * for the port. 87 * for the port, or null if the port has been removed 236 * containing the {@link UsbPort} object for the port. 240 public static final String EXTRA_PORT = "port"; 244 * containing the {@link UsbPortStatus} object for the port, or null if the port 545 * Gets the status of the specified USB port [all...] |
/frameworks/base/services/core/jni/ |
com_android_server_hdmi_HdmiCecController.cpp | 60 // Get Port information on all the HDMI ports. 65 void setAudioReturnChannel(int port, bool flag); 66 // Whether to hdmi device is connected to the given port. 67 bool isConnected(int port); 165 jint port = event.port_id; local 168 gHdmiCecControllerClassInfo.handleHotplug, port, connected); 263 void HdmiCecController::setAudioReturnChannel(int port, bool enabled) { 264 mDevice->set_audio_return_channel(mDevice, port, enabled ? 1 : 0); 267 // Whether to hdmi device is connected to the given port. 268 bool HdmiCecController::isConnected(int port) { [all...] |
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoDecoderVP9Hybrid.cpp | 344 // if output port is not eos, retain the input buffer 482 // Sync port definition as it may change. 621 PortVideo *port = NULL; local 622 port = static_cast<PortVideo *>(this->ports[OUTPORT_INDEX]); 625 memcpy(&port_def,port->GetPortDefinition(),sizeof(port_def)); 636 port->SetPortDefinition(&port_def,true); 648 PortVideo *port = NULL; local 649 port = static_cast<PortVideo *>(this->ports[OUTPORT_INDEX]); 650 const OMX_PARAM_PORTDEFINITIONTYPE* port_def = port->GetPortDefinition(); 651 // if output port is disabled, retain the input buffe [all...] |
OMXVideoEncoderBase.cpp | 87 PortVideo *port = static_cast<PortVideo *>(this->ports[INPORT_INDEX]); local 116 // Nothing specific to initialize input port. 119 port->SetPortDefinition(¶mPortDefinitionInput, true); 121 // Set port buffer 4k aligned 122 port->SetMemAlignment(4096); 134 port->SetPortVideoParam(¶mPortFormat, true); 146 PortVideo *port = static_cast<PortVideo *>(this->ports[OUTPORT_INDEX]); local 250 port->SetPortDefinition(¶mPortDefinitionOutput, true); 251 port->SetPortBitrateParam(&mParamBitrate, true); 263 port->SetPortVideoParam(¶mPortFormat, true) 421 PortVideo *port = NULL; local 442 PortVideo *port = NULL; local 471 PortVideo *port = NULL; local 809 PortVideo *port = static_cast<PortVideo *>(this->ports[INPORT_INDEX]); local [all...] |
/hardware/ti/omap4-aah/domx/omx_proxy_component/omx_camera/src/ |
omx_proxy_camera.c | 468 OMX_U32 port = 0, index = 0; local 473 port = bufferalloc->nPortIndex; 500 if (gComponentBufferAllocation[port][index]) { 501 ion_free(pCompPrv->ion_fd, gComponentBufferAllocation[port][index]); 503 gComponentBufferAllocation[port][index] = handle;
|
/libcore/luni/src/main/java/java/net/ |
DatagramSocket.java | 43 int port = -1; field in class:DatagramSocket 58 * Constructs a UDP datagram socket which is bound to any available port on 69 * Constructs a UDP datagram socket which is bound to the specific port 74 * the port to bind on the local host. 85 * port {@code aPort}. Valid values for {@code aPort} are between 0 and 65535 inclusive. If 89 * the port to bind on the local host. 102 throw new IllegalArgumentException("Port out of range: " + aPort); 137 port = -1; 149 port = -1; 191 * Gets the local port which this socket is bound to [all...] |
HttpURLConnection.java | 577 * with the host and the port number as the target name and {@code 578 * "resolve, connect"} as the action list. If the port number of this URL 579 * instance is lower than {@code 0} the port will be set to {@code 80}. 588 int port = url.getPort(); local 589 if (port < 0) { 590 port = 80; 592 return new SocketPermission(url.getHost() + ":" + port,
|
URL.java | 48 * <tr><td>{@link #getPort() Port}</td><td>{@code 8080}</td><td></td></tr> 87 private int port = -1; field in class:URL 196 * protocol's default port. 207 * protocol's default port. 210 * @param port the port, or {@code -1} for the protocol's default port. 215 public URL(String protocol, String host, int port, String file) throws MalformedURLException { 216 this(protocol, host, port, file, null); 221 * protocol's default port [all...] |
/libcore/luni/src/main/java/libcore/net/url/ |
FtpURLConnection.java | 216 int port = url.getPort(); local 218 if (port <= 0) { 219 port = FTP_PORT; 226 InetSocketAddress addr = new InetSocketAddress(hostName, port); 240 /* Cannot set REUSEADDR so we need to send a PORT command */ 241 port(); method 314 * host and the port number as the target name and "resolve, connect" as the 324 int port = url.getPort(); local 325 if (port <= 0) { 326 port = FTP_PORT 401 private void port() throws IOException { method in class:FtpURLConnection [all...] |