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

123

/external/autotest/frontend/afe/
H A Dreadonly_connection.py8 # establish connections outside of Django, as that might lead to effects where
9 # connections get leaked, which will lead to Django not cleaning them up
17 """Disable and enable the use of readonly connections globally.
22 @param disable: When True, readonly connections will be disabled.
30 return django_db.connections['global']
31 return django_db.connections['readonly']
/external/autotest/frontend/
H A Dsetup_django_environment.py12 from django.db import connections namespace
14 connections[name].cursor()
15 connections[name].connection.autocommit(True)
H A Dsetup_test_environment.py18 from django.db import connections namespace
21 connection = connections['default']
22 connection_readonly = connections['readonly']
23 connection_global = connections['global']
24 connection_server = connections['server']
/external/curl/docs/cmdline-opts/
H A Dinsecure.d3 Help: Allow insecure connections when using SSL
6 This option explicitly allows curl to perform "insecure" SSL connections and
7 transfers. All SSL connections are attempted to be made secure by using the CA
8 certificate bundle installed by default. This makes all connections considered
H A Degd-file.d7 used to seed the random engine for SSL connections.
H A Dcapath.d11 OpenSSL-powered curl to make SSL-connections much more efficiently than using
/external/libmicrohttpd/src/examples/
H A Dmhd2spdy_spdy.h74 struct SPDY_Connection *connections[],
83 struct SPDY_Connection *connections[],
90 struct SPDY_Connection *connections[],
98 struct SPDY_Connection *connections[],
H A Dmhd2spdy.c80 struct SPDY_Connection *connections[MAX_SPDY_CONNECTIONS]; local
163 connections, MAX_SPDY_CONNECTIONS, &spdy_npollfds);
185 spdy_run_select(&rs, &ws, &es, connections, spdy_npollfds);
H A Dmhd2spdy_spdy.c911 struct SPDY_Connection *connections[],
942 connections[*real_size] = glob_opt.spdy_connection;
971 connections[*real_size] = connection;
986 struct SPDY_Connection *connections[],
1014 connections[*real_size] = glob_opt.spdy_connection;
1041 connections[*real_size] = connection;
1057 struct SPDY_Connection *connections[],
1066 // PRINT_INFO2("exec about to be called for %s", connections[i]->host);
1069 ret = spdy_exec_io(connections[i]);
1079 glob_opt.streams_opened -= connections[
983 spdy_get_selectfdset(fd_set * read_fd_set, fd_set * write_fd_set, fd_set * except_fd_set, struct SPDY_Connection *connections[], unsigned int max_size, nfds_t *real_size) argument
1108 spdy_run_select(fd_set * read_fd_set, fd_set * write_fd_set, fd_set * except_fd_set, struct SPDY_Connection *connections[], int size) argument
[all...]
/external/ltp/testcases/network/stress/ssh/
H A Dssh-stress01-rmt29 tst_brkm TBROK "Usage: $0 ipver rhost config connections"
35 connections="$4"
42 # Make ssh connections
44 while [ $num -lt $connections ]; do
H A Dssh-stress02-rmt30 tst_brkm TBROK "Usage: $0 ipver rhost config connections duration"
36 connections="$4"
53 if [ $ssh_num -ge $connections ]; then
/external/ltp/testcases/network/stress/http/
H A Dhttp-stress02-rmt30 tst_brkm TBROK "Usage: $0 server_addr fname fsize duration connections"
37 connections="$5"
54 if [ $http_num -ge $connections ]; then
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DConnectionPool.java36 * Manages reuse of HTTP and SPDY connections for reduced network latency. HTTP
38 * {@link Connection}. This class implements the policy of which connections to
44 * <li>{@code http.keepAlive} true if HTTP and SPDY connections should be
46 * <li>{@code http.maxConnections} maximum number of idle connections to
55 * parameters do so before making HTTP connections, and that this class is
80 * A background thread is used to cleanup expired connections. There will be, at most, a single
88 /** The maximum number of idle connections for each address. */
110 private final Deque<RealConnection> connections = new ArrayDeque<>(); field in class:ConnectionPool
131 /** Returns the number of idle connections in the pool. */
134 for (RealConnection connection : connections) {
[all...]
/external/curl/tests/libtest/
H A Dlib1533.c103 long connections = 0; local
111 res = curl_easy_getinfo(curl, CURLINFO_NUM_CONNECTS, &connections);
117 fprintf(stderr, "%s: expected: %ld connections; actual: %ld connections\n",
118 description, expected_connections, connections);
120 if(connections != expected_connections) {
/external/autotest/server/cros/network/rf_switch/
H A Drf_switch.py264 """Get a list of AP to client connections.
266 @returns tuple of dict of connections ({'AP': 1, 'Client': 1}, ...)
272 # Find out the connections
273 connections = []
281 connections.append(connection)
282 return tuple(connections)
285 """Get a list of AP to client connections.
287 @returns tuple of dict of connections ({'AP': 1, 'Client': 1}, ...)
293 # Find out the connections
294 connections
[all...]
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/bluetooth/
H A DBluetoothRfcommFacade.java63 connections = new HashMap<String, BluetoothConnection>(); field in class:BluetoothRfcommFacade
78 conn = connections.get(connID);
79 } else if (connections.size() == 1) {
80 conn = (BluetoothConnection) connections.values().toArray()[0];
90 connections.put(uuid, conn);
177 @Rpc(description = "Returns active Bluetooth connections.")
180 for (Map.Entry<String, BluetoothConnection> entry : connections.entrySet()) {
220 connections.remove(conn.getUUID());
235 connections.remove(conn.getUUID());
253 connections
[all...]
/external/webrtc/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/libevent/
H A Devrpc-internal.h90 struct evconq connections; member in struct:evrpc_pool
H A Dhttp-internal.h92 /* for server connections, the http server they are connected with */
119 /* both the http server as well as the rpc system need to queue connections */
145 /* All live connections on this host. */
146 struct evconq connections; member in struct:evhttp
H A Devrpc.c516 TAILQ_INIT(&pool->connections);
558 while ((connection = TAILQ_FIRST(&pool->connections)) != NULL) {
559 TAILQ_REMOVE(&pool->connections, connection, next);
586 TAILQ_INSERT_TAIL(&pool->connections, connection, next);
603 * connections.
618 TAILQ_REMOVE(&pool->connections, connection, next);
625 TAILQ_FOREACH(evcon, &pool->connections, next) {
643 TAILQ_FOREACH(connection, &pool->connections, next) {
809 /* we better have some available connections on the pool */
810 EVUTIL_ASSERT(TAILQ_FIRST(&pool->connections) !
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_epoll.py47 self.connections = [self.serverSocket]
51 for skt in self.connections:
65 self.connections.extend((client, server))
H A Dtest_cpickle.py223 n.connections = list(nodes)
224 n.connections.remove(n)
/external/autotest/contrib/
H A Ddb_cleanup.py17 from django.db import connections, transaction namespace
59 cursor = connections['default'].cursor()
/external/autotest/tko/
H A Dsite_parse_unittest.py27 from django.db import connections namespace
135 for query in connections[database].queries:
/external/mesa3d/src/vulkan/wsi/
H A Dwsi_common_x11.c60 struct hash_table *connections; member in struct:wsi_x11
149 struct hash_entry *entry = _mesa_hash_table_search(wsi->connections, conn);
163 entry = _mesa_hash_table_search(wsi->connections, conn);
168 entry = _mesa_hash_table_insert(wsi->connections, conn, wsi_conn);
1117 wsi->connections = _mesa_hash_table_create(NULL, _mesa_hash_pointer,
1119 if (!wsi->connections) {
1155 hash_table_foreach(wsi->connections, entry)
1158 _mesa_hash_table_destroy(wsi->connections, NULL);

Completed in 739 milliseconds

123