/external/google-breakpad/src/common/windows/ |
H A D | dia_util.h | 39 // Find the debug stream of the given |name| in the given |session|. Returns 43 IDiaSession* session, 47 // given |session|. Returns true on success, false on error or if no such 49 bool FindTable(REFIID iid, IDiaSession* session, void** table); 52 // |InterfaceType| in the given |session|. Returns true on success, false on 56 bool FindTable(IDiaSession* session, InterfaceType** table) { argument 58 session,
|
/external/conscrypt/src/main/java/org/conscrypt/ |
H A D | SSLClientSessionCache.java | 29 * session data is dependent upon the caller's implementation and is opaque to 35 * Gets data from a pre-existing session for a given server host and port. 39 * @return the session data or null if none is cached 45 * Stores session data for the given session. 47 * @param session to cache data for 49 * @throws NullPointerException if session, result of 50 * {@code session.getPeerHost()} or data is null 52 public void putSessionData(SSLSession session, byte[] sessionData); argument
|
H A D | SSLServerSessionCache.java | 25 * a session started by a different server based on a session ID provided 30 * session data is dependent upon the caller's implementation and is opaque to 36 * Gets the session data for given session ID. 39 * @return the session data or null if none is cached 45 * Stores session data for the given session. 47 * @param session to cache data for 49 * @throws NullPointerException if session o 51 putSessionData(SSLSession session, byte[] sessionData) argument [all...] |
H A D | ServerSessionContext.java | 22 * Caches server sessions. Indexes by session ID. Users typically look up 35 // TODO remove SSL_CTX session cache limit so we can manage it 41 // Set a trivial session id context. OpenSSL uses this to make 53 protected void sessionRemoved(SSLSession session) {} argument 57 SSLSession session = super.getSession(sessionId); 58 if (session != null) { 59 return session; 66 session = toSession(data, null, -1); 67 if (session != null && session 78 putSession(SSLSession session) argument [all...] |
/external/jetty/src/java/org/eclipse/jetty/server/session/jmx/ |
H A D | AbstractSessionManagerMBean.java | 19 package org.eclipse.jetty.server.session.jmx; 24 import org.eclipse.jetty.server.session.AbstractSessionManager; 25 import org.eclipse.jetty.server.session.SessionHandler;
|
/external/kernel-headers/original/uapi/linux/ |
H A D | if_pppolac.h | 29 __u16 tunnel, session; member in struct:sockaddr_pppolac::__anon6885
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/command/ |
H A D | CommandHandler.java | 18 import org.mockftpserver.core.session.Session;
30 * Handle the specified command for the session. This method is declared to throw
36 * @param session - the session on which the Command was submitted
40 public void handleCommand(Command command, Session session) throws Exception;
argument
|
H A D | ConnectCommandHandler.java | 18 import org.mockftpserver.core.session.Session;
42 * @see AbstractTrackingCommandHandler#handleCommand(Command, org.mockftpserver.core.session.Session, InvocationRecord)
44 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
argument 45 sendReply(session);
|
H A D | UnsupportedCommandHandler.java | 18 import org.mockftpserver.core.session.Session;
42 * @see org.mockftpserver.core.command.AbstractTrackingCommandHandler#handleCommand(org.mockftpserver.core.command.Command, org.mockftpserver.core.session.Session, org.mockftpserver.core.command.InvocationRecord)
44 public void handleCommand(Command command, Session session, InvocationRecord invocationRecord) {
argument 46 sendReply(session, command.getName());
|
/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 | AcctCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
28 * <li>Store the account name in the session and reply with 230</li>
36 protected void handle(Command command, Session session) {
argument 38 String username = (String) getRequiredSessionAttribute(session, SessionKeys.USERNAME);
40 session.setAttribute(SessionKeys.ACCOUNT_NAME, accountName);
41 sendReply(session, ReplyCodes.ACCT_OK, "acct", list(username));
|
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 | CdupCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
29 * <li>Otherwise, reply with 200 and change the current directory stored in the session to the parent directory</li>
37 protected void handle(Command command, Session session) {
argument 38 verifyLoggedIn(session);
39 String currentDirectory = (String) getRequiredSessionAttribute(session, SessionKeys.CURRENT_DIRECTORY);
47 verifyExecutePermission(session, path);
49 session.setAttribute(SessionKeys.CURRENT_DIRECTORY, path);
50 sendReply(session, ReplyCodes.CDUP_OK, "cdup", list(path));
|
H A D | CwdCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
30 * <li>Otherwise, reply with 250 and change the current directory stored in the session</li>
39 protected void handle(Command command, Session session) {
argument 40 verifyLoggedIn(session);
41 String path = getRealPath(session, command.getRequiredParameter(0));
48 verifyExecutePermission(session, path);
50 session.setAttribute(SessionKeys.CURRENT_DIRECTORY, path);
51 sendReply(session, ReplyCodes.CWD_OK, "cwd", list(path));
|
H A D | DeleCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
38 protected void handle(Command command, Session session) {
argument 39 verifyLoggedIn(session);
40 String path = getRealPath(session, command.getRequiredParameter(0));
46 verifyWritePermission(session, getFileSystem().getParent(path));
49 sendReply(session, ReplyCodes.DELE_OK, "dele", list(path));
|
H A D | EprtCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
40 protected void handle(Command command, Session session) {
argument 44 session.setClientDataHost(client.host);
45 session.setClientDataPort(client.port);
46 sendReply(session, ReplyCodes.EPRT_OK, "eprt");
|
H A D | EpsvCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
39 protected void handle(Command command, Session session) {
argument 40 verifyLoggedIn(session);
41 int port = session.switchToPassiveMode();
42 InetAddress server = session.getServerHost();
44 sendReply(session, ReplyCodes.EPSV_OK, "epsv", list(Integer.toString(port)));
|
H A D | HelpCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
44 protected void handle(Command command, Session session) {
argument 49 sendReply(session, ReplyCodes.HELP_OK, "help.noHelpTextDefined", list(key));
51 sendReply(session, ReplyCodes.HELP_OK, "help", list(help));
|
H A D | ListCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
49 protected void handle(Command command, Session session) {
argument 50 verifyLoggedIn(session);
51 sendReply(session, ReplyCodes.TRANSFER_DATA_INITIAL_OK);
53 String path = getRealPath(session, command.getParameter(0));
58 verifyReadPermission(session, path);
72 session.openDataConnection();
74 session.sendData(result.getBytes(), result.length());
75 session.closeDataConnection();
77 sendReply(session, ReplyCode [all...] |
H A D | MkdCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
40 protected void handle(Command command, Session session) {
argument 41 verifyLoggedIn(session);
42 String path = getRealPath(session, command.getRequiredParameter(0));
50 verifyWritePermission(session, parent);
53 verifyExecutePermission(session, parent);
57 dirEntry.setPermissions(getUserAccount(session).getDefaultPermissionsForNewDirectory());
59 sendReply(session, ReplyCodes.MKD_OK, "mkd", list(path));
|
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 | NlstCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
47 protected void handle(Command command, Session session) {
argument 48 verifyLoggedIn(session);
49 sendReply(session, ReplyCodes.TRANSFER_DATA_INITIAL_OK);
50 String path = getRealPath(session, command.getParameter(0));
55 verifyReadPermission(session, path);
63 session.openDataConnection();
64 session.sendData(directoryListing.getBytes(), directoryListing.length());
65 session.closeDataConnection();
67 sendReply(session, ReplyCode [all...] |
H A D | NoopCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
33 protected void handle(Command command, Session session) {
argument 34 sendReply(session, ReplyCodes.NOOP_OK, "noop");
|
H A D | PassCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
21 import org.mockftpserver.core.session.SessionKeys;
39 protected void handle(Command command, Session session) {
argument 41 String username = (String) getRequiredSessionAttribute(session, SessionKeys.USERNAME);
43 if (validateUserAccount(username, session)) {
48 login(userAccount, session, replyCode, replyMessageKey);
50 sendReply(session, ReplyCodes.PASS_LOG_IN_FAILED, "pass.loginFailed");
|
H A D | PasvCommandHandler.java | 20 import org.mockftpserver.core.session.Session;
41 protected void handle(Command command, Session session) {
argument 42 verifyLoggedIn(session);
44 int port = session.switchToPassiveMode();
45 InetAddress server = session.getServerHost();
49 sendReply(session, ReplyCodes.PASV_OK, "pasv", list(hostAndPort));
|