/external/libmicrohttpd/doc/chapters/ |
D | sessions.inc | 1 This chapter discusses how one should manage sessions, that is, share state between multiple 5 many concurrent sessions at the same time. 47 server must thus discard inactive sessions at some point. Our example 48 implements this by discarding inactive sessions after a certain amount 50 of active sessions. Which bounds are used for idle sessions or the 51 total number of sessions obviously depends largely on the type of 59 as the example @code{sessions.c}. 62 look up sessions and to expire old sessions. Using a hash table and a 64 sessions is expected. 70 associated with long-time idle sessions (where the business process
|
/external/conscrypt/common/src/main/java/org/conscrypt/ |
D | AbstractSessionContext.java | 63 private final Map<ByteArray, SSLSession> sessions = new LinkedHashMap<ByteArray, SSLSession>() { field in AbstractSessionContext 89 synchronized (sessions) { in sessionIterator() 90 SSLSession[] array = sessions.values().toArray( in sessionIterator() 91 new SSLSession[sessions.size()]); in sessionIterator() 144 synchronized (sessions) { in trimToSize() 145 int size = sessions.size(); in trimToSize() 148 Iterator<SSLSession> i = sessions.values().iterator(); in trimToSize() 166 synchronized (sessions) { in setSessionTimeout() 167 Iterator<SSLSession> i = sessions.values().iterator(); in setSessionTimeout() 373 synchronized (sessions) { in getSession() [all …]
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/internal/html/page/ |
D | SessionsPageTest.java | 84 final List<SessionInfo> sessions = new ArrayList<SessionInfo>(); in testSessionListContent() local 85 sessions.add(new SessionInfo("Session-A", 0, 0)); in testSessionListContent() 86 sessions.add(new SessionInfo("Session-B", 0, 0)); in testSessionListContent() 87 sessions.add(new SessionInfo("Session-C", 0, 0)); in testSessionListContent() 88 final SessionsPage page = new SessionsPage(sessions, noExecutionData, in testSessionListContent()
|
/external/mockftpserver/tags/2.0-rc3/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 159 sessions.put(session, sessionInfo); in run() 178 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run() 180 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run() 305 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
|
/external/mockftpserver/tags/2.0-rc1/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 119 private Map sessions = new HashMap(); field in AbstractFtpServer 180 sessions.put(session, sessionInfo); in run() 199 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run() 201 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run() 326 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in isShutdown()
|
/external/mockftpserver/tags/2.0-rc1/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 159 sessions.put(session, sessionInfo); in run() 178 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in run() 180 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run() 305 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
|
/external/mockftpserver/tags/2.0/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 159 sessions.put(session, sessionInfo); in run() 178 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run() 180 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run() 305 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown()
|
/external/jacoco/org.jacoco.report.test/src/org/jacoco/report/ |
D | ReportStructureTestDriver.java | 39 private final List<SessionInfo> sessions = Collections.emptyList(); field in ReportStructureTestDriver 97 reportVisitor.visitInfo(sessions, executionData); in sendNestedGroups() 106 reportVisitor.visitInfo(sessions, executionData); in sendGroup() 118 reportVisitor.visitInfo(sessions, executionData); in sendBundle()
|
/external/libmicrohttpd/doc/ |
D | libmicrohttpd-tutorial.texi | 106 @include chapters/sessions.inc 129 * sessions.c:: 169 @node sessions.c 170 @section sessions.c 172 @verbatiminclude examples/sessions.c
|
/external/mockftpserver/tags/2.0.1/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 159 sessions.put(session, sessionInfo); in run() 291 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown() 323 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
|
/external/mockftpserver/tags/2.2/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 159 sessions.put(session, sessionInfo); in run() 306 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown() 338 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
|
/external/mockftpserver/tags/2.1/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 159 sessions.put(session, sessionInfo); in run() 301 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown() 333 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
|
/external/mockftpserver/tags/2.0.2/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 159 sessions.put(session, sessionInfo); in run() 292 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown() 324 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
|
/external/conscrypt/openjdk/src/test/java/org/conscrypt/ |
D | ClientSessionContextTest.java | 128 Set<SSLSession> sessions = new HashSet<SSLSession>(); in assertSessionContextContents() local 132 sessions.add(context.getSession(id)); in assertSessionContextContents() 136 for (SSLSession s : sessions) { in assertSessionContextContents() 139 assertEquals(expected, sessions); in assertSessionContextContents()
|
/external/libmicrohttpd/doc/examples/ |
D | sessions.c | 159 static struct Session *sessions; variable 180 ret = sessions; in get_session() 211 ret->next = sessions; in get_session() 212 sessions = ret; in get_session() 692 pos = sessions; in expire_sessions() 700 sessions = pos->next; in expire_sessions()
|
/external/libmicrohttpd/src/examples/ |
D | post_example.c | 137 static struct Session *sessions; variable 158 ret = sessions; in get_session() 189 ret->next = sessions; in get_session() 190 sessions = ret; in get_session() 675 pos = sessions; in expire_sessions() 683 sessions = pos->next; in expire_sessions()
|
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 99 private Map sessions = new HashMap(); field in AbstractFtpServer 163 sessions.put(session, sessionInfo); in run() 318 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown() 350 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
|
/external/mockftpserver/tags/2.4/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 99 private Map sessions = new HashMap(); field in AbstractFtpServer 163 sessions.put(session, sessionInfo); in run() 318 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown() 350 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
|
/external/mockftpserver/tags/2.3/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 98 private Map sessions = new HashMap(); field in AbstractFtpServer 162 sessions.put(session, sessionInfo); in run() 317 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown() 349 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
|
/external/mockftpserver/tags/2.5/src/main/java/org/mockftpserver/core/server/ |
D | AbstractFtpServer.java | 99 private Map sessions = new HashMap(); field in AbstractFtpServer 163 sessions.put(session, sessionInfo); in run() 318 for (Iterator iter = sessions.values().iterator(); iter.hasNext();) { in isShutdown() 350 for (Iterator iter = sessions.entrySet().iterator(); iter.hasNext();) { in closeSessions()
|
/external/openssh/ |
D | session.c | 151 static Session *sessions = NULL; variable 1901 memset(&sessions[id], 0, sizeof(*sessions)); in session_unused() 1902 sessions[id].self = id; in session_unused() 1903 sessions[id].used = 0; in session_unused() 1904 sessions[id].chanid = -1; in session_unused() 1905 sessions[id].ptyfd = -1; in session_unused() 1906 sessions[id].ttyfd = -1; in session_unused() 1907 sessions[id].ptymaster = -1; in session_unused() 1908 sessions[id].x11_chanids = NULL; in session_unused() 1909 sessions[id].next_unused = sessions_first_unused; in session_unused() [all …]
|
/external/mockftpserver/tags/1.1/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 155 private Map sessions = new HashMap(); field in StubFtpServer 236 sessions.put(session, sessionInfo); in run() 253 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run() 255 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run() 367 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in isShutdown()
|
/external/mockftpserver/tags/1.0/src/main/java/org/mockftpserver/stub/ |
D | StubFtpServer.java | 154 private Map sessions = new HashMap(); field in StubFtpServer 235 sessions.put(session, sessionInfo); in run() 252 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in run() 254 SessionInfo sessionInfo = (SessionInfo) sessions.get(session); in run() 358 for (Iterator iter = sessions.keySet().iterator(); iter.hasNext();) { in isShutdown()
|
/external/autotest/client/site_tests/login_RetrieveActiveSessions/ |
D | control | 15 records which sessions are active and returns them upon request. 17 with different user names, and query the active sessions each time.
|
/external/webrtc/talk/session/media/ |
D | srtpfilter.cc | 501 sessions()->push_back(this); in SrtpSession() 509 sessions()->erase(std::find(sessions()->begin(), sessions()->end(), this)); in ~SrtpSession() 794 for (std::list<SrtpSession*>::iterator it = sessions()->begin(); in HandleEventThunk() 795 it != sessions()->end(); ++it) { in HandleEventThunk() 803 std::list<SrtpSession*>* SrtpSession::sessions() { in sessions() function in cricket::SrtpSession 804 RTC_DEFINE_STATIC_LOCAL(std::list<SrtpSession*>, sessions, ()); in sessions() 805 return &sessions; in sessions()
|