/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
H A D | RawResourceTest.cpp | 81 ResourceResponse response; local 82 response.setHTTPStatusCode(304); 83 newResource->responseReceived(response); 138 // Create a non-null response. 139 ResourceResponse response = raw->response(); local 140 response.setURL(KURL(ParsedURLString, "http://600.613/")); 141 raw->setResponse(response); 142 EXPECT_FALSE(raw->response().isNull()); 176 // Create a non-null response 177 ResourceResponse response = raw->response(); local [all...] |
/external/chromium_org/v8/src/ |
H A D | debug-debugger.js | 5 // Default number of frames to include in the response to backtrace request. 1284 // If message is based on a request this is a response. Fill the initial 1285 // response from the request. 1286 this.type = 'response'; 1375 var response; // Generated response. 1381 // Create an initial response. 1382 response = this.createResponse(request); 1401 response.setOption('inlineRefs', true); 1404 response [all...] |
/external/smack/src/org/jivesoftware/smackx/filetransfer/ |
H A D | StreamNegotiator.java | 54 * @return The response to be forwarded to the initiator.
59 StreamInitiation response = new StreamInitiation();
60 response.setTo(streamInitiationOffer.getFrom());
61 response.setFrom(streamInitiationOffer.getTo());
62 response.setType(IQ.Type.RESULT);
63 response.setPacketID(streamInitiationOffer.getPacketID());
73 response.setFeatureNegotiationForm(form);
74 return response;
85 StreamInitiation response = createInitiationAccept(initiation,
88 // establish collector to await response
[all...] |
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/ |
H A D | incident_report_uploader_impl_unittest.cc | 23 scoped_ptr<safe_browsing::ClientIncidentResponse> response) { 25 response_ = response.Pass(); 59 std::string response; local 60 safe_browsing::ClientIncidentResponse().SerializeToString(&response); 61 fetcher->SetResponseString(response); 70 // bad status/response code 72 // confirm data in response is parsed 21 OnReportUploadResult( safe_browsing::IncidentReportUploader::Result result, scoped_ptr<safe_browsing::ClientIncidentResponse> response) argument
|
/external/chromium_org/chrome/common/extensions/docs/examples/api/eventPage/basic/ |
H A D | content.js | 24 addButton("Send message with delayed response", function() { 25 chrome.runtime.sendMessage({delayedResponse: true}, function(response) { 26 log("Background page responded: " + response); 31 chrome.runtime.sendMessage({getCounters: true}, function(response) { 32 log("In-memory counter is: " + response.counter); 33 log("Persisted counter is: " + response.persistentCounter);
|
/external/chromium_org/chromeos/dbus/ |
H A D | blocking_method_caller.cc | 21 scoped_ptr<dbus::Response>* response, 25 *response = proxy->CallMethodAndBlock( 52 scoped_ptr<dbus::Response> response; local 56 &response, 63 return response.Pass(); 20 CallMethodAndBlockInternal( scoped_ptr<dbus::Response>* response, base::ScopedClosureRunner* signaler, dbus::ObjectProxy* proxy, dbus::MethodCall* method_call) argument
|
/external/chromium_org/v8/test/mjsunit/ |
H A D | debug-changebreakpoint.js | 51 var response = safeEval(json_response); 53 assertTrue(response.success, json_response); 55 assertFalse(response.success, json_response); 67 var response = safeEval(dcp.processDebugJSONRequest(request)); 68 assertFalse(response.success);
|
H A D | debug-clearbreakpoint.js | 51 var response = safeEval(json_response); 53 assertTrue(response.success, json_response); 55 assertFalse(response.success, json_response); 67 var response = safeEval(dcp.processDebugJSONRequest(request)); 68 assertFalse(response.success);
|
/external/chromium_org/v8/test/mjsunit/regress/ |
H A D | regress-1081309.js | 48 ParsedResponse.prototype.response = function() { 77 var response = new ParsedResponse(dcp.processDebugJSONRequest(json)); 78 var backtrace = response.body(); 82 assertEquals("g", response.lookup(backtrace.frames[0].func.ref).name); 83 assertEquals("", response.lookup(backtrace.frames[1].func.ref).name);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
H A D | ParamsParserTest.java | 19 TestHttpResponse response = new TestHttpResponse(); 20 response.setResponseBody("param1=foobar"); 22 post.setEntity(response.getEntity()); 31 TestHttpResponse response = new TestHttpResponse(); 32 response.setResponseBody("param1=foobar");
|
/external/smack/src/com/kenai/jbosh/ |
H A D | HTTPExchange.java | 26 * A request and response pair representing a single exchange with a remote 28 * the relationship between the request and response but allows the response 50 * Condition used to signal when the response has been set. 57 private HTTPResponse response; field in class:HTTPExchange 63 * Create a new request/response pair object. 94 if (response != null) { 98 response = resp; 113 while (response == null) { 120 return response; [all...] |
/external/chromium_org/cloud_print/gcp20/prototype/ |
H A D | privet_http_server.cc | 162 std::string response; local 163 net::HttpStatusCode status_code = ProcessHttpRequest(url, info, &response); 165 server_->Send(connection_id, status_code, response, "application/json"); 210 std::string* response) { 231 response->clear(); 237 response); 249 scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue); 250 response->SetString("version", info.version); 251 response->SetString("name", info.name); 252 response 207 ProcessHttpRequest( const GURL& url, const net::HttpServerRequestInfo& info, std::string* response) argument 307 scoped_ptr<base::DictionaryValue> response; local [all...] |
/external/chromium_org/v8/test/mjsunit/bugs/harmony/ |
H A D | debug-blockscopes.js | 103 var response = JSON.parse(response_json); 104 assertEquals(scopes.length, response.body.scopes.length); 106 assertEquals(i, response.body.scopes[i].index); 107 assertEquals(scopes[i], response.body.scopes[i].type); 110 assertTrue(response.body.scopes[i].object.ref < 0); 112 assertTrue(response.body.scopes[i].object.ref >= 0); 115 for (var j = 0; j < response.refs.length && !found; j++) { 116 found = response.refs[j].handle == response.body.scopes[i].object.ref; 118 assertTrue(found, "Scope object " + response [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
H A D | Job.java | 76 Response response = getResponse(); 77 if (response != null && !canceled) { 78 responseReceiver.onResponse(response); 92 * Performs the request and returns the response. May return null if this job 146 Response response = engine.getResponse(); 147 Request redirect = processResponse(engine, response); 151 return response.newBuilder() 152 .body(new RealResponseBody(response, engine.getResponseBody())) 162 redirectedBy = response.newBuilder().priorResponse(redirectedBy).build(); // Chained. 169 * Figures out the HTTP request to make in response t 174 processResponse(HttpEngine engine, Response response) argument 235 private final Response response; field in class:Job.RealResponseBody 241 RealResponseBody(Response response, Source source) argument [all...] |
/external/apache-http/src/org/apache/http/client/ |
H A D | AuthenticationHandler.java | 54 HttpResponse response, 58 HttpResponse response, 63 HttpResponse response, 53 isAuthenticationRequested( HttpResponse response, HttpContext context) argument 57 getChallenges( HttpResponse response, HttpContext context) argument 61 selectScheme( Map<String, Header> challenges, HttpResponse response, HttpContext context) argument
|
/external/apache-http/src/org/apache/http/impl/client/ |
H A D | BasicResponseHandler.java | 44 * A {@link ResponseHandler} that returns the response body as a String 45 * for successful (2xx) responses. If the response code was >= 300, the response 67 * Returns the response body as a String if the response was successful (a 68 * 2xx status code). If no response body exists, this returns null. If the 69 * response was unsuccessful (>= 300 status code), throws an 72 public String handleResponse(final HttpResponse response) argument 74 StatusLine statusLine = response.getStatusLine(); 80 HttpEntity entity = response [all...] |
H A D | DefaultConnectionKeepAliveStrategy.java | 61 public long getKeepAliveDuration(HttpResponse response, HttpContext context) { argument 62 if (response == null) { 63 throw new IllegalArgumentException("HTTP response may not be null"); 66 response.headerIterator(HTTP.CONN_KEEP_ALIVE));
|
/external/chromium_org/chrome/browser/chromeos/dbus/ |
H A D | printer_service_provider_unittest.cc | 46 scoped_ptr<dbus::Response> response(test_helper_.CallMethod(&method_call)); 48 // An empty response should be returned. 49 ASSERT_TRUE(response.get()); 50 dbus::MessageReader reader(response.get());
|
/external/chromium_org/chrome/browser/feedback/system_logs/ |
H A D | system_logs_fetcher_base.cc | 34 void SystemLogsFetcherBase::AddResponse(SystemLogsResponse* response) { argument 37 for (SystemLogsResponse::const_iterator it = response->begin(); 38 it != response->end();
|
H A D | system_logs_fetcher_base.h | 20 typedef base::Callback<void(SystemLogsResponse* response)> 24 typedef base::Callback<void(scoped_ptr<SystemLogsResponse> response)> 44 // void ProcessLogs(SystemLogsResponse* response) { 62 // objects and returns the response to the callback_. After this it 64 void AddResponse(SystemLogsResponse* response); 69 scoped_ptr<SystemLogsResponse> response_; // The actual response data.
|
/external/chromium_org/content/browser/loader/ |
H A D | throttling_resource_handler.cc | 36 ResourceResponse* response, 51 deferred_response_ = response; 58 return next_handler_->OnRequestRedirected(redirect_info, response, defer); 108 bool ThrottlingResourceHandler::OnResponseStarted(ResourceResponse* response, argument 121 deferred_response_ = response; 128 return next_handler_->OnResponseStarted(response, defer); 205 scoped_refptr<ResourceResponse> response; local 206 deferred_response_.swap(response); 209 if (!OnRequestRedirected(redirect_info, response.get(), &defer)) { 219 scoped_refptr<ResourceResponse> response; local 34 OnRequestRedirected( const net::RedirectInfo& redirect_info, ResourceResponse* response, bool* defer) argument [all...] |
/external/chromium_org/net/ftp/ |
H A D | ftp_network_transaction.h | 165 int ProcessResponseUSER(const FtpCtrlResponse& response); 167 int ProcessResponsePASS(const FtpCtrlResponse& response); 169 int ProcessResponseSYST(const FtpCtrlResponse& response); 171 int ProcessResponsePWD(const FtpCtrlResponse& response); 173 int ProcessResponseTYPE(const FtpCtrlResponse& response); 175 int ProcessResponseEPSV(const FtpCtrlResponse& response); 177 int ProcessResponsePASV(const FtpCtrlResponse& response); 179 int ProcessResponseRETR(const FtpCtrlResponse& response); 181 int ProcessResponseSIZE(const FtpCtrlResponse& response); 183 int ProcessResponseCWD(const FtpCtrlResponse& response); [all...] |
/external/chromium_org/remoting/host/ |
H A D | token_validator_factory_impl_unittest.cc | 39 FakeProtocolHandler(const std::string& headers, const std::string& response) argument 41 response_(response) { 57 void SetResponse(const std::string& headers, const std::string& response) { argument 61 "https", new FakeProtocolHandler(headers, response)); 110 std::string response; local 111 base::JSONWriter::Write(&response_dict, &response); 112 return response; 118 std::string response; local 119 base::JSONWriter::Write(&response_dict, &response); 120 return response; 124 SetResponse(const std::string& headers, const std::string& response) argument [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
H A D | user.py | 66 response = None 67 while (repeat and not response): 69 response = raw_input(message) 70 return response 93 response = cls.prompt("Enter one or more numbers (comma-separated) or ranges (e.g. 3-7), or \"all\": ", raw_input=raw_input) 94 if not response.strip() or response == "all": 99 for value in re.split("\s*,\s*", response): 160 response = raw_input("%s [%s]: " % (message, choice)) 161 if not response [all...] |
/external/chromium_org/tools/metrics/common/ |
H A D | diff_util.py | 43 response = raw_input('(Y/n): ').strip().lower() 47 return response == 'y' or response == ''
|