Home
last modified time | relevance | path

Searched full:session (Results 1 – 25 of 7798) sorted by relevance

12345678910>>...312

/external/python/google-auth-library-python/system_tests/
Dnoxfile.py80 def install_cloud_sdk(session): argument
86 session.env[CLOUD_SDK_CONFIG_ENV] = str(CLOUD_SDK_ROOT)
88 session.env[CLOUD_SDK_PYTHON_ENV] = CLOUD_SDK_PYTHON
91 session.env["PATH"] = (
97 session.run(GCLOUD, "components", "update", "-q")
103 session.run("wget", CLOUD_SDK_DOWNLOAD_URL, "-O", str(tar_path), silent=True)
106 session.run("tar", "xzf", str(tar_path), "-C", str(CLOUD_SDK_ROOT))
107 session.run(tar_path.remove)
110 session.run(
131 def configure_cloud_sdk(session, application_default_credentials, project=False): argument
[all …]
/external/cronet/net/third_party/quiche/src/quiche/quic/test_tools/
Dquic_session_peer.cc17 QuicSession* session) { in GetNextOutgoingBidirectionalStreamId() argument
18 return session->GetNextOutgoingBidirectionalStreamId(); in GetNextOutgoingBidirectionalStreamId()
23 QuicSession* session) { in GetNextOutgoingUnidirectionalStreamId() argument
24 return session->GetNextOutgoingUnidirectionalStreamId(); in GetNextOutgoingUnidirectionalStreamId()
28 void QuicSessionPeer::SetNextOutgoingBidirectionalStreamId(QuicSession* session, in SetNextOutgoingBidirectionalStreamId() argument
30 if (VersionHasIetfQuicFrames(session->transport_version())) { in SetNextOutgoingBidirectionalStreamId()
31 session->ietf_streamid_manager_.bidirectional_stream_id_manager_ in SetNextOutgoingBidirectionalStreamId()
35 session->stream_id_manager_.next_outgoing_stream_id_ = id; in SetNextOutgoingBidirectionalStreamId()
39 void QuicSessionPeer::SetMaxOpenIncomingStreams(QuicSession* session, in SetMaxOpenIncomingStreams() argument
41 if (VersionHasIetfQuicFrames(session->transport_version())) { in SetMaxOpenIncomingStreams()
[all …]
Dquic_spdy_session_peer.cc20 QuicSpdySession* session) { in GetHeadersStream() argument
21 QUICHE_DCHECK(!VersionUsesHttp3(session->transport_version())); in GetHeadersStream()
22 return session->headers_stream(); in GetHeadersStream()
25 void QuicSpdySessionPeer::SetHeadersStream(QuicSpdySession* session, in SetHeadersStream() argument
27 QUICHE_DCHECK(!VersionUsesHttp3(session->transport_version())); in SetHeadersStream()
28 for (auto& it : QuicSessionPeer::stream_map(session)) { in SetHeadersStream()
30 QuicUtils::GetHeadersStreamId(session->transport_version())) { in SetHeadersStream()
32 session->headers_stream_ = static_cast<QuicHeadersStream*>(it.second.get()); in SetHeadersStream()
39 spdy::SpdyFramer* QuicSpdySessionPeer::GetSpdyFramer(QuicSpdySession* session) { in GetSpdyFramer() argument
40 return &session->spdy_framer_; in GetSpdyFramer()
[all …]
/external/cronet/third_party/boringssl/src/ssl/
Dssl_session.cc157 // SSL_magic_pending_session_ptr(). It allows a session callback to indicate
158 // that it needs to asynchronously fetch session information.
164 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);
172 // Take the first four bytes of |session_id|. Session IDs are generated by the in ssl_hash_session_id()
191 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() argument
192 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
197 new_session->is_server = session->is_server; in SSL_SESSION_dup()
198 new_session->ssl_version = session->ssl_version; in SSL_SESSION_dup()
199 new_session->is_quic = session->is_quic; in SSL_SESSION_dup()
[all …]
/external/rust/crates/quiche/deps/boringssl/src/ssl/
Dssl_session.cc157 // SSL_magic_pending_session_ptr(). It allows a session callback to indicate
158 // that it needs to asynchronously fetch session information.
164 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);
172 // Take the first four bytes of |session_id|. Session IDs are generated by the in ssl_hash_session_id()
191 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() argument
192 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
197 new_session->is_server = session->is_server; in SSL_SESSION_dup()
198 new_session->ssl_version = session->ssl_version; in SSL_SESSION_dup()
199 new_session->is_quic = session->is_quic; in SSL_SESSION_dup()
[all …]
/external/boringssl/src/ssl/
Dssl_session.cc157 // SSL_magic_pending_session_ptr(). It allows a session callback to indicate
158 // that it needs to asynchronously fetch session information.
164 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);
172 // Take the first four bytes of |session_id|. Session IDs are generated by the in ssl_hash_session_id()
191 UniquePtr<SSL_SESSION> SSL_SESSION_dup(SSL_SESSION *session, int dup_flags) { in SSL_SESSION_dup() argument
192 UniquePtr<SSL_SESSION> new_session = ssl_session_new(session->x509_method); in SSL_SESSION_dup()
197 new_session->is_server = session->is_server; in SSL_SESSION_dup()
198 new_session->ssl_version = session->ssl_version; in SSL_SESSION_dup()
199 new_session->is_quic = session->is_quic; in SSL_SESSION_dup()
[all …]
/external/tpm2-tss/test/integration/
Dsapi-session-util.c13 #include "session-util.h"
20 static SESSION *sessions = NULL;
22 SESSION *
25 SESSION *s; in get_session()
33 SESSION *session, in start_auth_session() argument
48 if (session->nonceOlder.size == 0) in start_auth_session()
49 session->nonceOlder.size = GetDigestSize(session->authHash); in start_auth_session()
51 memset(session->nonceOlder.buffer, '\0', session->nonceOlder.size); in start_auth_session()
52 session->nonceNewer.size = session->nonceOlder.size; in start_auth_session()
53 session->nonceTpmDecrypt.size = 0; in start_auth_session()
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/src/subsystem/
DSession.c37 The code in this file is used to manage the session context counter.
41 count for a session repeated.
69 session context (the one found by the TPM), and save it. Since loading
70 the oldest session also eliminates its contextID value from
79 to the contextArray associated with the session, and increment contextCount.
85 The index into the contextArray is the handle for the session with the region
86 selector byte of the session set to zero. If an entry in contextArray contains
87 0, then the corresponding handle may be assigned to a session. If the entry
93 session.
96 session, it will subtract 1 to create the zero-based slot number.
[all …]
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, list(e.getPath())); in handleCommand()
[all …]
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, list(e.getPath())); in handleCommand()
[all …]
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java24 import org.mockftpserver.core.session.Session;
25 import org.mockftpserver.core.session.SessionKeys;
54 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
70 public void handleCommand(Command command, Session session) { in handleCommand() argument
73 Assert.notNull(session, "session"); in handleCommand()
76 handle(command, session); in handleCommand()
79 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
82 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
85 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
88 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, e.getPath()); in handleCommand()
[all …]
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/fake/command/
DAbstractFakeCommandHandler.java25 import org.mockftpserver.core.session.Session;
26 import org.mockftpserver.core.session.SessionKeys;
56 …hen a FileSystemException is caught by the {@link #handleCommand(Command, Session)}
72 public void handleCommand(Command command, Session session) { in handleCommand() argument
75 Assert.notNull(session, "session"); in handleCommand()
78 handle(command, session); in handleCommand()
81 handleException(command, session, e, ReplyCodes.COMMAND_SYNTAX_ERROR); in handleCommand()
84 handleException(command, session, e, ReplyCodes.ILLEGAL_STATE); in handleCommand()
87 handleException(command, session, e, ReplyCodes.NOT_LOGGED_IN); in handleCommand()
90 … handleFileSystemException(command, session, e, ReplyCodes.FILENAME_NOT_VALID, list(e.getPath())); in handleCommand()
[all …]
/external/python/python-api-core/
Dnoxfile.py57 @nox.session(python=DEFAULT_PYTHON_VERSION)
58 def lint(session): argument
64 session.install("flake8", "flake8-import-order", BLACK_VERSION)
65 session.install(".")
66 session.run(
69 session.run("flake8", "google", "tests")
72 @nox.session(python=DEFAULT_PYTHON_VERSION)
73 def blacken(session): argument
78 session.install(BLACK_VERSION)
79 session.run("black", *BLACK_EXCLUDES, *BLACK_PATHS)
[all …]
/external/python/google-auth-library-python/
Dnoxfile.py34 @nox.session(python="3.7")
35 def lint(session): argument
36 session.install("flake8", "flake8-import-order", "docutils", BLACK_VERSION)
37 session.install("-e", ".")
38 session.run("black", "--check", *BLACK_PATHS)
39 session.run(
47 session.run(
52 @nox.session(python="3.8")
53 def blacken(session): argument
61 session.install(BLACK_VERSION)
[all …]
/external/ms-tpm-20-ref/TPMCmd/tpm/include/prototypes/
DSession_fp.h44 // This function initializes the session subsystem on TPM2_Startup().
51 // This function test a session handle references a loaded session. The handle
53 // an authorization session.
54 // NOTE: A PWAP authorization does not have a session.
57 // TRUE(1) session is loaded
58 // FALSE(0) session is not loaded
62 TPM_HANDLE handle // IN: session handle
66 // This function test a session handle references a saved session. The handle
68 // an authorization session.
69 // NOTE: An password authorization does not have a session.
[all …]
/external/tensorflow/tensorflow/python/training/
Dmonitored_session_test.py29 from tensorflow.python.client import session as session_lib
267 def after_create_session(self, session, coord): # pylint: disable=unused-argument argument
281 def end(self, session): argument
294 is_chief=True, checkpoint_dir=logdir) as session:
295 self.assertEqual(0, session.run(gstep))
296 self.assertEqual(1, session.run(do_step))
297 self.assertEqual(2, session.run(do_step))
300 is_chief=True, checkpoint_dir=logdir) as session:
301 self.assertEqual(2, session.run(gstep))
312 log_step_count_steps=10) as session:
[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()
122 * Test the setClientDataPort() method after the session was in passive data mode
127 session.serverSocketFactory = stubServerSocketFactory; in testSetClientDataPort_AfterPassiveConnectionMode()
129 session.switchToPassiveMode(); in testSetClientDataPort_AfterPassiveConnectionMode()
[all …]

12345678910>>...312