/external/okhttp/okhttp-android-support/src/test/java/com/squareup/okhttp/internal/huc/ |
D | ResponseCacheTest.java | 188 .setBody("ABCDE") in assertCached() 235 transferKind.setBody(mockResponse, "I love puppies but hate spiders", 1); in testResponseCaching() 263 .setBody("ABC")); in secureResponseCaching() 298 .setBody("ABC")); in responseCachingAndRedirects() 300 .setBody("DEF")); in responseCachingAndRedirects() 312 .setBody("ABC")); in redirectToCachedResult() 317 .setBody("DEF")); in redirectToCachedResult() 346 .setBody("ABC")); in secureResponseCachingAndRedirects() 348 .setBody("DEF")); in secureResponseCachingAndRedirects() 378 .setBody("ABC")); in secureResponseCachingAndProtocolRedirects() [all …]
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | CacheTest.java | 162 .setBody("ABCDE") in assertCached() 170 mockResponse.setBody(""); // We forbid bodies for 204 and 205. in assertCached() 215 transferKind.setBody(mockResponse, "I love puppies but hate spiders", 1); in testResponseCaching() 251 .setBody("ABC")); in secureResponseCaching() 291 .setBody("ABC")); in responseCachingAndRedirects() 293 .setBody("DEF")); in responseCachingAndRedirects() 310 .setBody("ABC")); in redirectToCachedResult() 315 .setBody("DEF")); in redirectToCachedResult() 350 .setBody("ABC")); in secureResponseCachingAndRedirects() 352 .setBody("DEF")); in secureResponseCachingAndRedirects() [all …]
|
D | ConnectionReuseTest.java | 41 server.enqueue(new MockResponse().setBody("a")); in connectionsAreReused() 42 server.enqueue(new MockResponse().setBody("b")); in connectionsAreReused() 52 server.enqueue(new MockResponse().setBody("a")); in connectionsAreReusedWithHttp2() 53 server.enqueue(new MockResponse().setBody("b")); in connectionsAreReusedWithHttp2() 62 server.enqueue(new MockResponse().setBody("a")); in connectionsAreNotReusedWithRequestConnectionClose() 63 server.enqueue(new MockResponse().setBody("b")); in connectionsAreNotReusedWithRequestConnectionClose() 78 .setBody("a")); in connectionsAreNotReusedWithResponseConnectionClose() 79 server.enqueue(new MockResponse().setBody("b")); in connectionsAreNotReusedWithResponseConnectionClose() 92 .setBody("a") in connectionsAreNotReusedWithUnknownLengthResponseBody() 95 server.enqueue(new MockResponse().setBody("b")); in connectionsAreNotReusedWithUnknownLengthResponseBody() [all …]
|
D | URLConnectionTest.java | 303 server.enqueue(new MockResponse().setBody("abc")); in testRequestBodySurvivesRetries() 321 server.enqueue(new MockResponse().setBody("A")); in getErrorStreamOnSuccessfulRequest() 328 server.enqueue(new MockResponse().setResponseCode(404).setBody("A")); in getErrorStreamOnUnsuccessfulRequest() 359 MockResponse response = new MockResponse().setBody("ABCDEFGHIJKLMNOPQR"); in connectionsArePooled() 412 server.enqueue(new MockResponse().setBody("This connection won't pool properly") in testServerClosesOutput() 414 MockResponse responseAfter = new MockResponse().setBody("This comes after a busted connection"); in testServerClosesOutput() 514 server.enqueue(new MockResponse().setBody("this response comes via HTTPS")); in connectViaHttps() 557 server.enqueue(new MockResponse().setBody("this response comes via HTTPS")); in connectViaHttpsReusingConnections() 558 server.enqueue(new MockResponse().setBody("another response via HTTPS")); in connectViaHttpsReusingConnections() 579 server.enqueue(new MockResponse().setBody("this response comes via HTTPS")); in connectViaHttpsReusingConnectionsDifferentFactories() [all …]
|
D | CallTest.java | 111 server.enqueue(new MockResponse().setBody("abc").addHeader("Content-Type: text/plain")); in get() 265 server.enqueue(new MockResponse().setBody("abc")); in post() 299 server.enqueue(new MockResponse().setBody("abc")); in postZeroLength() 401 server.enqueue(new MockResponse().setBody("Success!")); in attemptAuthorization20Times() 429 server.enqueue(new MockResponse().setBody("abc")); in delete() 463 server.enqueue(new MockResponse().setBody("abc")); in deleteWithRequestBody() 480 server.enqueue(new MockResponse().setBody("abc")); in put() 514 server.enqueue(new MockResponse().setBody("abc")); in patch() 565 .setBody("abc") in illegalToExecuteTwice() 596 .setBody("abc") in illegalToExecuteTwice_Async() [all …]
|
D | SocksProxyTest.java | 48 server.enqueue(new MockResponse().setBody("abc")); in proxy() 49 server.enqueue(new MockResponse().setBody("def")); in proxy() 67 server.enqueue(new MockResponse().setBody("abc")); in proxySelector() 91 server.enqueue(new MockResponse().setBody("abc")); in checkRemoteDNSResolve()
|
D | InterceptorTest.java | 179 .setBody(gzip("abcabcabc")) in networkInterceptorsObserveNetworkHeaders() 289 .setBody("abc")); in rewriteResponseFromServer() 389 server.enqueue(new MockResponse().setBody("a")); in applicationInterceptorsCanMakeMultipleRequestsToServer() 390 server.enqueue(new MockResponse().setBody("b")); in applicationInterceptorsCanMakeMultipleRequestsToServer() 410 server.enqueue(new MockResponse().setBody("a")); // Fetched by interceptor. in interceptorMakesAnUnrelatedRequest() 411 server.enqueue(new MockResponse().setBody("b")); // Fetched directly. in interceptorMakesAnUnrelatedRequest() 436 server.enqueue(new MockResponse().setBody("a")); // Fetched by interceptor. in interceptorMakesAnUnrelatedAsyncRequest() 437 server.enqueue(new MockResponse().setBody("b")); // Fetched directly. in interceptorMakesAnUnrelatedAsyncRequest()
|
/external/okhttp/okhttp-urlconnection/src/test/java/com/squareup/okhttp/ |
D | UrlConnectionCacheTest.java | 171 .setBody("ABCDE") in assertCached() 219 transferKind.setBody(response, "I love puppies but hate spiders", 1); in testResponseCaching() 252 .setBody("ABC")); in secureResponseCaching() 289 .setBody("ABC")); in responseCachingAndRedirects() 290 server.enqueue(new MockResponse().setBody("DEF")); in responseCachingAndRedirects() 304 server.enqueue(new MockResponse().addHeader("Cache-Control: max-age=60").setBody("ABC")); in redirectToCachedResult() 307 server.enqueue(new MockResponse().setBody("DEF")); in redirectToCachedResult() 334 .setBody("ABC")); in secureResponseCachingAndRedirects() 335 server.enqueue(new MockResponse().setBody("DEF")); in secureResponseCachingAndRedirects() 366 .setBody("ABC")); in secureResponseCachingAndProtocolRedirects() [all …]
|
D | OkUrlFactoryTest.java | 66 server.enqueue(new MockResponse().setBody("Isla Sorna")); in networkResponseSourceHeader() 85 .setBody("Isla Nublar")); in conditionalCacheHitResponseSourceHeaders() 101 .setBody("Isla Nublar")); in conditionalCacheMissResponseSourceHeaders() 102 server.enqueue(new MockResponse().setBody("Isla Sorna")); in conditionalCacheMissResponseSourceHeaders() 116 .setBody("Isla Nublar")); in cacheResponseSourceHeaders() 128 server.enqueue(new MockResponse().setBody("Isla Nublar")); in noneResponseSourceHeaders() 144 .setBody("A")); in setInstanceFollowRedirectsFalse() 146 .setBody("B")); in setInstanceFollowRedirectsFalse() 157 .setBody("B")); in testURLFilter()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/framed/ |
D | HttpOverSpdyTest.java | 97 MockResponse response = new MockResponse().setBody("ABCDE").setStatus("HTTP/1.1 200 Sweet"); in get() 121 server.enqueue(new MockResponse().setBody("ABCDE")); in noDefaultContentLengthOnStreamingPost() 136 server.enqueue(new MockResponse().setBody("ABCDE")); in userSuppliedContentLengthHeader() 151 server.enqueue(new MockResponse().setBody("ABCDE")); in closeAfterFlush() 168 server.enqueue(new MockResponse().setBody("ABCDE")); in setFixedLengthStreamingModeSetsContentLength() 183 server.enqueue(new MockResponse().setBody("ABCDEF")); in spdyConnectionReuse() 184 server.enqueue(new MockResponse().setBody("GHIJKL")); in spdyConnectionReuse() 197 server.enqueue(new MockResponse().setBody("A")); in synchronousSpdyRequest() 198 server.enqueue(new MockResponse().setBody("A")); in synchronousSpdyRequest() 211 new MockResponse().addHeader("Content-Encoding: gzip").setBody(gzip("ABCABCABC"))); in gzippedResponseBody() [all …]
|
D | HttpOverHttp2Test.java | 37 new MockResponse().setBody("bar").setStatus("HTTP/1.1 200 Sweet")); in serverSendsPushPromise_GET() 39 .setBody("ABCDE") in serverSendsPushPromise_GET() 63 .setBody("ABCDE") in serverSendsPushPromise_HEAD() 96 server.enqueue(new MockResponse().setBody("ABC")); in settingsLimitsMaxConcurrentStreams() 97 server.enqueue(new MockResponse().setBody("DEF")); in settingsLimitsMaxConcurrentStreams() 98 server.enqueue(new MockResponse().setBody("GHI")); in settingsLimitsMaxConcurrentStreams()
|
/external/mockwebserver/src/test/java/com/google/mockwebserver/ |
D | MockWebServerTest.java | 76 MockResponse response = new MockResponse().setBody("ABC"); in testSetBodyAdjustsHeaders() 107 server.enqueue(new MockResponse().setBody("hello world")); in testRegularResponse() 128 .setBody("This page has moved!")); in testRedirect() 129 server.enqueue(new MockResponse().setBody("This is the new location!")); in testRedirect() 155 server.enqueue(new MockResponse().setBody("enqueued in the background")); in testDispatchBlocksWaitingForEnqueue() 167 .setBody("G\r\nxxxxxxxxxxxxxxxx\r\n0\r\n\r\n") in testNonHexadecimalChunkSize() 183 .setBody("ABC") in testResponseTimeout() 187 .setBody("DEF")); in testResponseTimeout() 228 server.enqueue(new MockResponse().setBody(responseBody, 3)); in testStreamingResponseBody()
|
/external/okhttp/mockwebserver/src/test/java/com/squareup/okhttp/mockwebserver/ |
D | MockWebServerTest.java | 58 MockResponse response = new MockResponse().setBody("ABC"); in setBodyAdjustsHeaders() 83 server.enqueue(new MockResponse().setBody("hello world")); in regularResponse() 102 .setBody("This page has moved!")); in redirect() 103 server.enqueue(new MockResponse().setBody("This is the new location!")); in redirect() 127 server.enqueue(new MockResponse().setBody("enqueued in the background")); in dispatchBlocksWaitingForEnqueue() 139 .setBody("G\r\nxxxxxxxxxxxxxxxx\r\n0\r\n\r\n") in nonHexadecimalChunkSize() 154 .setBody("ABC") in responseTimeout() 157 server.enqueue(new MockResponse().setBody("DEF")); in responseTimeout() 220 .setBody("ABCDEF") 243 .setBody("ABCDEF") [all …]
|
/external/mockwebserver/src/main/java/com/google/mockwebserver/ |
D | MockResponse.java | 57 setBody(new byte[0]); in MockResponse() 157 public MockResponse setBody(byte[] body) { in setBody() method in MockResponse 164 public MockResponse setBody(InputStream bodyStream, long bodyLength) { in setBody() method in MockResponse 174 public MockResponse setBody(String body) { in setBody() method in MockResponse 176 return setBody(body.getBytes("UTF-8")); in setBody()
|
/external/okhttp/okhttp-apache/src/test/java/com/squareup/okhttp/apache/ |
D | OkApacheClientTest.java | 48 server.enqueue(new MockResponse().setBody("Hello, World!")); in success() 58 server.enqueue(new MockResponse().setBody("Hello, Redirect!")); in redirect() 150 server.enqueue(new MockResponse().setBody("<html><body><h1>Hello, World!</h1></body></html>") in contentType() 152 server.enqueue(new MockResponse().setBody("{\"Message\": { \"text\": \"Hello, World!\" } }") in contentType() 154 server.enqueue(new MockResponse().setBody("Hello, World!")); in contentType() 180 server.enqueue(new MockResponse().setBody("{\"Message\": { \"text\": \"Hello, World!\" } }") in contentTypeIsCaseInsensitive() 190 server.enqueue(new MockResponse().setBody(gzip(text)) in contentEncoding() 209 server.enqueue(new MockResponse().setBody(gzip(text)) in jsonGzipResponse() 236 server.enqueue(new MockResponse().setBody(gzip(text)) in jsonTransparentGzipResponse()
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/internal/tls/ |
D | CertificatePinnerChainValidationTest.java | 78 .setBody("abc") in pinRootNotPresentInChain() 88 .setBody("def") in pinRootNotPresentInChain() 133 .setBody("abc") in pinIntermediatePresentInChain() 143 .setBody("def") in pinIntermediatePresentInChain() 205 .setBody("abc") in unrelatedPinnedLeafCertificateInChain() 279 .setBody("abc") in unrelatedPinnedIntermediateCertificateInChain()
|
/external/okhttp/samples/static-server/src/main/java/com/squareup/okhttp/sample/ |
D | SampleServer.java | 53 .setBody("NOT FOUND: " + path); in dispatch() 58 .setBody("SERVER ERROR: " + e); in dispatch() 77 .setBody(response.toString()); in directoryToResponse() 83 .setBody(fileToBytes(file)) in fileToResponse()
|
/external/okhttp/mockwebserver/ |
D | README.md | 37 server.enqueue(new MockResponse().setBody("hello, world!")); 38 server.enqueue(new MockResponse().setBody("sup, bra?")); 39 server.enqueue(new MockResponse().setBody("yo dog")); 92 .setBody("{}"); 130 return new MockResponse().setResponseCode(200).setBody("version=9"); 132 …return new MockResponse().setResponseCode(200).setBody("{\\\"info\\\":{\\\"name\":\"Lucas Albuquer…
|
/external/okhttp/mockwebserver/src/main/java/com/squareup/okhttp/mockwebserver/ |
D | MockResponse.java | 147 public MockResponse setBody(Buffer body) { in setBody() method in MockResponse 154 public MockResponse setBody(String body) { in setBody() method in MockResponse 155 return setBody(new Buffer().writeUtf8(body)); in setBody()
|
/external/javassist/src/main/javassist/ |
D | CtConstructor.java | 209 public void setBody(String src) throws CannotCompileException { in setBody() method in CtConstructor 216 super.setBody(src); in setBody() 231 public void setBody(CtConstructor src, ClassMap map) in setBody() method in CtConstructor
|
/external/okhttp/okhttp-logging-interceptor/src/test/java/com/squareup/okhttp/logging/ |
D | HttpLoggingInterceptorTest.java | 145 .setBody("Hello!") in basicResponseBody() 313 .setBody("Hello!") in headersResponseBody() 463 .setBody("Hello!") in bodyResponseBody() 545 .setBody(new Buffer().write(ByteString.decodeBase64( in bodyResponseNotIdentityEncoded()
|
/external/llvm/lib/IR/ |
D | Type.cpp | 341 ST->setBody(ETypes, isPacked); in get() 350 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() function in StructType 446 ST->setBody(Elements, isPacked); in create() 517 void StructType::setBody(Type *type, ...) { in setBody() function in StructType 526 setBody(StructFields); in setBody()
|
/external/swiftshader/third_party/LLVM/lib/VMCore/ |
D | Type.cpp | 396 ST->setBody(ETypes, isPacked); in get() 400 void StructType::setBody(ArrayRef<Type*> Elements, bool isPacked) { in setBody() function in StructType 484 ST->setBody(Elements, isPacked); in create() 531 void StructType::setBody(Type *type, ...) { in setBody() function in StructType 540 setBody(StructFields); in setBody()
|
/external/vulkan-validation-layers/ |
D | vk_helper.py | 450 def setBody(self, b): member in CommonFileGen 527 self.hfg.setBody(self._generateClassDeclaration()) 535 self.cfg.setBody(self._generateClassDefinition()) 544 self.ssh.setBody(self._generateSafeStructDecls()) 550 self.sss.setBody(self._generateSafeStructSource()) 558 self.shg.setBody(self._generateStringHelperFunctions()) 566 self.shcppg.setBody(self._generateStringHelperFunctionsCpp()) 574 self.vhg.setBody(self._generateValidateHelperFunctions()) 581 self.size_helper_gen.setBody(self._generateSizeHelperFunctions()) 589 self.size_helper_c_gen.setBody(self._generateSizeHelperFunctionsC()) [all …]
|
/external/swiftshader/third_party/LLVM/include/llvm/ |
D | DerivedTypes.h | 266 void setBody(ArrayRef<Type*> Elements, bool isPacked = false); 267 void setBody(Type *elt1, ...) END_WITH_NULL;
|