/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/chromium/net/websockets/ |
H A D | websocket_handshake_draft75_unittest.cc | 26 scoped_ptr<WebSocketHandshakeDraft75> handshake( 31 EXPECT_EQ(WebSocketHandshake::MODE_INCOMPLETE, handshake->mode()); 33 handshake->CreateClientHandshakeMessage()); 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( 57 EXPECT_EQ(WebSocketHandshake::MODE_NORMAL, handshake [all...] |
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/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 | 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-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);
|
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 | 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...] |
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 | 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);
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/ |
H A D | __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 protoco [all...] |
H A D | 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. 93 ws_challenge_md5: WebSocket handshake informatio [all...] |
H A D | 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 processo [all...] |
H A D | draft75.py | 46 from mod_pywebsocket.handshake._base import HandshakeException 47 from mod_pywebsocket.handshake._base import build_location 48 from mod_pywebsocket.handshake._base import validate_subprotocol 77 """This class performs WebSocket handshake.""" 85 strict: Strictly check handshake request. Default: False. 90 handshake. 104 ws_challenge_md5: WebSocket handshake information. 120 self._logger.debug('Sent opening handshake response') 171 'Strict handshake is specified but the connection '
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/test/ |
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 | test_handshake.py | 33 """Tests for handshake module.""" 44 from mod_pywebsocket.handshake._base import HandshakeException 45 from mod_pywebsocket.handshake._base import validate_subprotocol 49 """A unittest for handshake module."""
|
/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
|
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/ |
H A D | ParserDebugger.cs | 26 proxy.handshake();
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
H A D | ASTDbg.stg | 58 proxy.handshake();
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
H A D | ASTDbg.stg | 56 proxy.handshake()
|
/external/chromium/net/socket/ |
H A D | socks5_client_socket.cc | 155 // if the SOCKS handshake is complete. 166 // SOCKS handshake is complete. 343 int SOCKS5ClientSocket::BuildHandshakeWriteBuffer(std::string* handshake) 345 DCHECK(handshake->empty()); 347 handshake->push_back(kSOCKS5Version); 348 handshake->push_back(kTunnelCommand); // Connect command 349 handshake->push_back(kNullByte); // Reserved null 351 handshake->push_back(kEndPointDomain); // The type of the address. 356 handshake->push_back(static_cast<unsigned char>( 358 handshake [all...] |
H A D | socks5_client_socket.h | 28 // This ClientSocket is used to setup a SOCKSv5 handshake with a socks proxy. 53 // Does the SOCKS handshake and completes the protocol. 120 // Writes the SOCKS handshake buffer into |handshake| 122 int BuildHandshakeWriteBuffer(std::string* handshake) const; 135 // SOCKS handshake data. The length contains the expected size to 139 // While writing, this buffer stores the complete write handshake data. 140 // While reading, it stores the handshake information received so far. 143 // This becomes true when the SOCKS handshake has completed and the 147 // These contain the bytes sent / received by the SOCKS handshake [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/ObjC/ |
H A D | ASTDbg.stg | 63 [proxy handshake];
|