/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
D | DispatcherTest.java | 43 client.enqueue(newRequest("http://a/1"), receiver); in enqueuedJobsRunImmediately() 49 client.enqueue(newRequest("http://a/1"), receiver); in maxRequestsEnforced() 50 client.enqueue(newRequest("http://a/2"), receiver); in maxRequestsEnforced() 51 client.enqueue(newRequest("http://b/1"), receiver); in maxRequestsEnforced() 52 client.enqueue(newRequest("http://b/2"), receiver); in maxRequestsEnforced() 58 client.enqueue(newRequest("http://a/1"), receiver); in maxPerHostEnforced() 59 client.enqueue(newRequest("http://a/2"), receiver); in maxPerHostEnforced() 60 client.enqueue(newRequest("http://a/3"), receiver); in maxPerHostEnforced() 66 client.enqueue(newRequest("http://a/1"), receiver); in increasingMaxRequestsPromotesJobsImmediately() 67 client.enqueue(newRequest("http://b/1"), receiver); in increasingMaxRequestsPromotesJobsImmediately() [all …]
|
/external/nist-sip/java/gov/nist/javax/sip/message/ |
D | SIPRequest.java | 815 SIPRequest newRequest; in createAckRequest() local 819 newRequest = new SIPRequest(); in createAckRequest() 820 newRequest.setRequestLine((RequestLine) this.requestLine.clone()); in createAckRequest() 821 newRequest.setMethod(Request.ACK); in createAckRequest() 879 newRequest.attachHeader(nextHeader, false); in createAckRequest() 885 newRequest.setHeader(MessageFactoryImpl.getDefaultUserAgentHeader()); in createAckRequest() 888 return newRequest; in createAckRequest() 916 SIPRequest newRequest = new SIPRequest(); in createErrorAck() local 917 newRequest.setRequestLine((RequestLine) this.requestLine.clone()); in createErrorAck() 918 newRequest.setMethod(Request.ACK); in createErrorAck() [all …]
|
D | SIPResponse.java | 683 SIPRequest newRequest = new SIPRequest(); in createRequest() local 686 newRequest.setMethod(method); in createRequest() 687 newRequest.setRequestURI(requestURI); in createRequest() 689 newRequest.setHeader(via); in createRequest() 690 newRequest.setHeader(cseq); in createRequest() 715 newRequest.attachHeader(nextHeader, false); in createRequest() 724 newRequest.attachHeader( new MaxForwards(70), false); in createRequest() 730 newRequest.setHeader(MessageFactoryImpl.getDefaultUserAgentHeader()); in createRequest() 732 return newRequest; in createRequest()
|
/external/chromium_org/content/test/ |
D | weburl_loader_mock.cc | 59 blink::WebURLRequest newRequest; in ServeRedirect() local 60 newRequest.initialize(); in ServeRedirect() 61 newRequest.setRequestContext(blink::WebURLRequest::RequestContextInternal); in ServeRedirect() 63 newRequest.setURL(redirectURL); in ServeRedirect() 64 client_->willSendRequest(this, newRequest, redirectResponse); in ServeRedirect() 65 return newRequest; in ServeRedirect()
|
D | weburl_loader_mock_factory.cc | 94 WebURLRequest newRequest = loader->ServeRedirect(response); in ServeAsynchronousRequests() local 97 last_handled_asynchronous_request_ = newRequest; in ServeAsynchronousRequests() 98 LoadRequest(newRequest, &response, &error, &data); in ServeAsynchronousRequests()
|
/external/chromium_org/content/renderer/media/android/ |
D | media_info_loader.cc | 93 WebURLRequest& newRequest, in willSendRequest() argument 99 newRequest.setURL(blink::WebURL()); in willSendRequest() 105 single_origin_ = url_.GetOrigin() == GURL(newRequest.url()).GetOrigin(); in willSendRequest() 107 url_ = newRequest.url(); in willSendRequest() 108 first_party_url_ = newRequest.firstPartyForCookies(); in willSendRequest() 109 allow_stored_credentials_ = newRequest.allowStoredCredentials(); in willSendRequest()
|
D | media_info_loader.h | 81 blink::WebURLRequest& newRequest,
|
/external/chromium_org/third_party/WebKit/Source/web/ |
D | AssociatedURLLoader.cpp | 178 void AssociatedURLLoader::ClientAdapter::willSendRequest(ResourceRequest& newRequest, const Resourc… in willSendRequest() argument 183 WrappedResourceRequest wrappedNewRequest(newRequest); in willSendRequest() 324 WebURLRequest newRequest(request); in loadAsynchronously() local 326 WebString method = newRequest.httpMethod(); in loadAsynchronously() 329 newRequest.setHTTPMethod(XMLHttpRequest::uppercaseKnownHTTPMethod(method)); in loadAsynchronously() 331 newRequest.visitHTTPHeaderFields(&validator); in loadAsynchronously() 347 const ResourceRequest& webcoreRequest = newRequest.toResourceRequest(); in loadAsynchronously() 352 newRequest.setRequestContext(WebURLRequest::RequestContextInternal); in loadAsynchronously()
|
/external/chromium_org/third_party/WebKit/Source/core/loader/ |
D | DocumentLoader.cpp | 293 bool DocumentLoader::isRedirectAfterPost(const ResourceRequest& newRequest, const ResourceResponse&… in isRedirectAfterPost() argument 350 void DocumentLoader::willSendRequest(ResourceRequest& newRequest, const ResourceResponse& redirectR… in willSendRequest() argument 356 ASSERT(!newRequest.isNull()); in willSendRequest() 357 …tion.type()) && !m_frame->document()->contentSecurityPolicy()->allowFormAction(newRequest.url())) { in willSendRequest() 358 cancelMainResourceLoad(ResourceError::cancelledError(newRequest.url())); in willSendRequest() 367 if (!redirectingOrigin->canDisplay(newRequest.url())) { in willSendRequest() 368 FrameLoader::reportLocalLoadFailed(m_frame, newRequest.url().string()); in willSendRequest() 369 cancelMainResourceLoad(ResourceError::cancelledError(newRequest.url())); in willSendRequest() 372 timing()->addRedirect(redirectResponse.url(), newRequest.url()); in willSendRequest() 378 …if (newRequest.cachePolicy() == UseProtocolCachePolicy && isRedirectAfterPost(newRequest, redirect… in willSendRequest() [all …]
|
D | DocumentThreadableLoader.cpp | 495 FetchRequest newRequest(request, m_options.initiator, resourceLoaderOptions); in loadRequest() local 497 newRequest.setOriginRestriction(FetchRequest::NoOriginRestriction); in loadRequest() 500 setResource(m_document.fetcher()->fetchMedia(newRequest)); in loadRequest() 502 setResource(m_document.fetcher()->fetchRawResource(newRequest)); in loadRequest()
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
D | RawResource.cpp | 153 bool RawResource::canReuse(const ResourceRequest& newRequest) const in canReuse() 160 if (m_resourceRequest.httpMethod() != newRequest.httpMethod()) in canReuse() 163 if (m_resourceRequest.httpBody() != newRequest.httpBody()) in canReuse() 166 if (m_resourceRequest.allowStoredCredentials() != newRequest.allowStoredCredentials()) in canReuse() 173 const HTTPHeaderMap& newHeaders = newRequest.httpHeaderFields(); in canReuse()
|
/external/chromium_org/third_party/WebKit/Source/core/page/ |
D | CreateWindow.cpp | 188 FrameLoadRequest newRequest(0, request.resourceRequest()); in createWindowForRequest() local 189 newRequest.setFormState(request.formState()); in createWindowForRequest() 190 newFrame->loader().load(newRequest); in createWindowForRequest()
|
/external/chromium_org/third_party/WebKit/public/platform/ |
D | WebURLLoaderClient.h | 46 WebURLLoader*, WebURLRequest& newRequest, const WebURLResponse& redirectResponse) { } in willSendRequest() argument
|
/external/chromium_org/media/blink/ |
D | buffered_resource_loader.cc | 330 WebURLRequest& newRequest, in willSendRequest() argument 337 newRequest.setURL(blink::WebURL()); in willSendRequest() 343 single_origin_ = url_.GetOrigin() == GURL(newRequest.url()).GetOrigin(); in willSendRequest() 345 url_ = newRequest.url(); in willSendRequest()
|
D | buffered_resource_loader.h | 138 blink::WebURLRequest& newRequest, in NON_EXPORTED_BASE()
|
D | buffered_resource_loader_unittest.cc | 192 blink::WebURLRequest newRequest(redirectUrl); in Redirect() local 195 loader_->willSendRequest(url_loader_, newRequest, redirectResponse); in Redirect()
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
D | Response.java | 183 public boolean varyMatches(Headers varyHeaders, Request newRequest) { in varyMatches() argument 185 if (!equal(varyHeaders.values(field), newRequest.headers(field))) return false; in varyMatches()
|
/external/chromium_org/third_party/WebKit/Source/web/tests/ |
D | AssociatedURLLoaderTest.cpp | 125 …void willSendRequest(WebURLLoader* loader, WebURLRequest& newRequest, const WebURLResponse& redire… in willSendRequest() argument 129 EXPECT_EQ(m_expectedNewRequest.url(), newRequest.url()); in willSendRequest() 131 … EXPECT_EQ(m_expectedNewRequest.httpHeaderField("accept"), newRequest.httpHeaderField("accept")); in willSendRequest()
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/org/apache/http/impl/client/ |
D | DefaultRequestDirector.java | 981 RoutedRequest newRequest = new RoutedRequest(wrapper, newRoute); in handleResponse() local 987 return newRequest; in handleResponse()
|
/external/apache-http/src/org/apache/http/impl/client/ |
D | DefaultRequestDirector.java | 944 RoutedRequest newRequest = new RoutedRequest(wrapper, newRoute); in handleResponse() local 950 return newRequest; in handleResponse()
|
/external/chromium_org/content/child/ |
D | web_url_loader_impl_unittest.cc | 143 blink::WebURLRequest& newRequest, in willSendRequest() argument
|
/external/chromium_org/content/renderer/npapi/ |
D | webplugin_impl.cc | 483 blink::WebURLLoader* loader, blink::WebURLRequest& newRequest, in willSendRequest() argument 485 parent_->willSendRequest(loader, newRequest, redirectResponse); in willSendRequest()
|