Home
last modified time | relevance | path

Searched defs:connection (Results 1 – 25 of 261) sorted by relevance

1234567891011

/external/libmicrohttpd/src/microhttpd/
Dconnection.c128 MHD_get_connection_values (struct MHD_Connection *connection, in MHD_get_connection_values()
177 MHD_set_connection_value (struct MHD_Connection *connection, in MHD_set_connection_value()
217 MHD_lookup_connection_value (struct MHD_Connection *connection, in MHD_lookup_connection_value()
243 need_100_continue (struct MHD_Connection *connection) in need_100_continue()
268 MHD_connection_close (struct MHD_Connection *connection, in MHD_connection_close()
297 connection_close_error (struct MHD_Connection *connection, in connection_close_error()
332 try_ready_normal_body (struct MHD_Connection *connection) in try_ready_normal_body()
399 try_ready_chunked_body (struct MHD_Connection *connection) in try_ready_chunked_body()
510 keepalive_possible (struct MHD_Connection *connection) in keepalive_possible()
608 try_grow_read_buffer (struct MHD_Connection *connection)
[all …]
Dconnection_https.c46 run_tls_handshake (struct MHD_Connection *connection) in run_tls_handshake()
96 MHD_tls_connection_handle_read (struct MHD_Connection *connection) in MHD_tls_connection_handle_read()
113 MHD_tls_connection_handle_write (struct MHD_Connection *connection) in MHD_tls_connection_handle_write()
132 MHD_tls_connection_handle_idle (struct MHD_Connection *connection) in MHD_tls_connection_handle_idle()
176 MHD_set_https_callbacks (struct MHD_Connection *connection) in MHD_set_https_callbacks()
Dtest_postprocessor.c124 struct MHD_Connection connection; in test_urlencoding() local
158 struct MHD_Connection connection; in test_multipart_garbage() local
199 struct MHD_Connection connection; in test_multipart_splits() local
232 struct MHD_Connection connection; in test_multipart() local
267 struct MHD_Connection connection; in test_nested_multipart() local
302 struct MHD_Connection connection; in test_empty_value() local
Dbasicauth.c46 MHD_basic_auth_get_username_password (struct MHD_Connection *connection, in MHD_basic_auth_get_username_password()
116 MHD_queue_basic_auth_fail_response (struct MHD_Connection *connection, in MHD_queue_basic_auth_fail_response()
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/
DOkUrlFactoryTest.java68 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkResponseSourceHeader() local
76 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkFailureResponseSourceHeader() local
148 HttpURLConnection connection = factory.open(server.getUrl("/a")); in setInstanceFollowRedirectsFalse() local
168 HttpURLConnection connection = factory.open(server.url("/a").url()); in testURLFilter() local
174 HttpURLConnection connection = factory.open(server.url("/b").url()); in testURLFilter() local
178 private void assertResponseBody(HttpURLConnection connection, String expected) throws Exception { in assertResponseBody()
185 private void assertResponseHeader(HttpURLConnection connection, String expected) { in assertResponseHeader()
189 private void assertResponseCode(HttpURLConnection connection, int expected) throws IOException { in assertResponseCode()
DUrlConnectionCacheTest.java292 HttpURLConnection connection = client.open(server.getUrl("/")); in responseCachingAndRedirects() local
421 URLConnection connection = client.open(server.getUrl("/")); in testServerPrematureDisconnect() local
446 URLConnection connection = client.open(server.getUrl("/")); in testClientPrematureDisconnect() local
476 URLConnection connection = client.open(url); in defaultExpirationDateFullyCachedForLessThan24Hours() local
503 URLConnection connection = client.open(server.getUrl("/")); in defaultExpirationDateFullyCachedForMoreThan24Hours() local
876 URLConnection connection = client.open(server.getUrl("/")); in requestMaxAge() local
889 URLConnection connection = client.open(server.getUrl("/")); in requestMinFresh() local
902 URLConnection connection = client.open(server.getUrl("/")); in requestMaxStale() local
917 URLConnection connection = client.open(server.getUrl("/")); in requestMaxStaleNotHonoredWithMustRevalidate() local
925 HttpURLConnection connection = client.open(server.getUrl("/")); in requestOnlyIfCachedWithNoResponseCached() local
[all …]
/external/libbrillo/brillo/http/
Dhttp_transport_curl_unittest.cc69 auto connection = transport_->CreateConnection("http://foo.bar/get", in TEST_F() local
87 auto connection = transport_->CreateConnection( in TEST_F() local
101 auto connection = transport_->CreateConnection( in TEST_F() local
117 auto connection = transport_->CreateConnection( in TEST_F() local
137 auto connection = transport_->CreateConnection( in TEST_F() local
155 auto connection = transport_->CreateConnection( in TEST_F() local
202 auto connection = transport_->CreateConnection( in TEST_F() local
302 auto connection = transport_->CreateConnection( in TEST_F() local
Dhttp_transport_curl.cc95 std::shared_ptr<Connection> connection; member
123 std::shared_ptr<http::Connection> connection; in CreateConnection() local
209 RequestID Transport::StartAsyncTransfer(http::Connection* connection, in StartAsyncTransfer()
423 Connection* connection = nullptr; in ProcessAsyncCurlMessages() local
435 void Transport::OnTransferComplete(Connection* connection, CURLcode code) { in OnTransferComplete()
483 void Transport::CleanAsyncConnection(Connection* connection) { in CleanAsyncConnection()
/external/volley/src/main/java/com/android/volley/toolbox/
DHurlStack.java103 HttpURLConnection connection = openConnection(parsedUrl, request); in performRequest() local
150 private static HttpEntity entityFromConnection(HttpURLConnection connection) { in entityFromConnection()
169 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in createConnection() local
186 HttpURLConnection connection = createConnection(url); in openConnection() local
203 /* package */ static void setConnectionParametersForRequest(HttpURLConnection connection, in setConnectionParametersForRequest()
258 private static void addBodyIfExists(HttpURLConnection connection, Request<?> request) in addBodyIfExists()
/external/skia/tools/skiaserve/
DResponse.cpp44 int SendOK(MHD_Connection* connection) { in SendOK()
55 int SendError(MHD_Connection* connection, const char* msg) { in SendError()
64 int SendData(MHD_Connection* connection, const SkData* data, const char* type, in SendData()
80 int SendTemplate(MHD_Connection* connection, bool redirect, const char* redirectUrl) { in SendTemplate()
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/
DDisconnectTest.java81 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptWritingRequestBody() local
108 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptReadingResponseBody() local
123 private void disconnectLater(final HttpURLConnection connection, final int delayMillis) { in disconnectLater()
DThreadInterruptTest.java85 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptWritingRequestBody() local
112 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptReadingResponseBody() local
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/
DSpdy3ConnectionTest.java77 FramedConnection connection = connection(peer, SPDY3); in clientCreatesStreamAndServerReplies() local
106 FramedConnection connection = connection(peer, SPDY3); in headersOnlyStreamIsClosedAfterReplyHeaders() local
123 FramedConnection connection = connection(peer, SPDY3); in clientCreatesStreamAndServerRepliesWithFin() local
226 FramedConnection connection = connection(peer, SPDY3); in clientPingsServer() local
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/
DMockWebServerTest.java86 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in regularResponse() local
105 URLConnection connection = server.getUrl("/").openConnection(); in redirect() local
131 URLConnection connection = server.getUrl("/").openConnection(); in dispatchBlocksWaitingForEnqueue() local
143 URLConnection connection = server.getUrl("/").openConnection(); in nonHexadecimalChunkSize() local
202 URLConnection connection = server.getUrl("/").openConnection(); in throttleRequest() local
263 HttpURLConnection connection = (HttpURLConnection) server.getUrl("/").openConnection(); in disconnectRequestHalfway() local
288 URLConnection connection = server.getUrl("/").openConnection(); in disconnectResponseHalfway() local
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/
DResponseCacheTest.java199 HttpURLConnection connection = openConnection(url); in assertCached() local
302 HttpURLConnection connection = openConnection(server.getUrl("/")); in responseCachingAndRedirects() local
488 URLConnection connection = openConnection(server.getUrl("/")); in testServerPrematureDisconnect() local
513 URLConnection connection = openConnection(server.getUrl("/")); in testClientPrematureDisconnect() local
539 URLConnection connection = openConnection(url); in defaultExpirationDateFullyCachedForLessThan24Hours() local
567 URLConnection connection = openConnection(server.getUrl("/")); in defaultExpirationDateFullyCachedForMoreThan24Hours() local
722 private void addRequestBodyIfNecessary(String requestMethod, HttpURLConnection connection) in addRequestBodyIfNecessary()
987 URLConnection connection = openConnection(server.getUrl("/")); in requestMaxAge() local
1002 URLConnection connection = openConnection(server.getUrl("/")); in requestMinFresh() local
1017 URLConnection connection = openConnection(server.getUrl("/")); in requestMaxStale() local
[all …]
DCacheAdapterTest.java65 private HttpURLConnection connection; field in CacheAdapterTest
239 private void executeGet(HttpURLConnection connection) throws IOException { in executeGet()
245 private void executePost(HttpURLConnection connection) throws IOException { in executePost()
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/
DConnectionPool.java186 void put(RealConnection connection) { in put()
198 boolean connectionBecameIdle(RealConnection connection) { in connectionBecameIdle()
214 RealConnection connection = i.next(); in evictAll() local
244 RealConnection connection = i.next(); in cleanup() local
294 private int pruneAndGetAllocationCount(RealConnection connection, long now) { in pruneAndGetAllocationCount()
/external/libbrillo/brillo/glib/
Ddbus.cc132 Proxy::Proxy(const BusConnection& connection, in Proxy()
142 Proxy::Proxy(const BusConnection& connection, in Proxy()
150 Proxy::Proxy(const BusConnection& connection, in Proxy()
168 Proxy::value_type Proxy::GetGProxy(const BusConnection& connection, in GetGProxy()
199 Proxy::value_type Proxy::GetGPeerProxy(const BusConnection& connection, in GetGPeerProxy()
211 bool RegisterExclusiveService(const BusConnection& connection, in RegisterExclusiveService()
/external/mockwebserver/src/test/java/com/google/mockwebserver/
DMockWebServerTest.java111 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in testRegularResponse() local
131 URLConnection connection = server.getUrl("/").openConnection(); in testRedirect() local
159 URLConnection connection = server.getUrl("/").openConnection(); in testDispatchBlocksWaitingForEnqueue() local
172 URLConnection connection = server.getUrl("/").openConnection(); in testNonHexadecimalChunkSize() local
/external/conscrypt/openjdk/src/test/java/org/conscrypt/
DConscryptSocketTest.java307 TestConnection connection = new TestConnection(new X509Certificate[] {cert, ca}, certKey); in test_handshake() local
316 TestConnection connection = in test_handshakeWithEmbeddedSCT() local
327 TestConnection connection = new TestConnection(new X509Certificate[] {cert, ca}, certKey); in test_handshakeWithSCTFromOCSPResponse() local
339 TestConnection connection = new TestConnection(new X509Certificate[] {cert, ca}, certKey); in test_handshakeWithSCTFromTLSExtension() local
352 TestConnection connection = new TestConnection(new X509Certificate[] {cert, ca}, certKey); in test_handshake_failsWithMissingSCT() local
362 TestConnection connection = new TestConnection(new X509Certificate[] {cert, ca}, certKey); in test_handshake_failsWithInvalidSCT() local
390 TestConnection connection = new TestConnection(new X509Certificate[] {cert, ca}, certKey); in test_setEnabledProtocols_FiltersSSLv3_HandshakeException() local
/external/libmicrohttpd/doc/examples/
Dtlsauthentication.c119 ask_for_authentication (struct MHD_Connection *connection, const char *realm) in ask_for_authentication()
154 is_authenticated (struct MHD_Connection *connection, in is_authenticated()
193 secret_page (struct MHD_Connection *connection) in secret_page()
213 answer_to_connection (void *cls, struct MHD_Connection *connection, in answer_to_connection()
/external/cmockery/cmockery_0_1_2/src/example/
Dcustomer_database_test.c28 DatabaseConnection* const connection, const char * const query_string, in mock_query_database()
53 DatabaseConnection connection = { in test_get_customer_id_by_name() local
/external/libmicrohttpd/src/examples/
Dpost_example.c147 get_session (struct MHD_Connection *connection) in get_session()
277 struct MHD_Connection *connection) in serve_simple_form()
313 struct MHD_Connection *connection) in fill_v1_form()
356 struct MHD_Connection *connection) in fill_v1_v2_form()
400 struct MHD_Connection *connection) in not_found_page()
538 struct MHD_Connection *connection, in create_response()
645 struct MHD_Connection *connection, in request_completed_callback()
Dmhd2spdy_spdy.c146 struct SPDY_Connection *connection; in spdy_cb_send() local
228 struct SPDY_Connection *connection; in spdy_cb_recv() local
674 struct SPDY_Connection *connection) in spdy_ctl_select()
701 spdy_exec_io(struct SPDY_Connection *connection) in spdy_exec_io()
730 struct SPDY_Connection * connection = NULL; in spdy_connect() local
813 spdy_free_connection(struct SPDY_Connection * connection) in spdy_free_connection()
848 struct SPDY_Connection *connection; in spdy_request() local
990 struct SPDY_Connection *connection; in spdy_get_selectfdset() local
/external/webrtc/webrtc/base/
Dhttpserver.cc48 Connection* connection = new Connection(connection_id, this); in HandleConnection() local
57 if (Connection* connection = Find(connection_id)) { in Respond() local
68 if (Connection* connection = Find(connection_id)) { in Close() local
106 Connection* connection = it->second; in Remove() local

1234567891011