/docs/source.android.com/scripts/ |
micro-httpd.py | 24 PORT = int(os.environ.get('HTTP_PORT', 8080)) 26 httpd = SocketServer.TCPServer(('0.0.0.0', PORT), Handler) 28 print 'Serving on port %d' % PORT
|
/external/chromium_org/third_party/openssl/openssl/apps/ |
s_apps.h | 147 #define PORT 4433 151 int do_server(int port, int type, int *ret, int (*cb) (char *hostname, int s, unsigned char *context), unsigned char *context); 159 int init_client(int *sock, char *server, int port, int type);
|
/external/chromium_org/tools/site_compare/utils/ |
browser_iterate.py | 30 PORT = 42492 94 s.connect(("localhost", PORT))
|
/external/openssl/apps/ |
s_apps.h | 147 #define PORT 4433 151 int do_server(int port, int type, int *ret, int (*cb) (char *hostname, int s, unsigned char *context), unsigned char *context); 159 int init_client(int *sock, char *server, int port, int type);
|
/frameworks/base/packages/services/Proxy/src/com/android/proxyhandler/ |
ProxyService.java | 40 // STOPSHIP This being a static port means it can be hijacked by other apps. 41 public static final int PORT = 8182;
|
/external/chromium_org/tools/measure_page_load_time/ie_bho/ |
MeasurePageLoadTimeBHO.cpp | 16 #define PORT 42492 // port to listen on. Also jhaas's 120 addrBind.sin_port = htons(PORT);
|
/external/ipsec-tools/src/libipsec/ |
policy_parse.h | 53 PORT = 269, 72 #define PORT 269
|
/external/jmonkeyengine/engine/src/test/jme3test/network/ |
TestChatServer.java | 51 public static final int PORT = 5110; 64 Server server = Network.createServer(NAME, VERSION, PORT, UDP_PORT);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_docxmlrpc.py | 10 PORT = None 30 global PORT 31 PORT = serv.socket.getsockname()[1] 67 PORT = None 79 # wait for port to be assigned 81 while n > 0 and PORT is None: 85 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
|
test_httplib.py | 209 # Note that httplib does not accept user:password@ in the host-port. 223 if p != c.port: 224 self.fail("Port incorrectly parsed: %s != %s" % (p, c.host)) 422 self.port = test_support.bind_port(self.serv) 435 self.conn = httplib.HTTPConnection(HOST, self.port, 443 self.conn = httplib.HTTPSConnection(HOST, self.port, 451 PORT = None 455 TimeoutTest.PORT = test_support.bind_port(self.serv) 470 httpConn = httplib.HTTPConnection(HOST, TimeoutTest.PORT) 481 httpConn = httplib.HTTPConnection(HOST, TimeoutTest.PORT, [all...] |
test_xmlrpc.py | 275 ADDR = PORT = URL = None 297 s, port = self.socket.accept() 299 return s, port 308 global ADDR, PORT, URL 309 ADDR, PORT = serv.socket.getsockname() 314 URL = "http://%s:%d"%(ADDR, PORT) 333 PORT = None 353 s, port = self.socket.accept() 355 return s, port 367 global ADDR, PORT, UR [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_docxmlrpc.py | 10 PORT = None 30 global PORT 31 PORT = serv.socket.getsockname()[1] 67 PORT = None 79 # wait for port to be assigned 81 while n > 0 and PORT is None: 85 self.client = httplib.HTTPConnection("localhost:%d" % PORT)
|
test_httplib.py | 209 # Note that httplib does not accept user:password@ in the host-port. 223 if p != c.port: 224 self.fail("Port incorrectly parsed: %s != %s" % (p, c.host)) 422 self.port = test_support.bind_port(self.serv) 435 self.conn = httplib.HTTPConnection(HOST, self.port, 443 self.conn = httplib.HTTPSConnection(HOST, self.port, 451 PORT = None 455 TimeoutTest.PORT = test_support.bind_port(self.serv) 470 httpConn = httplib.HTTPConnection(HOST, TimeoutTest.PORT) 481 httpConn = httplib.HTTPConnection(HOST, TimeoutTest.PORT, [all...] |
test_xmlrpc.py | 275 ADDR = PORT = URL = None 297 s, port = self.socket.accept() 299 return s, port 308 global ADDR, PORT, URL 309 ADDR, PORT = serv.socket.getsockname() 314 URL = "http://%s:%d"%(ADDR, PORT) 333 PORT = None 353 s, port = self.socket.accept() 355 return s, port 367 global ADDR, PORT, UR [all...] |
/cts/suite/audio_quality/test_description/ |
processing_main.py | 207 PORT = 15010 210 s.bind((HOST, PORT))
|
/development/tools/axl/ |
axl.py | 61 PORT = 8001 68 PORT = 8002 75 PORT = 8003 82 PORT = 8004 92 PORT = 8005 103 PORT = 8006 113 PORT = 8007 130 PORT = 8008 147 PORT = 8009 157 PORT = 801 [all...] |
/external/chromium/googleurl/src/ |
url_parse.h | 116 PORT, 137 // Note that this can get a little funny for the port, query, and ref 143 // delimited components that is present (the port and query) and one that 154 // *PORT: 10 11 <- 181 // Port number. 182 Component port; member in struct:url_parse::Parsed 283 // Computes the integer port value from the given port component. The port 290 GURL_API int ParsePort(const char* url, const Component& port); [all...] |
/external/chromium_org/url/third_party/mozilla/ |
url_parse.h | 91 PORT, 116 // Note that this can get a little funny for the port, query, and ref 122 // delimited components that is present (the port and query) and one that 133 // *PORT: 10 11 <- 159 // Port number. 160 Component port; member in struct:url_parse::Parsed 315 // Computes the integer port value from the given port component. The port 322 URL_EXPORT int ParsePort(const char* url, const Component& port); [all...] |
/external/qemu/telephony/ |
test2.c | 18 #define PORT 8000 206 server_channel = sys_channel_create_tcp_server( PORT ); 207 printf( "listening on port %d with %p\n", PORT, server_channel );
|
/development/samples/training/NsdChat/src/com/example/android/nsdchat/ |
ChatConnection.java | 58 public void connectToServer(InetAddress address, int port) { 59 mChatClient = new ChatClient(address, port); 72 public void setLocalPort(int port) { 73 mPort = port; 141 // Since discovery will happen via Nsd, we don't need to care which port is 151 int port = mSocket.getPort(); local 153 connectToServer(address, port); 167 private int PORT; 174 public ChatClient(InetAddress address, int port) { 178 this.PORT = port [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 77 final int PORT = 12222; 87 ss = new ServerSocket(PORT); 103 socket = new Socket(InetAddress.getLocalHost(), PORT);
|
/cts/tests/tests/content/src/android/content/cts/ |
IntentFilterTest.java | 66 private static final int PORT = 80; 433 mIntentFilter.addDataAuthority(HOST + i, String.valueOf(PORT + i)); 443 assertEquals(PORT + i, actual.getPort()); 444 AuthorityEntry ae = new AuthorityEntry(HOST + i, String.valueOf(PORT + i)); 447 Uri uri = Uri.parse("http://" + HOST + i + ":" + String.valueOf(PORT + i)); 449 Uri uri2 = Uri.parse("http://" + HOST + i + 10 + ":" + PORT + i + 10); 535 mIntentFilter.addDataAuthority(HOST, String.valueOf(PORT)); 538 final Uri uri = Uri.parse("http://" + HOST + ":" + PORT); 585 mIntentFilter.addDataAuthority(HOST, String.valueOf(PORT)); [all...] |
/external/libpcap/ |
tokdefs.h | 38 PORT = 264, 142 #define PORT 264
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/idlelib/ |
PyShell.py | 42 PORT = 0 # someday pass in host, port for remote debug capability 370 self.port = PORT 383 assert (self.port!=0), ( 384 "Socket should have been assigned a port number.") 402 return [decorated_exec] + w + ["-c", command, str(self.port)] 405 addr = (HOST, self.port) 417 # if PORT was 0, system will assign an 'ephemeral' port. Find it out [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/idlelib/ |
PyShell.py | 42 PORT = 0 # someday pass in host, port for remote debug capability 370 self.port = PORT 383 assert (self.port!=0), ( 384 "Socket should have been assigned a port number.") 402 return [decorated_exec] + w + ["-c", command, str(self.port)] 405 addr = (HOST, self.port) 417 # if PORT was 0, system will assign an 'ephemeral' port. Find it out [all...] |