/external/autotest/client/tests/kvm/tests/ |
H A D | qmp_basic.py | 93 def check_success_resp(resp, empty=False): 97 @param resp: QMP response 100 check_key_is_dict(resp, "return") 101 if empty and len(resp["return"]) > 0: 103 str(resp)) 106 def check_error_resp(resp, classname=None, datadict=None): 110 @param resp: QMP response 114 check_key_is_dict(resp, "error") 115 check_key_is_str(resp["error"], "class") 116 if classname and resp["erro [all...] |
H A D | qmp_basic_rhel6.py | 94 def check_success_resp(resp, empty=False): 98 @param resp: QMP response 101 check_key_is_dict(resp, "return") 102 if empty and len(resp["return"]) > 0: 104 str(resp)) 107 def check_error_resp(resp, classname=None, datadict=None): 111 @param resp: QMP response 115 logging.debug("resp %s", str(resp)) 116 check_key_is_dict(resp, "erro [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/ |
H A D | OCSPResp.java | 26 private OCSPResponse resp; field in class:OCSPResp 29 OCSPResponse resp) 31 this.resp = resp; 35 byte[] resp) 38 this(new ByteArrayInputStream(resp)); 42 InputStream resp) 45 this(new ASN1InputStream(resp)); 54 this.resp = OCSPResponse.getInstance(aIn.readObject()); 69 if (resp 28 OCSPResp( OCSPResponse resp) argument 34 OCSPResp( byte[] resp) argument 41 OCSPResp( InputStream resp) argument [all...] |
H A D | SingleResp.java | 16 private SingleResponse resp; field in class:SingleResp 20 SingleResponse resp) 22 this.resp = resp; 23 this.extensions = resp.getSingleExtensions(); 28 return new CertificateID(resp.getCertID()); 38 CertStatus s = resp.getCertStatus(); 54 return OCSPUtils.extractDate(resp.getThisUpdate()); 65 if (resp.getNextUpdate() == null) 70 return OCSPUtils.extractDate(resp 19 SingleResp( SingleResponse resp) argument [all...] |
H A D | BasicOCSPResp.java | 36 private BasicOCSPResponse resp; field in class:BasicOCSPResp 41 BasicOCSPResponse resp) 43 this.resp = resp; 44 this.data = resp.getTbsResponseData(); 45 this.extensions = Extensions.getInstance(resp.getTbsResponseData().getResponseExtensions()); 56 return resp.getTbsResponseData().getEncoded(ASN1Encoding.DER); 71 return resp.getSignatureAlgorithm(); 135 return resp.getSignatureAlgorithm().getAlgorithm(); 140 return resp 40 BasicOCSPResp( BasicOCSPResponse resp) argument [all...] |
/external/libbrillo/brillo/dbus/ |
H A D | dbus_method_invoker.cc | 11 dbus::ErrorResponse* resp) { 14 dbus::MessageReader reader(resp); 17 AddDBusError(&error, resp->GetErrorName(), error_message); 10 TranslateErrorResponse(const AsyncErrorCallback& callback, dbus::ErrorResponse* resp) argument
|
/external/chromium-trace/catapult/third_party/gsutil/third_party/boto/scripts/ |
H A D | rebuild_endpoints.py | 12 resp = requests.get('https://raw2.github.com/aws/aws-sdk-java/master/src/main/resources/etc/regions.xml') 14 if int(resp.status_code) != 200: 16 resp.status, 17 resp.body 20 return resp.text
|
/external/wpa_supplicant_8/wpa_supplicant/ |
H A D | p2p_supplicant_sd.c | 183 static void wpas_sd_add_empty(struct wpabuf *resp, u8 srv_proto, argument 188 if (wpabuf_tailroom(resp) < 5) 192 len_pos = wpabuf_put(resp, 2); 193 wpabuf_put_u8(resp, srv_proto); 194 wpabuf_put_u8(resp, srv_trans_id); 196 wpabuf_put_u8(resp, status); 198 WPA_PUT_LE16(len_pos, (u8 *) wpabuf_put(resp, 0) - len_pos - 2); 202 static void wpas_sd_add_proto_not_avail(struct wpabuf *resp, u8 srv_proto, argument 205 wpas_sd_add_empty(resp, srv_proto, srv_trans_id, 210 static void wpas_sd_add_bad_request(struct wpabuf *resp, u argument 217 wpas_sd_add_not_found(struct wpabuf *resp, u8 srv_proto, u8 srv_trans_id) argument 225 wpas_sd_all_bonjour(struct wpa_supplicant *wpa_s, struct wpabuf *resp, u8 srv_trans_id) argument 288 wpas_sd_req_bonjour(struct wpa_supplicant *wpa_s, struct wpabuf *resp, u8 srv_trans_id, const u8 *query, size_t query_len) argument 359 wpas_sd_all_upnp(struct wpa_supplicant *wpa_s, struct wpabuf *resp, u8 srv_trans_id) argument 395 wpas_sd_req_upnp(struct wpa_supplicant *wpa_s, struct wpabuf *resp, u8 srv_trans_id, const u8 *query, size_t query_len) argument 477 wpas_sd_req_wfd(struct wpa_supplicant *wpa_s, struct wpabuf *resp, u8 srv_trans_id, const u8 *query, size_t query_len) argument 557 wpas_sd_req_asp(struct wpa_supplicant *wpa_s, struct wpabuf *resp, u8 srv_trans_id, const u8 *query, size_t query_len) argument 674 wpas_sd_all_asp(struct wpa_supplicant *wpa_s, struct wpabuf *resp, u8 srv_trans_id) argument 697 struct wpabuf *resp; local 1208 wpas_p2p_service_add_bonjour(struct wpa_supplicant *wpa_s, struct wpabuf *query, struct wpabuf *resp) argument [all...] |
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchRequestBasic/ |
H A D | bluetooth_SDP_ServiceSearchRequestBasic.py | 38 resp = self.tester.service_search_request( 40 if resp != [0]: 45 resp = self.tester.service_search_request( 47 if resp != []: 52 resp = self.tester.service_search_request( 56 if len(resp) != self.FAKE_SERVICES_CNT: 60 resp = self.tester.service_search_request( 63 if resp != self.ERROR_CODE_INVALID_PDU_SIZE: 67 resp = self.tester.service_search_request( 69 if resp ! [all...] |
/external/chromium-trace/catapult/third_party/apiclient/googleapiclient/ |
H A D | errors.py | 38 def __init__(self, resp, content, uri=None): 39 self.resp = resp 45 reason = self.resp.reason 58 self.resp.status, self.uri, self._get_reason().strip()) 60 return '<HttpError %s "%s">' % (self.resp.status, self._get_reason()) 112 def __init__(self, reason, resp=None, content=None): 113 self.resp = resp 118 return '<BatchError %s "%s">' % (self.resp [all...] |
/external/speex/libspeex/ |
H A D | cb_search_bfin.h | 37 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 D | eap_gtc.c | 49 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 D | eap_md5.c | 33 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 D | eap_otp.c | 32 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 D | eap_gtc.c | 49 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 D | eap_md5.c | 33 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 D | eap_otp.c | 32 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 D | eap_gtc.c | 49 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 D | eap_md5.c | 33 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 D | eap_otp.c | 32 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/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
H A D | TestHttpResponseTest.java | 19 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-trace/catapult/third_party/webtest/webtest/ |
H A D | debugapp.py | 25 resp = webob.Response(content_type='text/html') 26 resp.body = self.form 27 return resp(environ, start_response) 75 resp = webob.Response() 76 resp.status = status 77 resp.headers.update(headers) 80 resp.body = body.encode('utf8') 82 resp.body = body 83 return resp(environ, start_response)
|
/external/jetty/src/java/org/eclipse/jetty/servlets/ |
H A D | ConcatServlet.java | 89 protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException argument 94 resp.sendError(HttpServletResponse.SC_NO_CONTENT); 109 resp.sendError(HttpServletResponse.SC_UNSUPPORTED_MEDIA_TYPE); 116 resp.setContentType(type); 122 dispatcher.include(req,resp);
|
/external/chromium-trace/catapult/third_party/WebOb/docs/comment-example-code/ |
H A D | example.py | 23 resp = req.get_response(self.app) 24 if resp.content_type != 'text/html' or resp.status_code != 200: 27 return resp(environ, start_response) 29 resp.decode_content() 31 body = resp.body 34 resp.body = body 35 return resp(environ, start_response) 106 resp = exc.HTTPBadRequest('Missing parameter: %s' % e) 107 return resp [all...] |
/external/v8/test/mjsunit/ |
H A D | debug-evaluate-bool-constructor.js | 52 var resp = dcp.processDebugJSONRequest(request); 53 var response = JSON.parse(resp); 54 assertTrue(response.success, 'Command failed: ' + resp);
|