/external/chromium_org/rlz/win/lib/ |
H A D | machine_deal.h | 29 // Parses a ping response, checks if it is valid and sets the machine DCC 30 // from the response. The response should also contain the current value of 34 static bool SetFromPingResponse(const char* response); 36 // Gets the new DCC to set from a ping response. Returns true if the ping 37 // response is valid. Sets has_new_dcc true if there is a new DCC value. 38 static bool GetNewCodeFromPingResponse(const char* response,
|
/external/chromium_org/third_party/WebKit/Source/platform/exported/ |
H A D | WebRTCStatsRequest.cpp | 74 void WebRTCStatsRequest::requestSucceeded(const WebRTCStatsResponse& response) const 76 m_private->requestSucceeded(response);
|
/external/okhttp/okhttp-tests/src/test/java/com/squareup/okhttp/ |
H A D | RecordedResponse.java | 28 * A received response or failure recorded by the response recorder. 32 public final Response response; field in class:RecordedResponse 36 RecordedResponse(Request request, Response response, String body, Failure failure) { argument 38 this.response = response; 44 assertEquals(expectedCode, response.code()); 50 Headers headers = response.headers(); 66 Handshake handshake = response.handshake(); 76 * Asserts that the current response wa [all...] |
/external/chromium_org/chrome/browser/chromeos/system_logs/ |
H A D | touch_log_source.cc | 21 void GetTouchLogs(system_logs::SystemLogsResponse* response) { argument 29 (*response)[kHUDLogDataKey] = touch_log; 50 (*response)[commands[i].first] = output; 68 SystemLogsResponse* response = new SystemLogsResponse; local 71 base::Bind(&GetTouchLogs, response), 72 base::Bind(callback, base::Owned(response)));
|
/external/chromium_org/content/browser/loader/ |
H A D | cross_site_resource_handler.h | 25 // it can intercept OnResponseStarted after we determine that a response is safe 35 ResourceResponse* response, 37 virtual bool OnResponseStarted(ResourceResponse* response, 45 // We can now send the response to the new renderer, which will cause 63 // Prepare to transfer the cross-site response to a new RenderFrameHost, by 65 void StartCrossSiteTransition(ResourceResponse* response); 70 ResourceResponse* response, 74 ResourceResponse* response, 78 bool OnNormalResponseStarted(ResourceResponse* response,
|
/external/chromium_org/styleguide/c++/chromium-cpp/ |
H A D | main.py | 19 handler.initialize(self.request, self.response) 28 self.response.write(':-(') 36 self.response.set_status(result.status_code) 37 self.response.write('http error %d' % result.status_code) 43 self.response.headers['Content-Type'] = 'text/css' 44 self.response.write(contents)
|
/external/ppp/pppd/ |
H A D | chap-md5.c | 59 unsigned char *challenge, unsigned char *response, 68 response_len = *response++; 77 /* Test if our hash matches the peer's response */ 78 if (memcmp(hash, response, MD5_HASH_SIZE) == 0) { 88 chap_md5_make_response(unsigned char *response, int id, char *our_name, argument 100 MD5_Final(&response[1], &ctx); 101 response[0] = MD5_HASH_SIZE; 57 chap_md5_verify_response(int id, char *name, unsigned char *secret, int secret_len, unsigned char *challenge, unsigned char *response, char *message, int message_space) argument
|
/external/chromium_org/sync/engine/ |
H A D | syncer_proto_util.cc | 43 // 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...] |
H A D | syncer_proto_util_unittest.cc | 53 sync_pb::ClientToServerResponse response; local 54 response.add_migrated_data_type_id( 56 response.add_migrated_data_type_id( 58 response.add_migrated_data_type_id(-1); 60 GetTypesToMigrate(response).Equals( 207 sync_pb::ClientToServerResponse response; local 208 EXPECT_FALSE(SyncerProtoUtil::VerifyResponseBirthday(response, directory())); 211 response.set_store_birthday("flan"); 212 EXPECT_TRUE(SyncerProtoUtil::VerifyResponseBirthday(response, directory())); 216 response 230 sync_pb::ClientToServerResponse response; local 268 sync_pb::ClientToServerResponse response; variable 297 sync_pb::ClientToServerResponse response; local [all...] |
/external/chromium_org/remoting/host/setup/ |
H A D | me2me_native_messaging_host.cc | 109 scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue()); 111 // If the client supplies an ID, it will expect it in the response. This 115 response->Set("id", id->DeepCopy()); 124 response->SetString("type", type + "Response"); 127 ProcessHello(message_dict.Pass(), response.Pass()); 129 ProcessClearPairedClients(message_dict.Pass(), response.Pass()); 131 ProcessDeletePairedClient(message_dict.Pass(), response.Pass()); 133 ProcessGetHostName(message_dict.Pass(), response.Pass()); 135 ProcessGetPinHash(message_dict.Pass(), response.Pass()); 137 ProcessGenerateKeyPair(message_dict.Pass(), response 167 ProcessHello( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 180 ProcessClearPairedClients( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 200 ProcessDeletePairedClient( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 229 ProcessGetHostName( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 238 ProcessGetPinHash( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 259 ProcessGenerateKeyPair( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 270 ProcessUpdateDaemonConfig( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 288 ProcessGetDaemonConfig( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 298 ProcessGetPairedClients( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 313 ProcessGetUsageStatsConsent( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 323 ProcessStartDaemon( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 348 ProcessStopDaemon( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 358 ProcessGetDaemonState( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 393 ProcessGetHostClientId( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 403 ProcessGetCredentialsFromAuthCode( scoped_ptr<base::DictionaryValue> message, scoped_ptr<base::DictionaryValue> response) argument 427 SendConfigResponse( scoped_ptr<base::DictionaryValue> response, scoped_ptr<base::DictionaryValue> config) argument 440 SendPairedClientsResponse( scoped_ptr<base::DictionaryValue> response, scoped_ptr<base::ListValue> pairings) argument 449 SendUsageStatsConsentResponse( scoped_ptr<base::DictionaryValue> response, const DaemonController::UsageStatsConsent& consent) argument 460 SendAsyncResult( scoped_ptr<base::DictionaryValue> response, DaemonController::AsyncResult result) argument 482 SendBooleanResult( scoped_ptr<base::DictionaryValue> response, bool result) argument 490 SendCredentialsResponse( scoped_ptr<base::DictionaryValue> response, const std::string& user_email, const std::string& refresh_token) argument [all...] |
H A D | me2me_native_messaging_host_unittest.cc | 33 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/chrome/browser/feedback/system_logs/log_sources/ |
H A D | chrome_internal_log_source.cc | 39 SystemLogsResponse response; local 42 response[kChromeVersionTag] = version_info.CreateVersionString(); 48 response[kOsVersionTag] = os_version; 51 PopulateSyncLogs(&response); 52 PopulateExtensionInfoLogs(&response); 54 callback.Run(&response); 57 void ChromeInternalLogSource::PopulateSyncLogs(SystemLogsResponse* response) { argument 92 (*response)[kSyncDataKey] = sync_logs_string; 96 SystemLogsResponse* response) { 126 (*response)[kExtensionsListKe 95 PopulateExtensionInfoLogs( SystemLogsResponse* response) argument [all...] |
/external/chromium_org/chrome/renderer/resources/extensions/ |
H A D | sync_file_system_custom_bindings.js | 51 function(name, request, response) { 53 if (response) { 55 response.name, response.root); 65 function(name, request, response) { 67 if (response) { 68 for (var i = 0; i < response.length; i++) { 70 var entry = response[i].entry; 77 result.status = response[i].status; 78 result.error = response[ [all...] |
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
H A D | NetworkManager.js | 182 * @param {!NetworkAgent.Response=} response 184 _updateNetworkRequestWithResponse: function(networkRequest, response) 186 if (response.url && networkRequest.url !== response.url) 187 networkRequest.url = response.url; 188 networkRequest.mimeType = response.mimeType; 189 networkRequest.statusCode = response.status; 190 networkRequest.statusText = response.statusText; 191 networkRequest.responseHeaders = this._headersMapToHeadersArray(response.headers); 192 if (response [all...] |
/external/lldb/source/Plugins/Process/gdb-remote/ |
H A D | GDBRemoteCommunicationClient.cpp | 116 StringExtractorGDBRemote response; local 117 if (SendPacketAndWaitForResponse("QStartNoAckMode", response, false)) 119 if (response.IsOKResponse()) 135 StringExtractorGDBRemote response; local 136 if (SendPacketAndWaitForResponse("QListThreadsInStopReply", response, false)) 138 if (response.IsOKResponse()) 151 StringExtractorGDBRemote response; local 152 if (SendPacketAndWaitForResponse("qVAttachOrWaitSupported", response, false)) 154 if (response.IsOKResponse()) 171 StringExtractorGDBRemote response; local 222 StringExtractorGDBRemote response; local 237 StringExtractorGDBRemote response; local 292 SendPacketAndWaitForResponse( const char *payload, StringExtractorGDBRemote &response, bool send_async ) argument 306 SendPacketAndWaitForResponse( const char *payload, size_t payload_length, StringExtractorGDBRemote &response, bool send_async ) argument 909 StringExtractorGDBRemote response; local 923 StringExtractorGDBRemote response; local 962 StringExtractorGDBRemote response; local 982 StringExtractorGDBRemote response; local 1002 StringExtractorGDBRemote response; local 1102 StringExtractorGDBRemote response; local [all...] |
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
H A D | js_fs_test.cc | 114 ppapi_.GetVarInterface()->Release(it->response); 149 fs_->Filesystem_Ioctl(NACL_IOC_HANDLEMESSAGE, &it->response)); 152 it->response = PP_MakeUndefined(); 156 void Expect(PP_Var request, PP_Var response) { argument 160 rr.response = response; 474 PP_Var response; member in struct:__anon8961::JsFsTest::RequestResponse 495 PP_Var response; local 496 ASSERT_EQ(true, CreateDict(&response)); 497 ASSERT_EQ(true, SetDictKeyValue(&response, "i 529 PP_Var response; local 550 PP_Var response; local 569 PP_Var response; local 587 PP_Var response; local 605 PP_Var response; local 624 PP_Var response; local 642 PP_Var response; local 687 PP_Var response; local 707 PP_Var response; local 731 PP_Var response; local 768 PP_Var response; local 810 PP_Var response; local [all...] |
/external/chromium_org/chrome/browser/extensions/api/streams_private/ |
H A D | streams_private_apitest.cc | 54 // Returns response that should be sent by the test server. 56 scoped_ptr<BasicHttpResponse> response(new BasicHttpResponse()); 58 // For relative path "/doc_path.doc", return success response with MIME type 61 response->set_code(net::HTTP_OK); 62 response->set_content_type("application/msword"); 63 return response.PassAs<HttpResponse>(); 66 // For relative path "/spreadsheet_path.xls", return success response with 69 response->set_code(net::HTTP_OK); 70 response->set_content_type("application/msexcel"); 72 response [all...] |
/external/chromium_org/chrome/test/chromedriver/server/ |
H A D | http_handler_unittest.cc | 33 scoped_ptr<net::HttpServerResponseInfo> response) { 34 *response_to_set = *response; 45 net::HttpServerResponseInfo response; local 46 handler.Handle(request, base::Bind(&OnResponse, &response)); 47 ASSERT_EQ(net::HTTP_BAD_REQUEST, response.status_code()); 55 net::HttpServerResponseInfo response; local 56 handler.Handle(request, base::Bind(&OnResponse, &response)); 57 ASSERT_EQ(net::HTTP_NOT_FOUND, response.status_code()); 69 net::HttpServerResponseInfo response; local 70 handler.Handle(request, base::Bind(&OnResponse, &response)); 32 OnResponse(net::HttpServerResponseInfo* response_to_set, scoped_ptr<net::HttpServerResponseInfo> response) argument 89 net::HttpServerResponseInfo response; local 102 net::HttpServerResponseInfo response; local 114 net::HttpServerResponseInfo response; local [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
H A D | TestHttpResponseTest.java | 105 TestHttpResponse response = new TestHttpResponse(200, "abc"); 106 assertThat(response.getAllHeaders().length, is(0)); 107 response.addHeader(new BasicHeader("foo", "bar")); 108 assertThat(response.getAllHeaders().length, is(1)); 109 assertThat(response.getHeaders("foo")[0].getValue(), CoreMatchers.equalTo("bar")); 114 TestHttpResponse response = new TestHttpResponse(200, "abc", new BasicHeader("foo", "bar")); 115 response.setHeader(new BasicHeader("foo", "bletch")); 116 assertThat(response.getAllHeaders().length, is(1)); 117 assertThat(response.getHeaders("foo")[0].getValue(), CoreMatchers.equalTo("bletch")); 122 TestHttpResponse response [all...] |
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
H A D | __init__.py | 114 def __init__(self, desc, response, content): 115 self.response = response 153 def _get_end2end_headers(response): 155 hopbyhop.extend([x.strip() for x in response.get('connection', '').split(',')]) 156 return [header for header in response.keys() if header not in hopbyhop] 343 def _decompressContent(response, new_content): 346 encoding = response.get('content-encoding', None) 352 response['content-length'] = str(len(content)) 354 response[' 436 def response(self, response, content): member in class:Authentication 499 def response(self, response, content): member in class:DigestAuthentication 570 def response(self, response, content): member in class:HmacDigestAuthentication [all...] |
/external/chromium_org/v8/test/mjsunit/ |
H A D | debug-evaluate-recursive.js | 58 var response = safeEval(dcp.processDebugJSONRequest(request)); 60 assertTrue(response.success, request + ' -> ' + response.message); 61 assertEquals(result, response.body.value); 63 assertFalse(response.success, request + ' -> ' + response.message); 65 assertFalse(response.running, request + ' -> expected not running');
|
H A D | debug-evaluate.js | 55 var response = safeEval(dcp.processDebugJSONRequest(request)); 57 assertTrue(response.success, request + ' -> ' + response.message); 58 assertEquals(result, response.body.value); 60 assertFalse(response.success, request + ' -> ' + response.message); 62 assertEquals(response.running, "unspecified_running_state",
|
H A D | debug-handle.js | 61 var response = safeEval(dcp.processDebugJSONRequest(request)); 62 assertTrue(response.success, request + ' -> ' + response.message); 64 return response.body.handle; 68 // Send a lookup request and return the evaluated JSON response. 84 var response = safeEval(dcp.processDebugJSONRequest(request)); 86 assertTrue(response.success, request + ' -> ' + response.message); 88 assertFalse(response.success, request + ' -> ' + response [all...] |
/external/chromium_org/remoting/host/it2me/ |
H A D | it2me_native_messaging_host_unittest.cc | 32 void VerifyId(scoped_ptr<base::DictionaryValue> response, int expected_value) { argument 33 ASSERT_TRUE(response); 36 EXPECT_TRUE(response->GetInteger("id", &value)); 40 void VerifyStringProperty(scoped_ptr<base::DictionaryValue> response, argument 43 ASSERT_TRUE(response); 46 EXPECT_TRUE(response->GetString(name, &value)); 51 void VerifyCommonProperties(scoped_ptr<base::DictionaryValue> response, argument 54 ASSERT_TRUE(response); 57 EXPECT_TRUE(response->GetString("type", &string_value)); 61 EXPECT_TRUE(response 249 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local 298 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local 303 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local 316 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local 373 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local 418 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local 516 scoped_ptr<base::DictionaryValue> response = ReadMessageFromOutputPipe(); local [all...] |
/external/chromium_org/remoting/signaling/ |
H A D | iq_sender_unittest.cc | 94 scoped_ptr<XmlElement> response(new XmlElement(buzz::QN_IQ)); 95 response->AddAttr(QName(std::string(), "type"), "result"); 96 response->AddAttr(QName(std::string(), "id"), kStanzaId); 97 response->AddAttr(QName(std::string(), "from"), kTo); 100 QName("test:namespace", "response-body")); 101 response->AddElement(result); 103 EXPECT_TRUE(sender_->OnSignalStrategyIncomingStanza(response.get())); 105 EXPECT_CALL(callback_, OnReply(request_.get(), XmlEq(response.get()))); 126 scoped_ptr<XmlElement> response(new XmlElement(buzz::QN_IQ)); 127 response [all...] |