HomeSort by relevance Sort by last modified time
    Searched refs:handshake (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /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/chromium/net/websockets/
websocket_handshake_draft75_unittest.cc 26 scoped_ptr<WebSocketHandshakeDraft75> handshake(
31 EXPECT_EQ(WebSocketHandshake::MODE_INCOMPLETE, handshake->mode());
33 handshake->CreateClientHandshakeMessage());
35 const char kResponse[] = "HTTP/1.1 101 Web Socket Protocol Handshake\r\n"
43 EXPECT_EQ(WebSocketHandshake::MODE_INCOMPLETE, handshake->mode());
45 EXPECT_EQ(-1, handshake->ReadServerHandshake(kResponse, 16));
46 EXPECT_EQ(WebSocketHandshake::MODE_INCOMPLETE, handshake->mode());
48 EXPECT_EQ(-1, handshake->ReadServerHandshake(
51 EXPECT_EQ(WebSocketHandshake::MODE_NORMAL, handshake->mode());
53 EXPECT_EQ(-1, handshake->ReadServerHandshake
    [all...]
websocket_handshake_unittest.cc 21 static void SetUpParameter(WebSocketHandshake* handshake,
32 handshake->parameter_.reset(parameter);
97 static std::string GetResourceName(WebSocketHandshake* handshake) {
98 return handshake->GetResourceName();
100 static std::string GetHostFieldValue(WebSocketHandshake* handshake) {
101 return handshake->GetHostFieldValue();
103 static std::string GetOriginFieldValue(WebSocketHandshake* handshake) {
104 return handshake->GetOriginFieldValue();
122 scoped_ptr<WebSocketHandshake> handshake(
127 SetUpParameter(handshake.get(), 777007543U, 114997259U
    [all...]
  /external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/
__init__.py 31 """WebSocket opening handshake processor. This class try to apply available
32 opening handshake processors for each protocol version until a connection is
40 from mod_pywebsocket.handshake import draft75
41 from mod_pywebsocket.handshake import hybi00
42 from mod_pywebsocket.handshake import hybi
45 from mod_pywebsocket.handshake._base import AbortedByUserException
46 from mod_pywebsocket.handshake._base import HandshakeException
47 from mod_pywebsocket.handshake._base import VersionException
54 """Performs WebSocket handshake.
59 allowDraft75: allow draft 75 handshake protocol
    [all...]
hybi00.py 31 """This file provides the opening handshake processor for the WebSocket
53 from mod_pywebsocket.handshake._base import HandshakeException
54 from mod_pywebsocket.handshake._base import build_location
55 from mod_pywebsocket.handshake._base import check_header_lines
56 from mod_pywebsocket.handshake._base import format_header
57 from mod_pywebsocket.handshake._base import get_mandatory_header
58 from mod_pywebsocket.handshake._base import validate_subprotocol
69 """Opening handshake processor for the WebSocket protocol version HyBi 00.
80 handshake.
89 """Perform WebSocket Handshake
    [all...]
hybi.py 31 """This file provides the opening handshake processor for the WebSocket
52 from mod_pywebsocket.handshake._base import check_request_line
53 from mod_pywebsocket.handshake._base import format_header
54 from mod_pywebsocket.handshake._base import get_mandatory_header
55 from mod_pywebsocket.handshake._base import HandshakeException
56 from mod_pywebsocket.handshake._base import parse_token_list
57 from mod_pywebsocket.handshake._base import validate_mandatory_header
58 from mod_pywebsocket.handshake._base import validate_subprotocol
59 from mod_pywebsocket.handshake._base import VersionException
94 """Opening handshake processor for the WebSocket protocol (RFC 6455).""
    [all...]
  /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-connection.h 115 * handshake Address of a string to allocate for a handshake message on
123 char** handshake);
128 * handshake Address of a string to allocate for a handshake message on
137 char** 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...]
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)) {
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/handshake/
__init__.py 31 """WebSocket opening handshake processor. This class try to apply available
32 opening handshake processors for each protocol version until a connection is
40 from mod_pywebsocket.handshake import hybi00
41 from mod_pywebsocket.handshake import hybi
44 from mod_pywebsocket.handshake._base import AbortedByUserException
45 from mod_pywebsocket.handshake._base import HandshakeException
46 from mod_pywebsocket.handshake._base import VersionException
53 """Performs WebSocket handshake.
62 handshake.
65 _LOGGER.debug('Client\'s opening handshake resource: %r', request.uri
    [all...]
hybi00.py 31 """This file provides the opening handshake processor for the WebSocket
53 from mod_pywebsocket.handshake._base import HandshakeException
54 from mod_pywebsocket.handshake._base import check_request_line
55 from mod_pywebsocket.handshake._base import format_header
56 from mod_pywebsocket.handshake._base import get_default_port
57 from mod_pywebsocket.handshake._base import get_mandatory_header
58 from mod_pywebsocket.handshake._base import parse_host_header
59 from mod_pywebsocket.handshake._base import validate_mandatory_header
74 See the Section 4.1. Opening handshake of the spec.
120 """Opening handshake processor for the WebSocket protocol version HyBi 00
    [all...]
hybi.py 31 """This file provides the opening handshake processor for the WebSocket
53 from mod_pywebsocket.handshake._base import check_request_line
54 from mod_pywebsocket.handshake._base import format_header
55 from mod_pywebsocket.handshake._base import get_mandatory_header
56 from mod_pywebsocket.handshake._base import HandshakeException
57 from mod_pywebsocket.handshake._base import parse_token_list
58 from mod_pywebsocket.handshake._base import validate_mandatory_header
59 from mod_pywebsocket.handshake._base import validate_subprotocol
60 from mod_pywebsocket.handshake._base import VersionException
95 """Opening handshake processor for the WebSocket protocol (RFC 6455).""
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/integration/
TLSSocketServerMixIn.py 12 implement the handshake() method, doing some sort of server
13 handshake on the connection argument. If the handshake method
34 def handshake(self, tlsConnection):
42 print "Handshake failure:", str(error)
52 if self.handshake(tlsConnection) == True:
57 #if the handshake finishes properly and the request is authorized.
58 def handshake(self, tlsConnection): member in class:TLSSocketServerMixIn
  /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/third_party/pywebsocket/src/test/
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...]
  /external/chromium_org/net/websockets/
websocket_handshake_stream_create_helper_test.cc 74 scoped_ptr<WebSocketHandshakeStreamBase> handshake(
80 static_cast<WebSocketBasicHandshakeStream*>(handshake.get())
87 int rv = handshake->InitializeStream(
104 rv = handshake->SendRequest(headers, &response, dummy.callback());
108 rv = handshake->ReadResponseHeaders(dummy.callback());
113 return handshake->Upgrade();
  /external/chromium_org/net/data/websocket/
close-with-split-packet_wsh.py 7 from mod_pywebsocket import handshake namespace
30 raise handshake.AbortedByUserException('Abort the connection')
  /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
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/mod_pywebsocket/
headerparserhandler.py 44 from mod_pywebsocket import handshake namespace
67 # PythonOption to specify to allow handshake defined in Hixie 75 version
216 handshake.do_handshake(
218 except handshake.VersionException, e:
220 'mod_pywebsocket: Handshake failed for version error: %s' % e,
225 except handshake.HandshakeException, e:
226 # Handshake for ws/wss failed.
229 'mod_pywebsocket: Handshake failed for error: %s' % e,
236 except handshake.AbortedByUserException, e:
245 # Unknown exceptions before handshake mean Apache must handle it
    [all...]
  /external/chromium_org/third_party/tlslite/test/
httpsserver.py 17 def handshake(self, tlsConnection): member in class:MyHTTPServer
25 print "Handshake failure:", str(error)
  /external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
ASTDbg.stg 58 proxy.handshake();

Completed in 1252 milliseconds

1 2 3 4