HomeSort by relevance Sort by last modified time
    Searched refs:connections (Results 1 - 25 of 49) sorted by null

1 2

  /external/chromium_org/content/common/
database_connections_unittest.cc 47 DatabaseConnections connections; local
49 EXPECT_TRUE(connections.IsEmpty());
50 EXPECT_FALSE(connections.IsDatabaseOpened(kOriginId, kName));
51 EXPECT_FALSE(connections.IsOriginUsed(kOriginId));
53 connections.AddConnection(kOriginId, kName);
54 EXPECT_FALSE(connections.IsEmpty());
55 EXPECT_TRUE(connections.IsDatabaseOpened(kOriginId, kName));
56 EXPECT_TRUE(connections.IsOriginUsed(kOriginId));
57 EXPECT_EQ(0, connections.GetOpenDatabaseSize(kOriginId, kName));
58 connections.SetOpenDatabaseSize(kOriginId, kName, kSize)
    [all...]
  /external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
ConnectionPool.java 32 * Manages reuse of HTTP and SPDY connections for reduced network latency. HTTP
35 * which connections to keep open for future use.
40 * <li>{@code http.keepAlive} true if HTTP and SPDY connections should be
42 * <li>{@code http.maxConnections} maximum number of idle connections to
51 * parameters do so before making HTTP connections, and that this class is
75 /** The maximum number of idle connections for each address. */
79 private final LinkedList<Connection> connections = new LinkedList<Connection>(); field in class:ConnectionPool
81 /** We use a single background thread to cleanup expired connections. */
89 * clean up. A pool left in this state and unused may contain idle connections indefinitely.
94 * references held by existing connections. See {@link #enterDrainMode()}
321 List<Connection> connections; local
    [all...]
  /external/chromium_org/third_party/libevent/
evrpc-internal.h 79 struct evconq connections; member in struct:evrpc_pool
evrpc.c 389 TAILQ_INIT(&pool->connections);
421 while ((connection = TAILQ_FIRST(&pool->connections)) != NULL) {
422 TAILQ_REMOVE(&pool->connections, connection, next);
446 TAILQ_INSERT_TAIL(&pool->connections, connection, next);
463 * connections.
478 TAILQ_FOREACH(evcon, &pool->connections, next) {
496 TAILQ_FOREACH(connection, &pool->connections, next) {
572 /* we better have some available connections on the pool */
573 assert(TAILQ_FIRST(&pool->connections) != NULL);
http-internal.h 80 /* for server connections, the http server they are connected with */
103 /* both the http server as well as the rpc system need to queue connections */
117 struct evconq connections; member in struct:evhttp
  /external/chromium_org/net/test/
openssl_helper.cc 191 for (unsigned connections = 0; connections < connection_limit;
192 connections++) {
200 SSL_set_session_id_context(server, (unsigned char*) &connections,
201 sizeof(connections));
232 if (!npn_mispredict || connections == 0) {
  /external/chromium_org/sync/tools/testserver/
xmppserver_test.py 240 self.connections = set()
245 self.connections.add(xmpp_connection)
248 self.connections.discard(xmpp_connection)
251 for connection in self.connections:
259 self.assertEqual(len(self.connections), 0)
262 self.assertEqual(len(self.connections), 1)
296 self.assertEqual(len(self.connections), 0)
303 self.assertEqual(len(self.connections), 0)
306 self.assertEqual(len(self.connections), 0)
316 self.assertEqual(len(self.connections), 0
    [all...]
  /external/chromium_org/extensions/browser/api/serial/
serial_event_dispatcher.cc 66 params.connections = connections_;
77 params.connections->Get(params.extension_id, params.connection_id);
117 params.connections->Get(params.extension_id, params.connection_id);
serial_event_dispatcher.h 24 // Per-browser-context dispatcher for events on serial connections.
55 scoped_refptr<ConnectionData> connections; member in struct:extensions::core_api::SerialEventDispatcher::ReceiveParams
  /external/chromium_org/extensions/renderer/resources/
serial_custom_bindings.js 26 // is necessary for serial connections created in one window to be usable
94 }).then(function(connections) {
96 for (var id in connections) {
97 promises.push(connections[id].getInfo());
  /external/chromium_org/third_party/webrtc/base/
httpserver.cc 80 std::list<Connection*> connections; local
83 connections.push_back(it->second);
85 for (std::list<Connection*>::const_iterator it = connections.begin();
86 it != connections.end(); ++it) {
  /external/chromium_org/storage/common/database/
database_connections.h 43 const DatabaseConnections& connections,
53 // Returns a list of the connections, <origin_id, name>.
70 // ability to wait until all connections have closed.
database_connections.cc 60 const DatabaseConnections& connections,
63 connections.connections_.begin();
64 origin_it != connections.connections_.end();
  /external/chromium_org/chrome/browser/ui/webui/
gcm_internals_ui.cc 45 const std::vector<gcm::ConnectionActivity>& connections,
47 std::vector<gcm::ConnectionActivity>::const_iterator it = connections.begin();
48 for (; it < connections.end(); ++it) {
  /external/chromium_org/third_party/libjingle/source/talk/p2p/client/
basicportallocator.cc 549 // to listners, to allow connections from this port.
690 std::vector<Connection*> connections; local
699 for (iter = ports[i]->connections().begin();
700 iter != ports[i]->connections().end();
702 connections.push_back(iter->second);
707 << connections.size() << " connections";
709 for (size_t i = 0; i < connections.size(); ++i)
710 connections[i]->Destroy();
712 if (running_ || (ports.size() > 0) || (connections.size() > 0)
    [all...]
  /external/chromium_org/third_party/webrtc/tools/rtcbot/bot/
api.js 25 // peer connections. This methods helps work around that by allowing one to
  /external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/irc/
irclib.py 35 * Handles multiple simultaneous IRC server connections.
82 # send data asynchronously to the server (and DCC connections)
83 # (maybe) automatically close unused, passive DCC connections after a while
97 """Class that handles one or several IRC server connections.
100 Connection objects that represent the IRC connections. The
102 framework for the connections and to keep the connections alive.
158 self.connections = []
168 self.connections.append(c)
181 for c in self.connections
    [all...]
  /external/chromium_org/remoting/webapp/
plugin_settings.js 44 /** @type {boolean} Whether to use TLS on connections to the XMPP server. */
client_plugin.js 62 * @param {string} clientPairingId For paired Me2Me connections, the
64 * @param {string} clientPairedSecret For paired Me2Me connections, the
  /external/chromium_org/remoting/webapp/unittests/
it2me_service_unittest.js 75 test('should handle multiple helper connections', function() {
  /external/nanohttpd/
README.md 20 * Doesn't limit bandwidth, request time or simultaneous connections.
24 * Persistent connections (Connection "keep-alive") support allowing multiple requests to be served over a single socket connection.
  /external/chromium_org/content/browser/resources/media/
webrtc_internals.js 104 // Requests stats from all peer connections every second.
228 * Adds the information of all peer connections created so far.
231 * connections. Each array item contains pid, lid, url, rtcConfiguration,
  /external/chromium_org/third_party/sqlite/src/
configure.ac 259 AC_ARG_ENABLE(cross-thread-connections,
260 AC_HELP_STRING([--enable-cross-thread-connections],[Allow connection sharing across threads]),,enable_xthreadconnect=no)
261 AC_MSG_CHECKING([whether to allow connections to be shared across threads])
  /external/chromium_org/tools/measure_page_load_time/ff_ext/content/
measure_page_load_time.js 8 * 42492 for connections, then accepts URLs and returns strings of the
24 PORT_NUMBER : 42492, // port to listen for connections on
40 * Listener to accept incoming connections
  /external/chromium_org/storage/browser/database/
database_tracker.cc 186 void DatabaseTracker::CloseDatabases(const DatabaseConnections& connections) {
188 DCHECK(!is_initialized_ || connections.IsEmpty());
195 // We need to examine what we have in connections for the
199 connections.ListConnections(&open_dbs);
205 database_connections_.RemoveConnections(connections, &closed_dbs);

Completed in 1139 milliseconds

1 2