/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/testdata/handlers/ |
H A D | 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/ |
H A D | 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);
|
H A D | core-connection.c | 255 char** handshake) 262 *handshake = NULL; 274 // Read result / handshake 295 *handshake = strdup(buf + 3); 313 *handshake = strdup(buf + 3); 319 *handshake = strdup(buf); 327 char** handshake) 344 if (core_connection_switch_stream(connection, switch_cmd, handshake)) { 253 core_connection_switch_stream(CoreConnection* desc, const char* stream_name, char** handshake) argument 325 core_connection_create_and_switch(SockAddress* console_socket, const char* stream_name, char** handshake) argument
|
H A D | 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);
|
H A D | 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);
|
H A D | 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);
|
H A D | 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); 243 free(handshake); [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/ |
H A D | 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: 225 except handshake.AbortedByUserException, e: 234 # Unknown exceptions before handshake mean Apache must handle its
|
H A D | 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
|
H A D | 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: 597 except handshake.AbortedByUserException, e: 801 help='Allow draft 75 handshake') 803 default=False, help='Strictly check handshake request')
|
H A D | 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)' % 1010 """Opening handshake processor for multiplexing.""" 1036 # Don't send handshake response for the default channel 1044 self._logger.debug('Sending handshake respons [all...] |
/external/chromium/net/websockets/ |
H A D | websocket_handshake_unittest.cc | 21 static void SetUpParameter(WebSocketHandshake* handshake, argument 32 handshake->parameter_.reset(parameter); 97 static std::string GetResourceName(WebSocketHandshake* handshake) { argument 98 return handshake->GetResourceName(); 100 static std::string GetHostFieldValue(WebSocketHandshake* handshake) { argument 101 return handshake->GetHostFieldValue(); 103 static std::string GetOriginFieldValue(WebSocketHandshake* handshake) { argument 104 return handshake->GetOriginFieldValue(); 122 scoped_ptr<WebSocketHandshake> handshake( 127 SetUpParameter(handshake [all...] |
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
H A D | 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,
|
H A D | test_handshake_draft75.py | 33 """Tests for handshake module.""" 40 from mod_pywebsocket.handshake import draft75 as handshake namespace 400 handshaker = handshake.Handshaker(request, 414 handshaker = handshake.Handshaker(request, 423 handshaker = handshake.Handshaker(request, 433 handshaker = handshake.Handshaker(request, 442 handshaker = handshake.Handshaker(request, 451 handshaker = handshake.Handshaker(request, 461 handshaker = handshake [all...] |
H A D | 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 351 handshaker = handshake.Handshaker(request, 363 handshaker = handshake.Handshaker(request, 373 handshaker = handshake.Handshaker(request, 382 handshaker = handshake.Handshaker(request, 392 handshaker = handshake.Handshaker(request, 401 handshaker = handshake [all...] |
H A D | 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 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) 341 self._logger.info('Sent opening handshake reques 483 def handshake(self, socket): member in class:WebSocketHybi00Handshake 719 def handshake(self, socket): member in class:WebSocketHixie75Handshake [all...] |
/external/antlr/antlr-3.4/runtime/C/include/ |
H A D | 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/Ruby/lib/antlr3/debug/ |
H A D | 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/ |
H A D | 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 processo 502 def handshake(self): member in class:ClientHandshakeProcessorHybi00 728 def handshake(self): member in class:ClientHandshakeProcessorHixie75 [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
H A D | DebugEventSocketProxy.java | 73 public void handshake() throws IOException { method in class:DebugEventSocketProxy
|
H A D | RemoteDebugEventSocketListener.java | 173 handshake(); 236 protected void handshake() throws IOException { method in class:RemoteDebugEventSocketListener 244 listener.commence(); // inform listener after handshake
|
/external/chromium-trace/trace-viewer/examples/stream_server/ |
H A D | 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: 601 except handshake.AbortedByUserException, e: 805 help='Allow draft 75 handshake') 807 default=False, help='Strictly check handshake request')
|
/external/antlr/antlr-3.4/runtime/C/src/ |
H A D | 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/Python/antlr3/ |
H A D | debug.py | 868 def handshake(self): member in class:DebugEventSocketProxy
|
/external/chromium/net/tools/testserver/ |
H A D | testserver.py | 97 def handshake(self, tlsConnection): member in class:HTTPSServer
|