/external/webkit/Tools/Scripts/ |
new-run-webkit-httpd | 49 import port namespace 50 from port import http_server 55 ' [--port=port_number]' % sys.argv[0]) 57 if (options.root is None) and (options.port is not None): 58 # specifying root but not port means we want httpd on default 60 # source of tests. Specifying port but no root does not seem 62 raise 'Specifying port requires also a root.' 63 port_obj = port.get(None, options) 66 port=options.port, [all...] |
/libcore/luni/src/main/java/java/net/ |
SocketImpl.java | 30 * ServerSocket} on a well known port (referred to as listener) used to 42 * The remote port this socket is connected to. 44 protected int port; field in class:SocketImpl 52 * The local port this socket is connected to. 78 * Binds this socket to the specified local host address and port number. 82 * @param port 83 * the port on the local machine to bind this socket to. 87 protected abstract void bind(InetAddress address, int port) throws IOException; 98 * Connects this socket to the specified remote host and port number. 102 * @param port [all...] |
ProxySelectorImpl.java | 44 int port = -1; local 49 port = 80; 51 proxy = lookupProxy("http.proxyHost", "http.proxyPort", Proxy.Type.HTTP, port); 53 port = 443; 55 proxy = lookupProxy("https.proxyHost", "https.proxyPort", Proxy.Type.HTTP, port); 57 port = 80; // not 21 as you might guess 59 proxy = lookupProxy("ftp.proxyHost", "ftp.proxyPort", Proxy.Type.HTTP, port); 76 proxy = lookupProxy("proxyHost", "proxyPort", Proxy.Type.HTTP, port); 100 int port = getSystemPropertyInt(portKey, defaultPort); local 101 return new Proxy(type, InetSocketAddress.createUnresolved(host, port)); [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLServerSocketFactoryImpl.java | 57 public ServerSocket createServerSocket(int port) throws IOException { 58 return new OpenSSLServerSocketImpl(port, (SSLParametersImpl) sslParameters.clone()); 61 public ServerSocket createServerSocket(int port, int backlog) 63 return new OpenSSLServerSocketImpl(port, 68 public ServerSocket createServerSocket(int port, 71 return new OpenSSLServerSocketImpl(port,
|
SSLServerSocketFactoryImpl.java | 95 public ServerSocket createServerSocket(int port) throws IOException { 99 return new SSLServerSocketImpl(port, 107 public ServerSocket createServerSocket(int port, int backlog) 112 return new SSLServerSocketImpl(port, backlog, 120 public ServerSocket createServerSocket(int port, int backlog, 125 return new SSLServerSocketImpl(port, backlog, iAddress,
|
SSLSocketFactoryImpl.java | 86 public Socket createSocket(Socket s, String host, int port, 112 public Socket createSocket(String host, int port) 117 return new SSLSocketImpl(host, port, 125 public Socket createSocket(String host, int port, 131 return new SSLSocketImpl(host, port, localHost, localPort, 139 public Socket createSocket(InetAddress host, int port) 144 return new SSLSocketImpl(host, port, 152 public Socket createSocket(InetAddress address, int port, 157 return new SSLSocketImpl(address, port, localAddress, localPort,
|
/sdk/emulator/opengl/shared/OpenglCodecCommon/ |
TcpStream.cpp | 50 int TcpStream::listen(unsigned short port) 52 m_sock = socket_loopback_server(port, SOCK_STREAM); 81 int TcpStream::connect(unsigned short port) 83 return connect("127.0.0.1",port); 86 int TcpStream::connect(const char* hostname, unsigned short port) 88 m_sock = socket_network_client(hostname, port, SOCK_STREAM);
|
/external/webkit/Tools/Scripts/webkitpy/layout_tests/port/ |
chromium_unittest.py | 44 from webkitpy.layout_tests.port import port_testcase 162 port = ChromiumPortTest.TestLinuxPort(options=mock_options) 163 self.assertTrue(port._path_to_image_diff().endswith( 165 port = ChromiumPortTest.TestMacPort(options=mock_options) 166 self.assertTrue(port._path_to_image_diff().endswith( 168 port = ChromiumPortTest.TestWinPort(options=mock_options) 169 self.assertTrue(port._path_to_image_diff().endswith( 174 port = ChromiumPortTest.TestLinuxPort(options=mock_options) 176 fake_test = port._filesystem.join(port.layout_tests_dir(), "fast/js/not-good.js" [all...] |
mock_drt_unittest.py | 37 from webkitpy.layout_tests.port import mock_drt 38 from webkitpy.layout_tests.port import factory 39 from webkitpy.layout_tests.port import port_testcase 40 from webkitpy.layout_tests.port import test 50 # We use this because the 'win' port doesn't work yet. 70 port = self.make_port() 71 self.assertTrue(port.check_build(True)) 74 port = self.make_port() 75 self.assertTrue(port.check_sys_deps(True)) 103 def to_path(self, port, test_name) [all...] |
chromium_gpu.py | 33 from webkitpy.layout_tests.port import test_files 57 raise NotImplementedError('unsupported port: %s' % port_name) 62 def _set_gpu_options(port): 63 port._graphics_type = 'gpu' 64 if port.get_option('accelerated_compositing') is None: 65 port._options.accelerated_compositing = True 66 if port.get_option('accelerated_2d_canvas') is None: 67 port._options.accelerated_2d_canvas = True 71 if port.get_option('builder_name') is not None and not ' - GPU' in port._options.builder_name [all...] |
/external/dropbear/ |
fake-rfc2553.c | 119 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 134 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port; 157 long int port; local 160 port = 0; 164 port = strtol(servname, &cp, 10); 165 if (port > 0 && port <= 65535 && *cp == '\0') 166 port = htons(port); 168 port = sp->s_port [all...] |
/external/openssh/openbsd-compat/ |
fake-rfc2553.c | 124 addrinfo *malloc_ai(int port, u_long addr, const struct addrinfo *hints) 139 ((struct sockaddr_in *)(ai)->ai_addr)->sin_port = port; 162 long int port; local 165 port = 0; 172 port = strtol(servname, &cp, 10); 173 if (port > 0 && port <= 65535 && *cp == '\0') 174 port = htons(port); 176 port = sp->s_port [all...] |
/frameworks/base/voip/jni/rtp/ |
RtpStream.cpp | 32 extern int parse(JNIEnv *env, jstring jAddress, int port, sockaddr_storage *ss); 59 uint16_t port = ntohs(*p); local 60 if ((port & 1) == 0) { 62 return port; 68 uint16_t delta = port << 1; 69 ++port; 73 port += delta; 74 } while (port < 1024); 75 *p = htons(port); 79 return port; [all...] |
/external/nist-sip/java/gov/nist/javax/sip/stack/ |
HopImpl.java | 55 protected int port; field in class:HopImpl 65 return host + ":" + port + "/" + transport; 69 * Create new hop given host, port and transport. 71 * @param portNumber port 83 port = portNumber; 90 * @param hop is a hop string in the form of host:port/Transport 114 port = Integer.parseInt(portstr); 116 throw new IllegalArgumentException("Bad port spec"); 122 this.port = transport.equalsIgnoreCase("TLS") ? 5061 : 5060; 126 this.port = 5060 [all...] |
/external/grub/stage2/ |
serial.c | 49 /* Store the port number of a serial unit. */ 64 /* Read a byte from a port. */ 66 inb (unsigned short port) 70 asm volatile ("inb %w1, %0" : "=a" (value) : "Nd" (port)); 76 /* Write a byte to a port. */ 78 outb (unsigned short port, unsigned char value) 80 asm volatile ("outb %b0, %w1" : : "a" (value), "Nd" (port)); 117 /* Return the port number for the UNITth serial device. */ 127 /* Initialize a serial device. PORT is the port number for a serial device [all...] |
/external/qemu/ |
qemu-sockets-android.c | 48 .name = "port", 86 char port[33]; local 99 (qemu_opt_get(opts, "port") == NULL)) { 100 fprintf(stderr, "%s: host and/or port not specified\n", __FUNCTION__); 103 pstrcpy(port, sizeof(port), qemu_opt_get(opts, "port")); 114 snprintf(port, sizeof(port), "%d", atoi(port) + port_offset) 193 const char *port; local 266 const char *port; local 373 char port[33]; local [all...] |
/external/chromium/net/http/ |
http_alternate_protocols.h | 7 // instead of HTTP on a different port. 34 return port == other.port && protocol == other.protocol; 39 uint16 port; member in struct:net::HttpAlternateProtocols::PortProtocolPair 54 bool HasAlternateProtocolFor(const std::string& host, uint16 port) const; 59 const std::string& host, uint16 port) const; 74 // If we don't have an alternate protocol in the map for any given host/port
|
/external/chromium/third_party/libjingle/source/talk/p2p/base/ |
udpport.h | 33 #include "talk/p2p/base/port.h" 45 // Communicates using a local UDP port. 46 class UDPPort : public Port { 52 UDPPort* port = new UDPPort(thread, factory, network, local 54 if (!port->Init()) { 55 delete port; 56 port = NULL; 58 return port; 81 // Dispatches the given packet to the port or connection as appropriate.
|
/external/webkit/Source/WebCore/platform/network/ |
ProtectionSpace.cpp | 50 ProtectionSpace::ProtectionSpace(const String& host, int port, ProtectionSpaceServerType serverType, const String& realm, ProtectionSpaceAuthenticationScheme authenticationScheme) 52 , m_port(port) 65 int ProtectionSpace::port() const function in class:WebCore::ProtectionSpace 110 if (a.port() != b.port())
|
/libcore/luni/src/main/java/javax/net/ssl/ |
DefaultSSLSocketFactory.java | 50 public Socket createSocket(Socket s, String host, int port, boolean autoClose) 56 public Socket createSocket(String host, int port) throws IOException, UnknownHostException { 61 public Socket createSocket(String host, int port, InetAddress localHost, int localPort) 67 public Socket createSocket(InetAddress host, int port) throws IOException { 72 public Socket createSocket(InetAddress address, int port, InetAddress localAddress,
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/sound/ |
emu8000.h | 69 unsigned long port1; /* Port usually base+0 */ 70 unsigned long port2; /* Port usually at base+0x400 */ 71 unsigned long port3; /* Port usually at base+0x800 */ 101 int snd_emu8000_new(struct snd_card *card, int device, long port, int seq_ports, 103 void snd_emu8000_poke(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, 105 unsigned short snd_emu8000_peek(struct snd_emu8000 *emu, unsigned int port, 107 void snd_emu8000_poke_dw(struct snd_emu8000 *emu, unsigned int port, unsigned int reg, 109 unsigned int snd_emu8000_peek_dw(struct snd_emu8000 *emu, unsigned int port,
|
/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/ |
DdmPreferences.java | 37 /** Default value for the selected client debug port */ 39 /** Default value for the debug port base */ 98 * Returns the debug port used by the selected {@link Client}. 105 * Sets the debug port used by the selected {@link Client}. 107 * @param port the new port to use. 109 public static void setSelectedDebugPort(int port) { 110 sSelectedDebugPort = port; 114 monitorThread.setDebugSelectedPort(port); 119 * Returns the debug port used by the first {@link Client}. Following clients, will use th [all...] |
/external/chromium/net/base/ |
address_list.h | 28 AddressList(const IPAddressNumber& address, int port, bool canonicalize_name); 49 // Sets the port of all addresses in the list to |port| (that is the 51 void SetPort(int port); 53 // Retrieves the port number of the first sockaddr in the list. (If SetPort() 55 // same port number.) 58 // Sets the address to match |src|, and have each sockaddr's port be |port|. 59 // If |src| already has the desired port this operation is cheap (just adds 61 void SetFrom(const AddressList& src, int port); [all...] |
/external/chromium/net/tools/testserver/ |
backoff_server.py | 41 print "Usage: %s PORT" % sys.argv[0] 43 port = int(sys.argv[1]) 44 print "To stop the server, go to http://localhost:%d/quitquitquit" % port 45 httpd = BaseHTTPServer.HTTPServer(('', port), RequestHandler)
|
/external/clang/utils/CIndex/ |
completion_logger_server.py | 9 print "completion_logger_server.py <listen address> <listen port> <log file>" 13 port = int(sys.argv[2]) 15 addr = (host,port) 21 print "Listing on {0}:{1} and logging to '{2}'".format(host, port, sys.argv[3])
|