/external/chromium_org/v8/test/mjsunit/ |
D | debug-backtrace.js | 62 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 …]
|
/external/chromium_org/chrome/renderer/resources/extensions/ |
D | file_manager_private_custom_bindings.js | 27 function(name, request, response) { argument 29 if (response && !response.error) 30 fs = GetFileSystem(response.name, response.root_url); 37 function(name, request, response) { argument 38 if (response && !response.error && response.entries) { 39 response.entries = response.entries.map(function(entry) { 45 if (!response) 46 response = {}; 49 request.callback(response.entries, response.nextFeed); 54 function(name, request, response) { argument [all …]
|
D | media_galleries_custom_bindings.js | 14 function createFileSystemObjectsAndUpdateMetadata(response) { argument 17 if (response) { 18 for (var i = 0; i < response.length; i++) { 20 response[i].fsid); 22 var metadata = response[i]; 37 function(name, request, response) { argument 38 var result = createFileSystemObjectsAndUpdateMetadata(response); 45 function(name, request, response) { argument 46 var result = createFileSystemObjectsAndUpdateMetadata(response); 53 function(name, request, response) { argument [all …]
|
/external/chromium_org/remoting/host/setup/ |
D | me2me_native_messaging_host.cc | 109 scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue()); in OnMessage() local 115 response->Set("id", id->DeepCopy()); in OnMessage() 124 response->SetString("type", type + "Response"); in OnMessage() 127 ProcessHello(message_dict.Pass(), response.Pass()); in OnMessage() 129 ProcessClearPairedClients(message_dict.Pass(), response.Pass()); in OnMessage() 131 ProcessDeletePairedClient(message_dict.Pass(), response.Pass()); in OnMessage() 133 ProcessGetHostName(message_dict.Pass(), response.Pass()); in OnMessage() 135 ProcessGetPinHash(message_dict.Pass(), response.Pass()); in OnMessage() 137 ProcessGenerateKeyPair(message_dict.Pass(), response.Pass()); in OnMessage() 139 ProcessUpdateDaemonConfig(message_dict.Pass(), response.Pass()); in OnMessage() [all …]
|
D | me2me_native_messaging_host_unittest.cc | 33 void VerifyHelloResponse(scoped_ptr<base::DictionaryValue> response) { in VerifyHelloResponse() argument 34 ASSERT_TRUE(response); in VerifyHelloResponse() 36 EXPECT_TRUE(response->GetString("type", &value)); in VerifyHelloResponse() 38 EXPECT_TRUE(response->GetString("version", &value)); in VerifyHelloResponse() 42 void VerifyGetHostNameResponse(scoped_ptr<base::DictionaryValue> response) { in VerifyGetHostNameResponse() argument 43 ASSERT_TRUE(response); in VerifyGetHostNameResponse() 45 EXPECT_TRUE(response->GetString("type", &value)); in VerifyGetHostNameResponse() 47 EXPECT_TRUE(response->GetString("hostname", &value)); in VerifyGetHostNameResponse() 51 void VerifyGetPinHashResponse(scoped_ptr<base::DictionaryValue> response) { in VerifyGetPinHashResponse() argument 52 ASSERT_TRUE(response); in VerifyGetPinHashResponse() [all …]
|
/external/chromium_org/chrome/common/extensions/docs/server2/ |
D | render_servlet_test.py | 75 response = self._Render('extensions/examples/%s' % sample_file) 76 self.assertEqual(200, response.status) 77 self.assertTrue(response.headers['Content-Type'] in ( 81 response.content.ToString()) 85 response = self._Render('extensions/examples/%s.zip' % sample_dir) 86 self.assertEqual(200, response.status) 87 self.assertEqual('application/zip', response.headers['Content-Type']) 91 response = self._Render('static/%s' % static_file) 92 self.assertEqual(200, response.status) 94 response.headers['Content-Type']) [all …]
|
/external/chromium_org/net/ftp/ |
D | ftp_ctrl_response_buffer_unittest.cc | 33 net::FtpCtrlResponse response = buffer_.PopResponse(); in TEST_F() local 35 EXPECT_EQ(200, response.status_code); in TEST_F() 36 ASSERT_EQ(1U, response.lines.size()); in TEST_F() 37 EXPECT_EQ("Status Text", response.lines[0]); in TEST_F() 52 net::FtpCtrlResponse response = buffer_.PopResponse(); in TEST_F() local 54 EXPECT_EQ(200, response.status_code); in TEST_F() 55 ASSERT_EQ(1U, response.lines.size()); in TEST_F() 56 EXPECT_EQ("Status Text", response.lines[0]); in TEST_F() 69 net::FtpCtrlResponse response = buffer_.PopResponse(); in TEST_F() local 71 EXPECT_EQ(230, response.status_code); in TEST_F() [all …]
|
/external/chromium_org/net/server/ |
D | http_server_response_info_unittest.cc | 12 HttpServerResponseInfo response; in TEST() local 13 ASSERT_EQ(HTTP_OK, response.status_code()); in TEST() 14 ASSERT_EQ("HTTP/1.1 200 OK\r\n\r\n", response.Serialize()); in TEST() 18 HttpServerResponseInfo response; in TEST() local 19 response.AddHeader("A", "1"); in TEST() 20 response.AddHeader("A", "2"); in TEST() 21 ASSERT_EQ("HTTP/1.1 200 OK\r\nA:1\r\nA:2\r\n\r\n", response.Serialize()); in TEST() 25 HttpServerResponseInfo response; in TEST() local 26 ASSERT_EQ(std::string(), response.body()); in TEST() 27 response.SetBody("body", "type"); in TEST() [all …]
|
/external/chromium_org/third_party/WebKit/Source/modules/serviceworkers/ |
D | FetchResponseData.cpp | 34 FetchResponseData* response = new FetchResponseData(BasicType, m_status, m_statusMessage); in createBasicFilteredResponse() local 35 response->m_url = m_url; in createBasicFilteredResponse() 40 response->m_headerList->append(header->first, header->second); in createBasicFilteredResponse() 42 response->m_blobDataHandle = m_blobDataHandle; in createBasicFilteredResponse() 43 response->m_internalResponse = this; in createBasicFilteredResponse() 44 return response; in createBasicFilteredResponse() 56 FetchResponseData* response = new FetchResponseData(CORSType, m_status, m_statusMessage); in createCORSFilteredResponse() local 57 response->m_url = m_url; in createCORSFilteredResponse() 66 response->m_headerList->append(header->first, header->second); in createCORSFilteredResponse() 68 response->m_blobDataHandle = m_blobDataHandle; in createCORSFilteredResponse() [all …]
|
/external/apache-http/src/org/apache/http/protocol/ |
D | HttpService.java | 136 HttpResponse response = null; in handleRequest() local 154 response = this.responseFactory.newHttpResponse(ver, in handleRequest() 156 response.setParams( in handleRequest() 157 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest() 161 this.expectationVerifier.verify(request, response, context); in handleRequest() 163 response = this.responseFactory.newHttpResponse(HttpVersion.HTTP_1_0, in handleRequest() 165 response.setParams( in handleRequest() 166 new DefaultedHttpParams(response.getParams(), this.params)); in handleRequest() 167 handleException(ex, response); in handleRequest() 170 if (response.getStatusLine().getStatusCode() < 200) { in handleRequest() [all …]
|
D | HttpRequestExecutor.java | 85 final HttpResponse response) { in canResponseHaveBody() argument 90 int status = response.getStatusLine().getStatusCode(); in canResponseHaveBody() 124 HttpResponse response = doSendRequest(request, conn, context); in execute() local 125 if (response == null) { in execute() 126 response = doReceiveResponse(request, conn, context); in execute() 128 return response; in execute() 203 HttpResponse response = null; in doSendRequest() local 224 response = conn.receiveResponseHeader(); in doSendRequest() 225 if (canResponseHaveBody(request, response)) { in doSendRequest() 226 conn.receiveResponseEntity(response); in doSendRequest() [all …]
|
/external/lldb/source/Plugins/Process/gdb-remote/ |
D | GDBRemoteCommunicationServer.cpp | 209 StreamString response; in Handle_qHostInfo() local 215 response.PutCString("triple:"); in Handle_qHostInfo() 216 response.PutCStringAsRawHex8(host_triple.getTriple().c_str()); in Handle_qHostInfo() 217 response.Printf (";ptrsize:%u;",host_arch.GetAddressByteSize()); in Handle_qHostInfo() 222 response.Printf ("cputype:%u;", cpu); in Handle_qHostInfo() 224 response.Printf ("cpusubtype:%u;", sub); in Handle_qHostInfo() 227 …response.Printf("watchpoint_exceptions_received:before;"); // On armv7 we use "synchronous" watc… in Handle_qHostInfo() 229 response.Printf("watchpoint_exceptions_received:after;"); in Handle_qHostInfo() 233 case eByteOrderBig: response.PutCString ("endian:big;"); break; in Handle_qHostInfo() 234 case eByteOrderLittle: response.PutCString ("endian:little;"); break; in Handle_qHostInfo() [all …]
|
D | GDBRemoteCommunicationClient.cpp | 116 StringExtractorGDBRemote response; in QueryNoAckModeSupported() local 117 if (SendPacketAndWaitForResponse("QStartNoAckMode", response, false)) in QueryNoAckModeSupported() 119 if (response.IsOKResponse()) in QueryNoAckModeSupported() 135 StringExtractorGDBRemote response; in GetListThreadsInStopReplySupported() local 136 if (SendPacketAndWaitForResponse("QListThreadsInStopReply", response, false)) in GetListThreadsInStopReplySupported() 138 if (response.IsOKResponse()) in GetListThreadsInStopReplySupported() 151 StringExtractorGDBRemote response; in GetVAttachOrWaitSupported() local 152 if (SendPacketAndWaitForResponse("qVAttachOrWaitSupported", response, false)) in GetVAttachOrWaitSupported() 154 if (response.IsOKResponse()) in GetVAttachOrWaitSupported() 171 StringExtractorGDBRemote response; in GetSyncThreadStateSupported() local [all …]
|
/external/chromium_org/media/blink/ |
D | test_response_generator.cc | 34 WebURLResponse response(gurl_); in Generate200() local 35 response.setHTTPStatusCode(200); in Generate200() 37 response.setHTTPHeaderField( in Generate200() 40 response.setExpectedContentLength(content_length_); in Generate200() 41 return response; in Generate200() 53 WebURLResponse response(gurl_); in Generate206() local 54 response.setHTTPStatusCode(206); in Generate206() 57 response.setHTTPHeaderField(WebString::fromUTF8("Accept-Ranges"), in Generate206() 69 response.setHTTPHeaderField(WebString::fromUTF8("Content-Range"), in Generate206() 74 response.setHTTPHeaderField( in Generate206() [all …]
|
/external/chromium_org/third_party/WebKit/Tools/RebaselineLogServer/ |
D | main_unittest.py | 56 response = request.get_response(main.app) 57 self.assertEqual(response.status_int, 200) 58 self.assertEqual(response.body, 'Wrote new log entry.') 60 response = request.get_response(main.app) 61 self.assertEqual(response.status_int, 200) 62 self.assertEqual(response.body, 'Wrote new log entry.') 70 response = request.get_response(main.app) 71 self.assertEqual(response.status_int, 200) 72 self.assertEqual(response.body, 'Added to existing log entry.') 80 response = request.get_response(main.app) [all …]
|
/external/chromium_org/chrome/test/chromedriver/chrome/ |
D | adb_impl.cc | 31 void OnResponse(int result, const std::string& response) { in OnResponse() argument 32 response_ = response; in OnResponse() 38 std::string* response, const base::TimeDelta& timeout) { in GetResponse() argument 51 *response = response_; in GetResponse() 84 std::string response; in GetDevices() local 85 Status status = ExecuteCommand("host:devices", &response); in GetDevices() 88 base::StringTokenizer lines(response, "\n"); in GetDevices() 102 std::string response; in ForwardPort() local 107 &response); in ForwardPort() 110 if (response == "OKAY") in ForwardPort() [all …]
|
/external/chromium_org/third_party/webrtc/base/ |
D | asynchttprequest_unittest.cc | 73 request->response().document.reset(new MemoryStream()); in CreateGetRequest() 89 request->response().document.reset(new MemoryStream()); in CreatePostRequest() 100 t->response.set_success("text/plain", new MemoryStream(kServerResponse)); in OnRequest() 114 t->response.set_success("text/plain", out); in OnRequest() 116 t->response.set_error(404); in OnRequest() 138 std::string response; in TEST_F() local 139 EXPECT_EQ(200U, req->response().scode); in TEST_F() 140 ASSERT_TRUE(req->response().document); in TEST_F() 141 req->response().document->Rewind(); in TEST_F() 142 req->response().document->ReadLine(&response); in TEST_F() [all …]
|
/external/chromium_org/sync/engine/ |
D | syncer_proto_util.cc | 46 void LogResponseProfilingData(const ClientToServerResponse& response) { in LogResponseProfilingData() argument 47 if (response.has_profiling_data()) { in LogResponseProfilingData() 51 if (response.profiling_data().has_user_lookup_time()) { in LogResponseProfilingData() 53 << response.profiling_data().user_lookup_time() << "ms"; in LogResponseProfilingData() 56 if (response.profiling_data().has_meta_data_write_time()) { in LogResponseProfilingData() 58 << response.profiling_data().meta_data_write_time() in LogResponseProfilingData() 62 if (response.profiling_data().has_meta_data_read_time()) { in LogResponseProfilingData() 64 << response.profiling_data().meta_data_read_time() << "ms"; in LogResponseProfilingData() 67 if (response.profiling_data().has_file_data_write_time()) { in LogResponseProfilingData() 69 << response.profiling_data().file_data_write_time() in LogResponseProfilingData() [all …]
|
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/ |
D | js_fs_test.cc | 114 ppapi_.GetVarInterface()->Release(it->response); in TearDown() 149 fs_->Filesystem_Ioctl(NACL_IOC_HANDLEMESSAGE, &it->response)); in JsThreadMain() 152 it->response = PP_MakeUndefined(); in JsThreadMain() 156 void Expect(PP_Var request, PP_Var response) { in Expect() argument 160 rr.response = response; in Expect() 474 PP_Var response; member 495 PP_Var response; in SetUp() local 496 ASSERT_EQ(true, CreateDict(&response)); in SetUp() 497 ASSERT_EQ(true, SetDictKeyValue(&response, "id", 1)); in SetUp() 498 ASSERT_EQ(true, SetDictKeyValue(&response, "error", 0)); in SetUp() [all …]
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/sdk/ |
D | NetworkManager.js | 184 _updateNetworkRequestWithResponse: function(networkRequest, response) argument 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.encodedDataLength >= 0) 193 networkRequest.setTransferSize(response.encodedDataLength); 194 if (response.headersText) [all …]
|
/external/chromium_org/content/browser/geolocation/ |
D | wifi_data_provider_linux.cc | 148 scoped_ptr<dbus::Response> response( in GetAccessPointData() local 152 if (!response) { in GetAccessPointData() 157 dbus::MessageReader reader(response.get()); in GetAccessPointData() 161 << response->ToString(); in GetAccessPointData() 180 scoped_ptr<dbus::Response> response( in GetAdapterDeviceList() local 184 if (!response) { in GetAdapterDeviceList() 189 dbus::MessageReader reader(response.get()); in GetAdapterDeviceList() 191 LOG(WARNING) << "Unexpected response: " << response->ToString(); in GetAdapterDeviceList() 208 scoped_ptr<dbus::Response> response( in GetAccessPointsForAdapter() local 212 if (!response) { in GetAccessPointsForAdapter() [all …]
|
/external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/httplib2/ |
D | __init__.py | 114 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/chromium_org/net/tools/quic/ |
D | quic_in_memory_cache_test.cc | 86 const QuicInMemoryCache::Response* response = in TEST_F() local 88 ASSERT_TRUE(response); in TEST_F() 89 EXPECT_EQ("200", response->headers().response_code()); in TEST_F() 90 EXPECT_EQ(response_body.size(), response->body().length()); in TEST_F() 93 response = cache->GetResponse(request_headers); in TEST_F() 94 ASSERT_TRUE(response); in TEST_F() 95 EXPECT_EQ("200", response->headers().response_code()); in TEST_F() 96 EXPECT_EQ(response_body.size(), response->body().length()); in TEST_F() 103 const QuicInMemoryCache::Response* response = in TEST_F() local 105 ASSERT_TRUE(response); in TEST_F() [all …]
|
/external/chromium_org/cloud_print/gcp20/prototype/ |
D | privet_http_server.cc | 162 std::string response; in OnHttpRequest() local 163 net::HttpStatusCode status_code = ProcessHttpRequest(url, info, &response); in OnHttpRequest() 165 server_->Send(connection_id, status_code, response, "application/json"); in OnHttpRequest() 210 std::string* response) { in ProcessHttpRequest() argument 231 response->clear(); in ProcessHttpRequest() 237 response); in ProcessHttpRequest() 249 scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue); in ProcessInfo() local 250 response->SetString("version", info.version); in ProcessInfo() 251 response->SetString("name", info.name); in ProcessInfo() 252 response->SetString("description", info.description); in ProcessInfo() [all …]
|
/external/chromium_org/remoting/host/it2me/ |
D | it2me_native_messaging_host.cc | 92 scoped_ptr<base::DictionaryValue> response(new base::DictionaryValue()); in OnMessage() local 98 response->Set("id", id->DeepCopy()); in OnMessage() 102 SendErrorAndExit(response.Pass(), "'type' not found in request."); in OnMessage() 106 response->SetString("type", type + "Response"); in OnMessage() 109 ProcessHello(*message_dict, response.Pass()); in OnMessage() 111 ProcessConnect(*message_dict, response.Pass()); in OnMessage() 113 ProcessDisconnect(*message_dict, response.Pass()); in OnMessage() 115 SendErrorAndExit(response.Pass(), "Unsupported request type: " + type); in OnMessage() 126 scoped_ptr<base::DictionaryValue> response) const { in ProcessHello() 129 response->SetString("version", STRINGIZE(VERSION)); in ProcessHello() [all …]
|