Home
last modified time | relevance | path

Searched refs:connections (Results 1 – 25 of 156) sorted by relevance

1234567

/external/chromium_org/content/common/
Ddatabase_connections_unittest.cc47 DatabaseConnections connections; in TEST() local
49 EXPECT_TRUE(connections.IsEmpty()); in TEST()
50 EXPECT_FALSE(connections.IsDatabaseOpened(kOriginId, kName)); in TEST()
51 EXPECT_FALSE(connections.IsOriginUsed(kOriginId)); in TEST()
53 connections.AddConnection(kOriginId, kName); in TEST()
54 EXPECT_FALSE(connections.IsEmpty()); in TEST()
55 EXPECT_TRUE(connections.IsDatabaseOpened(kOriginId, kName)); in TEST()
56 EXPECT_TRUE(connections.IsOriginUsed(kOriginId)); in TEST()
57 EXPECT_EQ(0, connections.GetOpenDatabaseSize(kOriginId, kName)); in TEST()
58 connections.SetOpenDatabaseSize(kOriginId, kName, kSize); in TEST()
[all …]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionPool.java79 private final LinkedList<Connection> connections = new LinkedList<Connection>(); field in ConnectionPool
121 if (connections.size() > 0) {
146 for (ListIterator<Connection> i = connections.listIterator(connections.size());
158 for (ListIterator<Connection> i = connections.listIterator(connections.size());
187 return new ArrayList<Connection>(connections); in getConnections()
212 return connections.size(); in getConnectionCount()
218 for (Connection connection : connections) { in getSpdyConnectionCount()
227 for (Connection connection : connections) { in getHttpConnectionCount()
236 for (ListIterator<Connection> i = connections.listIterator(connections.size()); in get()
260 connections.addFirst(foundConnection); // Add it back after iteration. in get()
[all …]
/external/qemu/docs/
DANDROID-ADB-QEMU.TXT8 network connections, in which case connection between the ADB host, and ADB
25 is the 'base port' + 1), and is responsible for accepting connections coming from
26 the ADB host, and associatiating accepted connections with an ADB client.
29 accepting connections coming from the ADB daemon running in the guest, and
30 associating accepted connections with ADB server.
48 connections are made, ADB server runs a list of pending host and guest
49 connections. Every time either connection is made, that connection goes into a
/external/chromium_org/net/test/
Dopenssl_helper.cc191 for (unsigned connections = 0; connections < connection_limit; in main() local
192 connections++) { in main()
200 SSL_set_session_id_context(server, (unsigned char*) &connections, in main()
201 sizeof(connections)); in main()
232 if (!npn_mispredict || connections == 0) { in main()
/external/iptables/extensions/
Dlibxt_connlimit.man1 Allows you to restrict the number of parallel connections to a server per
5 Match if the number of existing connections is below or equal \fIn\fP.
8 Match if the number of existing connections is above \fIn\fP.
24 # allow 2 telnet connections per client host
40 # Limit the number of connections to a particular host:
Dlibxt_MASQUERADE.man6 connections: if you have a static IP address, you should use the SNAT
9 effect that connections are
13 any established connections are lost anyway).
Dlibxt_CONNSECMARK.man1 This module copies security markings from packets to connections
2 (if unlabeled), and from connections back to packets (also only
Dlibxt_connbytes.man13 NOTE that for connections which have no accounting information, the match will
15 whether \fBnew\fP connections will be byte/packet counted. Existing connection
/external/chromium_org/sync/tools/testserver/
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), 0)
/external/fio/
DSERVER-TODO1 - Collate ETA output from multiple connections into 1
2 - If group_reporting is set, collate final output from multiple connections
/external/chromium_org/extensions/renderer/resources/
Dserial_custom_bindings.js94 }).then(function(connections) { argument
96 for (var id in connections) {
97 promises.push(connections[id].getInfo());
Dserial_service.js145 getConnections().then(function(connections) { argument
146 connections[this.id_] = this;
209 return getConnections().then(function(connections) { argument
210 delete connections[this.id_];
407 return getConnections().then(function(connections) { argument
408 if (!connections[id])
410 return connections[id];
/external/chromium_org/ppapi/api/dev/
Dppp_network_state_dev.idl19 * unplugged, WiFi connections going up and down, or other events.
21 * Note that being "online" isn't a guarantee that any particular connections
/external/chromium_org/third_party/libevent/
Devrpc.c389 TAILQ_INIT(&pool->connections); in evrpc_pool_new()
421 while ((connection = TAILQ_FIRST(&pool->connections)) != NULL) { in evrpc_pool_free()
422 TAILQ_REMOVE(&pool->connections, connection, next); in evrpc_pool_free()
446 TAILQ_INSERT_TAIL(&pool->connections, connection, next); in evrpc_pool_add_connection()
478 TAILQ_FOREACH(evcon, &pool->connections, next) { in evrpc_pool_set_timeout()
496 TAILQ_FOREACH(connection, &pool->connections, next) { in evrpc_pool_find_connection()
573 assert(TAILQ_FIRST(&pool->connections) != NULL); in evrpc_make_request()
Devrpc-internal.h79 struct evconq connections; member
/external/chromium_org/third_party/webrtc/base/
Dhttpserver.cc80 std::list<Connection*> connections; in CloseAll() local
83 connections.push_back(it->second); in CloseAll()
85 for (std::list<Connection*>::const_iterator it = connections.begin(); in CloseAll()
86 it != connections.end(); ++it) { in CloseAll()
/external/chromium_org/extensions/browser/api/serial/
Dserial_event_dispatcher.cc66 params.connections = connections_; in PollConnection()
77 params.connections->Get(params.extension_id, params.connection_id); in StartReceive()
117 params.connections->Get(params.extension_id, params.connection_id); in ReceiveCallback()
/external/chromium_org/extensions/common/api/
Dsockets_tcp_server.idl6 // applications using TCP connections. This API supersedes the TCP functionality
127 // Enables or disables a listening socket from accepting new connections.
128 // When paused, a listening socket accepts new connections until its backlog
136 // Listens for connections on the specified port and address.
151 // Disconnects the listening socket, i.e. stops accepting new connections
154 // accept connections on a new port and address.
186 // for new connections on the socket address and port. Once this event is
/external/chromium_org/storage/common/database/
Ddatabase_connections.cc60 const DatabaseConnections& connections, in RemoveConnections() argument
63 connections.connections_.begin(); in RemoveConnections()
64 origin_it != connections.connections_.end(); in RemoveConnections()
/external/chromium_org/mojo/services/public/interfaces/native_viewport/
Dnative_viewport.mojom29 // Connect to this interface before any other connections are made to configure
33 // correct global initialization is done before subsequent connections.
/external/chromium_org/net/data/websocket/
DREADME34 websocket connections to the handler.
37 - multiple-connections.html : Verify that HTTP connection limits are not applied
66 connections to this handler.
/external/chromium_org/ppapi/api/private/
Dppb_tcp_server_socket_private.idl33 * length to which the queue of pending connections may
35 * accept incoming connections or in the case of failure. Returns
/external/chromium_org/third_party/sqlite/src/test/
Dtkt2565.test30 # Open two database connections to database "test.db".
43 # Open two database connections and create a single table in the db.
Dunixexcl.test30 # a process-wide exclusive lock is taken on it. This means other connections
31 # within the process may still access the db normally, but connections from
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
Dbasicportallocator.cc690 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))

1234567