HomeSort by relevance Sort by last modified time
    Searched refs:resp (Results 1 - 25 of 79) sorted by null

1 2 3 4

  /external/chromium_org/tools/chrome_proxy/integration_tests/
network_metrics_unittest.py 52 resp = network_metrics.HTTPResponse(self.MakeNetworkTimelineEvent(
59 self.assertEqual(url, resp.response.url)
60 body, base64_encoded = resp.response.GetBody()
63 self.assertEqual('text/html', resp.response.GetHeader('Content-Type'))
65 self.assertEqual(len(HTML_BODY), resp.content_length)
66 self.assertEqual(None, resp.response.GetHeader('Content-Encoding'))
67 self.assertFalse(resp.has_original_content_length)
68 self.assertEqual(0.0, resp.data_saving_rate)
71 resp = network_metrics.HTTPResponse(self.MakeNetworkTimelineEvent(
79 body, base64_encoded = resp.response.GetBody(
    [all...]
chrome_proxy_metrics.py 54 resp = self.response
56 if resp.url.startswith('https') or resp.url.startswith('data:'):
59 if resp.status == 304 or resp.served_from_cache:
62 if not resp.headers:
65 resp.url, resp.GetHeader('Referer'), resp.status)
122 for resp in self.IterResponses(tab)
    [all...]
network_metrics.py 65 resp = self.response
66 body, base64_encoded = resp.GetBody()
75 encoding = resp.GetHeader('Content-Encoding')
88 'Unknown Content-Encoding %s for %s' % (encoding, resp.url))
95 resp = self.response
97 resp.url[:100], e)
98 cl_header = resp.GetHeader('Content-Length')
102 body, _ = resp.GetBody()
157 for resp in self.IterResponses(tab):
159 if resp.response.served_from_cache
    [all...]
chrome_proxy_metrics_unittest.py 85 resp = metrics.ChromeProxyResponse(
94 self.assertFalse(resp.ShouldHaveChromeProxyViaHeader())
95 self.assertFalse(resp.HasChromeProxyViaHeader())
96 self.assertTrue(resp.IsValidByViaHeader())
99 resp = metrics.ChromeProxyResponse(
110 self.assertTrue(resp.ShouldHaveChromeProxyViaHeader())
111 self.assertTrue(resp.HasChromeProxyViaHeader())
112 self.assertTrue(resp.IsValidByViaHeader())
  /external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
inspector_network_unittest.py 50 resp = inspector_network.InspectorNetworkResponseData.FromTimelineEvent(
52 self.assertLess(0.0, resp.timestamp)
54 self.assertTrue(resp.headers)
55 self.assertTrue(resp.headers['Content-Length'])
56 body, base64_encoded = resp.GetBody()
58 link = resp.url[resp.url.rfind('/') + 1 :]
61 self.assertEqual(resp.GetHeader('Content-Type'), 'text/html')
66 self.assertEqual(resp.GetHeader('Content-Type'), 'image/png')
75 resp = inspector_network.InspectorNetworkResponseData.FromTimelineEvent
    [all...]
  /external/chromium_org/third_party/tlslite/tlslite/integration/
smtp_tls.py 67 (resp, reply) = self.docmd("STARTTLS")
68 if resp == 220:
78 return (resp, reply
  /external/chromium_org/net/dns/
dns_response_unittest.cc 207 DnsResponse resp; local
208 memcpy(resp.io_buffer()->data(), response_data, sizeof(response_data));
211 EXPECT_FALSE(resp.InitParse(query->io_buffer()->size() - 1, *query));
212 EXPECT_FALSE(resp.IsValid());
216 EXPECT_FALSE(resp.InitParse(sizeof(response_data), *other_query));
217 EXPECT_FALSE(resp.IsValid());
222 EXPECT_FALSE(resp.InitParse(sizeof(response_data), *wrong_query));
223 EXPECT_FALSE(resp.IsValid());
226 EXPECT_TRUE(resp.InitParse(sizeof(response_data), *query));
227 EXPECT_TRUE(resp.IsValid())
249 DnsResponse resp; local
300 DnsResponse resp; local
358 DnsResponse resp; local
389 DnsResponse resp; local
    [all...]
  /external/chromium_org/media/tools/layout_tests/
test_expectations.py 63 resp = urllib2.urlopen(url)
64 if resp.code != 200:
67 for line in resp.read().split('\n'):
  /external/chromium_org/third_party/google_appengine_cloudstorage/cloudstorage/
api_utils.py 100 def _should_retry(resp):
102 return (resp.status_code == httplib.REQUEST_TIMEOUT or
103 (resp.status_code >= 500 and
104 resp.status_code < 600))
251 resp = None
255 resp = urlfetch.fetch(url, **kwds)
266 if resp and not _should_retry(resp):
268 elif resp:
270 'Got status %s from GCS.', resp.status_code
    [all...]
rest_api.py 176 resp = None
178 resp = yield self.urlfetch_async(url, payload=payload, method=method,
181 if resp.status_code == httplib.UNAUTHORIZED:
184 resp = yield self.urlfetch_async(
190 retry = api_utils._should_retry(resp)
197 resp = retry_resp
198 elif not resp:
201 raise ndb.Return((resp.status_code, resp.headers, resp.content)
    [all...]
  /external/elfutils/0.153/lib/
crc32_file.c 56 crc32_file (int fd, uint32_t *resp)
84 *resp = crc32 (crc, mapped, st.st_size);
104 *resp = crc;
  /development/samples/SampleSyncAdapter/src/com/example/android/samplesync/client/
NetworkUtilities.java 106 final HttpResponse resp; local
122 resp = getHttpClient().execute(post);
124 if (resp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
125 InputStream istream = (resp.getEntity() != null) ? resp.getEntity().getContent()
136 Log.e(TAG, "Error authenticating" + resp.getStatusLine());
192 final HttpResponse resp = getHttpClient().execute(post); local
193 final String response = EntityUtils.toString(resp.getEntity());
194 if (resp.getStatusLine().getStatusCode() == HttpStatus.SC_OK) {
208 if (resp.getStatusLine().getStatusCode() == HttpStatus.SC_UNAUTHORIZED)
    [all...]
  /external/chromium_org/net/spdy/
spdy_proxy_client_socket_unittest.cc 392 scoped_ptr<SpdyFrame> resp(ConstructConnectReplyFrame());
394 CreateMockRead(*resp, 1, ASYNC),
413 scoped_ptr<SpdyFrame> resp(ConstructConnectAuthReplyFrame());
415 CreateMockRead(*resp, 1, ASYNC),
434 scoped_ptr<SpdyFrame> resp(ConstructConnectReplyFrame());
436 CreateMockRead(*resp, 1, ASYNC),
456 scoped_ptr<SpdyFrame> resp(ConstructConnectRedirectReplyFrame());
458 CreateMockRead(*resp, 1, ASYNC), MockRead(ASYNC, 0, 3), // EOF
487 scoped_ptr<SpdyFrame> resp(ConstructConnectReplyFrame());
511 scoped_ptr<SpdyFrame> resp(ConstructConnectReplyFrame())
    [all...]
  /external/chromium_org/content/browser/loader/
certificate_resource_handler.h 40 ResourceResponse* resp,
44 virtual bool OnResponseStarted(ResourceResponse* resp,
stream_resource_handler.h 38 ResourceResponse* resp,
41 virtual bool OnResponseStarted(ResourceResponse* resp,
certificate_resource_handler.cc 40 ResourceResponse* resp,
45 bool CertificateResourceHandler::OnResponseStarted(ResourceResponse* resp,
47 cert_type_ = net::GetCertificateMimeTypeForMimeType(resp->head.mime_type);
stream_resource_handler.cc 41 ResourceResponse* resp,
46 bool StreamResourceHandler::OnResponseStarted(ResourceResponse* resp,
  /external/chromium_org/chrome/test/chromedriver/third_party/googlecode/
googlecode_upload.py 106 resp = server.getresponse()
109 if resp.status == 201:
110 location = resp.getheader('Location', None)
113 return resp.status, resp.reason, location
  /external/openssl/apps/
ocsp.c 107 static int make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db,
115 static int send_ocsp_response(BIO *cbio, OCSP_RESPONSE *resp);
139 OCSP_RESPONSE *resp = NULL; local
703 resp = OCSP_response_create(OCSP_RESPONSE_STATUS_MALFORMEDREQUEST, NULL);
704 send_ocsp_response(cbio, resp);
774 i = make_ocsp_response(&resp, req, rdb, rca_cert, rsigner, rkey, rother, rflags, nmin, ndays);
776 send_ocsp_response(cbio, resp);
781 resp = process_responder(bio_err, req, host, path,
783 if (!resp)
798 resp = d2i_OCSP_RESPONSE_bio(derbio, NULL)
1390 OCSP_RESPONSE *resp = NULL; local
    [all...]
  /external/chromium_org/tools/memory_inspector/memory_inspector/frontends/
www_server.py 126 resp = []
133 resp += [{'backend': device.backend.name,
136 return _HTTP_OK, [], resp
274 resp = {'cols': [{'label': 'bucket', 'type': 'string'},
283 resp['rows'] += [{'c': [
291 return _HTTP_OK, [], resp
324 resp = {'cols': [], 'rows': []}
335 if not resp['cols']:
336 resp['cols'] += [{'label': 'Time', 'type': 'string'}]
338 resp['cols'] += [{'label': child_bucket.name, 'type': 'number'}
    [all...]
  /external/chromium_org/third_party/libjingle/source/talk/p2p/base/
turnserver.cc 186 static bool InitResponse(const StunMessage* req, StunMessage* resp) {
190 resp->SetType(resp_type);
191 resp->SetTransactionID(req->transaction_id());
196 const std::string& reason, StunMessage* resp) {
200 resp->SetType(resp_type);
201 resp->SetTransactionID(req->transaction_id());
202 VERIFY(resp->AddAttribute(new cricket::StunErrorCodeAttribute(
544 TurnMessage resp; local
545 InitErrorResponse(req, code, reason, &resp);
546 LOG(LS_INFO) << "Sending error response, type=" << resp.type(
554 TurnMessage resp; local
566 TurnMessage resp; local
    [all...]
  /external/openssl/crypto/bn/
bn_div.c 186 BN_ULONG *resp,*wnump; local
288 resp= &(res->d[loop-1]);
302 *resp=1;
309 * the resp pointer */
313 resp--;
315 for (i=0; i<loop-1; i++, wnump--, resp--)
426 *resp = q;
  /external/chromium_org/chrome/common/extensions/docs/examples/apps/hello-python/
main.py 68 resp, content = client.request(url, 'GET')
69 logging.debug('Got response code %s, content %s' % (resp, content))
  /external/chromium_org/third_party/speex/libspeex/
cb_search.c 53 static void compute_weighted_codebook(const signed char *shape_cb, const spx_word16_t *r, spx_word16_t *resp, spx_word16_t *resp2, spx_word32_t *E, int shape_cb_size, int subvect_size, char *stack)
62 res = resp+i*subvect_size;
116 VARDECL(spx_word16_t *resp);
139 ALLOC(resp, shape_cb_size*subvect_size, spx_word16_t);
144 resp2 = resp;
153 compute_weighted_codebook(shape_cb, r, resp, resp2, E, shape_cb_size, subvect_size, stack);
176 res = resp+rind*subvect_size;
259 VARDECL(spx_word16_t *resp);
311 ALLOC(resp, shape_cb_size*subvect_size, spx_word16_t);
316 resp2 = resp;
    [all...]
  /development/ndk/platforms/android-3/include/linux/mmc/
mmc.h 26 u32 resp[4]; member in struct:mmc_command

Completed in 958 milliseconds

1 2 3 4