/external/libmicrohttpd/src/microspdy/ |
D | session.c | 44 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/ |
D | ssl_session.c | 159 static void SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session); 160 static void SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session); 161 static int remove_session_lock(SSL_CTX *ctx, SSL_SESSION *session, int lock); 164 SSL_SESSION *session = (SSL_SESSION *)OPENSSL_malloc(sizeof(SSL_SESSION)); in SSL_SESSION_new() local 165 if (session == NULL) { in SSL_SESSION_new() 169 memset(session, 0, sizeof(SSL_SESSION)); in SSL_SESSION_new() 171 session->verify_result = 1; /* avoid 0 (= X509_V_OK) just in case */ in SSL_SESSION_new() 172 session->references = 1; in SSL_SESSION_new() 173 session->timeout = SSL_DEFAULT_SESSION_TIMEOUT; in SSL_SESSION_new() 174 session->time = (unsigned long)time(NULL); in SSL_SESSION_new() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
D | HostnameVerifierTest.java | 42 FakeSSLSession session = new FakeSSLSession(); in verify() local 43 assertFalse(verifier.verify("localhost", session)); in verify() 48 SSLSession session = session("" in verifyCn() local 74 assertTrue(verifier.verify("foo.com", session)); in verifyCn() 75 assertFalse(verifier.verify("a.foo.com", session)); in verifyCn() 76 assertFalse(verifier.verify("bar.com", session)); in verifyCn() 81 SSLSession session = session("" in verifyNonAsciiCn() local 107 assertTrue(verifier.verify("\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 108 assertFalse(verifier.verify("a.\u82b1\u5b50.co.jp", session)); in verifyNonAsciiCn() 113 SSLSession session = session("" in verifySubjectAlt() local [all …]
|
/external/mockftpserver/tags/2.5/src/test/java/org/mockftpserver/core/session/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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.4/src/test/java/org/mockftpserver/core/session/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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.1/src/test/java/org/mockftpserver/core/session/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/ |
D | DefaultSessionTest.java | 16 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/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
D | SSLSessionImplTest.java | 36 SSLSessionImpl session = new SSLSessionImpl(null, null); in testSSLSessionImplCipherSuiteSecureRandom() local 37 assertEquals(session.getCipherSuite(), in testSSLSessionImplCipherSuiteSecureRandom() 40 session = new SSLSessionImpl(CipherSuite.TLS_RSA_WITH_NULL_MD5, in testSSLSessionImplCipherSuiteSecureRandom() 42 session.protocol = ProtocolVersion.TLSv1; in testSSLSessionImplCipherSuiteSecureRandom() 43 assertEquals("Incorrect protocol", "TLSv1", session.getProtocol()); in testSSLSessionImplCipherSuiteSecureRandom() 44 assertEquals("Incorrect cipher suite", session.getCipherSuite(), in testSSLSessionImplCipherSuiteSecureRandom() 46 assertEquals("Incorrect id", 32, session.getId().length); in testSSLSessionImplCipherSuiteSecureRandom() 47 assertTrue("Incorrect isValid", session.isValid()); in testSSLSessionImplCipherSuiteSecureRandom() 48 assertTrue("Incorrect isServer", session.isServer); in testSSLSessionImplCipherSuiteSecureRandom() 49 long time = session.getCreationTime(); in testSSLSessionImplCipherSuiteSecureRandom() [all …]
|