/external/openssl/crypto/bio/ |
bss_conn.c | 88 unsigned short port; member in struct:bio_connect_st 194 else if (BIO_get_port(c->param_port,&c->port) <= 0) 203 c->them.sin_port=htons((unsigned short)c->port); 336 ret->port=0; 496 *((int *)ptr)=data->port; 539 data->port= *(int *)ptr;
|
/external/qemu/distrib/sdl-1.2.12/src/video/x11/ |
SDL_x11yuv.c | 59 int port; member in struct:private_yuvhwdata 106 /* Look for the XVideo extension with a valid port for this format */ 248 hwdata->port = xv_port; 365 SDL_NAME(XvShmPutImage)(GFX_Display, hwdata->port, SDL_Window, SDL_GC, 373 SDL_NAME(XvPutImage)(GFX_Display, hwdata->port, SDL_Window, SDL_GC, 388 SDL_NAME(XvUngrabPort)(GFX_Display, hwdata->port, CurrentTime);
|
/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...] |
qemu-sockets.c | 49 static void inet_setport(struct addrinfo *e, int port) 57 i6->sin6_port = htons(port); 61 i4->sin_port = htons(port); 86 fprintf(stderr,"%s: getaddrinfo: family %s, host %s, port %s\n", 96 char port[33]; local 111 if (1 != sscanf(str,":%32[^,]%n",port,&pos)) { 118 if (2 != sscanf(str,"[%64[^]]]:%32[^,]%n",addr,port,&pos)) { 126 if (2 != sscanf(str,"%64[0-9.]:%32[^,]%n",addr,port,&pos)) { 134 if (2 != sscanf(str,"%64[^:]:%32[^,]%n",addr,port,&pos)) { 152 snprintf(port, sizeof(port), "%d", atoi(port) + port_offset) 231 char port[33]; local [all...] |
/external/quake/quake/src/QW/client/ |
net.h | 27 unsigned short port; member in struct:__anon6608 39 void NET_Init (int port);
|
/external/tcpdump/missing/ |
getnameinfo.c | 112 u_short port; local 140 port = ((struct sockinet *)sa)->si_port; /* network byte order */ 154 sp = getservbyport(port, 162 snprintf(numserv, sizeof(numserv), "%d", ntohs(port));
|
/external/v8/test/cctest/ |
test-sockets.cc | 13 explicit SocketListenerThread(int port, int data_size) 14 : port_(port), data_size_(data_size), server_(NULL), client_(NULL), 43 // Create the server socket and bind it to the requested port. 80 static void SendAndReceive(int port, char *data, int len) { 85 // Make a string with the port number. 88 OS::SNPrintF(Vector<char>(port_str, kPortBuferLen), "%d", port); local 91 SocketListenerThread* listener = new SocketListenerThread(port, len); 121 // Make sure this port is not used by other tests to allow tests to run in
|
/external/webkit/WebCore/bindings/js/ |
JSLocationCustom.cpp | 256 int port = charactersToInt(portString.data(), portString.size()); local 257 if (port < 0 || port > 0xFFFF) 260 url.setPort(port);
|
/external/webkit/WebCore/bindings/v8/custom/ |
V8LocationCustom.cpp | 161 INC_STATS("DOM.Location.port._set"); 164 String port = toWebCoreString(value); local 171 url.setPort(port.toUInt());
|
/external/webkit/WebCore/dom/ |
ScriptExecutionContext.cpp | 158 MessagePort* port = ports[i]; local 159 // The port may be destroyed, and another one created at the same address, but this is safe, as the worst that can happen 161 if (m_messagePorts.contains(port) && port->started()) 162 port->dispatchMessages(); 166 void ScriptExecutionContext::createdMessagePort(MessagePort* port) 168 ASSERT(port); 174 m_messagePorts.add(port); 177 void ScriptExecutionContext::destroyedMessagePort(MessagePort* port) 179 ASSERT(port); [all...] |
/external/webkit/WebKit/win/ |
WebURLProtectionSpace.cpp | 150 /* [in] */ int port, 172 m_protectionSpace = ProtectionSpace(String(host, SysStringLen(host)), port, serverType, 180 /* [in] */ int port, 202 m_protectionSpace = ProtectionSpace(String(host, SysStringLen(host)), port, serverType, 215 HRESULT STDMETHODCALLTYPE WebURLProtectionSpace::port( function in class:WebURLProtectionSpace 218 *result = m_protectionSpace.port();
|
/external/wpa_supplicant/ |
radius_client.h | 26 int port; /* @ClientServerPortNumber */ member in struct:hostapd_radius_server
|
/external/wpa_supplicant_6/wpa_supplicant/src/radius/ |
radius_client.h | 26 int port; /* @ClientServerPortNumber */ member in struct:hostapd_radius_server
|
/frameworks/base/media/libstagefright/ |
NuHTTPDataSource.cpp | 42 const char *url, String8 *host, unsigned *port, String8 *path) { 44 *port = 0; 69 *port = x; 75 *port = 80; 109 unsigned port; local 110 if (!ParseURL(uri, &host, &port, &path)) { 114 return connect(host, port, path, headers, offset); 123 const char *host, unsigned port, const char *path, 126 LOGI("connect to %s:%u%s @%ld", host, port, path, offset); 130 if (mState == CONNECTED && host == mHost && port == mPor [all...] |
/frameworks/base/media/libstagefright/rtsp/ |
ARTPSession.cpp | 67 unsigned port; local 68 if (!validateMediaFormat(i, &port) || (port & 1) != 0) { 79 int rtpSocket = MakeUDPSocket(port); 80 int rtcpSocket = MakeUDPSocket(port + 1); 102 int ARTPSession::MakeUDPSocket(unsigned port) { 110 addr.sin_port = htons(port); 202 bool ARTPSession::validateMediaFormat(size_t index, unsigned *port) const { 232 *port = x;
|
/frameworks/base/telephony/java/com/android/internal/telephony/gsm/ |
ApnSetting.java | 30 String port; field in class:ApnSetting 44 String proxy, String port, 53 this.port = port; 74 * <carrier>, <apn>, <proxy>, <port>, <mmsc>, <mmsproxy>, 79 * [ApnSettingV2] <carrier>, <apn>, <proxy>, <port>, <mmsc>, <mmsproxy>, 143 .append(", ").append(port)
|
/libcore/luni/src/main/java/java/net/ |
Authenticator.java | 47 private int port; field in class:Authenticator 73 * Returns the port of the connection that requests authorization. 75 * @return port of the connection. 78 return this.port; 130 * port of the connection that requests authentication. 154 thisAuthenticator.port = rPort; 197 * port of the connection that requests authentication. 222 thisAuthenticator.port = rPort; 255 * port of the connection that requests authentication. 285 thisAuthenticator.port = rPort [all...] |
ProxySelectorImpl.java | 111 * port from "http.proxyPort", or from "proxyPort" if "http.proxyPort" is 112 * unavailable. 2. gets from "proxyHost" if 1 is unavailable,then get port 119 String port = null; local 132 port = getSystemPropertyOrAlternative("http.proxyPort", 137 port = getSystemPropertyOrAlternative("proxyPort", 143 port = getSystemProperty( 148 return createProxy(type, host, port, defaultPort); 156 String port = null; local 163 port = getSystemProperty( 170 port = getSystemProperty 184 String port = null; local 217 String port = null; local [all...] |
SocketImpl.java | 32 * ServerSocket} on a well known port (referred to as listener) used to 44 * The remote port this socket is connected to. 46 protected int port; field in class:SocketImpl 54 * The local port this socket is connected to. 84 * Binds this socket to the specified local host address and port number. 88 * @param port 89 * the port on the local machine to bind this socket to. 93 protected abstract void bind(InetAddress address, int port) 105 * Connects this socket to the specified remote host and port number. 109 * @param port [all...] |
/libcore/luni/src/test/java/libcore/java/net/ |
OldDatagramPacketTest.java | 34 assertEquals("Incorrect port returned", 1000, dp.getPort()); 39 final int port = ports[0]; local 46 socket = new DatagramSocket(port); 71 5, 6 }, 6, localhost, port); 83 assertTrue("datagram received wrong port: " + packet.getPort(), 84 packet.getPort() == port);
|
/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...] |
/prebuilt/linux-x86/toolchain/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
b1lli.h | 47 int port; member in struct:avmb1_carddef 57 int port; member in struct:avmb1_extcarddef
|
/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...] |
/system/core/adb/ |
services.c | 142 int port = (int)cookie; local 144 if (port <= 0) { 145 snprintf(buf, sizeof(buf), "invalid port\n"); 151 snprintf(value, sizeof(value), "%d", port); 152 property_set("service.adb.tcp.port", value); 153 snprintf(buf, sizeof(buf), "restarting in TCP mode port: %d\n", port); 166 property_set("service.adb.tcp.port", "0"); 347 int port = atoi(name + 4); local 350 ret = socket_loopback_client(port, SOCK_STREAM) 411 int port; local [all...] |
transport_local.c | 105 int local_connect(int port) { 106 return local_connect_arbitrary_ports(port-1, port); 139 int port = DEFAULT_ADB_LOCAL_TRANSPORT_PORT; local 147 for ( ; count > 0; count--, port += 2 ) { 148 (void) local_connect(port); 159 int port = (int)arg; local 165 serverfd = socket_inaddr_any_server(port, SOCK_STREAM); 175 D("server: trying to get new connection from %d\n", port); 181 register_socket_transport(fd, "host", port, 1) [all...] |