Home
last modified time | relevance | path

Searched refs:session (Results 1 – 25 of 3785) sorted by relevance

12345678910>>...152

/external/libmicrohttpd/src/microspdy/
Dsession.c44 spdyf_handler_read_syn_stream (struct SPDY_Session *session) in spdyf_handler_read_syn_stream() argument
53 SPDYF_ASSERT(SPDY_SESSION_STATUS_WAIT_FOR_SUBHEADER == session->status in spdyf_handler_read_syn_stream()
54 || SPDY_SESSION_STATUS_WAIT_FOR_BODY == session->status, in spdyf_handler_read_syn_stream()
57 frame = (struct SPDYF_Control_Frame *)session->frame_handler_cls; in spdyf_handler_read_syn_stream()
60 if(SPDY_SESSION_STATUS_WAIT_FOR_SUBHEADER == session->status) in spdyf_handler_read_syn_stream()
69 session->status = SPDY_SESSION_STATUS_WAIT_FOR_HEADER; in spdyf_handler_read_syn_stream()
74 if(SPDY_YES != SPDYF_stream_new(session)) in spdyf_handler_read_syn_stream()
82 session->current_stream_id = session->streams_head->stream_id; in spdyf_handler_read_syn_stream()
86 session->status = SPDY_SESSION_STATUS_IGNORE_BYTES; in spdyf_handler_read_syn_stream()
90 session->status = SPDY_SESSION_STATUS_WAIT_FOR_BODY; in spdyf_handler_read_syn_stream()
[all …]
/external/boringssl/src/ssl/
Dssl_session.cc164 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session);
165 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session);
166 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *session, int lock);
169 UniquePtr<SSL_SESSION> session( in ssl_session_new() local
171 if (!session) { in ssl_session_new()
175 OPENSSL_memset(session.get(), 0, sizeof(SSL_SESSION)); in ssl_session_new()
177 session->x509_method = x509_method; in ssl_session_new()
178 session->verify_result = X509_V_ERR_INVALID_CALL; in ssl_session_new()
179 session->references = 1; in ssl_session_new()
180 session->timeout = SSL_DEFAULT_SESSION_TIMEOUT; in ssl_session_new()
[all …]
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/
DHostnameVerifierTest.java42 FakeSSLSession session = new FakeSSLSession(); in verify() local
43 assertFalse(verifier.verify("localhost", session)); in verify()
48 SSLSession session = session("" in verifyCn() local
76 assertFalse(verifier.verify("foo.com", session)); in verifyCn()
77 assertFalse(verifier.verify("a.foo.com", session)); in verifyCn()
78 assertFalse(verifier.verify("bar.com", session)); in verifyCn()
83 SSLSession session = session("" in verifyNonAsciiCn() local
111 assertFalse(verifier.verify("\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
112 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn()
117 SSLSession session = session("" in verifySubjectAlt() local
[all …]
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
55 private DefaultSession session; field in DefaultSessionTest
71 session = createDefaultSession(""); in setUp()
114 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
115 session.setClientDataPort(PORT); in testSetClientDataPort()
116 session.setClientDataHost(clientHost); in testSetClientDataPort()
117 session.openDataConnection(); in testSetClientDataPort()
127 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
129 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
131 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.4/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
55 private DefaultSession session; field in DefaultSessionTest
71 session = createDefaultSession(""); in setUp()
114 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
115 session.setClientDataPort(PORT); in testSetClientDataPort()
116 session.setClientDataHost(clientHost); in testSetClientDataPort()
117 session.openDataConnection(); in testSetClientDataPort()
127 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
129 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
131 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
55 private DefaultSession session; field in DefaultSessionTest
71 session = createDefaultSession(""); in setUp()
114 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
115 session.setClientDataPort(PORT); in testSetClientDataPort()
116 session.setClientDataHost(clientHost); in testSetClientDataPort()
117 session.openDataConnection(); in testSetClientDataPort()
127 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
129 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
131 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.3/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.0/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.2.4/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.2.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.x_Before_IDEA/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.2.3/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0.1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.2.1/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/branches/1.x_Branch/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/mockftpserver/tags/1.2/src/test/java/org/mockftpserver/core/session/
DDefaultSessionTest.java16 package org.mockftpserver.core.session;
54 private DefaultSession session; field in DefaultSessionTest
70 session = createDefaultSession(""); in setUp()
113 session.socketFactory = stubSocketFactory; in testSetClientDataPort()
114 session.setClientDataPort(PORT); in testSetClientDataPort()
115 session.setClientDataHost(clientHost); in testSetClientDataPort()
116 session.openDataConnection(); in testSetClientDataPort()
126 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
128 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
130 assertNotNull("passiveModeDataSocket", session.passiveModeDataSocket); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]
/external/libese/apps/weaver/
Dweaver.c68 ESE_API void ese_weaver_session_init(struct EseWeaverSession *session) { in ese_weaver_session_init() argument
69 session->ese = NULL; in ese_weaver_session_init()
70 session->active = false; in ese_weaver_session_init()
71 session->channel_id = 0; in ese_weaver_session_init()
75 struct EseWeaverSession *session) { in ese_weaver_session_open() argument
80 if (!ese || !session) { in ese_weaver_session_open()
84 if (session->active == true) { in ese_weaver_session_open()
115 session->ese = ese; in ese_weaver_session_open()
116 session->channel_id = rx_buf[rx_len - 3]; in ese_weaver_session_open()
119 uint8_t chan = kSelectApplet[0] | session->channel_id; in ese_weaver_session_open()
[all …]

12345678910>>...152