Home
last modified time | relevance | path

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

12345678910>>...17

/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;
Ddebug-scripts-request.js51 var response = safeEval(json_response);
53 assertTrue(response.success, json_response);
55 assertFalse(response.success, json_response);
78 var response = safeEval(dcp.processDebugJSONRequest(request));
79 assertTrue(response.success);
82 assertEquals(2, response.body.length);
83 var script = response.body[0];
86 var response = safeEval(dcp.processDebugJSONRequest(request));
87 assertTrue(response.success);
88 assertEquals(1, response.body.length);
[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.cc224 FtpCtrlResponse response = ctrl_response_buffer_->PopResponse(); in ProcessCtrlResponse() local
233 rv = ProcessResponseUSER(response); in ProcessCtrlResponse()
236 rv = ProcessResponsePASS(response); in ProcessCtrlResponse()
239 rv = ProcessResponseACCT(response); in ProcessCtrlResponse()
242 rv = ProcessResponseSYST(response); in ProcessCtrlResponse()
245 rv = ProcessResponsePWD(response); in ProcessCtrlResponse()
248 rv = ProcessResponseTYPE(response); in ProcessCtrlResponse()
251 rv = ProcessResponsePASV(response); in ProcessCtrlResponse()
254 rv = ProcessResponseSIZE(response); in ProcessCtrlResponse()
257 rv = ProcessResponseRETR(response); in ProcessCtrlResponse()
[all …]
Dftp_network_transaction.h136 int ProcessResponseUSER(const FtpCtrlResponse& response);
138 int ProcessResponsePASS(const FtpCtrlResponse& response);
140 int ProcessResponseACCT(const FtpCtrlResponse& response);
142 int ProcessResponseSYST(const FtpCtrlResponse& response);
144 int ProcessResponsePWD(const FtpCtrlResponse& response);
146 int ProcessResponseTYPE(const FtpCtrlResponse& response);
148 int ProcessResponsePASV(const FtpCtrlResponse& response);
150 int ProcessResponseRETR(const FtpCtrlResponse& response);
152 int ProcessResponseSIZE(const FtpCtrlResponse& response);
154 int ProcessResponseCWD(const FtpCtrlResponse& response);
[all …]
/external/webkit/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/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 …]
DResponseConnControl.java62 public void process(final HttpResponse response, final HttpContext context) in process() argument
64 if (response == null) { in process()
71 int status = response.getStatusLine().getStatusCode(); in process()
79 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE); in process()
84 HttpEntity entity = response.getEntity(); in process()
86 ProtocolVersion ver = response.getStatusLine().getProtocolVersion(); in process()
89 response.setHeader(HTTP.CONN_DIRECTIVE, HTTP.CONN_CLOSE); in process()
99 response.setHeader(HTTP.CONN_DIRECTIVE, header.getValue()); in process()
/external/v8/src/
Ddebug-debugger.js1184 var response; // Generated response.
1191 response = this.createResponse(request);
1210 response.setOption('inlineRefs', true);
1213 response.setOption('maxStringLength', args.maxStringLength);
1218 this.continueRequest_(request, response);
1220 this.breakRequest_(request, response);
1222 this.setBreakPointRequest_(request, response);
1224 this.changeBreakPointRequest_(request, response);
1226 this.clearBreakPointRequest_(request, response);
1228 this.clearBreakPointGroupRequest_(request, response);
[all …]
/external/chromium/net/http/
Dhttp_network_transaction_unittest.cc124 const HttpResponseInfo* response = trans->GetResponseInfo(); in SimpleGetHelper() local
125 EXPECT_TRUE(response != NULL); in SimpleGetHelper()
127 EXPECT_TRUE(response->headers != NULL); in SimpleGetHelper()
128 out.status_line = response->headers->GetStatusLine(); in SimpleGetHelper()
392 const HttpResponseInfo* response = trans->GetResponseInfo(); in TEST_F() local
393 EXPECT_FALSE(response == NULL); in TEST_F()
396 EXPECT_TRUE(response->headers != NULL); in TEST_F()
397 EXPECT_EQ(1234, response->headers->GetContentLength()); in TEST_F()
398 EXPECT_EQ("HTTP/1.1 404 Not Found", response->headers->GetStatusLine()); in TEST_F()
402 bool has_server_header = response->headers->EnumerateHeader( in TEST_F()
[all …]
Dhttp_vary_data_unittest.cc18 scoped_refptr<net::HttpResponseHeaders> response; member
24 response = new net::HttpResponseHeaders(temp); in Init()
47 EXPECT_FALSE(v.Init(t.request, *t.response)); in TEST()
58 EXPECT_TRUE(v.Init(t1.request, *t1.response)); in TEST()
64 EXPECT_FALSE(v.Init(t2.request, *t2.response)); in TEST()
76 EXPECT_TRUE(v.Init(a.request, *a.response)); in TEST()
78 EXPECT_FALSE(v.MatchesRequest(b.request, *b.response)); in TEST()
89 EXPECT_TRUE(v.Init(a.request, *a.response)); in TEST()
91 EXPECT_FALSE(v.MatchesRequest(b.request, *b.response)); in TEST()
102 EXPECT_TRUE(v.Init(a.request, *a.response)); in TEST()
[all …]
/external/webkit/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/ppp/pppd/
Dchap_ms.c195 unsigned char *challenge, unsigned char *response, in chapms_verify_response() argument
204 response_len = *response++; in chapms_verify_response()
208 rmd = (MS_ChapResponse *) response; in chapms_verify_response()
245 unsigned char *challenge, unsigned char *response, in chapms2_verify_response() argument
254 response_len = *response++; in chapms2_verify_response()
258 rmd = (MS_Chap2Response *) response; in chapms2_verify_response()
322 chapms_make_response(unsigned char *response, int id, char *our_name, in chapms_make_response() argument
327 *response++ = MS_CHAP_RESPONSE_LEN; in chapms_make_response()
328 ChapMS(challenge, secret, secret_len, (MS_ChapResponse *) response); in chapms_make_response()
332 chapms2_make_response(unsigned char *response, int id, char *our_name, in chapms2_make_response() argument
[all …]
/external/apache-http/src/org/apache/http/impl/client/
DDefaultRequestDirector.java301 HttpResponse response = null; in execute() local
368 response = ex.getResponse(); in execute()
421 response = requestExec.execute(wrapper, managedConn, context); in execute()
456 response.setParams(params); in execute()
457 requestExec.postProcess(response, httpProcessor, context); in execute()
461 reuse = reuseStrategy.keepAlive(response, context); in execute()
464 long duration = keepAliveStrategy.getKeepAliveDuration(response, context); in execute()
468 RoutedRequest followup = handleResponse(roureq, response, context); in execute()
475 HttpEntity entity = response.getEntity(); in execute()
501 if ((response == null) || (response.getEntity() == null) || in execute()
[all …]
/external/dropbear/
Dcli-authinteract.c37 unsigned char* response = NULL; in get_response() local
53 response = (unsigned char*)m_strdup(""); in get_response()
59 response = (unsigned char*)m_strdup(buf); in get_response()
64 return response; in get_response()
76 unsigned char *response = NULL; in recv_msg_userauth_info_request() local
120 response = m_strdup(p); in recv_msg_userauth_info_request()
123 response = get_response(prompt); in recv_msg_userauth_info_request()
126 response_len = strlen(response); in recv_msg_userauth_info_request()
127 buf_putstring(ses.writepayload, response, response_len); in recv_msg_userauth_info_request()
128 m_burn(response, response_len); in recv_msg_userauth_info_request()
[all …]
/external/wpa_supplicant/
Dms_funcs.c98 u8 *response) in challenge_response() argument
101 des_encrypt(challenge, password_hash, response); in challenge_response()
102 des_encrypt(challenge, password_hash + 7, response + 8); in challenge_response()
106 des_encrypt(challenge, zpwd, response + 16); in challenge_response()
123 u8 *response) in generate_nt_response() argument
131 challenge_response(challenge, password_hash, response); in generate_nt_response()
148 u8 *response) in generate_nt_response_pwhash() argument
154 challenge_response(challenge, password_hash, response); in generate_nt_response_pwhash()
173 const u8 *nt_response, u8 *response) in generate_authenticator_response_pwhash() argument
199 addr2[0] = response; in generate_authenticator_response_pwhash()
[all …]
/external/wpa_supplicant_6/wpa_supplicant/src/crypto/
Dms_funcs.c98 u8 *response) in challenge_response() argument
101 des_encrypt(challenge, password_hash, response); in challenge_response()
102 des_encrypt(challenge, password_hash + 7, response + 8); in challenge_response()
106 des_encrypt(challenge, zpwd, response + 16); in challenge_response()
123 u8 *response) in generate_nt_response() argument
131 challenge_response(challenge, password_hash, response); in generate_nt_response()
148 u8 *response) in generate_nt_response_pwhash() argument
154 challenge_response(challenge, password_hash, response); in generate_nt_response_pwhash()
173 const u8 *nt_response, u8 *response) in generate_authenticator_response_pwhash() argument
199 addr2[0] = response; in generate_authenticator_response_pwhash()
[all …]
/external/webkit/WebCore/loader/archive/
DArchiveResource.cpp36 …eResource::create(PassRefPtr<SharedBuffer> data, const KURL& url, const ResourceResponse& response) in create() argument
38 return data ? adoptRef(new ArchiveResource(data, url, response)) : 0; in create()
51 …::ArchiveResource(PassRefPtr<SharedBuffer> data, const KURL& url, const ResourceResponse& response) in ArchiveResource() argument
52 : SubstituteResource(url, response, data) in ArchiveResource()
53 , m_mimeType(response.mimeType()) in ArchiveResource()
54 , m_textEncoding(response.textEncodingName()) in ArchiveResource()
68 …g& mimeType, const String& textEncoding, const String& frameName, const ResourceResponse& response) in ArchiveResource() argument
69 …stituteResource(url, response.isNull() ? ResourceResponse(url, mimeType, data ? data->size() : 0, … in ArchiveResource()
/external/webkit/WebKitTools/Scripts/webkitpy/
Duser.py37 response = None
38 while (repeat and not response):
40 response = raw_input(message)
41 return response
59 response = raw_input("%s [Y/n]: " % message)
60 return not response or response.lower() == "y"
/external/webkit/WebCore/platform/network/soup/
DResourceHandleSoup.cpp80 WebCoreSynchronousLoader::WebCoreSynchronousLoader(ResourceError& error, ResourceResponse& response in WebCoreSynchronousLoader() argument
82 , m_response(response) in WebCoreSynchronousLoader()
94 void WebCoreSynchronousLoader::didReceiveResponse(ResourceHandle*, const ResourceResponse& response) in didReceiveResponse() argument
96 m_response = response; in didReceiveResponse()
161 static void fillResponseFromMessage(SoupMessage* msg, ResourceResponse* response) in fillResponseFromMessage() argument
168 response->setHTTPHeaderField(name, value); in fillResponseFromMessage()
171 response->setMimeType(extractMIMETypeFromMediaType(contentType)); in fillResponseFromMessage()
174 response->setURL(KURL(KURL(), uri)); in fillResponseFromMessage()
176 response->setTextEncodingName(extractCharsetFromMediaType(contentType)); in fillResponseFromMessage()
177response->setExpectedContentLength(soup_message_headers_get_content_length(msg->response_headers)); in fillResponseFromMessage()
[all …]
/external/webkit/WebCore/loader/appcache/
DApplicationCacheResource.cpp34 …urce::ApplicationCacheResource(const KURL& url, const ResourceResponse& response, unsigned type, P… in ApplicationCacheResource() argument
35 : SubstituteResource(url, response, data) in ApplicationCacheResource()
56 HTTPHeaderMap::const_iterator end = response().httpHeaderFields().end(); in estimatedSizeInStorage()
57 for (HTTPHeaderMap::const_iterator it = response().httpHeaderFields().begin(); it != end; ++it) in estimatedSizeInStorage()
62 m_estimatedSizeInStorage += response().url().string().length() * sizeof(UChar); in estimatedSizeInStorage()
64 m_estimatedSizeInStorage += response().mimeType().length() * sizeof(UChar); in estimatedSizeInStorage()
65 m_estimatedSizeInStorage += response().textEncodingName().length() * sizeof(UChar); in estimatedSizeInStorage()

12345678910>>...17