/external/dropbear/ |
tcp-accept.c | 69 unsigned int port = 0; local 73 /* host to connect, port to connect */ 75 port = tcpinfo->sendport; 79 /* address that was connected, port that was connected */ 81 port = tcpinfo->listenport; 85 buf_putint(ses.writepayload, port); 89 /* originator port */
|
svr-x11fwd.c | 66 /* allocate port and bind */ 207 /* returns the port bound to, or -1 on failure. 208 * Will attempt to bind to a port X11BINDBASE (6010 usually) or upwards */ 212 uint16_t port; local 219 for (port = X11BINDBASE; port < X11BINDBASE + 2000; port++) { 220 addr.sin_port = htons(port); 224 return port; 227 /* try the next port */ [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/layout_tests/ |
driver_test.py | 35 """Simple test client for the port/Driver interface.""" 39 import port namespace 42 def run_tests(port, options, tests): 45 driver = port.start_driver(image_path, None) 47 uri = port.filename_to_uri(os.path.join(port.layout_tests_dir(), t)) 76 p = port.get(options.platform, options)
|
/packages/apps/Settings/src/com/android/settings/ |
ProxySelector.java | 101 mPortField = (EditText)findViewById(R.id.port); 117 int port = -1; local 121 port = Proxy.getDefaultPort(); 125 port = Proxy.getPort(this); 134 String portStr = port == -1 ? "" : Integer.toString(port); 151 * validate syntax of hostname and port entries 154 int validate(String hostname, String port) { 159 if (hostname.length() > 0 && port.length() == 0) { 163 if (port.length() > 0) 187 int port = -1; local [all...] |
/dalvik/libcore/luni/src/main/java/java/net/ |
DatagramPacket.java | 47 int port = -1; // The default port number is -1 field in class:DatagramPacket 82 * Constructs a new {@code DatagramPacket} object to send data to the port 96 * the port of the target host. 106 * Constructs a new {@code DatagramPacket} object to send data to the port 117 * @param port 118 * the port of the target host. 120 public DatagramPacket(byte[] data, int length, InetAddress host, int port) { 121 this(data, 0, length, host, port); 162 * Gets the port number of the target or sender host of this datagra [all...] |
ServerSocket.java | 53 * port. The default number of pending connections may be backlogged. 80 * port on the localhost. The default number of pending connections may be 81 * backlogged. If {@code aport} is 0 a free port is assigned to the socket. 84 * the port number to listen for connection requests on. 94 * port on the localhost. The number of pending connections that may be 96 * port is assigned to the socket. 99 * the port number to listen for connection requests on. 112 * local host address and port. The number of pending connections that may 114 * free port is assigned to the socket. 117 * the port number to listen for connection requests on 395 int port = 0; local [all...] |
DatagramSocket.java | 41 int port = -1; field in class:DatagramSocket 63 * Constructs a UDP datagram socket which is bound to any available port on 74 * Constructs a UDP datagram socket which is bound to the specific port 79 * the port to bind on the localhost. 91 * address {@code addr} on port {@code aPort}. Valid values for {@code 95 * the port to bind on the localhost. 108 * Sends prior to attempting to bind the socket, checks whether the port is 109 * within the valid port range and verifies with the security manager that 110 * the port may be bound by the current context. 113 * the port on the localhost that is to be bound [all...] |
/external/qemu/distrib/sdl-1.2.12/src/video/Xext/extensions/ |
Xvproto.h | 191 CARD32 port B32; 199 XvPortID port B32; 217 XvPortID port B32; 235 XvPortID port B32; 253 XvPortID port B32; 271 XvPortID port B32; 280 XvPortID port B32; 300 XvPortID port B32; 311 XvPortID port B32; 320 XvPortID port B32 [all...] |
/external/ipsec-tools/src/racoon/ |
privsep.c | 509 int port; local 522 memcpy(&port, bufs[0], sizeof(port)); 526 memcpy(&inout, bufs[3], sizeof(port)); 528 if (port_check(port) != 0) 533 port, saddr2str(raddr), bufs[2]); 536 if (isakmp_cfg_accounting_system(port, 569 int port; local 580 memcpy(&port, bufs[0], sizeof(port)); 606 int port; local 651 int port; local [all...] |
/external/qemu/ |
qemu-sockets-android.c | 49 char port[33]; local 58 if (1 != sscanf(str,":%32[^,]%n",port,&pos)) { 65 if (2 != sscanf(str,"[%64[^]]]:%32[^,]%n",addr,port,&pos)) { 73 if (2 != sscanf(str,"%64[0-9.]:%32[^,]%n",addr,port,&pos)) { 81 if (2 != sscanf(str,"%64[^:]:%32[^,]%n",addr,port,&pos)) { 103 snprintf(port, sizeof(port), "%d", atoi(port) + port_offset); 106 port, 110 addr, port, errno_str) 184 char port[33]; local [all...] |
sockets.h | 172 uint16_t port; member in struct:__anon4836::__anon4837::__anon4838 176 uint16_t port; member in struct:__anon4836::__anon4837::__anon4839 189 /* initialize a new IPv4 socket address, the IP address and port are 192 void sock_address_init_inet( SockAddress* a, uint32_t ip, uint16_t port ); 195 * and the port in host endianess. 198 void sock_address_init_in6 ( SockAddress* a, const uint8_t* ip6[16], uint16_t port ); 227 /* return the port number of a given socket address, or -1 if it's a Unix one */ 230 /* set the port number of a given socket address, don't do anything for Unix ones */ 231 void sock_address_set_port( SockAddress* a, uint16_t port ); 253 uint16_t port, [all...] |
sockets.c | 237 sock_address_init_inet( SockAddress* a, uint32_t ip, uint16_t port ) 240 a->u.inet.port = port; 245 sock_address_init_in6 ( SockAddress* a, const uint8_t* ip6[16], uint16_t port ) 248 a->u.in6.port = port; 375 buf = format_unsigned( buf, end, (unsigned) a->u.inet.port ); 381 buf = format_unsigned( buf, end, (unsigned) a->u.in6.port ); 404 a->u.inet.port == b->u.inet.port); [all...] |
/external/opencore/nodes/pvmp4ffcomposernode/src/ |
pvmp4ffcn_port.h | 20 * @brief Port for PVMp4FFComposerNode 109 // For node to notify the port that it's ready to process incoming message 125 // Provide port configuration to node 200 * Verify one key-value pair parameter against capability of the port and 211 * Negotiates input port settings (format, video size and frame rate) and 212 * configures the peer port and the container node with these settings 214 * @param aConfig Capability and config object for peer port 220 * Query peer port for properties of incoming data. 226 * Query peer port for properties of incoming data. 236 // Port configuratio [all...] |
/external/opencore/nodes/pvomxencnode/include/ |
pvmf_omx_enc_port.h | 74 // this port supports config interface 123 * Synchronous query of input port parameters 129 * Synchronous query of output port parameters 144 * Verify one key-value pair parameter against capability of the port and 155 * Negotiates input port settings (format, video size and frame rate) and 156 * configures the peer port and the container node with these settings 158 * @param aConfig Capability and config object for peer port 164 * Negotiates output port settings and configures the peer port using settings 167 * @param aConfig Capability and config object for peer port [all...] |
/sdk/ddms/app/src/com/android/ddms/ |
DebugPortProvider.java | 30 * This class handles saving/loading the list of static debug port from 31 * the preference store and provides the port number to the Device Monitor. 37 /** Preference name for the static port list. */ 55 * Returns a static debug port for the specified application running on the 60 * @return The static debug port or {@link #NO_STATIC_PORT} if there is none setup. 98 // where port# is 126 * Sets new [device, app, port] values. 146 Integer port = deviceMap.get(appKey); local 147 if (port != null) { 148 sb.append(appKey).append(':').append(port.intValue()).append(':') [all...] |
/external/dbus/dbus/ |
dbus-server-socket.c | 298 * Creates a new server listening on the given hostname and port. 302 * @param port the port to listen on. 308 dbus_uint32_t port, 330 !_dbus_string_append (&address, ",port=") || 331 !_dbus_string_append_int (&address, port)) 338 listen_fd = _dbus_listen_tcp_socket (host, port, error); 389 const char *port = dbus_address_entry_get_value (entry, "port"); local 394 if (port == NULL [all...] |
/hardware/ti/omap3/omx/system/src/openmax_il/omx_core/inc/ |
OMX_Component.h | 64 OMX_U32 nPortIndex; /**< Port number the structure applies to */ 65 OMX_DIRTYPE eDir; /**< Direction (input or output) of this port */ 66 OMX_U32 nBufferCountActual; /**< The actual number of buffers allocated on this port */ 67 OMX_U32 nBufferCountMin; /**< The minimum number of buffers this port requires */ 71 When disabled a port is unpopulated. A disabled port 73 OMX_BOOL bPopulated; /**< Port is populated with all of its buffers as indicated by 74 nBufferCountActual. A disabled port is always unpopulated. 75 An enabled port is populated on a transition to OMX_StateIdle 77 OMX_PORTDOMAINTYPE eDomain; /**< Domain of the port. Determines the contents of metadata below. * [all...] |
/external/iptables/extensions/ |
libip6t_tcp.c | 20 " --source-port [!] port[:port]\n" 22 " match source port(s)\n" 23 " --destination-port [!] port[:port]\n" 25 " match destination port(s)\n" 31 { "source-port", 1, 0, '1' }, 33 { "destination-port", 1, 0, '2' } [all...] |
libipt_tcp.c | 21 " --source-port [!] port[:port]\n" 23 " match source port(s)\n" 24 " --destination-port [!] port[:port]\n" 26 " match destination port(s)\n" 32 { "source-port", 1, 0, '1' }, 34 { "destination-port", 1, 0, '2' } [all...] |
/external/ppp/pppd/plugins/radius/ |
buildreq.c | 63 void rc_buildreq(SEND_DATA *data, int code, char *server, unsigned short port, 67 data->svc_port = port; 154 * Purpose: Builds an authentication request for port id client_port 177 * Purpose: Builds an authentication request for port id client_port 209 * Fill in NAS-Port 224 authserver->port[i], timeout, retries); 268 authserver->port[i], timeout, retries); 282 * Purpose: Builds an accounting request for port id client_port 285 * Remarks: NAS-Identifier/NAS-IP-Address, NAS-Port and Acct-Delay-Time get 313 * Fill in NAS-Port [all...] |
/external/ppp/pppd/plugins/radius/etc/ |
dictionary | 50 ATTRIBUTE NAS-Port-Id 5 integer 61 ATTRIBUTE Login-TCP-Port 16 integer 86 ATTRIBUTE NAS-Port-Type 61 integer 87 ATTRIBUTE Port-Limit 62 integer 102 ATTRIBUTE Add-Port-To-IP-Address 1037 integer 185 # NAS Port Types, available in 3.3.1 and later 187 VALUE NAS-Port-Type Async 0 188 VALUE NAS-Port-Type Sync 1 189 VALUE NAS-Port-Type ISDN 2 190 VALUE NAS-Port-Type ISDN-V120 [all...] |
/dalvik/libcore/x-net/src/test/java/tests/api/javax/net/ssl/ |
SSLEngineTest.java | 76 * SSLEngine object with null host and -1 port 95 * Test for <code>SSLEngine(String host, int port)</code> constructor 105 int port = 1010; local 106 SSLEngine e = getEngine(null, port); 108 assertEquals(e.getPeerPort(), port); local 116 e = getEngine(null, port); 123 e = getEngine(null, port); 133 * Test for <code>SSLEngine(String host, int port)</code> constructor 144 int port = 8080; local 145 SSLEngine e = getEngine(host, port); 147 assertEquals(e.getPeerPort(), port); local 590 int port = 8080; local 637 int port = 8080; local 669 int port = 8080; local 731 int port = 8080; local 759 int port = 8080; local 816 int port = 8080; local 861 int port = 8080; local 889 int port = 8080; local 929 int port = 8080; local 954 int port = 8080; local 1066 int port = 8080; local 1095 int port = 8080; local 1147 int port = 8080; local 1173 int port = 8080; local 1226 int port = 8080; local 1256 int port = 8080; local 1319 int port = 8080; local 1345 int port = 8080; local 1398 int port = 8080; local 1427 int port = 8080; local 1479 int port = 8080; local 1505 int port = 8080; local 1558 int port = 8080; local 1587 int port = 8080; local 1639 int port = 8080; local 1665 int port = 8080; local [all...] |
/bionic/libc/netbsd/net/ |
getservent.c | 58 int port; local 70 q = p + 1 + namelen + 3; /* skip name + port + proto */ 93 /* copy name + port + setup protocol */ 99 port = ((((unsigned char*)p)[0] << 8) | 102 rs->servent.s_port = htons(port); 104 p += 4; /* skip port(2) + proto(1) + aliascount(1) */
|
/cts/tests/tests/net/src/android/net/cts/ |
SSLCertificateSocketFactoryTest.java | 107 int port = 443; local 112 mFactory.createSocket(inetAddress, port); 121 mFactory.createSocket(inetAddress1, port, inetAddress2, port); 129 mFactory.createSocket(socket, host, port, true); 135 socket = mFactory.createSocket(host, port);
|
/external/kernel-headers/original/linux/netfilter_ipv4/ |
ip_conntrack_tuple.h | 23 __be16 port; member in struct:ip_conntrack_manip_proto::__anon3071 26 u_int16_t port; member in struct:ip_conntrack_manip_proto::__anon3072 32 u_int16_t port; member in struct:ip_conntrack_manip_proto::__anon3074 59 u_int16_t port; member in struct:ip_conntrack_tuple::__anon3076::__anon3077::__anon3078 62 u_int16_t port; member in struct:ip_conntrack_tuple::__anon3076::__anon3077::__anon3079 68 u_int16_t port; member in struct:ip_conntrack_tuple::__anon3076::__anon3077::__anon3081
|