Searched defs:connection (Results 1 - 25 of 318) sorted by relevance

1234567891011>>

/external/clang/test/CodeGenCXX/
H A Dincomplete-member-function-pointer.cpp4 struct connection { struct
7 void (connection::*a)(fake_tuple) = &connection::bar;
9 void (connection::*b)(fake_tuple) = &connection::bar;
/external/autotest/frontend/afe/
H A Dreadonly_connection.py19 If disabled, connection() will return the global connection instead of the
20 readonly connection.
27 def connection(): function
28 """Return a readonly database connection."""
35 """Return a cursor on the readonly database connection."""
36 return connection().cursor()
H A Dtest.py4 from django.db import connection namespace
60 connection.creation.create_test_db()
72 connection.creation.destroy_test_db(old_db)
/external/dbus/bus/
H A Dutils.c33 bus_connection_dispatch_all_messages (DBusConnection *connection) argument
35 while (bus_connection_dispatch_one_message (connection))
40 bus_connection_dispatch_one_message (DBusConnection *connection) argument
44 while ((status = dbus_connection_dispatch (connection)) == DBUS_DISPATCH_NEED_MEMORY)
/external/cmockery/cmockery_0_1_2/src/example/
H A Dcustomer_database.c31 DatabaseConnection * const connection,
38 number_of_results = connection->query_database(connection, query_string,
30 get_customer_id_by_name( DatabaseConnection * const connection, const char * const customer_name) argument
H A Dcustomer_database_test.c24 DatabaseConnection * const connection, const char * const customer_name);
28 DatabaseConnection* const connection, const char * const query_string,
53 DatabaseConnection connection = { local
60 assert_int_equal(get_customer_id_by_name(&connection, "john doe"), 543);
27 mock_query_database( DatabaseConnection* const connection, const char * const query_string, void *** const results) argument
/external/dbus/test/name-test/
H A Dtest-ids.c6 #include <dbus/dbus-connection-internal.h>
23 DBusConnection *connection; local
28 connection = dbus_bus_get (DBUS_BUS_SESSION, &error);
29 if (connection == NULL)
31 fprintf (stderr, "*** Failed to open connection to system bus: %s\n",
37 server_id = dbus_connection_get_server_id (connection);
45 id = dbus_bus_get_id (connection, NULL);
H A Dtest-shutdown.c18 DBusConnection *connection; local
30 connection = dbus_connection_open (session_addr_no_guid, &error);
32 if (connection == NULL)
33 die ("Failed to open connection to temp session bus\n");
39 if (!test_connection_setup (loop, connection))
42 test_connection_shutdown (loop, connection);
46 dbus_connection_unref (connection);
/external/jetty/src/java/org/eclipse/jetty/io/
H A DConnectedEndPoint.java24 void setConnection(Connection connection); argument
/external/libmicrohttpd/src/microhttpd/
H A Dconnection_https.c30 #include "connection.h"
40 * @param connection connection to handshake on
46 run_tls_handshake (struct MHD_Connection *connection) argument
49 connection->last_activity = MHD_monotonic_time();
50 if (connection->state == MHD_TLS_CONNECTION_INIT)
52 ret = SSL_accept (connection->tls_session);
55 /* set connection state to enable HTTP processing */
56 connection->state = MHD_CONNECTION_INIT;
59 int error = SSL_get_error (connection
96 MHD_tls_connection_handle_read(struct MHD_Connection *connection) argument
113 MHD_tls_connection_handle_write(struct MHD_Connection *connection) argument
132 MHD_tls_connection_handle_idle(struct MHD_Connection *connection) argument
176 MHD_set_https_callbacks(struct MHD_Connection *connection) argument
[all...]
H A Dbasicauth.c39 * @param connection The MHD connection structure
46 MHD_basic_auth_get_username_password (struct MHD_Connection *connection, argument
54 if ( (NULL == (header = MHD_lookup_connection_value (connection,
63 MHD_DLOG (connection->daemon,
72 MHD_DLOG(connection->daemon,
90 MHD_DLOG(connection->daemon,
109 * @param connection The MHD connection structure
116 MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, argument
[all...]
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
H A DInterceptor.java31 Connection connection(); method in interface:Interceptor.Chain
/external/skia/tools/skiaserve/urlhandlers/
H A DDataHandler.cpp22 int DataHandler::handle(Request* request, MHD_Connection* connection, argument
36 return SendData(connection, urlData->fData.get(), urlData->fContentType.c_str());
H A DRootHandler.cpp21 int RootHandler::handle(Request* request, MHD_Connection* connection, argument
24 return SendTemplate(connection);
H A DClipAlphaHandler.cpp22 int ClipAlphaHandler::handle(Request* request, MHD_Connection* connection, argument
36 return SendOK(connection);
/external/autotest/frontend/
H A Dsetup_test_environment.py21 connection = connections['default'] variable
41 """Close all connection to the test database.
43 connection.close()
49 # the real connection ourselves.
52 for con in [connection, connection_global, connection_readonly,
54 real_connection = con.connection
57 con.connection = None
80 for query in connection.queries:
/external/dbus/test/
H A Dtest-names.c14 TestName(DBusConnection *connection, const char *name, int expectedSuccess) argument
19 (void) dbus_bus_request_name (connection, name, 0, &error);
49 DBusConnection *connection; local
52 connection = dbus_bus_get (DBUS_BUS_SESSION, &error);
53 if (connection == NULL)
55 fprintf (stderr, "*** Failed to open connection to system bus: %s\n",
65 if (!test_connection_setup (loop, connection))
68 TestName(connection, "org.freedesktop.DBus.Test", TRUE);
69 TestName(connection, "org.freedesktop.DBus.Test-2", TRUE);
70 TestName(connection, "or
[all...]
/external/jetty/src/java/org/eclipse/jetty/server/
H A DHttpInput.java35 public HttpInput(AbstractHttpConnection connection) argument
37 _connection=connection;
38 _parser=(HttpParser)connection.getParser();
/external/jetty/src/java/org/eclipse/jetty/websocket/
H A DExtension.java29 public void bind(WebSocket.FrameConnection connection, WebSocketParser.FrameHandler inbound, WebSocketGenerator outbound); argument
/external/libmicrohttpd/doc/examples/
H A Dhellobrowser.c18 answer_to_connection (void *cls, struct MHD_Connection *connection, argument
30 ret = MHD_queue_response (connection, MHD_HTTP_OK, response);
H A Dlogging.c27 answer_to_connection (void *cls, struct MHD_Connection *connection, argument
34 MHD_get_connection_values (connection, MHD_HEADER_KIND, print_out_key,
/external/oauth/core/src/main/java/net/oauth/client/
H A DURLConnectionResponse.java44 byte[] requestExcerpt, URLConnection connection) throws IOException {
49 this.connection = connection;
56 private final URLConnection connection; field in class:URLConnectionResponse
60 if (connection instanceof HttpURLConnection) {
61 return ((HttpURLConnection) connection).getResponseCode();
69 return connection.getInputStream();
79 for (int i = 0; (value = connection.getHeaderField(i)) != null; ++i) {
80 String name = connection.getHeaderFieldKey(i);
89 headers.add(new OAuth.Parameter(CONTENT_TYPE, connection
43 URLConnectionResponse(HttpMessage request, String requestHeaders, byte[] requestExcerpt, URLConnection connection) argument
[all...]
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/
H A DAbstractResponseCache.java35 @Override public CacheRequest put(URI uri, URLConnection connection) throws IOException { argument
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
H A DDisconnectTest.java81 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/"));
82 disconnectLater(connection, 500);
84 connection.setDoOutput(true);
85 connection.setFixedLengthStreamingMode(requestBodySize);
86 OutputStream requestBody = connection.getOutputStream();
93 fail("Expected connection to be closed");
97 connection.disconnect();
108 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/"));
109 disconnectLater(connection, 500);
111 InputStream responseBody = connection
123 disconnectLater(final HttpURLConnection connection, final int delayMillis) argument
[all...]
/external/skia/tools/skiaserve/
H A DRequest.h26 MHD_Connection* connection; member in struct:UploadContext

Completed in 1291 milliseconds

1234567891011>>