Searched defs:response (Results 401 - 425 of 710) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/WebKit/Source/core/fetch/
H A DCachingCorrectnessTest.cpp70 ResourcePtr<Resource> resourceFromResourceResponse(ResourceResponse response, Resource::Type type = Resource::Raw) argument
72 if (response.url().isNull())
73 response.setURL(KURL(ParsedURLString, kResourceURL));
75 new Resource(ResourceRequest(response.url()), type);
76 resource->setResponse(response);
400 // Add the final response to our request.
434 // Add the final response to our request.
486 // Add the final response to our request.
521 // Add the final response to our request.
556 // Add the final response t
[all...]
H A DCrossOriginAccessControl.cpp115 bool passesAccessControlCheck(const ResourceResponse& response, StoredCredentials includeCredentials, SecurityOrigin* securityOrigin, String& errorDescription) argument
120 if (!response.httpStatusCode()) {
121 errorDescription = "Received an invalid response. Origin '" + securityOrigin->toString() + "' is therefore not allowed access.";
125 const AtomicString& accessControlOriginString = response.httpHeaderField(accessControlAllowOrigin);
131 if (response.isHTTP()) {
139 if (isInterestingStatusCode(response.httpStatusCode()))
140 errorDescription.append(" The response had HTTP status code " + String::number(response.httpStatusCode()) + ".");
154 const AtomicString& accessControlCredentialsString = response.httpHeaderField(accessControlAllowCredentials);
164 bool passesPreflightStatusCheck(const ResourceResponse& response, Strin argument
[all...]
H A DResourceLoader.cpp340 // If the fetch was (potentially) CORS enabled, an access control check of the response is required.
344 void ResourceLoader::didReceiveResponse(blink::WebURLLoader*, const blink::WebURLResponse& response) argument
346 ASSERT(!response.isNull());
349 bool isMultipartPayload = response.isMultipartPayload();
355 const ResourceResponse& resourceResponse = response.toResourceResponse();
358 // If the response successfully validated a cached resource, perform
366 if (!m_host->canAccessResource(resource, m_options.securityOrigin.get(), response.url())) {
384 if (response.toResourceResponse().isMultipart()) {
401 if (m_resource->response().httpStatusCode() < 400 || m_resource->shouldIgnoreHTTPStatusCodeErrors())
423 if (m_resource->response()
[all...]
/external/chromium_org/third_party/WebKit/Source/core/fileapi/
H A DFileReaderLoader.cpp174 void FileReaderLoader::didReceiveResponse(unsigned long, const ResourceResponse& response) argument
176 if (response.httpStatusCode() != 200) {
177 failed(httpStatusCodeToErrorCode(response.httpStatusCode()));
182 m_totalBytes = response.expectedContentLength();
/external/chromium_org/third_party/WebKit/Source/core/inspector/
H A DNetworkResourcesData.cpp177 void NetworkResourcesData::responseReceived(const String& requestId, const String& frameId, const ResourceResponse& response) argument
183 resourceData->setUrl(response.url());
184 resourceData->setDecoder(createOtherResourceTextDecoder(response.mimeType(), response.textEncodingName()));
185 resourceData->setHTTPStatusCode(response.httpStatusCode());
/external/chromium_org/third_party/WebKit/Source/core/loader/
H A DDocumentLoader.h101 const ResourceResponse& response() const { return m_response; } function in class:blink::DocumentLoader
H A DFrameFetchContext.cpp148 void FrameFetchContext::dispatchDidLoadResourceFromMemoryCache(const ResourceRequest& request, const ResourceResponse& response) argument
150 m_frame->loader().client()->dispatchDidLoadResourceFromMemoryCache(request, response);
161 // It is essential that inspector gets resource response BEFORE console.
199 void FrameFetchContext::sendRemainingDelegateMessages(DocumentLoader* loader, unsigned long identifier, const ResourceResponse& response, int dataLength) argument
201 if (!response.isNull())
202 dispatchDidReceiveResponse(ensureLoader(loader), identifier, response); local
H A DWorkerThreadableLoader.cpp215 void WorkerThreadableLoader::MainThreadBridge::didReceiveResponse(unsigned long identifier, const ResourceResponse& response) argument
217 m_clientBridge->didReceiveResponse(identifier, response);
/external/chromium_org/third_party/WebKit/Source/core/loader/appcache/
H A DApplicationCacheHost.cpp104 // response in the SubstituteData out argument, instead we return the appcached response thru
127 void ApplicationCacheHost::didReceiveResponseForMainResource(const ResourceResponse& response) argument
130 WrappedResourceResponse wrapped(response);
/external/chromium_org/third_party/WebKit/Source/core/page/
H A DEventSource.cpp223 void EventSource::didReceiveResponse(unsigned long, const ResourceResponse& response) argument
228 m_eventStreamOrigin = SecurityOrigin::create(response.url())->toString();
229 int statusCode = response.httpStatusCode();
230 bool mimeTypeIsValid = response.mimeType() == "text/event-stream";
233 const String& charset = response.textEncodingName();
238 message.appendLiteral("EventSource's response has a charset (\"");
245 // To keep the signal-to-noise ratio low, we only log 200-response with an invalid MIME type.
248 message.appendLiteral("EventSource's response has a MIME type (\"");
249 message.append(response.mimeType());
/external/chromium_org/third_party/WebKit/Source/core/timing/
H A DPerformance.cpp159 static bool passesTimingAllowCheck(const ResourceResponse& response, Document* requestingDocument, const AtomicString& originalTimingAllowOrigin) argument
163 RefPtr<SecurityOrigin> resourceOrigin = SecurityOrigin::create(response.url());
167 const AtomicString& timingAllowOriginString = originalTimingAllowOrigin.isEmpty() ? response.httpHeaderField(timingAllowOrigin) : originalTimingAllowOrigin;
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/
H A DCache.cpp219 ScriptPromise Cache::put(ScriptState* scriptState, Request* originalRequest, Response* response) argument
227 return putImpl(scriptState, request, response);
230 ScriptPromise Cache::put(ScriptState* scriptState, const String& requestString, Response* response) argument
238 return putImpl(scriptState, request, response);
333 ScriptPromise Cache::putImpl(ScriptState* scriptState, Request* request, Response* response) argument
338 response->populateWebServiceWorkerResponse(batchOperations[0].response);
H A DFetchManager.cpp78 void FetchManager::Loader::didReceiveResponse(unsigned long, const ResourceResponse& response) argument
80 m_response = response;
94 FetchResponseData* response = FetchResponseData::create(); local
95 response->setStatus(m_response.httpStatusCode());
96 response->setStatusMessage(m_response.httpStatusText());
99 response->headerList()->append(it->key, it->value);
101 response->setBlobDataHandle(BlobDataHandle::create(blobData.release(), m_downloadedBlobLength));
102 response->setURL(m_request->url());
106 response = response
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/audio/
H A DReverb.cpp54 // A minimum power value to when normalizing a silent (or very quiet) impulse response
57 static float calculateNormalizationScale(AudioBus* response) argument
60 size_t numberOfChannels = response->numberOfChannels();
61 size_t length = response->length();
67 vsvesq(response->channel(i)->data(), 1, &channelPower, length);
82 if (response->sampleRate())
83 scale *= GainCalibrationSampleRate / response->sampleRate();
86 if (response->numberOfChannels() == 4)
116 // The reverb can handle a mono impulse response and still do stereo processing
205 // 1 -> 4 -> 2 (Processing mono with "True" stereo impulse response)
[all...]
/external/chromium_org/third_party/libjingle/source/talk/examples/peerconnection/server/
H A Dpeer_channel.cc169 const QueuedResponse& response = queue_.front(); local
170 ds->Send(response.status, true, response.content_type,
171 response.extra_headers, response.data);
268 std::string response = BuildResponseForNewMember(*new_guy, &content_type); local
270 response);
365 std::string response(member.GetEntry());
369 response += (*i)->GetEntry();
373 return response;
[all...]
/external/chromium_org/third_party/libjingle/source/talk/p2p/client/
H A Dhttpportallocator.cc198 const std::string& response) {
201 ParseMap(response, map);
302 request->response().document.reset(new rtc::MemoryStream);
326 if (request->response().scode != 200) {
328 << " received error " << request->response().scode;
335 static_cast<rtc::MemoryStream*>(request->response().document.get());
197 ReceiveSessionResponse( const std::string& response) argument
/external/chromium_org/third_party/libjingle/source/talk/session/tunnel/
H A Dtunnelsessionclient_unittest.cc121 bool response = data->data().Attr(buzz::QN_TYPE) == buzz::STR_RESULT; local
124 if (!response) {
131 if (!response) {
/external/chromium_org/third_party/webrtc/base/
H A Dhttpclient.h29 // Write cache-relevant response headers to output stream. If size is non-null,
32 bool HttpWriteCacheHeaders(const HttpResponseData* response,
34 // Read cached headers from a stream, and them merge them into the response
37 HttpResponseData* response,
76 // an http response is received. In these cases, the http server may have
99 // reset clears the server, request, and response structures. It will also
106 // Note: in order for HttpClient to retry a POST in response to
107 // an authentication challenge, a redirect response, or socket disconnection,
115 HttpResponseData& response() { return transaction_->response; } function in class:rtc::HttpClient
116 const HttpResponseData& response() const { return transaction_->response; } function in class:rtc::HttpClient
[all...]
H A Dsocketadapters.cc121 // TODO: Should this have a session id? The response doesn't have a
439 std::string response, auth_method; local
442 user_, pass_, context_, response, auth_method)) {
451 headers_.append(response);
545 ByteBuffer response(data, *len);
549 if (!response.ReadUInt8(&ver) ||
550 !response.ReadUInt8(&method))
568 if (!response.ReadUInt8(&ver) ||
569 !response.ReadUInt8(&status))
580 if (!response
[all...]
/external/chromium_org/tools/telemetry/telemetry/core/
H A Dbitmaptools.cc226 int response[] = { box.left, box.top, box.width(), box.height(), count }; local
227 WriteResponse(response, sizeof(response));
/external/deqp/framework/platform/X11/
H A DtcuX11.cpp98 XVisualInfo* response = XGetVisualInfo(m_display, VisualIDMask, &query, &numVisuals); local
101 if (response != DE_NULL)
105 dst = response[0];
108 XFree(response);
/external/kernel-headers/original/uapi/linux/
H A Dfanotify.h73 * All events which require a permission response from userspace
96 __u32 response; member in struct:fanotify_response
/external/libnfc-nci/src/nfa/hci/
H A Dnfa_hci_api.c634 ** Description This function is called to send a response on a pipe created
645 UINT8 response,
669 NFA_TRACE_API3 ("NFA_HciSendResponse (): hci_handle:0x%04x Pipe: 0x%02x Response: 0x%02x", hci_handle, pipe, response);
677 p_msg->response = response;
700 ** If the app is expecting a response to the event then it can
701 ** provide response buffer for collecting the response. If it
702 ** provides a response buffer it can also provide response
643 NFA_HciSendResponse(tNFA_HANDLE hci_handle, UINT8 pipe, UINT8 response, UINT8 data_size, UINT8 *p_data) argument
[all...]
/external/libnfc-nxp/src/
H A DphLibNfc_initiator.c72 /*Remote device connect response callback*/
87 /*Remote device disconnect response callback*/
93 /*Remote device Transceive response callback*/
96 phNfc_sData_t *response,
99 /*Set P2P config paramater response callback*/
1120 phNfc_sData_t *response,
1173 // 0x89, 0x09 HCI response values from PN544 indicate timeout
1194 trans_resp->buffer = response->buffer;
1195 trans_resp->length = response->length;
1118 phLibNfc_RemoteDev_Transceive_Cb(void *context, phHal_sRemoteDevInformation_t *pRmtdev_info, phNfc_sData_t *response, NFCSTATUS status ) argument
/external/mockwebserver/src/main/java/com/google/mockwebserver/
H A DMockWebServer.java183 * Scripts {@code response} to be returned to a request made in sequence.
184 * The first request is served by the first enqueued response; the second
185 * request by the second enqueued response; and so on.
190 public void enqueue(MockResponse response) { argument
191 ((QueueDispatcher) dispatcher).enqueueResponse(response.clone());
343 * Respond to CONNECT requests until a SWITCH_TO_SSL_AT_END response
357 * Reads a request and writes its response. Returns true if a request
368 MockResponse response = dispatcher.dispatch(request);
369 if (response.getSocketPolicy() == SocketPolicy.DISCONNECT_AFTER_READING_REQUEST) {
373 writeResponse(out, response);
508 writeResponse(OutputStream out, MockResponse response) argument
[all...]

Completed in 2226 milliseconds

<<11121314151617181920>>