Searched refs:handshake (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium/net/websockets/
H A Dwebsocket_handshake_draft75_unittest.cc26 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 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/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 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-connection.h115 * 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 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 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...]
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 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);
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
H A DParserDebugger.cs26 proxy.handshake();
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Java/
H A DASTDbg.stg58 proxy.handshake();
H A DDbg.stg149 proxy.handshake();
/external/antlr/antlr-3.4/tool/src/main/resources/org/antlr/codegen/templates/Python/
H A DASTDbg.stg56 proxy.handshake()
H A DDbg.stg58 proxy.handshake()
/external/chromium/net/socket/
H A Dsocks5_client_socket.cc155 // 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 Dsocks5_client_socket.h28 // 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 DASTDbg.stg63 [proxy handshake];
/external/qemu/android/
H A Dsdk-controller-socket.h58 * - Sending a "handshake" query to the SdkController.
74 * SdkController in deed is listening is to exchange a handshake with it:
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.
156 * status - Handshake status. Note that handshake, and handshake_size are valid
161 void* handshake,
363 * on_handshake - A callback to invoke on handshake event
[all...]
H A Dsensors-port.c189 void* handshake,
187 on_sdkctl_handshake(void* client_opaque, SDKCtlSocket* sdkctl, void* handshake, uint32_t handshake_size, AsyncIOState status) argument
/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/tool/src/main/resources/org/antlr/codegen/templates/C/
H A DDbg.stg123 proxy->handshake(proxy);
/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/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/Java/src/main/java/org/antlr/runtime/debug/
H A DRemoteDebugEventSocketListener.java173 handshake();
236 protected void handshake() throws IOException { method in class:RemoteDebugEventSocketListener
244 listener.commence(); // inform listener after handshake
/external/openssl/android.testssl/
H A Dtestssl82 echo test sslv2/sslv3 with both client and server authentication and handshake cutthrough

Completed in 509 milliseconds

12