Searched refs:resp (Results 1 - 25 of 279) sorted by relevance

1234567891011>>

/external/chromium_org/tools/telemetry/telemetry/core/backends/chrome/
H A Dinspector_network_unittest.py50 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
[all...]
/external/qemu/hw/android/goldfish/
H A Dmmc.c84 uint32_t resp[4]; member in struct:goldfish_mmc_state
105 QFIELD_INT32(resp[0]),
106 QFIELD_INT32(resp[1]),
107 QFIELD_INT32(resp[2]),
108 QFIELD_INT32(resp[3]),
239 s->resp[0] = 0;
240 s->resp[1] = 0;
241 s->resp[2] = 0;
242 s->resp[3] = 0;
260 s->resp[
[all...]
/external/chromium_org/tools/chrome_proxy/integration_tests/
H A Dnetwork_metrics_unittest.py52 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
[all...]
H A Dchrome_proxy_metrics.py54 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 i
[all...]
H A Dnetwork_metrics.py65 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
[all...]
/external/chromium_org/third_party/tlslite/tlslite/integration/
H A Dsmtp_tls.py67 (resp, reply) = self.docmd("STARTTLS")
68 if resp == 220:
78 return (resp, reply
/external/smack/src/com/kenai/jbosh/
H A DCMSessionParams.java82 final AbstractBody resp)
85 resp.getAttribute(Attributes.ACK));
91 getRequiredAttribute(resp, Attributes.SID)),
93 getRequiredAttribute(resp, Attributes.WAIT)),
95 resp.getAttribute(Attributes.VER)),
97 resp.getAttribute(Attributes.POLLING)),
99 resp.getAttribute(Attributes.INACTIVITY)),
101 resp.getAttribute(Attributes.REQUESTS)),
103 resp.getAttribute(Attributes.HOLD)),
105 resp
80 fromSessionInit( final AbstractBody req, final AbstractBody resp) argument
[all...]
/external/speex/libspeex/
H A Dcb_search_bfin.h37 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) argument
74 : "m" (subvect_size), "m" (shape_cb), "m" (r), "m" (resp), "m" (E)
82 resp += subvect_size;
/external/wpa_supplicant_8/hostapd/src/eap_peer/
H A Deap_gtc.c49 struct wpabuf *resp; local
72 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC,
74 return resp;
104 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, plen,
106 if (resp == NULL)
109 wpabuf_put_data(resp, "RESPONSE=", 9);
110 wpabuf_put_data(resp, identity, identity_len);
111 wpabuf_put_u8(resp, '\0');
113 wpabuf_put_data(resp, password, password_len);
115 wpabuf_head_u8(resp)
[all...]
H A Deap_md5.c33 struct wpabuf *resp; local
76 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHAP_MD5_LEN,
78 if (resp == NULL)
85 wpabuf_put_u8(resp, CHAP_MD5_LEN);
87 id = eap_get_id(resp);
88 rpos = wpabuf_put(resp, CHAP_MD5_LEN);
93 wpabuf_free(resp);
98 return resp;
H A Deap_otp.c32 struct wpabuf *resp; local
66 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_OTP, password_len,
68 if (resp == NULL)
70 wpabuf_put_data(resp, password, password_len);
79 return resp;
/external/wpa_supplicant_8/src/eap_peer/
H A Deap_gtc.c49 struct wpabuf *resp; local
72 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC,
74 return resp;
104 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, plen,
106 if (resp == NULL)
109 wpabuf_put_data(resp, "RESPONSE=", 9);
110 wpabuf_put_data(resp, identity, identity_len);
111 wpabuf_put_u8(resp, '\0');
113 wpabuf_put_data(resp, password, password_len);
115 wpabuf_head_u8(resp)
[all...]
H A Deap_md5.c33 struct wpabuf *resp; local
76 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHAP_MD5_LEN,
78 if (resp == NULL)
85 wpabuf_put_u8(resp, CHAP_MD5_LEN);
87 id = eap_get_id(resp);
88 rpos = wpabuf_put(resp, CHAP_MD5_LEN);
93 wpabuf_free(resp);
98 return resp;
H A Deap_otp.c32 struct wpabuf *resp; local
66 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_OTP, password_len,
68 if (resp == NULL)
70 wpabuf_put_data(resp, password, password_len);
79 return resp;
/external/wpa_supplicant_8/wpa_supplicant/src/eap_peer/
H A Deap_gtc.c49 struct wpabuf *resp; local
72 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC,
74 return resp;
104 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GTC, plen,
106 if (resp == NULL)
109 wpabuf_put_data(resp, "RESPONSE=", 9);
110 wpabuf_put_data(resp, identity, identity_len);
111 wpabuf_put_u8(resp, '\0');
113 wpabuf_put_data(resp, password, password_len);
115 wpabuf_head_u8(resp)
[all...]
H A Deap_md5.c33 struct wpabuf *resp; local
76 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_MD5, 1 + CHAP_MD5_LEN,
78 if (resp == NULL)
85 wpabuf_put_u8(resp, CHAP_MD5_LEN);
87 id = eap_get_id(resp);
88 rpos = wpabuf_put(resp, CHAP_MD5_LEN);
93 wpabuf_free(resp);
98 return resp;
H A Deap_otp.c32 struct wpabuf *resp; local
66 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_OTP, password_len,
68 if (resp == NULL)
70 wpabuf_put_data(resp, password, password_len);
79 return resp;
/external/robolectric/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/
H A DTestHttpResponseTest.java19 HttpResponse resp =
23 assertThat(resp.getFirstHeader("None"), nullValue());
27 assertThat(resp.getFirstHeader(l).getValue(), equalTo("http://bar.com"));
33 HttpResponse resp =
38 assertThat(resp.getLastHeader("None"), nullValue());
41 assertThat(resp.getLastHeader(l).getValue(), equalTo("http://zombo.com"));
47 HttpResponse resp =
51 assertThat(resp.containsHeader("X-Zombo-Com"), is(true));
52 assertThat(resp.containsHeader("Location"), is(false));
57 HttpResponse resp
[all...]
/external/chromium_org/v8/test/mjsunit/
H A Ddebug-evaluate-bool-constructor.js52 var resp = dcp.processDebugJSONRequest(request);
53 var response = JSON.parse(resp);
54 assertTrue(response.success, 'Command failed: ' + resp);
/external/wpa_supplicant_8/hostapd/src/wps/
H A Dhttp_server.h16 void http_request_send(struct http_request *req, struct wpabuf *resp);
18 struct wpabuf *resp);
/external/wpa_supplicant_8/src/wps/
H A Dhttp_server.h16 void http_request_send(struct http_request *req, struct wpabuf *resp);
18 struct wpabuf *resp);
/external/wpa_supplicant_8/wpa_supplicant/examples/
H A Dwps-ap-cli21 read -p "Do you want to use this PIN (y/n)? " resp
22 case "$resp" in
/external/wpa_supplicant_8/wpa_supplicant/src/wps/
H A Dhttp_server.h16 void http_request_send(struct http_request *req, struct wpabuf *resp);
18 struct wpabuf *resp);
/external/chromium_org/net/dns/
H A Ddns_response_unittest.cc207 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
249 DnsResponse resp; local
300 DnsResponse resp; local
358 DnsResponse resp; local
389 DnsResponse resp; local
[all...]
/external/wpa_supplicant_8/hostapd/src/utils/
H A Dbrowser-system.c33 struct wpabuf *resp; local
48 resp = wpabuf_alloc(1);
49 if (resp == NULL) {
61 http_request_send_and_deinit(req, resp);

Completed in 780 milliseconds

1234567891011>>