/external/libmicrohttpd/src/microspdy/ |
H A D | io.c | 58 SPDYF_io_set_session(struct SPDY_Session *session, argument 64 session->fio_new_session = &SPDYF_openssl_new_session; 65 session->fio_close_session = &SPDYF_openssl_close_session; 66 session->fio_is_pending = &SPDYF_openssl_is_pending; 67 session->fio_recv = &SPDYF_openssl_recv; 68 session->fio_send = &SPDYF_openssl_send; 69 session->fio_before_write = &SPDYF_openssl_before_write; 70 session->fio_after_write = &SPDYF_openssl_after_write; 74 session->fio_new_session = &SPDYF_raw_new_session; 75 session [all...] |
H A D | session.h | 20 * @file session.h 21 * @brief TCP connection/SPDY session handling 32 * Called by the daemon when the socket for the session has available 34 * session's read buffer. The latte 36 * @param session SPDY_Session for which data will be read. 37 * @return SPDY_YES if something was read or session's status was 44 SPDYF_session_read (struct SPDY_Session *session); 48 * Called by the daemon when the socket for the session is ready for some 53 * @param session SPDY_Session for which data will be written. 57 * session [all...] |
H A D | io_raw.h | 72 * @param session SPDY_Session whose socket will be used 76 SPDYF_raw_new_session(struct SPDY_Session *session); 81 * closing session's socket. 83 * @param session SPDY_Session whose socket is used 86 SPDYF_raw_close_session(struct SPDY_Session *session); 93 * @param session for which data is received 101 SPDYF_raw_recv(struct SPDY_Session *session, 110 * @param session whose context is used 119 SPDYF_raw_send(struct SPDY_Session *session, 129 * @param session whic [all...] |
H A D | session.c | 20 * @file session.c 21 * @brief TCP connection/SPDY session handling. So far most of the 29 #include "session.h" 39 * of the session. New stream is created. 41 * @param session SPDY_Session whose read buffer is used. 44 spdyf_handler_read_syn_stream (struct SPDY_Session *session) argument 53 SPDYF_ASSERT(SPDY_SESSION_STATUS_WAIT_FOR_SUBHEADER == session->status 54 || SPDY_SESSION_STATUS_WAIT_FOR_BODY == session->status, 57 frame = (struct SPDYF_Control_Frame *)session->frame_handler_cls; 60 if(SPDY_SESSION_STATUS_WAIT_FOR_SUBHEADER == session 181 spdyf_handler_read_goaway(struct SPDY_Session *session) argument 260 spdyf_handler_read_rst_stream(struct SPDY_Session *session) argument 332 spdyf_handler_read_data(struct SPDY_Session *session) argument 422 SPDYF_handler_write_syn_reply(struct SPDY_Session *session) argument 517 SPDYF_handler_write_goaway(struct SPDY_Session *session) argument 570 SPDYF_handler_write_data(struct SPDY_Session *session) argument 742 SPDYF_handler_write_rst_stream(struct SPDY_Session *session) argument 787 SPDYF_handler_write_window_update(struct SPDY_Session *session) argument 830 SPDYF_handler_ignore_frame(struct SPDY_Session *session) argument 866 SPDYF_session_read(struct SPDY_Session *session) argument 981 SPDYF_session_write(struct SPDY_Session *session, bool only_one_frame) argument 1155 SPDYF_session_idle(struct SPDY_Session *session) argument 1360 SPDYF_session_close(struct SPDY_Session *session) argument 1393 struct SPDY_Session *session = NULL; local 1494 SPDYF_queue_response(struct SPDYF_Response_Queue *response_to_queue, struct SPDY_Session *session, int consider_priority) argument 1575 SPDYF_session_destroy(struct SPDY_Session *session) argument 1617 SPDYF_prepare_goaway(struct SPDY_Session *session, enum SPDY_GOAWAY_STATUS status, bool in_front) argument 1665 SPDYF_prepare_rst_stream(struct SPDY_Session *session, struct SPDYF_Stream * stream, enum SPDY_RST_STREAM_STATUS status) argument 1721 SPDYF_prepare_window_update(struct SPDY_Session *session, struct SPDYF_Stream * stream, int32_t delta_window_size) argument [all...] |
H A D | io.h | 44 * Any kind of error ocurred. The session has to be closed. 101 * @param session SPDY_Session whose socket will be used 105 (*SPDYF_IONewSession) (struct SPDY_Session *session); 110 * closing session's socket. 112 * @param session SPDY_Session whose socket is used 115 (*SPDYF_IOCloseSession) (struct SPDY_Session *session); 119 * Reading from session's socket. Reads available data and put it to the 122 * @param session for which data is received 130 (*SPDYF_IORecv) (struct SPDY_Session *session, 136 * Writing to session' [all...] |
H A D | stream.c | 28 #include "session.h" 32 SPDYF_stream_new (struct SPDY_Session *session) argument 38 size_t buffer_pos = session->read_buffer_beginning; 42 if((session->read_buffer_offset - session->read_buffer_beginning) < 10) 48 frame = (struct SPDYF_Control_Frame *)session->frame_handler_cls; 51 memcpy(&stream_id, session->read_buffer + session->read_buffer_beginning, 4); 53 session->read_buffer_beginning += 4; 54 if(stream_id <= session 159 SPDYF_stream_find(uint32_t stream_id, struct SPDY_Session * session) argument [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
H A D | SSLSessionImplTest.java | 36 SSLSessionImpl session = new SSLSessionImpl(null, null); 37 assertEquals(session.getCipherSuite(), 40 session = new SSLSessionImpl(CipherSuite.TLS_RSA_WITH_NULL_MD5, 42 session.protocol = ProtocolVersion.TLSv1; 43 assertEquals("Incorrect protocol", "TLSv1", session.getProtocol()); 44 assertEquals("Incorrect cipher suite", session.getCipherSuite(), 46 assertEquals("Incorrect id", 32, session.getId().length); 47 assertTrue("Incorrect isValid", session.isValid()); 48 assertTrue("Incorrect isServer", session.isServer); 49 long time = session [all...] |
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
H A D | HostnameVerifierTest.java | 42 FakeSSLSession session = new FakeSSLSession(); 43 assertFalse(verifier.verify("localhost", session)); 48 SSLSession session = session("" 74 assertTrue(verifier.verify("foo.com", session)); 75 assertFalse(verifier.verify("a.foo.com", session)); 76 assertFalse(verifier.verify("bar.com", session)); 81 SSLSession session = session("" 107 assertTrue(verifier.verify("\u82b1\u5b50.co.jp", session)); 550 private SSLSession session(String certificate) throws Exception { method in class:HostnameVerifierTest [all...] |
/external/tpm2/ |
H A D | PolicyRestart.c | 15 SESSION *session; local 20 session = SessionGet(in->sessionHandle); 21 wasTrialSession = session->attributes.isTrialPolicy == SET; 23 // Initialize policy session 24 SessionResetPolicyData(session); 26 session->attributes.isTrialPolicy = wasTrialSession;
|
H A D | PolicyGetDigest.c | 16 SESSION *session; local 20 // Get pointer to the session structure 21 session = SessionGet(in->policySession); 23 out->policyDigest = session->u2.policyDigest;
|
H A D | PolicyPhysicalPresence.c | 15 SESSION *session; local 21 // Get pointer to the session structure 22 session = SessionGet(in->policySession); 27 CryptStartHash(session->authHashAlg, &hashState); 30 CryptUpdateDigest2B(&hashState, &session->u2.policyDigest.b); 36 CryptCompleteHash2B(&hashState, &session->u2.policyDigest.b); 38 // update session attribute 39 session->attributes.isPPRequired = SET;
|
/external/boringssl/src/ssl/ |
H A D | ssl_session.c | 152 * SSL_magic_pending_session_ptr(). It allows a session callback to indicate 153 * that it needs to asynchronously fetch session information. */ 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)); local 165 if (session == NULL) { 169 memset(session, 0, sizeof(SSL_SESSION)); 171 session->verify_result = 1; /* avoid 0 (= X509_V_OK) just in case */ 172 session 179 SSL_SESSION_up_ref(SSL_SESSION *session) argument 186 SSL_SESSION_free(SSL_SESSION *session) argument 207 SSL_SESSION_get_id(const SSL_SESSION *session, unsigned *out_len) argument 215 SSL_SESSION_get_timeout(const SSL_SESSION *session) argument 219 SSL_SESSION_get_time(const SSL_SESSION *session) argument 227 SSL_SESSION_get_key_exchange_info(const SSL_SESSION *session) argument 231 SSL_SESSION_get0_peer(const SSL_SESSION *session) argument 235 SSL_SESSION_set_time(SSL_SESSION *session, long time) argument 244 SSL_SESSION_set_timeout(SSL_SESSION *session, long timeout) argument 253 SSL_SESSION_set1_id_context(SSL_SESSION *session, const uint8_t *sid_ctx, unsigned sid_ctx_len) argument 293 SSL_SESSION_set_ex_data(SSL_SESSION *session, int idx, void *arg) argument 297 SSL_SESSION_get_ex_data(const SSL_SESSION *session, int idx) argument 307 SSL_SESSION *session = SSL_SESSION_new(); local 372 SSL_SESSION *session; local 432 SSL_SESSION *session = NULL; local 500 SSL_CTX_add_session(SSL_CTX *ctx, SSL_SESSION *session) argument 542 SSL_CTX_remove_session(SSL_CTX *ctx, SSL_SESSION *session) argument 546 remove_session_lock(SSL_CTX *ctx, SSL_SESSION *session, int lock) argument 577 SSL_set_session(SSL *ssl, SSL_SESSION *session) argument 616 timeout_doall_arg(SSL_SESSION *session, void *void_param) argument 659 SSL_SESSION_list_remove(SSL_CTX *ctx, SSL_SESSION *session) argument 687 SSL_SESSION_list_add(SSL_CTX *ctx, SSL_SESSION *session) argument 705 SSL_CTX_sess_set_new_cb(SSL_CTX *ctx, int (*cb)(SSL *ssl, SSL_SESSION *session)) argument 714 SSL_CTX_sess_set_remove_cb( SSL_CTX *ctx, void (*cb)(SSL_CTX *ctx, SSL_SESSION *session)) argument [all...] |
/external/ipsec-tools/src/racoon/ |
H A D | session.h | 1 /* $NetBSD: session.h,v 1.4 2006/09/09 16:22:10 manu Exp $ */ 3 /* Id: session.h,v 1.3 2004/06/11 16:00:17 ludvigm Exp */ 37 extern int session __P((void));
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/ |
H A D | AborCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
argument 35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ABOR_OK, "abor");
|
H A D | AlloCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
argument 35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ALLO_OK, "allo");
|
H A D | ModeCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
argument 35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.MODE_OK, "mode");
|
H A D | QuitCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
23 * CommandHandler for the QUIT command. Return a reply code of 221 and close the current session.
30 protected void handle(Command command, Session session) {
argument 31 sendReply(session, ReplyCodes.QUIT_OK, "quit");
32 session.close();
|
H A D | RestCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
argument 35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.REST_OK, "rest");
|
H A D | SiteCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
33 protected void handle(Command command, Session session) {
argument 34 verifyLoggedIn(session);
35 sendReply(session, ReplyCodes.SITE_OK, "site");
|
H A D | SmntCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
argument 35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.SMNT_OK, "smnt");
|
H A D | StruCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
argument 35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.STRU_OK, "stru");
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/ |
H A D | AborCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
argument 35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ABOR_OK, "abor");
|
H A D | AlloCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
argument 35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.ALLO_OK, "allo");
|
H A D | ModeCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
34 protected void handle(Command command, Session session) {
argument 35 verifyLoggedIn(session);
36 sendReply(session, ReplyCodes.MODE_OK, "mode");
|
H A D | QuitCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
23 * CommandHandler for the QUIT command. Return a reply code of 221 and close the current session.
30 protected void handle(Command command, Session session) {
argument 31 sendReply(session, ReplyCodes.QUIT_OK, "quit");
32 session.close();
|