/docs/source.android.com/scripts/ |
micro-httpd.py | 18 PORT = int(os.environ.get('HTTP_PORT', 8080)) 20 httpd = SocketServer.TCPServer(("0.0.0.0", PORT), Handler) 21 print "Serving on port %d" % PORT
|
/development/pdk/ |
micro-httpd.py | 16 PORT = int(os.environ.get('HTTP_PORT', 8080)) 18 httpd = SocketServer.TCPServer(("", PORT), Handler)
|
/dalvik/tests/etc/ |
reference-run-test-classes | 55 PORT=8000 56 msg "Waiting for debugger to connect on localhost:$PORT" 57 DEBUG_OPTS="-agentlib:jdwp=transport=dt_socket,address=$PORT,server=y,suspend=y"
|
host-run-test-jar | 147 PORT=8000 148 msg "Waiting for debugger to connect on localhost:$PORT" 149 DEX_DEBUG="-agentlib:jdwp=transport=dt_socket,addres=$PORT,server=y,suspend=y"
|
/external/netcat/scripts/ |
webrelay | 8 ## The arguments in this case are the destination server and optional port. 11 # set these as you wish: proxy port... 12 PORT=8000 27 nc -w 600 -l -n -p $PORT -e "$0" $XNC < /dev/null > /dev/null 2>&1 & 41 nc -v -w 600 -l -p $PORT -e "$0" $XNC < /dev/null > /dev/null & 43 "Relay to ${RDEST}:${RPORT} running -- point your browser here on port $PORT"
|
dist.sh | 8 PORT=31337 20 ./nc -v -l -p ${PORT} -e dist.sh < /dev/null >> dist.log 2>&1 &
|
webproxy | 3 ## gross scripts. Uses netcat to listen on a high port [default 8000], 30 # set these as you wish: proxy port... 31 PORT=8000 53 # Using -n for speed, avoiding any DNS/port lookups. 54 nc -w 600 -n -l -p $PORT -e "$0" $XNC "$CLIENT" < /dev/null > /dev/null \ 63 # if magic arg, just clean up and then hit our own port to cause server exit 67 nc -w 1 -n 127.0.0.1 $PORT < /dev/null > /dev/null 2>&1 90 echo "Proxy running -- will accept connections on $PORT from $CLIENT" 95 nc -v -w 600 -n -l -p $PORT -e "$0" $XNC "$CLIENT" &
|
iscan | 3 ## args: target port [port port port ...] 8 ## disadvantages: requires numeric-only port args, the output sleazitude, 12 "" ) echo needs HOST and at least one PORT ; exit 1 ;; 18 # generate a randomish base port
|
web | 21 ## args: hostname [port]. You feed it the filename-parts of URLs. 22 ## In the loop, HOST, PORT, and SAVE do the right things; a null line 43 port="80" 45 port="$2" 67 PORT) 68 echo -n 'New port: ' 69 read port 122 echo GET "${spec}" | $BACKEND $host $port > ${TMPAGE} 140 # transport://user:pass@host:port/path/name?query-string 141 # wais: port 210, //host:port/database?search or /database/type/file [all...] |
/external/ipsec-tools/src/libipsec/ |
policy_parse.h | 53 PORT = 269, 72 #define PORT 269
|
policy_parse.y | 142 %token ACTION PROTOCOL MODE LEVEL LEVEL_SPECIFY IPADDRESS PORT 146 %type <val> IPADDRESS LEVEL_SPECIFY PORT 334 | IPADDRESS PORT { 340 IPADDRESS 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/webkit/LayoutTests/fast/url/script-tests/ |
trivial-segments.js | 4 // [URL, [SCHEME, HOST, PORT, PATH, QUERY, REF]]
|
segments-from-data-url.js | 4 // [URL, [SCHEME, HOST, PORT, PATH, QUERY, REF]]
|
segments.js | 4 // [URL, [SCHEME, HOST, PORT, PATH, QUERY, REF]]
|
/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 );
|
/external/libpcap/ |
tokdefs.h | 38 PORT = 264, 142 #define PORT 264
|
/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);
|
/build/ |
envsetup.sh | 715 local PORT="$2" 716 if [ "$PORT" ] ; then 717 PORT=$2 719 PORT=":5039" 730 adb forward "tcp$PORT" "tcp$PORT" 731 adb shell gdbserver $PORT --attach $PID & 736 echo " gdbserver $PORT /system/bin/$EXE" 738 echo " gdbserver $PORT --attach $PID" 744 echo >>"$OUT_ROOT/gdbclient.cmds" "target remote $PORT" [all...] |
/cts/tests/tests/os/src/android/os/cts/ |
ParcelFileDescriptorTest.java | 84 final int PORT = 12222; 91 ss = new ServerSocket(PORT); 106 socket = new Socket(InetAddress.getLocalHost(), PORT);
|
/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...] |
url_parse.cc | 48 // Returns true if the given character is a valid digit to use in a port. 124 // Found a port number: <hostname>:<port> 130 // No port: <hostname> 137 // parts. The port number will be parsed and the resulting integer will be 138 // filled into the given *port variable, or -1 if there is no port number or it 292 // and port) and the full path (path, query, and reference). 309 &parsed->host, &parsed->port); 345 parsed->port.reset() 483 int port = atoi(digits); local [all...] |
/external/ipsec-tools/src/racoon/ |
cfparse.h | 178 PORT = 394, 352 #define PORT 394
|
/cts/tests/tests/content/src/android/content/cts/ |
IntentFilterTest.java | 71 private static final int PORT = 80; 405 mIntentFilter.addDataAuthority(HOST + i, String.valueOf(PORT + i)); 415 assertEquals(PORT + i, actual.getPort()); 416 AuthorityEntry ae = new AuthorityEntry(HOST + i, String.valueOf(PORT + i)); 419 Uri uri = Uri.parse("http://" + HOST + i + ":" + String.valueOf(PORT + i)); 421 Uri uri2 = Uri.parse("http://" + HOST + i + 10 + ":" + PORT + i + 10); 539 mIntentFilter.addDataAuthority(HOST, String.valueOf(PORT)); 542 final Uri uri = Uri.parse("http://" + HOST + ":" + PORT); 633 mIntentFilter.addDataAuthority(HOST, String.valueOf(PORT)); 650 assertEquals(PORT, intentFilter.getDataAuthority(0).getPort()) [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/channels/ |
SelectorTest.java | 45 private static final int PORT = Support_PortManager.getNextPort(); 48 "127.0.0.1", PORT); 63 InetSocketAddress address = new InetSocketAddress(PORT);
|