Searched defs:connections (Results 1 - 16 of 16) sorted by relevance

/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/chromium_org/extensions/browser/api/serial/
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/libevent/
H A Devrpc-internal.h79 struct evconq connections; member in struct:evrpc_pool
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/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/storage/common/database/
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/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/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/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/
H A DConnectionPoolTest.java352 // Add 3 connections to the pool.
387 // Add 3 connections to the pool.
395 // With no method calls made to the pool it will not clean up any connections.
401 // Change the pool into a mode that will clean up connections.
412 // All connections should have drained.
449 private void assertPooled(ConnectionPool pool, Connection... connections) throws Exception { argument
450 assertEquals(Arrays.asList(connections), pool.getConnections());
/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/third_party/libjingle/source/talk/p2p/base/
H A Dport.h122 // connections to similar mechanisms of the other client. Subclasses of this
219 // can't be used in establishing the connections. When port is in shared mode
225 // Returns a map containing all of the connections of this port, keyed by the
228 const AddressMap& connections() { return connections_; } function in class:cricket::Port
268 // Called if the port has no connections and is no longer useful.
356 // Called when one of our connections deletes itself.
446 // be false for TCP connections.
H A Dtransport.cc689 size_t connections = channel->GetConnectionCount(); local
690 if (connections == 0) {
692 // connections.
702 // connections.
/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/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;

Completed in 8004 milliseconds