Searched refs:connections (Results 1 - 25 of 36) sorted by relevance

12

/external/chromium_org/content/common/
H A Ddatabase_connections_unittest.cc47 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
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DConnectionPool.java32 * 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
[all...]
/external/chromium_org/extensions/renderer/resources/
H A Dserial_custom_bindings.js26 // 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());
H A Dserial_service.js22 * interface to serial connections and information about serial devices. This
145 getConnections().then(function(connections) {
146 connections[this.id_] = this;
209 return getConnections().then(function(connections) {
210 delete connections[this.id_];
401 // supporting persistent connections by stashing them.
407 return getConnections().then(function(connections) {
408 if (!connections[id])
410 return connections[id];
/external/chromium_org/third_party/libevent/
H A Devrpc-internal.h79 struct evconq connections; member in struct:evrpc_pool
H A Devrpc.c389 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);
H A Dhttp-internal.h80 /* 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/
H A Dopenssl_helper.cc191 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/
H A Dxmppserver_test.py240 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),
[all...]
/external/chromium_org/extensions/browser/api/serial/
H A Dserial_event_dispatcher.cc66 params.connections = connections_;
77 params.connections->Get(params.extension_id, params.connection_id);
117 params.connections->Get(params.extension_id, params.connection_id);
H A Dserial_event_dispatcher.h24 // 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/third_party/webrtc/base/
H A Dhttpserver.cc80 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/
H A Ddatabase_connections.h43 const DatabaseConnections& connections,
53 // Returns a list of the connections, <origin_id, name>.
70 // ability to wait until all connections have closed.
H A Ddatabase_connections.cc60 const DatabaseConnections& connections,
63 connections.connections_.begin();
64 origin_it != connections.connections_.end();
59 RemoveConnections( const DatabaseConnections& connections, std::vector<std::pair<std::string, base::string16> >* closed_dbs) argument
/external/chromium_org/chrome/browser/ui/webui/
H A Dgcm_internals_ui.cc45 const std::vector<gcm::ConnectionActivity>& connections,
47 std::vector<gcm::ConnectionActivity>::const_iterator it = connections.begin();
48 for (; it < connections.end(); ++it) {
44 SetConnectionInfo( const std::vector<gcm::ConnectionActivity>& connections, base::ListValue* connection_info) argument
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
H A Dbasicportallocator.cc549 // 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
[all...]
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/thirdparty/irc/
H A Dirclib.py35 * 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/nanohttpd/
H A DREADME.md20 * 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/third_party/sqlite/src/
H A Dconfigure.ac259 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/wpa_supplicant_8/hostapd/src/eap_server/
H A Dtncs.c99 struct tncs_data *connections; member in struct:tncs_global
128 tncs = tncs_global_data->connections;
1077 tncs->next = tncs_global_data->connections;
1078 tncs_global_data->connections = tncs;
1096 conn = tncs_global_data->connections;
1102 tncs_global_data->connections = tncs->next;
/external/wpa_supplicant_8/src/eap_server/
H A Dtncs.c99 struct tncs_data *connections; member in struct:tncs_global
128 tncs = tncs_global_data->connections;
1077 tncs->next = tncs_global_data->connections;
1078 tncs_global_data->connections = tncs;
1096 conn = tncs_global_data->connections;
1102 tncs_global_data->connections = tncs->next;
/external/wpa_supplicant_8/wpa_supplicant/src/eap_server/
H A Dtncs.c99 struct tncs_data *connections; member in struct:tncs_global
128 tncs = tncs_global_data->connections;
1077 tncs->next = tncs_global_data->connections;
1078 tncs_global_data->connections = tncs;
1096 conn = tncs_global_data->connections;
1102 tncs_global_data->connections = tncs->next;
/external/chromium_org/extensions/test/data/
H A Dserial_unittest.js243 serial.getConnections(test.callbackPass(function(connections) {
245 test.assertEq(1, connections.length);
246 checkConnectionInfo(connections[0]);
/external/chromium_org/storage/browser/database/
H A Ddatabase_tracker.cc186 void DatabaseTracker::CloseDatabases(const DatabaseConnections& connections) { argument
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);
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
H A D__init__.py799 self.connections = {}
1005 if conn_key in self.connections:
1006 conn = self.connections[conn_key]
1012 conn = self.connections[conn_key] = connection_type(authority, key_file=certs[0][0],
1015 conn = self.connections[conn_key] = connection_type(authority, timeout=self.timeout, proxy_info=self.proxy_info)

Completed in 620 milliseconds

12