/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/ |
D | Internal.java | 51 public abstract Transport newTransport(Connection connection, HttpEngine httpEngine) in newTransport() 54 public abstract boolean clearOwner(Connection connection); in clearOwner() 56 public abstract void closeIfOwnedBy(Connection connection, Object owner) throws IOException; in closeIfOwnedBy() 58 public abstract int recycleCount(Connection connection); in recycleCount() 60 public abstract void setProtocol(Connection connection, Protocol protocol); in setProtocol() 62 public abstract void setOwner(Connection connection, HttpEngine httpEngine); in setOwner() 74 public abstract void recycle(ConnectionPool pool, Connection connection); in recycle() 82 public abstract void connectAndSetOwner(OkHttpClient client, Connection connection, in connectAndSetOwner() 92 public abstract BufferedSource connectionRawSource(Connection connection); in connectionRawSource() 93 public abstract BufferedSink connectionRawSink(Connection connection); in connectionRawSink() [all …]
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | OkUrlFactoryTest.java | 59 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkResponseSourceHeader() local 67 HttpURLConnection connection = factory.open(server.getUrl("/")); in networkFailureResponseSourceHeader() local 138 HttpURLConnection connection = factory.open(server.getUrl("/a")); in setInstanceFollowRedirectsFalse() local 144 private void assertResponseBody(HttpURLConnection connection, String expected) throws Exception { in assertResponseBody() 149 private void assertResponseHeader(HttpURLConnection connection, String expected) { in assertResponseHeader() 154 private void assertResponseCode(HttpURLConnection connection, int expected) throws IOException { in assertResponseCode()
|
D | UrlConnectionCacheTest.java | 298 HttpURLConnection connection = client.open(server.getUrl("/")); in responseCachingAndRedirects() local 427 URLConnection connection = client.open(server.getUrl("/")); in testServerPrematureDisconnect() local 452 URLConnection connection = client.open(server.getUrl("/")); in testClientPrematureDisconnect() local 482 URLConnection connection = client.open(url); in defaultExpirationDateFullyCachedForLessThan24Hours() local 509 URLConnection connection = client.open(server.getUrl("/")); in defaultExpirationDateFullyCachedForMoreThan24Hours() local 882 URLConnection connection = client.open(server.getUrl("/")); in requestMaxAge() local 895 URLConnection connection = client.open(server.getUrl("/")); in requestMinFresh() local 908 URLConnection connection = client.open(server.getUrl("/")); in requestMaxStale() local 923 URLConnection connection = client.open(server.getUrl("/")); in requestMaxStaleNotHonoredWithMustRevalidate() local 931 HttpURLConnection connection = client.open(server.getUrl("/")); in requestOnlyIfCachedWithNoResponseCached() local [all …]
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | ConnectionPool.java | 140 Connection connection = i.previous(); in get() local 174 void recycle(Connection connection) { in recycle() 204 private void addConnection(Connection connection) { in addConnection() 218 void share(Connection connection) { in share() 278 Connection connection = i.previous(); in performCleanup() local 292 Connection connection = i.previous(); in performCleanup() local
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
D | HttpsURLConnectionTest.java | 142 HttpsURLConnection connection = (HttpsURLConnection) url in testHttpsConnection() local 182 HttpsURLConnection connection = (HttpsURLConnection) url in testHttpsPersistentConnection() local 220 HttpsURLConnection connection = (HttpsURLConnection) url in testHttpsConnection_Not_Found_Response() local 265 HttpsURLConnection connection = (HttpsURLConnection) url in testSetDefaultSSLSocketFactory() local 306 HttpsURLConnection connection = (HttpsURLConnection) url in testSetSSLSocketFactory() local 344 HttpsURLConnection connection = (HttpsURLConnection) url in testUnconnectedStateParameters() local 394 HttpsURLConnection connection = (HttpsURLConnection) url in testSetHostnameVerifier() local 436 HttpsURLConnection connection = (HttpsURLConnection) url in test_doOutput() local 472 HttpsURLConnection connection = (HttpsURLConnection) url in testPersistence_doOutput() local 507 HttpsURLConnection connection = (HttpsURLConnection) url in testProxyConnection() local [all …]
|
/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 210 HttpURLConnection connection = openConnection(url); in assertCached() local 313 HttpURLConnection connection = openConnection(server.getUrl("/")); in responseCachingAndRedirects() local 499 URLConnection connection = openConnection(server.getUrl("/")); in testServerPrematureDisconnect() local 524 URLConnection connection = openConnection(server.getUrl("/")); in testClientPrematureDisconnect() local 550 URLConnection connection = openConnection(url); in defaultExpirationDateFullyCachedForLessThan24Hours() local 578 URLConnection connection = openConnection(server.getUrl("/")); in defaultExpirationDateFullyCachedForMoreThan24Hours() local 733 private void addRequestBodyIfNecessary(String requestMethod, HttpURLConnection connection) in addRequestBodyIfNecessary() 998 URLConnection connection = openConnection(server.getUrl("/")); in requestMaxAge() local 1013 URLConnection connection = openConnection(server.getUrl("/")); in requestMinFresh() local 1028 URLConnection connection = openConnection(server.getUrl("/")); in requestMaxStale() local [all …]
|
D | CacheAdapterTest.java | 73 private HttpURLConnection connection; field in CacheAdapterTest 247 private void executeGet(HttpURLConnection connection) throws IOException { in executeGet() 253 private void executePost(HttpURLConnection connection) throws IOException { in executePost()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/spdy/ |
D | Spdy3ConnectionTest.java | 75 SpdyConnection connection = connection(peer, SPDY3); in clientCreatesStreamAndServerReplies() local 104 SpdyConnection connection = connection(peer, SPDY3); in headersOnlyStreamIsClosedAfterReplyHeaders() local 121 SpdyConnection connection = connection(peer, SPDY3); in clientCreatesStreamAndServerRepliesWithFin() local 221 SpdyConnection connection = connection(peer, SPDY3); in clientPingsServer() local
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/http/ |
D | DisconnectTest.java | 78 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptWritingRequestBody() local 105 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptReadingResponseBody() local 120 private void disconnectLater(final HttpURLConnection connection, final int delayMillis) { in disconnectLater()
|
D | ThreadInterruptTest.java | 82 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptWritingRequestBody() local 109 HttpURLConnection connection = new OkUrlFactory(client).open(server.getUrl("/")); in interruptReadingResponseBody() local
|
D | URLConnectionTest.java | 124 private HttpURLConnection connection; field in URLConnectionTest 410 HttpURLConnection connection = client.open(url); in invalidHost() local 1099 URLConnection connection = client.open(server.getUrl("/")); in nonHexChunkSize() local 1112 URLConnection connection = client.open(server.getUrl("/")); in malformedChunkSize() local 1125 HttpURLConnection connection = client.open(server.getUrl("/")); in extensionAfterChunkSize() local 1135 URLConnection connection = client.open(server.getUrl("/")); in missingChunkBody() local 1153 URLConnection connection = client.open(server.getUrl("/")); in gzipEncodingEnabledByDefault() local 1168 URLConnection connection = client.open(server.getUrl("/")); in clientConfiguredGzipContentEncoding() local 1197 URLConnection connection = client.open(server.getUrl("/")); in clientConfiguredCustomContentEncoding() local 1271 HttpURLConnection connection = client.open(server.getUrl("/")); in endOfStreamResponseIsNotPooled() local
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 79 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in regularResponse() local 98 URLConnection connection = server.getUrl("/").openConnection(); in redirect() local 124 URLConnection connection = server.getUrl("/").openConnection(); in dispatchBlocksWaitingForEnqueue() local 136 URLConnection connection = server.getUrl("/").openConnection(); in nonHexadecimalChunkSize() local 195 URLConnection connection = server.getUrl("/").openConnection(); in throttleRequest() local
|
/external/jetty/src/java/org/eclipse/jetty/client/ |
D | HttpDestination.java | 184 AbstractHttpConnection connection = null; in getConnection() local 236 AbstractHttpConnection connection = getConnection(timeout); in reserveConnection() local 244 AbstractHttpConnection connection = null; in getIdleConnection() local 348 public void onNewConnection(final AbstractHttpConnection connection) throws IOException in onNewConnection() 405 … public void returnConnection(AbstractHttpConnection connection, boolean close) throws IOException in returnConnection() 457 public void returnIdleConnection(AbstractHttpConnection connection) in returnIdleConnection() 556 AbstractHttpConnection connection = getIdleConnection(); in doSend() local 589 protected void send(AbstractHttpConnection connection, HttpExchange exchange) throws IOException in send()
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 105 HttpURLConnection connection = (HttpURLConnection) url.openConnection(); in testRegularResponse() local 125 URLConnection connection = server.getUrl("/").openConnection(); in testRedirect() local 153 URLConnection connection = server.getUrl("/").openConnection(); in testDispatchBlocksWaitingForEnqueue() local 166 URLConnection connection = server.getUrl("/").openConnection(); in testNonHexadecimalChunkSize() local
|
/external/okhttp/okhttp-ws/src/main/java/com/squareup/okhttp/ws/ |
D | WebSocketCall.java | 169 Connection connection = Internal.instance.callEngineGetConnection(call); in createWebSocket() local 197 static RealWebSocket create(Response response, Connection connection, BufferedSource source, in create() 209 private final Connection connection; field in WebSocketCall.ConnectionWebSocket 211 private ConnectionWebSocket(Connection connection, BufferedSource source, BufferedSink sink, in ConnectionWebSocket()
|
/external/jetty/src/java/org/eclipse/jetty/server/bio/ |
D | SocketConnector.java | 120 ConnectorEndPoint connection=new ConnectorEndPoint(socket); in accept() local 138 ConnectorEndPoint connection = (ConnectorEndPoint)endpoint; in customize() local 171 ConnectorEndPoint connection = (ConnectorEndPoint)endPoint; in doStop() local 208 public void setConnection(Connection connection) in setConnection()
|
/external/cmockery/cmockery_0_1_2/src/example/ |
D | customer_database_test.c | 28 DatabaseConnection* const connection, const char * const query_string, in mock_query_database() 53 DatabaseConnection connection = { in test_get_customer_id_by_name() local
|
/external/dnsmasq/src/ |
D | dbus.c | 261 DBusHandlerResult message_handler(DBusConnection *connection, in message_handler() 305 DBusConnection *connection = NULL; in dbus_init() local 363 DBusConnection *connection = (DBusConnection *)daemon->dbus; in check_dbus_listeners() local 395 DBusConnection *connection = (DBusConnection *)daemon->dbus; in emit_dbus_signal() local
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
D | HttpEngine.java | 116 private Connection connection; field in HttpEngine 189 boolean callerWritesRequestBody, boolean forWebSocket, Connection connection, in HttpEngine() 284 Internal.instance.recycle(client.getConnectionPool(), connection); in sendRequest() local 340 Connection connection = createNextConnection(); in nextConnection() local 427 Connection connection = close(); in recover() local 492 Connection connection = close(); in recover() local 841 @Override public Connection connection() { in connection() method in HttpEngine.NetworkInterceptorChain
|
/external/jetty/src/java/org/eclipse/jetty/server/session/ |
D | JDBCSessionIdManager.java | 209 …public PreparedStatement getLoadStatement (Connection connection, String rowId, String contextPath… in getLoadStatement() 585 Connection connection = null; in prepareTables() local 689 Connection connection = null; in insert() local 735 Connection connection = null; in delete() local 769 Connection connection = null; in exists() local 806 Connection connection = null; in scavenge() local 904 Connection connection = null; in cleanExpiredSessions() local
|
/external/oauth/core/src/main/java/net/oauth/client/ |
D | URLConnectionResponse.java | 44 byte[] requestExcerpt, URLConnection connection) throws IOException { in URLConnectionResponse() 56 private final URLConnection connection; field in URLConnectionResponse
|
/external/apache-http/src/org/apache/http/impl/conn/ |
D | IdleConnectionHandler.java | 78 public void add(HttpConnection connection, long validDuration, TimeUnit unit) { in add() 97 public boolean remove(HttpConnection connection) { in remove()
|
/external/clang/test/CodeGenCXX/ |
D | incomplete-member-function-pointer.cpp | 4 struct connection { struct
|
/external/jetty/src/java/org/eclipse/jetty/io/ |
D | ConnectedEndPoint.java | 24 void setConnection(Connection connection); in setConnection()
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/util/ |
D | NullDatabaseMapTest.java | 42 Connection connection = null; in MapLoadsButConnectionFails() local
|