/external/antlr/antlr-3.4/lib/ |
H A D | antlr-3.4-complete.jar | META-INF/ META-INF/MANIFEST.MF org/ org/antlr/ org/antlr/analysis/ org/antlr/codegen/ org/ ... |
/external/antlr/antlr-3.4/runtime/C/include/ |
H A D | antlr3debugeventlistener.h | 69 /// The socket structure we receive after a successful accept on the serverSocket 71 SOCKET socket; member in struct:ANTLR3_DEBUG_EVENT_LISTENER_struct 203 * Across a socket for remote debugging, only the RecognitionException 269 * sending events over a socket. A GUI for example will launch a thread 286 /// is in the socket buffer and throw it away. 325 * If you are receiving this event over a socket via 338 * If you are receiving this event over a socket via 346 * If you are receiving this event over a socket via 363 * If you are receiving this event over a socket via 372 * If you are receiving this event over a socket vi [all...] |
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/ |
H A D | DebugEventSocketProxy.cs | 46 * A proxy debug event listener that forwards events over a socket to 48 * one event per line. ANTLRWorks listens on server socket with a 50 * be kept in sync. New events must be handled on both sides of socket. 57 protected Socket socket; field in class:Antlr.Runtime.Debug.DebugEventSocketProxy 99 socket = serverSocket.AcceptSocket(); 100 socket.NoDelay = true; 103 socket.Send(encoding.GetBytes("ANTLR " + DebugEventListenerConstants.ProtocolVersion + "\n")); 104 socket.Send(encoding.GetBytes("grammar \"" + grammarFileName + "\n")); 108 //socket = serverSocket.accept(); 109 //socket [all...] |
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
H A D | DebugEventSocketProxy.cs | 45 * A proxy debug event listener that forwards events over a socket to 47 * one event per line. ANTLRWorks listens on server socket with a 49 * be kept in sync. New events must be handled on both sides of socket. 57 protected Socket socket; field in class:Antlr.Runtime.Debug.DebugEventSocketProxy 106 socket = serverSocket.AcceptSocket(); 107 socket.NoDelay = true; 110 socket.Send( encoding.GetBytes( "ANTLR " + DebugEventListenerConstants.ProtocolVersion + "\n" ) ); 111 socket.Send( encoding.GetBytes( "grammar \"" + grammarFileName + "\n" ) ); 115 //socket = serverSocket.accept(); 116 //socket [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
H A D | DebugEventSocketProxy.java | 39 /** A proxy debug event listener that forwards events over a socket to 41 * one event per line. ANTLRWorks listens on server socket with a 43 * be kept in sync. New events must be handled on both sides of socket. 49 protected Socket socket; field in class:DebugEventSocketProxy 76 socket = serverSocket.accept(); 77 socket.setTcpNoDelay(true); 78 OutputStream os = socket.getOutputStream(); 81 InputStream is = socket.getInputStream(); 99 socket.close();
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
H A D | debug.py | 31 import socket namespace 541 Across a socket for remote debugging, only the RecognitionException 614 sending events over a socket. A GUI for example will launch a thread 664 If you are receiving this event over a socket via 680 If you are receiving this event over a socket via 699 If you are receiving this event over a socket via 710 If you are receiving this event over a socket via 721 If you are receiving this event over a socket via 833 """A proxy debug event listener that forwards events over a socket to 835 one event per line. ANTLRWorks listens on server socket wit [all...] |
/external/antlr/antlr-3.4/runtime/Python/tests/ |
H A D | t059debug.py | 9 import socket namespace 21 # create listening socket 26 s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) 29 except socket.error, exc: 65 except socket.timeout: 67 except socket.error, exc:
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
H A D | HttpsURLConnectionTest.java | 131 // create the SSL server socket acting as a server 171 // create the SSL server socket acting as a server 209 // create the SSL server socket acting as a server 838 * Builds and returns the context used for secure socket creation. 1149 // the server socket used for connection 1152 // the socket connected with client peer 1179 * @param serverSocket the server socket to be used during connection 1189 // will act as a proxy server if the specified server socket 1190 // is not a secure server socket 1206 public void closeSocket(Socket socket) { argument [all...] |
/external/apache-harmony/support/src/test/java/tests/support/ |
H A D | Support_HttpServer.java | 115 Support_Socket socket = serversocket.accept(); 116 Thread thread = new Thread(new ServerThread(socket)); 178 Support_Socket socket; field in class:Support_HttpServer.ServerThread 181 socket = s; 218 InputStream in = socket.getInputStream(); 292 socket.close(); 304 OutputStream os = socket.getOutputStream(); 320 OutputStream os = socket.getOutputStream(); 341 OutputStream os = socket.getOutputStream(); 376 OutputStream os = socket [all...] |
H A D | Support_HttpSocket.java | 34 Support_HttpSocket(Socket socket) { argument 35 instance = socket;
|
/external/apache-harmony/x-net/src/test/api/java/org/apache/harmony/xnet/tests/javax/net/ssl/ |
H A D | X509ExtendedKeyManagerTest.java | 58 Socket socket) { 67 Socket socket) { 57 chooseClientAlias(String[] keyType, Principal[] issuers, Socket socket) argument 66 chooseServerAlias(String keyType, Principal[] issuers, Socket socket) argument
|
/external/apache-http/src/org/apache/http/conn/scheme/ |
H A D | LayeredSocketFactory.java | 40 * See there for things to consider when implementing a socket factory. 54 * Returns a socket connected to the given host that is layered over an 55 * existing socket. Used primarily for creating secure sockets through 58 * @param socket the existing socket 61 * @param autoClose a flag for closing the underling socket when the created 62 * socket is closed 64 * @return Socket a new socket 66 * @throws IOException if an I/O error occurs while creating the socket 71 Socket socket, 70 createSocket( Socket socket, String host, int port, boolean autoClose ) argument [all...] |
/external/apache-http/src/org/apache/http/conn/ssl/ |
H A D | SSLSocketFactory.java | 59 * Layered socket factory for TLS/SSL connections, based on JSSE. 70 * certificates. The client secure socket will reject the connection during 85 * pair. The client secure socket will use the private key to authenticate 245 * Creates the default SSL socket factory. 336 // close the socket before re-throwing the exception 346 * Checks whether a socket connection is secure. 347 * This factory creates TLS/SSL socket connections 353 * @param sock the connected socket 382 final Socket socket, 388 socket, 381 createSocket( final Socket socket, final String host, final int port, final boolean autoClose ) argument [all...] |
/external/apache-http/src/org/apache/http/impl/ |
H A D | DefaultHttpClientConnection.java | 61 final Socket socket, 63 if (socket == null) { 70 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params)); 71 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); 75 socket.setSoLinger(linger > 0, linger); 77 super.bind(socket, params); 60 bind( final Socket socket, final HttpParams params) argument
|
H A D | DefaultHttpServerConnection.java | 60 public void bind(final Socket socket, final HttpParams params) throws IOException { argument 61 if (socket == null) { 68 socket.setTcpNoDelay(HttpConnectionParams.getTcpNoDelay(params)); 69 socket.setSoTimeout(HttpConnectionParams.getSoTimeout(params)); 73 socket.setSoLinger(linger > 0, linger); 75 super.bind(socket, params);
|
H A D | SocketHttpClientConnection.java | 66 private Socket socket = null; field in class:SocketHttpClientConnection 85 final Socket socket, 88 return new SocketInputBuffer(socket, buffersize, params); 92 final Socket socket, 95 return new SocketOutputBuffer(socket, buffersize, params); 99 final Socket socket, 101 if (socket == null) { 107 this.socket = socket; 112 createSessionInputBuffer(socket, buffersiz 84 createSessionInputBuffer( final Socket socket, int buffersize, final HttpParams params) argument 91 createSessionOutputBuffer( final Socket socket, int buffersize, final HttpParams params) argument 98 bind( final Socket socket, final HttpParams params) argument [all...] |
H A D | SocketHttpServerConnection.java | 66 private Socket socket = null; field in class:SocketHttpServerConnection 85 final Socket socket, 88 return new SocketInputBuffer(socket, buffersize, params); 92 final Socket socket, 95 return new SocketOutputBuffer(socket, buffersize, params); 98 protected void bind(final Socket socket, final HttpParams params) throws IOException { argument 99 if (socket == null) { 105 this.socket = socket; 110 createHttpDataReceiver(socket, buffersiz 84 createHttpDataReceiver( final Socket socket, int buffersize, final HttpParams params) argument 91 createHttpDataTransmitter( final Socket socket, int buffersize, final HttpParams params) argument [all...] |
/external/apache-http/src/org/apache/http/impl/conn/ |
H A D | DefaultClientConnection.java | 78 /** The unconnected socket */ 79 private volatile Socket socket; field in class:DefaultClientConnection 109 return this.socket; 115 this.socket = sock; 118 // Check for shutdown after assigning socket, so that 134 bind(this.socket, params); 142 * socket that is being connected to a remote address will be closed. 144 * the socket. 156 Socket sock = this.socket; // copy volatile attribute 172 final Socket socket, 171 createSessionInputBuffer( final Socket socket, int buffersize, final HttpParams params) argument 187 createSessionOutputBuffer( final Socket socket, int buffersize, final HttpParams params) argument [all...] |
/external/apache-http/src/org/apache/http/impl/io/ |
H A D | SocketInputBuffer.java | 59 private final Socket socket; field in class:SocketInputBuffer 62 final Socket socket, 66 if (socket == null) { 69 this.socket = socket; 75 init(socket.getInputStream(), 8192, params); 82 int oldtimeout = this.socket.getSoTimeout(); 84 this.socket.setSoTimeout(timeout); 92 socket.setSoTimeout(oldtimeout); 111 int oldTimeout = this.socket 61 SocketInputBuffer( final Socket socket, int buffersize, final HttpParams params) argument [all...] |
H A D | SocketOutputBuffer.java | 57 final Socket socket, 61 if (socket == null) { 69 init(socket.getOutputStream(), 8192, params); 56 SocketOutputBuffer( final Socket socket, int buffersize, final HttpParams params) argument
|
/external/chromium-trace/trace-viewer/examples/stream_server/ |
H A D | standalone.py | 121 import socket namespace 269 return socket._fileobject(self._connection, mode, bufsize) 282 socket object to self.socket before server_bind and server_activate, 315 (socket.AF_INET6, socket.SOCK_STREAM, '', '', ''), 316 (socket.AF_INET, socket.SOCK_STREAM, '', '', '')] 318 addrinfo_array = socket.getaddrinfo(self.server_name, 320 socket [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
H A D | echo_client.py | 71 import socket namespace 130 def _receive_bytes(socket, length): 134 received_bytes = socket.recv(remaining) 187 self._ssl = socket.ssl(raw_socket) 287 def __init__(self, socket, options): 290 self._socket = socket 296 """Performs opening handshake on the specified socket. 494 def __init__(self, socket, options): 497 self._socket = socket 503 """Performs opening handshake on the specified socket [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
H A D | standalone.py | 121 import socket namespace 265 return socket._fileobject(self._connection, mode, bufsize) 278 socket object to self.socket before server_bind and server_activate, 311 (socket.AF_INET6, socket.SOCK_STREAM, '', '', ''), 312 (socket.AF_INET, socket.SOCK_STREAM, '', '', '')] 314 addrinfo_array = socket.getaddrinfo(self.server_name, 316 socket [all...] |
H A D | util.py | 55 import socket namespace 346 """A wrapper class for socket object to intercept send and recv to perform 353 def __init__(self, socket): 354 self._socket = socket 362 """Receives data from the socket specified on the construction up 435 # socket._fileobject.read also blocks until length bytes was read 460 # Set the socket non-blocking. 466 # Drain until the socket is closed or no data is immediately 474 except socket.error, e: 477 # the errors that indicates that the socket block [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
H A D | client_for_testing.py | 54 import socket namespace 132 def receive_bytes(socket, length): 136 received_bytes = socket.recv(remaining) 152 def _read_fields(socket): 160 name = _read_name(socket) 165 ch = _skip_spaces(socket) 167 value = _read_value(socket, ch) 169 ch = receive_bytes(socket, 1) 184 def _read_name(socket): 189 ch = receive_bytes(socket, [all...] |