Searched defs:handshake (Results 1 - 25 of 26) sorted by relevance

12

/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/testdata/handlers/
H A Dabort_by_user_wsh.py31 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 Dattach-ui-impl.c48 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 Dcore-connection.c255 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 Dui-commands-impl.c191 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 Duser-events-proxy.c76 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 Dcore-commands-proxy.c316 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 Dfb-updates-impl.c176 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 Dheaderparserhandler.py44 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 Ddispatch.py40 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 Dstandalone.py140 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 Dmux.py49 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 Dwebsocket_handshake_unittest.cc21 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 Dtest_dispatch.py42 from mod_pywebsocket import handshake namespace
158 except handshake.HandshakeException, e:
167 self.assertRaises(handshake.AbortedByUserException,
236 self.assertRaises(handshake.AbortedByUserException,
H A Dtest_handshake_draft75.py33 """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 Dtest_handshake_hybi00.py33 """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 Dclient_for_testing.py35 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 Dantlr3debugeventlistener.h100 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 Dsocket.rb38 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 Decho_client.py90 # 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 DDebugEventSocketProxy.java73 public void handshake() throws IOException { method in class:DebugEventSocketProxy
H A DRemoteDebugEventSocketListener.java173 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 Dstandalone.py144 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 Dantlr3debughandlers.c55 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 Ddebug.py868 def handshake(self): member in class:DebugEventSocketProxy
/external/chromium/net/tools/testserver/
H A Dtestserver.py97 def handshake(self, tlsConnection): member in class:HTTPSServer

Completed in 279 milliseconds

12