/external/libxml2/ |
uri.c | 317 * Parse a port part and fills in the appropriate fields 320 * port = *DIGIT 331 uri->port = 0; 334 uri->port = uri->port * 10 + (*cur - '0'); 502 * authority = [ userinfo "@" ] host [ ":" port ] 763 uri->port = -1; 1111 if ((uri->server != NULL) || (uri->port == -1)) { 1158 if (uri->port > 0) { 1164 len += snprintf((char *) &ret[len], max - len, ":%d", uri->port); 1810 xmlChar port[10]; local [all...] |
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
MockWebServer.java | 95 private int port = -1; field in class:MockWebServer 99 if (port == -1) { 100 throw new IllegalStateException("Cannot retrieve port before calling play()"); 102 return port; 205 * @param port the port to listen to, or 0 for any available port. 206 * Automated tests should always use port 0 to avoid flakiness when a 207 * specific port is unavailable. 209 public void play(int port) throws IOException [all...] |
/external/nanohttpd/webserver/src/main/java/fi/iki/elonen/ |
SimpleWebServer.java | 95 public SimpleWebServer(String host, int port, File wwwroot, boolean quiet) { 96 super(host, port); 104 public SimpleWebServer(String host, int port, List<File> wwwroots, boolean quiet) { 105 super(host, port); 123 int port = 8080; local 134 } else if (args[i].equalsIgnoreCase("-p") || args[i].equalsIgnoreCase("--port")) { 135 port = Integer.parseInt(args[i + 1]); 157 options.put("port", ""+port); 189 ServerRunner.executeInstance(new SimpleWebServer(host, port, rootDirs, quiet)) [all...] |
/external/nist-sip/java/gov/nist/javax/sip/ |
DialogFilter.java | 325 + " lp port = " + listeningPoint.getPort()); 372 int port; local 374 port = uri.getHostPort().getPort(); 377 port = 5061; 379 port = 5060; 384 && port == listeningPoint.getPort()) { [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
UDPMessageChannel.java | 121 * Reciever port -- port of the destination. 138 * and port. This is for NAT compensation. This stays in the table for 1 seconds and prevents 145 int port; field in class:UDPMessageChannel.PingBackTimerTask 147 public PingBackTimerTask(String ipAddress, int port) { 149 this.port = port; 150 pingBackRecord.put(ipAddress + ":" + port, this); 154 pingBackRecord.remove(ipAddress + ":" + port); 158 return (ipAddress + ":" + port).hashCode() [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
HttpUrl.java | 54 /** Either 80, 443 or a user-specified port. In range [1..65535]. */ 55 private final int port; field in class:HttpUrl 69 private HttpUrl(String scheme, String username, String password, String host, int port, 75 this.port = port; 142 * Returns the explicitly-specified port if one was provided, or the default port for this URL's 146 public int port() { method in class:HttpUrl 147 return port; 268 int port = -1 field in class:HttpUrl.Builder 308 public Builder port(int port) { method in class:HttpUrl.Builder 742 private int port(String input, int pos, int limit) { method in class:HttpUrl.Builder [all...] |
/external/openssh/ |
misc.c | 231 * Convert ASCII string to TCP/IP port number. 232 * Port must be >=0 and <=65535. 238 long long port; local 241 port = strtonum(s, 0, 65535, &errstr); 244 return (int)port; 362 * Returns a standardized host+port identifier string. 366 put_host_port(const char *host, u_short port) 370 if (port == 0 || port == SSH_DEFAULT_PORT) 372 if (asprintf(&hoststr, "[%s]:%d", host, (int)port) < 0 [all...] |
/external/ppp/pppd/plugins/radius/ |
radius.c | 65 "Set Radius NAS-Port attribute value via libradiusclient library", OPT_PRIO | 1 }, 67 "Set Radius NAS-Port attribute to number as in interface name (Default)", OPT_PRIOSUB | 0 }, 274 /* Hack... the "port" is the ppp interface number. Should really be 1308 int port; local [all...] |
/external/ppp/pppd/ |
tty.c | 126 static int real_ttyfd; /* fd for actual serial port (not pty) */ 127 static int ttyfd; /* Serial port file descriptor */ 128 static char speed_str[16]; /* Serial port speed as string */ 139 int stop_bits = 1; /* Number of serial port stop bits */ 169 "Serial port device name", 174 "Baud rate for serial port", 202 "Send and receive over socket, arg is host:port", 226 "Number of stop bits in serial port", 264 * setspeed - Set the serial port baud rate. 505 * Don't send log messages to the serial port, it tends t 876 int sock, port = -1; local [all...] |
/external/tcpdump/ |
addrtoname.c | 21 * Internet, ethernet, port, and protocol string to address 582 etherproto_string(u_short port) 586 register u_int32_t i = port; 597 NTOHS(port); 598 *cp++ = hex[port >> 12 & 0xf]; 599 *cp++ = hex[port >> 8 & 0xf]; 600 *cp++ = hex[port >> 4 & 0xf]; 601 *cp++ = hex[port & 0xf]; 666 tcpport_string(u_short port) 669 register u_int32_t i = port; 738 int port = ntohs(sv->s_port); local [all...] |
/external/valgrind/coregrind/ |
m_libcfile.c | 815 Int parse_inet_addr_and_port ( const HChar* str, UInt* ip_addr, UShort* port ); 866 an ip address and port pair, "192.168.0.1:1500". Parse these, 869 -2 if no parse error, but specified host:port cannot be opened 879 UShort port = VG_CLO_DEFAULT_LOGPORT; local 880 Bool ok = parse_inet_addr_and_port(str, &ip, &port); 885 // VG_(printf)("ip = %d.%d.%d.%d, port %d\n", 888 // (UInt)port ); 892 servAddr.sin_port = VG_(htons)(port); 919 static Int parse_inet_addr_and_port ( const HChar* str, UInt* ip_addr, UShort* port ) 952 *port = (UShort)j [all...] |
pub_core_threadstate.h | 165 Addr port; member in struct:__anon20511::__anon20512::__anon20513 171 Addr port; member in struct:__anon20511::__anon20512::__anon20515
|
/external/wpa_supplicant_8/src/pae/ |
ieee802_1x_kay.h | 35 u16 port; member in struct:ieee802_1x_mka_sci
|
/external/wpa_supplicant_8/src/wps/ |
wps_upnp.c | 136 * certain fixed multicast IP address and port, and "control points" sending 316 int port = 80; /* port to send to (default is port 80) */ local 339 /* Process and remove optional port component */ 344 port = atol(delim + 1); 367 rerr = getaddrinfo(host, NULL /* fill in port ourselves */, 376 *delim = ':'; /* Restore port */ 405 a->saddr.sin_port = htons(port); [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
ARTSPConnection.cpp | 133 const char *url, AString *host, unsigned *port, AString *path, 136 *port = 0; 181 *port = x; 187 *port = 554; 235 unsigned port; local 236 if (!ParseURL(url.c_str(), &host, &port, &path, &mUser, &mPass) 280 remote.sin_port = htons(port);
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
ProxyServer.java | 85 int port; local 90 // Use default SSL port if not specified. Parse it otherwise 92 port = 443; 95 port = Integer.parseInt(hostPortSplit[1]); 101 urlString = "Https://" + host + ":" + port; 106 port = url.getPort(); 107 if (port < 0) { 108 port = 80; 133 server = new Socket(host, port); 154 server = new Socket(host, port); [all...] |
/frameworks/base/wifi/java/android/net/wifi/passpoint/ |
WifiPasspointInfo.java | 130 public int port; field in class:WifiPasspointInfo.IpProtoPort 135 return proto + "," + port + "," + status; 239 /** list of HS 2.0 IP proto port */ 432 out.writeInt(ip.port); 535 ip.port = in.readInt();
|
/hardware/intel/common/omx-components/videocodec/ |
OMXVideoDecoderBase.cpp | 69 PortVideo *port = static_cast<PortVideo *>(this->ports[INPORT_INDEX]); local 103 port->SetPortDefinition(¶mPortDefinitionInput, true); 115 port->SetPortVideoParam(¶mPortFormat, true); 127 PortVideo *port = static_cast<PortVideo *>(this->ports[OUTPORT_INDEX]); local 159 // no format specific to initialize output port 162 port->SetPortDefinition(¶mPortDefinitionOutput, true); 173 port->SetPortVideoParam(¶mPortFormat, true); 179 // no format specific to initialize output port 267 LOGI("Flushing port# %u.", portIndex); 280 // TODO: do we need to flush output port 466 PortVideo *port = NULL; local 532 PortVideo *port = NULL; local 904 PortVideo *port = NULL; local 919 PortVideo *port = NULL; local 1003 PortVideo *port = NULL; local 1113 PortVideo *port = NULL; local [all...] |
OMXVideoDecoderVP9HWR.cpp | 449 // if output port is not eos, retain the input buffer 482 // Sync port definition as it may change. 767 PortVideo *port = NULL; local 768 port = static_cast<PortVideo *>(this->ports[OUTPORT_INDEX]); 772 memcpy(&port_def,port->GetPortDefinition(),sizeof(port_def)); 785 port->SetPortDefinition(&port_def,true); 798 PortVideo *port = NULL; local 799 port = static_cast<PortVideo *>(this->ports[OUTPORT_INDEX]); 800 const OMX_PARAM_PORTDEFINITIONTYPE* port_def = port->GetPortDefinition(); 801 // if output port is disabled, retain the input buffe [all...] |
/hardware/ti/omap3/omx/video/src/openmax_il/prepost_processor/src/ |
OMX_VPP_Utils.c | 152 (pBufHeader->nInputPortIndex == OMX_VPP_INPUT_OVERLAY_PORT ))){ /* input port */
158 (pBufHeader->nOutputPortIndex == OMX_VPP_YUV_OUTPUT_PORT)){ /* output port */
243 /*Main input port */
248 /*Overlay input port*/
252 /*RGB output port*/
256 /*YUV output port*/
260 /*Alpha input port, Not implemented at OMX level*/
744 VPP_DPRINT("VPP: Enable port index=%ld",nParam1);
753 /* enable port*/
800 "Port Unresponsive - Idle"); 3242 int port; local [all...] |
/libcore/luni/src/main/java/java/net/ |
Socket.java | 94 * the port on the target host to connect to. 98 * the port on the local host to bind to. 134 * to any available port on the local host. 143 * the port on the target host to connect to. 156 * the socket is bound to the given address {@code localAddress} on port 166 * the port on the target host to connect to. 170 * the port on the local host to bind to. 183 * specified by the parameters {@code hostName} and {@code port}. The socket 184 * is bound to any available port on the local host. 192 * @param port 773 int port; local 869 int port = inetAddr.getPort(); local [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldServerSocketTest.java | 99 int port; field in class:OldServerSocketTest.SSClient 102 port = prt; 109 cs = new Socket(InetAddress.getLocalHost().getHostName(), port); 325 protected void startClient(int port) { 326 t = new Thread(new SSClient(port), "SSClient");
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
TestActivity.java | 460 static final int port = 6500; field in class:TestTcpServer 467 updateStatus("[server:] listen on port " + port); 468 TestTcpSessionNotifier rsn = new TestTcpSessionNotifier(port); 567 public TestTcpSessionNotifier(int port) throws IOException { 568 server = new ServerSocket(port);
|
/packages/apps/Exchange/src/com/android/exchange/eas/ |
EasAutoDiscover.java | 264 int port = uri.getPort(); local 265 if (port != -1) { 266 hostAuth.mPort = port;
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
BugleApnSettingsLoader.java | 101 public BaseApn(final String mmsc, final String proxy, final int port) { 104 mMmsProxyPort = port; 232 + "PORT=" + getMmsProxyPort() + "] to be first"); 369 final int port = gservices.getInt(BugleGservicesKeys.MMS_PROXY_PORT, -1); local 370 final Apn apn = BaseApn.from("mms", mmsc, proxy, Integer.toString(port));
|