/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/testdata/handlers/ |
abort_by_user_wsh.py | 31 from mod_pywebsocket import handshake namespace 35 raise handshake.AbortedByUserException("abort for test") 39 raise handshake.AbortedByUserException("abort for test")
|
/external/qemu/android/protocol/ |
attach-ui-impl.c | 48 char* handshake = NULL; local 55 &handshake); 64 if (handshake != NULL) { 65 if (handshake[0] != '\0') { 66 fprintf(stdout, " Handshake: %s", handshake); 68 free(handshake);
|
user-events-proxy.c | 76 char* handshake = NULL; local 81 &handshake); 100 if (handshake != NULL) { 101 if (handshake[0] != '\0') { 102 fprintf(stdout, " Handshake: %s", handshake); 104 free(handshake);
|
core-commands-proxy.c | 316 char* handshake = NULL; local 321 &handshake); 346 if (handshake != NULL) { 347 if (handshake[0] != '\0') { 348 fprintf(stdout, " Handshake: %s", handshake); 350 free(handshake);
|
ui-commands-impl.c | 191 char* handshake = NULL; local 202 &handshake); 218 if (handshake != NULL) { 219 if (handshake[0] != '\0') { 220 fprintf(stdout, " Handshake: %s", handshake); 222 free(handshake);
|
fb-updates-impl.c | 176 char* handshake = NULL; local 188 core_connection_create_and_switch(console_socket, switch_cmd, &handshake); 196 // the handshake message. 198 if (handshake != NULL) { 199 char* bpp = strstr(handshake, "bitsperpixel="); 213 handshake); 239 if (handshake != NULL) { 240 if (handshake[0] != '\0') { 241 fprintf(stdout, " Handshake: %s", handshake); [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
headerparserhandler.py | 44 from mod_pywebsocket import handshake namespace 66 # PythonOption to specify to allow draft75 handshake. 209 handshake.do_handshake( 211 except handshake.VersionException, e: 216 except handshake.HandshakeException, e: 217 # Handshake for ws/wss failed. 225 except handshake.AbortedByUserException, e: 234 # Unknown exceptions before handshake mean Apache must handle its
|
dispatch.py | 40 from mod_pywebsocket import handshake namespace 237 """Do extra checking in WebSocket handshake. 248 HandshakeException: when opening handshake failed 257 except handshake.AbortedByUserException, e: 265 raise handshake.HandshakeException(e, common.HTTP_STATUS_FORBIDDEN) 296 except handshake.AbortedByUserException, e: 325 handshake. 334 """Retrieves two handlers (one for extra handshake processing, and one
|
standalone.py | 140 from mod_pywebsocket import handshake namespace 151 # 1024 is practically large enough to contain WebSocket handshake lines. 577 handshake.do_handshake( 582 except handshake.VersionException, e: 589 except handshake.HandshakeException, e: 590 # Handshake for ws(s) failed. 597 except handshake.AbortedByUserException, e: 801 help='Allow draft 75 handshake') 803 default=False, help='Strictly check handshake request') [all...] |
mux.py | 49 from mod_pywebsocket import handshake namespace 60 from mod_pywebsocket.handshake import hybi 252 # RFC 6455 refers RFC 2616 for handshake parsing, and RFC 2616 refers 602 LogicalConnectionClosedException: when closing handshake for this 635 - STATE_GRACEFULLY_CLOSED: when closing handshake for this 757 'Requested send_message after sending out a closing handshake') 806 self._logger.debug('Sending closing handshake for %d: (%r, %r)' % [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
test_dispatch.py | 42 from mod_pywebsocket import handshake namespace 158 except handshake.HandshakeException, e: 167 self.assertRaises(handshake.AbortedByUserException, 236 self.assertRaises(handshake.AbortedByUserException,
|
test_handshake_draft75.py | 33 """Tests for handshake module.""" 40 from mod_pywebsocket.handshake import draft75 as handshake namespace 56 'HTTP/1.1 101 Web Socket Protocol Handshake\r\n' 65 'HTTP/1.1 101 Web Socket Protocol Handshake\r\n' 85 'HTTP/1.1 101 Web Socket Protocol Handshake\r\n' 94 'HTTP/1.1 101 Web Socket Protocol Handshake\r\n' 113 'HTTP/1.1 101 Web Socket Protocol Handshake\r\n' 400 handshaker = handshake.Handshaker(request, 414 handshaker = handshake.Handshaker(request [all...] |
test_handshake_hybi00.py | 33 """Tests for handshake.hybi00 module.""" 40 from mod_pywebsocket.handshake._base import HandshakeException 41 from mod_pywebsocket.handshake import hybi00 as handshake namespace 76 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n' 86 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n' 111 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n' 121 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n' 145 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n' 188 'HTTP/1.1 101 WebSocket Protocol Handshake\r\n [all...] |
client_for_testing.py | 35 This module contains helper methods for performing handshake, frame 44 This code is far from robust, e.g., we cut corners in handshake. 71 # Strings used for handshake 279 received as a result of handshake. 288 """Opening handshake processor for the WebSocket protocol (RFC 6455).""" 295 def handshake(self, socket): member in class:WebSocketHandshake 296 """Handshake WebSocket. 299 Exception: handshake failed. 305 self._logger.debug('Opening handshake Request-Line: %r', request_line) 335 self._logger.debug('Opening handshake request headers: %r', fields 483 def handshake(self, socket): member in class:WebSocketHybi00Handshake 719 def handshake(self, socket): member in class:WebSocketHixie75Handshake [all...] |
/development/samples/ToyVpn/src/com/example/android/toyvpn/ |
ToyVpnService.java | 152 handshake(tunnel); 256 private void handshake(DatagramChannel tunnel) throws Exception { method in class:ToyVpnService
|
/external/antlr/antlr-3.4/runtime/C/include/ |
antlr3debugeventlistener.h | 100 ANTLR3_BOOLEAN (*handshake) (pANTLR3_DEBUG_EVENT_LISTENER delboy); member in struct:ANTLR3_DEBUG_EVENT_LISTENER_struct
|
/external/antlr/antlr-3.4/runtime/C/src/ |
antlr3debughandlers.c | 55 static ANTLR3_BOOLEAN handshake (pANTLR3_DEBUG_EVENT_LISTENER delboy); 125 delboy->handshake = handshake; 194 handshake (pANTLR3_DEBUG_EVENT_LISTENER delboy) function
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/debug/ |
socket.rb | 38 def handshake method in class:ANTLR3.Debug.EventSocketProxy 57 log!( "handshake failed due to an IOError:\n" ) 280 handshake 290 def handshake method in class:ANTLR3.Debug.RemoteEventSocketListener
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/example/ |
echo_client.py | 90 # Special message that tells the echo server to start closing handshake 201 """A base class for WebSocket opening handshake processors for each 283 """WebSocket opening handshake processor for 295 def handshake(self): member in class:ClientHandshakeProcessor 296 """Performs opening handshake on the specified socket. 299 ClientHandshakeError: handshake failed. 303 self._logger.debug('Client\'s opening handshake Request-Line: %r', 365 self._logger.debug('Sent client\'s opening handshake headers: %r', 399 self._logger.debug('Server\'s opening handshake headers: %r', fields) 489 """WebSocket opening handshake processor fo 502 def handshake(self): member in class:ClientHandshakeProcessorHybi00 728 def handshake(self): member in class:ClientHandshakeProcessorHixie75 [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/lib/ |
Connection.java | 296 final ByteBuffer handshake = ByteBuffer.allocate(ProtocolConstants.QUERY_HEADER_SIZE); local 300 Socket.receive(sock, handshake.array(), 1); 301 final ByteOrder endian = (handshake.getChar() == 0) ? ByteOrder.LITTLE_ENDIAN : 303 handshake.order(endian); 305 // Right after that follows the handshake query header. 306 handshake.position(0); 307 Socket.receive(sock, handshake.array(), handshake.array().length); 310 final int signature = handshake.getInt(); 313 final int remains = handshake.getInt() - ProtocolConstants.QUERY_HEADER_SIZE [all...] |
/external/chromium-trace/trace-viewer/examples/stream_server/ |
standalone.py | 144 from mod_pywebsocket import handshake namespace 155 # 1024 is practically large enough to contain WebSocket handshake lines. 581 handshake.do_handshake( 586 except handshake.VersionException, e: 593 except handshake.HandshakeException, e: 594 # Handshake for ws(s) failed. 601 except handshake.AbortedByUserException, e: 805 help='Allow draft 75 handshake') 807 default=False, help='Strictly check handshake request') [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
DebugEventSocketProxy.java | 73 public void handshake() throws IOException { method in class:DebugEventSocketProxy
|
RemoteDebugEventSocketListener.java | 173 handshake(); method 236 protected void handshake() throws IOException { method in class:RemoteDebugEventSocketListener 244 listener.commence(); // inform listener after handshake
|
/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
debug.py | 868 def handshake(self): member in class:DebugEventSocketProxy [all...] |
/external/chromium/net/tools/testserver/ |
testserver.py | 97 def handshake(self, tlsConnection): member in class:HTTPSServer 112 print "Handshake failure:", str(error) [all...] |