Home
last modified time | relevance | path

Searched refs:response (Results 1 – 25 of 896) sorted by relevance

12345678910>>...36

/external/v8/test/mjsunit/
Ddebug-backtrace.js62 ParsedResponse.prototype.response = function() { method in ParsedResponse
91 var response;
104 response = new ParsedResponse(resp);
105 backtrace = response.body();
115 assertEquals("f", response.lookup(frames[0].func.ref).name);
117 assertEquals("", response.lookup(frames[1].func.ref).name);
118 assertEquals("m", response.lookup(frames[1].func.ref).inferredName);
120 assertEquals("g", response.lookup(frames[2].func.ref).name);
122 assertEquals("", response.lookup(frames[3].func.ref).name);
123 assertFalse(response.running(), "expected not running");
[all …]
Ddebug-handle.js61 var response = safeEval(dcp.processDebugJSONRequest(request));
62 assertTrue(response.success, request + ' -> ' + response.message);
64 return response.body.handle;
84 var response = safeEval(dcp.processDebugJSONRequest(request));
86 assertTrue(response.success, request + ' -> ' + response.message);
88 assertFalse(response.success, request + ' -> ' + response.message);
90 assertEquals(response.running, dcp.isRunning(), request + ' -> expected not running');
92 return response;
113 var response;
115 response = lookupRequest(exec_state, '{"handles":[' + handle_o + ']}', true);
[all …]
Ddebug-references.js57 var response = safeEval(dcp.processDebugJSONRequest(request));
59 assertTrue(response.success, request + ' -> ' + response.message);
60 assertTrue(response.body instanceof Array);
62 assertEquals(count, response.body.length);
64 assertTrue(response.body.length > 0);
67 assertFalse(response.success, request + ' -> ' + response.message);
69 assertEquals(response.running, dcp.isRunning(), request + ' -> expected not running');
88 var response = safeEval(dcp.processDebugJSONRequest(evaluate_point));
89 assertTrue(response.success, "Evaluation of Point failed");
90 var handle = response.body.handle;
/external/webkit/Source/WebKit/gtk/tests/
Dtestnetworkresponse.c33 WebKitNetworkResponse* response; in test_network_response_create_destroy() local
37response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "uri", "http://debia… in test_network_response_create_destroy()
38 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response)); in test_network_response_create_destroy()
39 message = webkit_network_response_get_message(response); in test_network_response_create_destroy()
41 g_object_unref(response); in test_network_response_create_destroy()
45response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "message", message, … in test_network_response_create_destroy()
46 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response)); in test_network_response_create_destroy()
48 g_object_unref(response); in test_network_response_create_destroy()
54response = WEBKIT_NETWORK_RESPONSE(g_object_new(WEBKIT_TYPE_NETWORK_RESPONSE, "message", message, … in test_network_response_create_destroy()
55 g_assert(WEBKIT_IS_NETWORK_RESPONSE(response)); in test_network_response_create_destroy()
[all …]
/external/chromium/net/ftp/
Dftp_ctrl_response_buffer_unittest.cc29 net::FtpCtrlResponse response = buffer_.PopResponse(); in TEST_F() local
31 EXPECT_EQ(200, response.status_code); in TEST_F()
32 ASSERT_EQ(1U, response.lines.size()); in TEST_F()
33 EXPECT_EQ("Status Text", response.lines[0]); in TEST_F()
48 net::FtpCtrlResponse response = buffer_.PopResponse(); in TEST_F() local
50 EXPECT_EQ(200, response.status_code); in TEST_F()
51 ASSERT_EQ(1U, response.lines.size()); in TEST_F()
52 EXPECT_EQ("Status Text", response.lines[0]); in TEST_F()
65 net::FtpCtrlResponse response = buffer_.PopResponse(); in TEST_F() local
67 EXPECT_EQ(230, response.status_code); in TEST_F()
[all …]
Dftp_network_transaction.cc120 bool ExtractPortFromEPSVResponse(const net::FtpCtrlResponse& response, in ExtractPortFromEPSVResponse() argument
122 if (response.lines.size() != 1) in ExtractPortFromEPSVResponse()
124 const char* ptr = response.lines[0].c_str(); in ExtractPortFromEPSVResponse()
150 bool ExtractPortFromPASVResponse(const net::FtpCtrlResponse& response, in ExtractPortFromPASVResponse() argument
152 if (response.lines.size() != 1) in ExtractPortFromPASVResponse()
154 const char* ptr = response.lines[0].c_str(); in ExtractPortFromPASVResponse()
160 ptr = response.lines[0].c_str(); // Try without bracket. in ExtractPortFromPASVResponse()
340 FtpCtrlResponse response = ctrl_response_buffer_->PopResponse(); in ProcessCtrlResponse() local
349 rv = ProcessResponseUSER(response); in ProcessCtrlResponse()
352 rv = ProcessResponsePASS(response); in ProcessCtrlResponse()
[all …]
/external/chromium/net/base/
Ddnsrr_resolver_unittest.cc30 RRResponse response; in TEST_F() local
36 &callback, &response, 0, BoundNetLog()); in TEST_F()
39 ASSERT_EQ(1u, response.rrdatas.size()); in TEST_F()
40 LOG(ERROR) << "result length " << response.rrdatas[0].size(); in TEST_F()
41 LOG(ERROR) << "result is " << response.rrdatas[0]; in TEST_F()
45 RRResponse response; in TEST_F() local
51 &callback, &response, 0, BoundNetLog()); in TEST_F()
54 ASSERT_EQ(1u, response.rrdatas.size()); in TEST_F()
55 LOG(ERROR) << "result length " << response.rrdatas[0].size(); in TEST_F()
56 LOG(ERROR) << "result is " << response.rrdatas[0]; in TEST_F()
[all …]
/external/apache-http/src/org/apache/http/protocol/
DHttpService.java131 HttpResponse response = null; in handleRequest() local
149 response = this.responseFactory.newHttpResponse(ver, in handleRequest()
151 response.setParams( in handleRequest()
152 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest()
156 this.expectationVerifier.verify(request, response, context); in handleRequest()
158 response = this.responseFactory.newHttpResponse(HttpVersion.HTTP_1_0, in handleRequest()
160 response.setParams( in handleRequest()
161 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest()
162 handleException(ex, response); in handleRequest()
165 if (response.getStatusLine().getStatusCode() < 200) { in handleRequest()
[all …]
DHttpRequestExecutor.java80 final HttpResponse response) { in canResponseHaveBody() argument
85 int status = response.getStatusLine().getStatusCode(); in canResponseHaveBody()
119 HttpResponse response = doSendRequest(request, conn, context); in execute() local
120 if (response == null) { in execute()
121 response = doReceiveResponse(request, conn, context); in execute()
123 return response; in execute()
198 HttpResponse response = null; in doSendRequest() local
219 response = conn.receiveResponseHeader(); in doSendRequest()
220 if (canResponseHaveBody(request, response)) { in doSendRequest()
221 conn.receiveResponseEntity(response); in doSendRequest()
[all …]
DResponseContent.java61 public void process(final HttpResponse response, final HttpContext context) in process() argument
63 if (response == null) { in process()
66 if (response.containsHeader(HTTP.TRANSFER_ENCODING)) { in process()
69 if (response.containsHeader(HTTP.CONTENT_LEN)) { in process()
72 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
73 HttpEntity entity = response.getEntity(); in process()
77 response.addHeader(HTTP.TRANSFER_ENCODING, HTTP.CHUNK_CODING); in process()
79 response.addHeader(HTTP.CONTENT_LEN, Long.toString(entity.getContentLength())); in process()
82 if (entity.getContentType() != null && !response.containsHeader( in process()
84 response.addHeader(entity.getContentType()); in process()
[all …]
/external/chromium/chrome/browser/sync/engine/
Dsyncer_proto_util.cc40 void LogResponseProfilingData(const ClientToServerResponse& response) { in LogResponseProfilingData() argument
41 if (response.has_profiling_data()) { in LogResponseProfilingData()
45 if (response.profiling_data().has_user_lookup_time()) { in LogResponseProfilingData()
47 << response.profiling_data().user_lookup_time() << "ms"; in LogResponseProfilingData()
50 if (response.profiling_data().has_meta_data_write_time()) { in LogResponseProfilingData()
52 << response.profiling_data().meta_data_write_time() in LogResponseProfilingData()
56 if (response.profiling_data().has_meta_data_read_time()) { in LogResponseProfilingData()
58 << response.profiling_data().meta_data_read_time() << "ms"; in LogResponseProfilingData()
61 if (response.profiling_data().has_file_data_write_time()) { in LogResponseProfilingData()
63 << response.profiling_data().file_data_write_time() in LogResponseProfilingData()
[all …]
/external/v8/src/
Ddebug-debugger.js1371 var response; // Generated response.
1378 response = this.createResponse(request);
1397 response.setOption('inlineRefs', true);
1400 response.setOption('maxStringLength', args.maxStringLength);
1405 this.continueRequest_(request, response);
1407 this.breakRequest_(request, response);
1409 this.setBreakPointRequest_(request, response);
1411 this.changeBreakPointRequest_(request, response);
1413 this.clearBreakPointRequest_(request, response);
1415 this.clearBreakPointGroupRequest_(request, response);
[all …]
/external/chromium/chrome/browser/debugger/
Ddebugger_remote_service.cc76 DictionaryValue response; in HandleMessage() local
79 response.SetString(kCommandKey, command); in HandleMessage()
84 response.SetInteger(kResultKey, RESULT_UNKNOWN_COMMAND); in HandleMessage()
85 SendResponse(response, message.tool(), message.destination()); in HandleMessage()
93 response.SetString(kCommandKey, DebuggerRemoteServiceCommand::kAttach); in HandleMessage()
94 AttachToTab(destination, &response); in HandleMessage()
96 response.SetString(kCommandKey, DebuggerRemoteServiceCommand::kDetach); in HandleMessage()
97 DetachFromTab(destination, &response); in HandleMessage()
99 send_response = DispatchDebuggerCommand(tab_uid, content, &response); in HandleMessage()
101 send_response = DispatchEvaluateJavascript(tab_uid, content, &response); in HandleMessage()
[all …]
Dextension_ports_remote_service.cc160 DictionaryValue response; in HandleMessage() local
163 response.SetString(kCommandKey, command); in HandleMessage()
169 response.SetInteger(kResultKey, RESULT_NO_SERVICE); in HandleMessage()
170 SendResponse(response, message.tool(), message.destination()); in HandleMessage()
180 response.SetInteger(kResultKey, RESULT_UNKNOWN_COMMAND); in HandleMessage()
182 ConnectCommand(content, &response); in HandleMessage()
185 response.SetInteger(kResultKey, RESULT_UNKNOWN_COMMAND); in HandleMessage()
187 DisconnectCommand(destination, &response); in HandleMessage()
190 response.SetInteger(kResultKey, RESULT_UNKNOWN_COMMAND); in HandleMessage()
192 PostMessageCommand(destination, content, &response); in HandleMessage()
[all …]
/external/webkit/Source/WebKit/gtk/webkit/
Dwebkitnetworkresponse.cpp60 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object); in webkit_network_response_dispose() local
61 WebKitNetworkResponsePrivate* priv = response->priv; in webkit_network_response_dispose()
73 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object); in webkit_network_response_finalize() local
74 WebKitNetworkResponsePrivate* priv = response->priv; in webkit_network_response_finalize()
83 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object); in webkit_network_response_get_property() local
87 g_value_set_string(value, webkit_network_response_get_uri(response)); in webkit_network_response_get_property()
90 g_value_set_object(value, webkit_network_response_get_message(response)); in webkit_network_response_get_property()
99 WebKitNetworkResponse* response = WEBKIT_NETWORK_RESPONSE(object); in webkit_network_response_set_property() local
100 WebKitNetworkResponsePrivate* priv = response->priv; in webkit_network_response_set_property()
104 webkit_network_response_set_uri(response, g_value_get_string(value)); in webkit_network_response_set_property()
[all …]
/external/chromium/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/
D__init__.py114 def __init__(self, desc, response, content): argument
115 self.response = response
153 def _get_end2end_headers(response): argument
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): argument
346 encoding = response.get('content-encoding', None)
352 response['content-length'] = str(len(content))
354 response['-content-encoding'] = response['content-encoding']
355 del response['content-encoding']
[all …]
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
DDefaultRequestDirectorTest.java66 … HttpResponse response = requestDirector.execute(null, new HttpGet("http://example.com"), null); in shouldGetHttpResponseFromExecute() local
68 assertNotNull(response); in shouldGetHttpResponseFromExecute()
69 assertThat(response.getStatusLine().getStatusCode(), equalTo(200)); in shouldGetHttpResponseFromExecute()
70 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body")… in shouldGetHttpResponseFromExecute()
80 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldPreferPendingResponses() local
82 assertNotNull(response); in shouldPreferPendingResponses()
83 assertThat(response.getStatusLine().getStatusCode(), equalTo(200)); in shouldPreferPendingResponses()
84 …assertThat(Strings.fromStream(response.getEntity().getContent()), equalTo("a happy response body")… in shouldPreferPendingResponses()
92 HttpResponse response = requestDirector.execute(null, new HttpGet("http://some.uri"), null); in shouldReturnRequestsByRule() local
94 assertNotNull(response); in shouldReturnRequestsByRule()
[all …]
/external/webkit/Source/WebCore/inspector/front-end/
DNetworkManager.js86 _updateResourceWithResponse: function(resource, response) argument
88 if (!response)
91 resource.mimeType = response.mimeType;
92 resource.statusCode = response.status;
93 resource.statusText = response.statusText;
94 resource.responseHeaders = response.headers;
95 if (response.headersText)
96 resource.responseHeadersText = response.headersText;
97 if (response.requestHeaders)
98 resource.requestHeaders = response.requestHeaders;
[all …]
/external/smack/src/org/jivesoftware/smack/
DNonSASLAuthentication.java71 IQ response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); in authenticate() local
72 if (response == null) { in authenticate()
76 else if (response.getType() == IQ.Type.ERROR) { in authenticate()
77 throw new XMPPException(response.getError()); in authenticate()
80 Authentication authTypes = (Authentication) response; in authenticate()
104 response = (IQ) collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); in authenticate()
105 if (response == null) { in authenticate()
108 else if (response.getType() == IQ.Type.ERROR) { in authenticate()
109 throw new XMPPException(response.getError()); in authenticate()
114 return response.getTo(); in authenticate()
[all …]
/external/chromium/net/http/
Dhttp_vary_data_unittest.cc18 scoped_refptr<net::HttpResponseHeaders> response; member
24 response = new net::HttpResponseHeaders(temp); in Init()
48 EXPECT_FALSE(v.Init(t.request, *t.response)); in TEST()
59 EXPECT_TRUE(v.Init(t1.request, *t1.response)); in TEST()
65 EXPECT_FALSE(v.Init(t2.request, *t2.response)); in TEST()
77 EXPECT_TRUE(v.Init(a.request, *a.response)); in TEST()
79 EXPECT_FALSE(v.MatchesRequest(b.request, *b.response)); in TEST()
90 EXPECT_TRUE(v.Init(a.request, *a.response)); in TEST()
92 EXPECT_FALSE(v.MatchesRequest(b.request, *b.response)); in TEST()
103 EXPECT_TRUE(v.Init(a.request, *a.response)); in TEST()
[all …]
Dhttp_network_transaction_unittest.cc172 const HttpResponseInfo* response = trans->GetResponseInfo(); in SimpleGetHelper() local
173 EXPECT_TRUE(response != NULL); in SimpleGetHelper()
175 EXPECT_TRUE(response->headers != NULL); in SimpleGetHelper()
176 out.status_line = response->headers->GetStatusLine(); in SimpleGetHelper()
178 EXPECT_EQ("192.0.2.33", response->socket_address.host()); in SimpleGetHelper()
179 EXPECT_EQ(0, response->socket_address.port()); in SimpleGetHelper()
607 const HttpResponseInfo* response = trans->GetResponseInfo(); in TEST_F() local
608 EXPECT_FALSE(response == NULL); in TEST_F()
611 EXPECT_TRUE(response->headers != NULL); in TEST_F()
612 EXPECT_EQ(1234, response->headers->GetContentLength()); in TEST_F()
[all …]
/external/smack/src/org/jivesoftware/smackx/workgroup/user/
DWorkgroup.java167 … Presence response = (Presence)collector.nextResult(SmackConfiguration.getPacketReplyTimeout()); in isAvailable() local
171 if (response == null) { in isAvailable()
174 else if (response.getError() != null) { in isAvailable()
178 return Presence.Type.available == response.getType(); in isAvailable()
331 IQ response = (IQ)collector.nextResult(10000); in joinQueue() local
335 if (response == null) { in joinQueue()
338 if (response.getError() != null) { in joinQueue()
339 throw new XMPPException(response.getError()); in joinQueue()
425 IQ response = (IQ)collector.nextResult(5000); in departQueue() local
427 if (response == null) { in departQueue()
[all …]
/external/webkit/Tools/iExploder/iexploder-1.7.2/src/
Dwebserver.rb30 def do_GET(request, response) argument
59 response[key] = value
61 response.body = ie.buildMediaFile(mime_type)
63 response['Content-Type'] = 'text/html'
64 response.body = ie.buildPage()
92 def do_GET(request, response) argument
93 response['Content-Type'] = 'text/html'
94 response.body = File.read("index.html")
99 def do_GET(request, response) argument
100 response['Content-Type'] = 'image/png'
[all …]
/external/smack/src/org/jivesoftware/smackx/commands/
DAdHocCommandManager.java383 AdHocCommandData response = new AdHocCommandData(); in processAdHocCommand() local
384 response.setTo(requestData.getFrom()); in processAdHocCommand()
385 response.setPacketID(requestData.getPacketID()); in processAdHocCommand()
386 response.setNode(requestData.getNode()); in processAdHocCommand()
387 response.setId(requestData.getTo()); in processAdHocCommand()
398 respondError(response, XMPPError.Condition.item_not_found); in processAdHocCommand()
410 response.setType(IQ.Type.RESULT); in processAdHocCommand()
411 command.setData(response); in processAdHocCommand()
417 respondError(response, XMPPError.Condition.forbidden); in processAdHocCommand()
425 respondError(response, XMPPError.Condition.bad_request, in processAdHocCommand()
[all …]
/external/chromium/third_party/libjingle/source/talk/base/
Dhttpclient.cc65 bool is_range_response = t.response.hasHeader(HH_CONTENT_RANGE, NULL); in HttpShouldCache()
66 bool has_expires = t.response.hasHeader(HH_EXPIRES, NULL); in HttpShouldCache()
70 has_expires || HttpCodeIsCacheable(t.response.scode); in HttpShouldCache()
78 if (t.response.hasHeader(HH_CACHE_CONTROL, &value)) { in HttpShouldCache()
114 if (t.response.hasHeader(HH_CACHE_CONTROL, &s_temp)) { in HttpGetCacheState()
120 if (!t.response.hasHeader(HH_DATE, &s_temp) in HttpGetCacheState()
134 if (t.response.hasHeader(HH_AGE, &s_temp) in HttpGetCacheState()
148 } else if (t.response.hasHeader(HH_EXPIRES, &s_temp) in HttpGetCacheState()
151 } else if (t.response.hasHeader(HH_LAST_MODIFIED, &s_temp) in HttpGetCacheState()
176 HttpResponseValidatorLevel(const HttpResponseData& response) { in HttpResponseValidatorLevel() argument
[all …]

12345678910>>...36