Home
last modified time | relevance | path

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

12345678910>>...64

/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/beanstalk/
Dresponse.py44 def __init__(self, response): argument
47 if response['ResponseMetadata']:
48 self.response_metadata = ResponseMetadata(response['ResponseMetadata'])
54 def __init__(self, response): argument
57 self.request_id = str(response['RequestId'])
61 def __init__(self, response): argument
64 self.application_name = str(response['ApplicationName'])
66 if response['ConfigurationTemplates']:
67 for member in response['ConfigurationTemplates']:
70 self.date_created = datetime.fromtimestamp(response['DateCreated'])
[all …]
/external/libmicrohttpd/src/microhttpd/
Dresponse.c51 add_response_entry (struct MHD_Response *response, in add_response_entry() argument
58 if ( (NULL == response) || in add_response_entry()
84 hdr->next = response->first_header; in add_response_entry()
85 response->first_header = hdr; in add_response_entry()
100 MHD_add_response_header (struct MHD_Response *response, in MHD_add_response_header() argument
103 return add_response_entry (response, in MHD_add_response_header()
120 MHD_add_response_footer (struct MHD_Response *response, in MHD_add_response_footer() argument
123 return add_response_entry (response, in MHD_add_response_footer()
140 MHD_del_response_header (struct MHD_Response *response, in MHD_del_response_header() argument
150 pos = response->first_header; in MHD_del_response_header()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/mws/
Dconnection.py28 import boto.mws.response
110 if isinstance(value, boto.mws.response.ResponseElement):
250 response = self._response_factory(action, connection=self)
252 return func(self, request, response, *args, **kw)
265 ResponseFactory = boto.mws.response.ResponseFactory
279 (boto.mws.response, self.ResponseFactory),
310 response = self._mexe(request, override_num_retries=None)
313 body = response.read()
317 raise self._response_error_factory(response.status,
318 response.reason, body)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/cloudfront/
Dtest_connection.py38 response = self.service_connection.get_all_distributions()
40 self.assertTrue(isinstance(response, list))
41 self.assertEqual(len(response), 1)
42 self.assertTrue(isinstance(response[0], DistributionSummary))
43 self.assertEqual(response[0].id, "EEEEEEEEEEEEE")
44 self.assertEqual(response[0].domain_name, "abcdef12345678.cloudfront.net")
45 self.assertEqual(response[0].status, "InProgress")
46 self.assertEqual(response[0].cnames, ["static.example.com"])
47 self.assertEqual(response[0].enabled, True)
48 self.assertTrue(isinstance(response[0].origin, CustomOrigin))
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python2/
Dhttplib2test.py186response, content = self.http.request("http://bitworking.org", connection_type=_MyHTTPConnection)
187 self.assertEqual(response['content-location'], "http://bitworking.org")
201 (response, content) = self.http.request("http://fred.bitworking.org/")
202 self.assertEqual(response['content-type'], 'text/plain')
204 self.assertEqual(response.status, 400)
217 (response, content) = self.http.request("http://localhost:7777/")
218 self.assertEqual(response['content-type'], 'text/plain')
222 self.assertEqual(response.status, 400)
227 (response, content) = self.http.request(uri, "GET")
235 (response, content) = self.http.request(uri)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/httplib2/python3/
Dhttplib2test.py168response, content = self.http.request("http://bitworking.org", connection_type=_MyHTTPConnection)
169 self.assertEqual(response['content-location'], "http://bitworking.org")
183 (response, content) = self.http.request("http://fred.bitworking.org/")
184 self.assertEqual(response['content-type'], 'text/plain')
186 self.assertEqual(response.status, 400)
199 (response, content) = self.http.request("http://localhost:7777/")
200 self.assertEqual(response['content-type'], 'text/plain')
202 self.assertEqual(response.status, 400)
207 (response, content) = self.http.request(uri, "GET")
215 (response, content) = self.http.request(uri)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/tunes_db/server/
Dtunes_db_test.py112 response = self.service.add_artist(request)
113 response.check_initialized()
115 elvis = model.ArtistInfo.get(response.artist_id)
126 response = self.service.update_artist(request)
127 response.check_initialized()
129 self.assertTrue(response.artist_updated)
144 response = self.service.update_artist(request)
145 response.check_initialized()
147 self.assertFalse(response.artist_updated)
155 response = self.service.delete_artist(request)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/fps/
Dconnection.py28 from boto.fps.response import ResponseFactory
29 import boto.fps.response
90 response = ResponseFactory(action)
91 if hasattr(boto.fps.response, action + 'Response'):
92 response = getattr(boto.fps.response, action + 'Response')
95 return func(self, action, response, *args, **kw)
96 wrapper.action, wrapper.response = action, response
122 def settle_debt(self, action, response, **kw): argument
128 return self.get_object(action, kw, response)
132 def get_transaction_status(self, action, response, **kw): argument
[all …]
/external/autotest/frontend/afe/
Dresources_test.py48 response = self.request('get', 'hosts?locked=true&has_label=label1')
49 self.check_collection(response, 'hostname', ['host1', 'host2'])
53 response = self.request('get', 'hosts?hostname:in=host1,host2')
54 self.check_collection(response, 'hostname', ['host1', 'host2'])
58 response = self.request('get', 'hosts?start_index=1&items_per_page=2')
59 self.check_collection(response, 'hostname', ['host2', 'host3'])
60 self.assertEquals(response['total_results'], 9)
61 self.assertEquals(response['items_per_page'], 2)
62 self.assertEquals(response['start_index'], 1)
66 response = self.request(
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/rds/
Dtest_snapshot.py81 response = self.service_connection.get_all_dbsnapshots(instance_id='simcoprod01')
86 self.assertEqual(len(response), 3)
87 self.assertIsInstance(response[0], DBSnapshot)
88 self.assertEqual(response[0].id, 'mydbsnapshot')
89 self.assertEqual(response[0].status, 'available')
90 self.assertEqual(response[0].instance_id, 'simcoprod01')
91 self.assertEqual(response[0].engine_version, '5.1.50')
92 self.assertEqual(response[0].license_model, 'general-public-license')
93 self.assertEqual(response[0].iops, 1000)
94 self.assertEqual(response[0].option_group_name, 'myoptiongroupname')
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/s3/
Dbucket.py197 response = self.connection.make_request('HEAD', self.name, key_name,
200 response.read()
203 if response.status / 100 == 2:
206 k.metadata = boto.utils.get_aws_metadata(response.msg, provider)
209 response.getheader(field)
214 clen = response.getheader('content-length')
216 k.size = int(response.getheader('content-length'))
220 k.handle_version_headers(response)
221 k.handle_encryption_headers(response)
222 k.handle_restore_headers(response)
[all …]
/external/vboot_reference/firmware/lib/tpm_lite/
Dtlcl.c64 uint8_t* response, int max_length) { in TlclSendReceiveNoRetry() argument
77 response, &response_length); in TlclSendReceiveNoRetry()
85 result = TpmReturnCode(response); in TlclSendReceiveNoRetry()
93 response[0], response[1], in TlclSendReceiveNoRetry()
94 response[2], response[3], response[4], response[5], in TlclSendReceiveNoRetry()
95 response[6], response[7], response[8], response[9])); in TlclSendReceiveNoRetry()
108 uint32_t TlclSendReceive(const uint8_t* request, uint8_t* response, in TlclSendReceive() argument
110 uint32_t result = TlclSendReceiveNoRetry(request, response, max_length); in TlclSendReceive()
123 result = TlclSendReceiveNoRetry(request, response, max_length); in TlclSendReceive()
131 result = TlclSendReceiveNoRetry(request, response, max_length); in TlclSendReceive()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/emr/
Dtest_connection.py94 response = self.service_connection.list_clusters()
101 self.assertTrue(isinstance(response, ClusterSummaryList))
103 self.assertEqual(len(response.clusters), 2)
105 self.assertTrue(isinstance(response.clusters[0], ClusterSummary))
106 self.assertEqual(response.clusters[0].name, 'analytics test')
107 self.assertEqual(response.clusters[0].normalizedinstancehours, '10')
109 self.assertTrue(isinstance(response.clusters[0].status, ClusterStatus))
110 self.assertEqual(response.clusters[0].status.state, 'TERMINATED')
112 self.assertTrue(isinstance(response.clusters[0].status.timeline, ClusterTimeline))
114 … self.assertEqual(response.clusters[0].status.timeline.creationdatetime, '2014-01-24T01:21:21Z')
[all …]
/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 …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/protorpc/demos/quotas/backend/quotas/
Dservices_test.py188 response = self.service.get_quota_state(
190 self.assertEquals(len(remaining_quotas), len(response.bucket_states))
192 response.bucket_states):
201 response = self.service.check_quota(request)
203 self.assertEquals(services.CheckResult.Status.OK, response.all_status)
204 self.assertFalse(response.denied)
205 self.assertEquals(2, len(response.results))
208 services.CheckResult.Status.OK, response.results[0].status)
209 self.assertEquals(100, response.results[0].available)
212 services.CheckResult.Status.OK, response.results[1].status)
[all …]
/external/gptfdisk/
Dsupport.cc52 int response, num; in GetNumber() local
61 num = sscanf(line, "%d", &response); in GetNumber()
63 if ((response < low) || (response > high)) in GetNumber()
66 response = def; in GetNumber()
68 } while ((response < low) || (response > high)); in GetNumber()
71 response = low; in GetNumber()
73 return (response); in GetNumber()
78 char response; in GetYN() local
87 response = toupper(line[0]); in GetYN()
88 } while ((response != 'Y') && (response != 'N')); in GetYN()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/route53/
Dconnection.py119 response = self.make_request('GET', '/%s/hostedzone' % self.Version,
121 body = response.read()
123 if response.status >= 300:
124 raise exception.DNSServerError(response.status,
125 response.reason,
148 response = self.make_request('GET', uri)
149 body = response.read()
151 if response.status >= 300:
152 raise exception.DNSServerError(response.status,
153 response.reason,
[all …]
/external/libbrillo/brillo/http/
Dhttp_utils_unittest.cc28 fake::ServerResponse* response) { in EchoDataHandler() argument
29 response->Reply(status_code::Ok, in EchoDataHandler()
36 fake::ServerResponse* response) { in EchoMethodHandler() argument
37 response->ReplyText( in EchoMethodHandler()
49 auto response = in TEST() local
58 EXPECT_TRUE(response->IsSuccessful()); in TEST()
60 response->GetContentType()); in TEST()
61 EXPECT_EQ(custom_data, response->ExtractData()); in TEST()
73 std::unique_ptr<http::Response> response) { in TEST() argument
74 EXPECT_TRUE(response->IsSuccessful()); in TEST()
[all …]
/external/nanohttpd/nanolets/src/test/java/fi/iki/elonen/router/
DTestNanolets.java111 CloseableHttpResponse response = httpclient.execute(httpget); in doSomeBasicMethodTest() local
112 HttpEntity entity = response.getEntity(); in doSomeBasicMethodTest()
116 response.close(); in doSomeBasicMethodTest()
119 response = httpclient.execute(httppost); in doSomeBasicMethodTest()
120 entity = response.getEntity(); in doSomeBasicMethodTest()
124 response.close(); in doSomeBasicMethodTest()
127 response = httpclient.execute(httpgput); in doSomeBasicMethodTest()
128 entity = response.getEntity(); in doSomeBasicMethodTest()
132 response.close(); in doSomeBasicMethodTest()
135 response = httpclient.execute(httpdelete); in doSomeBasicMethodTest()
[all …]
/external/chromium-trace/catapult/third_party/gsutil/gslib/
Dgcs_json_media.py284 (response, content) = self._conn_request(conn, request_uri, method, body,
288 if auth.response(response, body):
290 (response, content) = self._conn_request(conn, request_uri, method,
292 response._stale_digest = 1
294 if response.status == 401:
296 host, request_uri, headers, response, content):
298 (response, content) = self._conn_request(conn, request_uri, method,
300 if response.status != 401:
302 authorization.response(response, body)
306 or response.status == 303):
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/ses/
Dtest_identity.py70 response = self.service_connection\
73 response = response['GetIdentityDkimAttributesResponse']
74 result = response['GetIdentityDkimAttributesResult']
120 response = self.service_connection\
126 response = response['SetIdentityNotificationTopicResponse']
127 result = response['SetIdentityNotificationTopicResult']
129 self.assertEqual(2, len(response))
135 response = self.service_connection\
141 response = response['SetIdentityNotificationTopicResponse']
142 result = response['SetIdentityNotificationTopicResult']
[all …]
/external/apache-http/src/org/apache/http/protocol/
DHttpService.java136 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 …]
/external/nanohttpd/core/src/test/java/fi/iki/elonen/integration/
DGZipIntegrationTest.java60 public Response response; field in GZipIntegrationTest.TestServer
68 return response; in serve()
84 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test"); in contentEncodingShouldBeAddedToFixedLengthResponses()
87 HttpResponse response = httpclient.execute(request); in contentEncodingShouldBeAddedToFixedLengthResponses() local
88 Header contentEncoding = response.getFirstHeader("content-encoding"); in contentEncodingShouldBeAddedToFixedLengthResponses()
96 …testServer.response = NanoHTTPD.newChunkedResponse(NanoHTTPD.Response.Status.OK, "text/plain", dat… in contentEncodingShouldBeAddedToChunkedResponses()
99 HttpResponse response = httpclient.execute(request); in contentEncodingShouldBeAddedToChunkedResponses() local
100 Header contentEncoding = response.getFirstHeader("content-encoding"); in contentEncodingShouldBeAddedToChunkedResponses()
107 testServer.response = NanoHTTPD.newFixedLengthResponse("This is a test"); in shouldFindCorrectAcceptEncodingAmongMany()
110 HttpResponse response = httpclient.execute(request); in shouldFindCorrectAcceptEncodingAmongMany() local
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/boto/cloudfront/
D__init__.py55 def get_etag(self, response): argument
56 response_headers = response.msg
71 response = self.make_request('GET', '/%s/%s' % (self.Version,
73 body = response.read()
75 if response.status >= 300:
76 raise CloudFrontServerError(response.status, response.reason, body)
86 response = self.make_request('GET', uri)
87 body = response.read()
89 if response.status >= 300:
90 raise CloudFrontServerError(response.status, response.reason, body)
[all …]
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/tests/unit/sts/
Dtest_connection.py70 response = self.service_connection.assume_role('arn:role', 'mysession')
76 self.assertEqual(response.credentials.access_key, 'accesskey')
77 self.assertEqual(response.credentials.secret_key, 'secretkey')
78 self.assertEqual(response.credentials.session_token, 'session_token')
79 self.assertEqual(response.user.arn, 'arn:role')
80 self.assertEqual(response.user.assume_role_id, 'roleid:myrolesession')
84 response = self.service_connection.assume_role(
97 self.assertEqual(response.credentials.access_key, 'accesskey')
98 self.assertEqual(response.credentials.secret_key, 'secretkey')
99 self.assertEqual(response.credentials.session_token, 'session_token')
[all …]

12345678910>>...64