Searched defs:response (Results 376 - 400 of 710) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/mojo/shell/
H A Ddbus_application_loader_linux.cc103 void ActivateService(dbus::Response* response) { argument
H A Ddynamic_application_loader.cc150 void OnLoadComplete(URLResponsePtr response) { argument
151 if (response->error) {
152 LOG(ERROR) << "Error (" << response->error->code << ": "
153 << response->error->description << ") while fetching "
154 << response->url;
160 mime_type_to_url_->find(response->mime_type);
162 load_callbacks_->LoadWithContentHandler(iter->second, response.Pass());
168 response->body.Pass(),
/external/chromium_org/native_client_sdk/src/libraries/nacl_io/jsfs/
H A Djs_fs.cc287 Error JsFs::ErrorFromResponse(const ScopedVar& response) { argument
289 if (ScanVar(response.pp_var(), "%d", "error", &error) != 1) {
290 LOG_ERROR("Expected \"error\" field in response.");
385 PP_Var response = iter->second; local
387 return response;
397 ScopedVar response(ppapi_);
398 if (!SendRequestAndWait(&response, "%s%s%d",
408 int result = ScanVar(response.pp_var(), "%d%d", "error", &error, "fd", &fd);
413 LOG_ERROR("Expected \"error\" and \"fd\" fields in response.");
422 ScopedVar response(ppapi
486 PP_Var response = *va_arg(args, PP_Var*); local
[all...]
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_pepper_interface_url_loader.cc65 response(0),
70 if (response != 0)
71 manager->Release(response);
80 PP_Resource response; member in class:__anon8951::FakeURLLoaderResource
124 FakeURLResponseInfoResource* response,
132 response->headers += ss.str();
137 FakeURLResponseInfoResource* response,
160 response->status_code = 416; // Request range not satisfiable.
179 // Also add a "Content-Range" response header.
183 response
123 HandleContentLength(FakeURLLoaderResource* loader, FakeURLResponseInfoResource* response, FakeURLLoaderEntity* entity) argument
135 HandlePartial(FakeURLLoaderResource* loader, FakeURLRequestInfoResource* request, FakeURLResponseInfoResource* response, FakeURLLoaderEntity* entity) argument
[all...]
/external/chromium_org/net/cert/
H A Dct_objects_extractor_openssl.cc278 CBS response_type, response; local
289 !CBS_get_asn1(&response_bytes, &response, CBS_ASN1_OCTETSTRING) ||
300 if (!CBS_get_asn1(&response, &basic_response, CBS_ASN1_SEQUENCE) ||
301 CBS_len(&response) != 0 ||
/external/chromium_org/net/dns/
H A Ddns_test_util.cc36 // A DnsTransaction which uses MockDnsClientRuleList to determine the response.
98 DnsResponse response; local
99 char* buffer = response.io_buffer()->data();
138 EXPECT_TRUE(response.InitParse(nbytes, query));
139 callback_.Run(this, OK, &response);
/external/chromium_org/net/http/
H A Dhttp_auth_handler_digest.cc30 // qop |algorithm | response |
364 std::string response = AssembleResponseDigest(method, path, credentials, local
366 // No need to call HttpUtil::Quote() as the response digest cannot contain
368 authorization += ", response=\"" + response + "\"";
/external/chromium_org/net/spdy/
H A Dspdy_http_stream_unittest.cc178 HttpResponseInfo response; local
192 EXPECT_EQ(ERR_IO_PENDING, http_stream->SendRequest(headers, &response,
355 HttpResponseInfo response; local
365 headers, &response, callback.callback()));
368 // This results in writing the post body and reading the response headers.
433 HttpResponseInfo response; local
436 EXPECT_EQ(ERR_IO_PENDING, http_stream->SendRequest(headers, &response,
452 // Read response headers.
456 // Read and check |chunk1| response.
464 // Read and check |chunk2| response
532 HttpResponseInfo response; local
617 HttpResponseInfo response; local
672 HttpResponseInfo response; local
746 HttpResponseInfo response; local
[all...]
H A Dspdy_stream_unittest.cc207 // Send some basic response headers.
208 SpdyHeaderBlock response; local
209 response[spdy_util_.GetStatusKey()] = "200";
210 response[spdy_util_.GetVersionKey()] = "OK";
212 response, base::Time::Now(), base::TimeTicks::Now());
313 // frame-sized chunks for a request/response (i.e., an HTTP-like)
811 // request/response (i.e., an HTTP-like) stream resumes after a stall
/external/chromium_org/net/test/embedded_test_server/
H A Dembedded_test_server.cc232 scoped_ptr<HttpResponse> response = local
234 if (response.get()) {
235 connection->SendResponse(response.Pass());
/external/chromium_org/net/url_request/
H A Durl_request_throttler_entry.cc228 const URLRequestThrottlerHeaderInterface* response) {
229 if (IsConsideredError(response->GetResponseCode())) {
234 std::string throttling_header = response->GetNormalizedValue(
245 // UpdateWithResponse() with a response categorized as "good". To end
249 // We do nothing for a response that is already being considered an error
226 UpdateWithResponse( const std::string& host, const URLRequestThrottlerHeaderInterface* response) argument
H A Dview_cache_helper.cc302 HttpResponseInfo response; local
305 buf_->data(), buf_len_, &response, &truncated) &&
306 response.headers.get()) {
311 data_->append(EscapeForHTML(response.headers->GetStatusLine()));
316 while (response.headers->EnumerateHeaderLines(&iter, &name, &value)) {
/external/chromium_org/pdf/
H A Ddocument_loader.cc41 pp::URLResponseInfo response = loader_.GetResponseInfo(); local
42 pp::Var headers_var = response.GetHeaders();
319 // i.e. sniff response to
406 // DidRead for this response. Note that this code DOES NOT handle multi-
420 // If we did not get content-length in the response, we can't
/external/chromium_org/remoting/client/plugin/
H A Dpepper_port_allocator.cc23 // Read buffer we allocate per read when reading response from
24 // URLLoader. Normally the response from URL loader is smaller than 1kB.
111 // Add a configuration without relay response first so local and STUN
112 // candidates can be allocated without waiting for the relay response.
152 pp::URLResponseInfo response = relay_url_loader_->GetResponseInfo(); local
153 DCHECK(!response.is_null());
154 if (response.GetStatusCode() != 200) {
155 LOG(WARNING) << "Received HTTP status code " << response.GetStatusCode();
182 LOG(WARNING) << "Failed to read HTTP response body when "
/external/chromium_org/remoting/host/
H A Dchromoting_host.cc273 protocol::SessionManager::IncomingSessionResponse* response) {
277 *response = protocol::SessionManager::DECLINE;
284 *response = protocol::SessionManager::OVERLOAD;
292 *response = protocol::SessionManager::INCOMPATIBLE;
298 *response = protocol::SessionManager::ACCEPT;
271 OnIncomingSession( protocol::Session* session, protocol::SessionManager::IncomingSessionResponse* response) argument
H A Dgnubby_auth_handler_posix.cc135 std::string response; local
137 ConvertListValueToString(bytes, &response)) {
138 HOST_LOG << "Sending gnubby response: " << GetCommandCode(response);
139 iter->second->SendResponse(response);
H A Dheartbeat_sender.cc124 const XmlElement* response) {
125 std::string type = response->Attr(buzz::QN_TYPE);
128 response->FirstNamed(QName(buzz::NS_CLIENT, kErrorTag));
152 LOG(ERROR) << "Received error in response to heartbeat: "
153 << response->Str();
167 response->FirstNamed(QName(kChromotingXmlNamespace, kHeartbeatResultTag));
123 ProcessResponse(IqRequest* request, const XmlElement* response) argument
/external/chromium_org/remoting/host/setup/
H A Dme2me_native_messaging_host_unittest.cc33 void VerifyHelloResponse(scoped_ptr<base::DictionaryValue> response) { argument
34 ASSERT_TRUE(response);
36 EXPECT_TRUE(response->GetString("type", &value));
38 EXPECT_TRUE(response->GetString("version", &value));
42 void VerifyGetHostNameResponse(scoped_ptr<base::DictionaryValue> response) { argument
43 ASSERT_TRUE(response);
45 EXPECT_TRUE(response->GetString("type", &value));
47 EXPECT_TRUE(response->GetString("hostname", &value));
51 void VerifyGetPinHashResponse(scoped_ptr<base::DictionaryValue> response) { argument
52 ASSERT_TRUE(response);
60 VerifyGenerateKeyPairResponse(scoped_ptr<base::DictionaryValue> response) argument
69 VerifyGetDaemonConfigResponse(scoped_ptr<base::DictionaryValue> response) argument
79 VerifyGetUsageStatsConsentResponse( scoped_ptr<base::DictionaryValue> response) argument
94 VerifyStopDaemonResponse(scoped_ptr<base::DictionaryValue> response) argument
103 VerifyGetDaemonStateResponse(scoped_ptr<base::DictionaryValue> response) argument
112 VerifyUpdateDaemonConfigResponse( scoped_ptr<base::DictionaryValue> response) argument
122 VerifyStartDaemonResponse(scoped_ptr<base::DictionaryValue> response) argument
378 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local
433 scoped_ptr<base::DictionaryValue> response = local
513 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local
537 scoped_ptr<base::DictionaryValue> response = local
[all...]
/external/chromium_org/remoting/host/win/
H A Dlaunch_process_with_token.cc253 // Receives the response to a remote process create request.
265 CreateProcessResponse response; local
266 if (!ReadFile(pipe, &response, sizeof(response), &bytes, NULL)) {
267 PLOG(ERROR) << "Failed to receive CreateProcessAsUser response";
273 if (bytes != sizeof(response)) {
278 if (!response.success) {
279 SetLastError(response.last_error);
283 *process_information_out = response.process_information;
/external/chromium_org/remoting/protocol/
H A Dconnection_to_host.cc163 SessionManager::IncomingSessionResponse* response) {
166 *response = SessionManager::DECLINE;
161 OnIncomingSession( Session* session, SessionManager::IncomingSessionResponse* response) argument
/external/chromium_org/rlz/lib/
H A Dfinancial_ping.cc236 bool FinancialPing::PingServer(const char* request, std::string* response) { argument
237 if (!response)
240 response->clear();
271 // Check the response status.
279 // Get the response text.
287 response->append(buffer.get(), bytes_read);
348 return fetcher->GetResponseAsString(response);
/external/chromium_org/sync/engine/
H A Dcommit_util.cc410 sync_pb::CommitResponse::ResponseType response = server_entry.response_type(); local
411 if (!sync_pb::CommitResponse::ResponseType_IsValid(response)) {
412 LOG(ERROR) << "Commit response has unknown response type! Possibly out "
416 if (sync_pb::CommitResponse::TRANSIENT_ERROR == response) {
421 if (sync_pb::CommitResponse::INVALID_MESSAGE == response) {
424 return response;
426 if (sync_pb::CommitResponse::CONFLICT == response) {
428 return response;
430 if (sync_pb::CommitResponse::RETRY == response) {
[all...]
H A Ddirectory_commit_contribution_unittest.cc89 sync_pb::CommitResponse::EntryResponse* response) {
90 response->set_response_type(sync_pb::CommitResponse::SUCCESS);
91 response->set_non_unique_name(entity.name());
92 response->set_version(entity.version() + 1);
93 response->set_parent_id_string(entity.parent_id_string());
96 response->set_id_string(id_factory_.NewServerId().GetServerId());
98 response->set_id_string(entity.id_string());
361 // specially crafted response to the syncer in order to test commit response
362 // processing. The response simulate
87 CreateSuccessfulCommitResponse( const sync_pb::SyncEntity& entity, sync_pb::CommitResponse::EntryResponse* response) argument
388 sync_pb::ClientToServerResponse response; local
472 sync_pb::ClientToServerResponse response; local
[all...]
H A Dget_updates_processor_unittest.cc60 void InitFakeUpdateResponse(sync_pb::GetUpdatesResponse* response) { argument
65 response->add_new_progress_marker();
68 sync_pb::DataTypeContext* context = response->add_context_mutations();
74 response->set_changes_remaining(0);
329 // Verify that a bogus response message is detected.
H A Dsyncer_proto_util.cc43 // Time to backoff syncing after receiving a throttled response.
46 void LogResponseProfilingData(const ClientToServerResponse& response) { argument
47 if (response.has_profiling_data()) {
49 response_trace << "Server response trace:";
51 if (response.profiling_data().has_user_lookup_time()) {
53 << response.profiling_data().user_lookup_time() << "ms";
56 if (response.profiling_data().has_meta_data_write_time()) {
58 << response.profiling_data().meta_data_write_time()
62 if (response.profiling_data().has_meta_data_read_time()) {
64 << response
162 GetTypesToMigrate(const ClientToServerResponse& response) argument
205 VerifyResponseBirthday( const ClientToServerResponse& response, syncable::Directory* dir) argument
237 IsSyncDisabledByAdmin( const sync_pb::ClientToServerResponse& response) argument
264 PostAndProcessHeaders(ServerConnectionManager* scm, sessions::SyncSession* session, const ClientToServerMessage& msg, ClientToServerResponse* response) argument
298 GetThrottleDelay( const ClientToServerResponse& response) argument
345 PostClientToServerMessage( ClientToServerMessage* msg, ClientToServerResponse* response, SyncSession* session) argument
548 PersistBagOfChips(syncable::Directory* dir, const sync_pb::ClientToServerResponse& response) argument
580 GetUpdatesResponseString( const sync_pb::GetUpdatesResponse& response) argument
592 ClientToServerResponseDebugString( const ClientToServerResponse& response) argument
[all...]

Completed in 499 milliseconds

<<11121314151617181920>>