/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/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)) {
|
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);
|
/cts/tests/tests/webkitsecurity/assets/ |
bad-handshake-crash_wsh.py | 1 from mod_pywebsocket import handshake namespace 2 from mod_pywebsocket.handshake.hybi import compute_accept 14 raise handshake.AbortedByUserException("Abort the connection") # Prevents pywebsocket from sending its own handshake message.
|
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
NativeCryptoTest.java | 575 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener, method in class:NativeCryptoTest 594 + " handshake" 605 + " handshake" 649 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null); 650 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null); 685 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null); 686 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null); 730 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks, null); 731 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks, null); 744 * handshake. It does an SSL renegotiation, which means we need t [all...] |
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/ |
ASTDbg.stg | 58 proxy.handshake();
|
Dbg.stg | 149 proxy.handshake();
|
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/ |
ASTDbg.stg | 56 proxy.handshake()
|
/external/chromium/net/socket/ |
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->append(host_request_info_.hostname()) [all...] |
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/ |
ASTDbg.stg | 63 [proxy handshake];
|
/external/qemu/android/ |
sdk-controller-socket.h | 58 * - Sending a "handshake" query to the SdkController. 74 * SdkController in deed is listening is to exchange a handshake with it: 78 * 1.2. Handshake query. 80 * Handshake query is a special type of query that SDKCtlSocket sends to the 90 * SdkController responds to the handshake query, thus, completing the connection. 122 * established, but before handshake query is processed. The client should use 144 /* Defines client's callback set to receive handshake reply from the SdkController 147 * Successful handshake means that connection between the client and SDK 153 * handshake - Handshake message received from the SDK controller service [all...] |
sensors-port.c | 189 void* handshake, 194 printf("---------- Handshake %d bytes received.\n", handshake_size); 196 printf("!!!!!!!!!! Handshake failed with status %d: %d -> %s\n",
|
/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
|
/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/tool/src/main/resources/org/antlr/codegen/templates/C/ |
Dbg.stg | 123 proxy->handshake(proxy);
|
/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/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/Java/src/main/java/org/antlr/runtime/debug/ |
RemoteDebugEventSocketListener.java | 173 handshake(); method 236 protected void handshake() throws IOException { method in class:RemoteDebugEventSocketListener 244 listener.commence(); // inform listener after handshake
|