/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);
|
/libcore/luni/src/test/java/org/apache/harmony/xnet/provider/jsse/ |
NativeCryptoTest.java | 577 public static Future<TestSSLHandshakeCallbacks> handshake(final ServerSocket listener, method in class:NativeCryptoTest 597 + " handshake" 611 + " handshake" 662 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks); 663 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks); 704 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks); 705 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks); 749 Future<TestSSLHandshakeCallbacks> client = handshake(listener, 0, true, cHooks); 750 Future<TestSSLHandshakeCallbacks> server = handshake(listener, 0, false, sHooks); 763 * handshake. It does an SSL renegotiation, which means we need t [all...] |
/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/src/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
|
DebugEventSocketProxy.java | 73 public void handshake() throws IOException { method in class:DebugEventSocketProxy
|
/external/openssl/android.testssl/ |
testssl | 82 echo test sslv2/sslv3 with both client and server authentication and handshake cutthrough
|
/external/chromium/net/tools/testserver/ |
testserver.py | 97 def handshake(self, tlsConnection): member in class:HTTPSServer 112 print "Handshake failure:", str(error) [all...] |
/external/doclava/src/com/google/doclava/parser/ |
JavaParser.java | 442 proxy.handshake(); [all...] |