/external/autotest/frontend/afe/ |
H A D | readonly_connection.py | 8 # 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 D | setup_django_environment.py | 12 from django.db import connections namespace 14 connections[name].cursor() 15 connections[name].connection.autocommit(True)
|
H A D | setup_test_environment.py | 18 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 D | insecure.d | 3 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 D | egd-file.d | 7 used to seed the random engine for SSL connections.
|
H A D | capath.d | 11 OpenSSL-powered curl to make SSL-connections much more efficiently than using
|
/external/libmicrohttpd/src/examples/ |
H A D | mhd2spdy_spdy.h | 74 struct SPDY_Connection *connections[], 83 struct SPDY_Connection *connections[], 90 struct SPDY_Connection *connections[], 98 struct SPDY_Connection *connections[],
|
H A D | mhd2spdy.c | 80 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 D | mhd2spdy_spdy.c | 911 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 D | ssh-stress01-rmt | 29 tst_brkm TBROK "Usage: $0 ipver rhost config connections" 35 connections="$4" 42 # Make ssh connections 44 while [ $num -lt $connections ]; do
|
H A D | ssh-stress02-rmt | 30 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 D | http-stress02-rmt | 30 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 D | ConnectionPool.java | 36 * 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 D | lib1533.c | 103 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 D | rf_switch.py | 264 """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 D | BluetoothRfcommFacade.java | 63 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 D | 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/libevent/ |
H A D | evrpc-internal.h | 90 struct evconq connections; member in struct:evrpc_pool
|
H A D | http-internal.h | 92 /* 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 D | evrpc.c | 516 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 D | test_epoll.py | 47 self.connections = [self.serverSocket] 51 for skt in self.connections: 65 self.connections.extend((client, server))
|
H A D | test_cpickle.py | 223 n.connections = list(nodes) 224 n.connections.remove(n)
|
/external/autotest/contrib/ |
H A D | db_cleanup.py | 17 from django.db import connections, transaction namespace 59 cursor = connections['default'].cursor()
|
/external/autotest/tko/ |
H A D | site_parse_unittest.py | 27 from django.db import connections namespace 135 for query in connections[database].queries:
|
/external/mesa3d/src/vulkan/wsi/ |
H A D | wsi_common_x11.c | 60 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);
|