/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/cert/ocsp/ |
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 == null [all...] |
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.getNextUpdate()) [all...] |
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.getSignature().getOctets() [all...] |
/external/autotest/client/tests/kvm/tests/ |
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, "error" [all...] |
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["error"]["class"] != classname [all...] |
/hardware/bsp/intel/peripheral/libupm/src/sm130/ |
sm130.cxx | 119 string resp = m_uart.readStr(maxLen); local 122 cerr << "RSP: " << string2HexString(resp) << endl; 125 if (!((uint8_t)resp[0] == 0xff && (uint8_t)resp[1] == 0x00)) 132 if (resp.size() != ((uint8_t)resp[2] + 2 + 1 + 1)) 135 << int((uint8_t)resp[2] + 2 + 1 + 1) 136 << ", got " << resp.size() << endl; 142 for (int i=2; i<(resp.size() - 1); i++) 143 cksum += (uint8_t)resp[i] 168 string resp = sendCommand(CMD_VERSION, ""); local 185 string resp = sendCommand(CMD_RESET, ""); local 210 string resp = sendCommand(CMD_SELECT_TAG, ""); local 277 string resp = sendCommand(CMD_AUTHENTICATE, data); local 317 string resp = sendCommand(CMD_READ16, data); local 357 string resp = sendCommand(CMD_READ_VALUE, data); local 412 string resp = sendCommand(CMD_WRITE16, data); local 457 string resp = sendCommand(CMD_WRITE_VALUE, data); local 505 string resp = sendCommand(CMD_WRITE4, data); local 566 string resp = sendCommand(CMD_WRITE_KEY, data); local 606 string resp = sendCommand(((incr) ? CMD_INC_VALUE : CMD_DEC_VALUE), data); local 648 string resp = sendCommand(CMD_ANTENNA_POWER, ""); local 663 string resp = sendCommand(CMD_READ_PORT, ""); local 685 string resp = sendCommand(CMD_WRITE_PORT, data); local 700 string resp = sendCommand(CMD_HALT_TAG, ""); local 758 string resp = sendCommand(CMD_SET_BAUD, data); local 777 string resp = sendCommand(CMD_SLEEP, ""); local [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
nntplib.py | 7 >>> resp, count, first, last, name = s.group('comp.lang.python') 10 >>> resp, subs = s.xhdr('subject', first + '-' + last) 11 >>> resp = s.quit() 14 Here 'resp' is the server response line. 19 >>> resp = s.post(f) 149 resp = self.shortcmd('authinfo user '+user) 150 if resp[:3] == '381': 152 raise NNTPReplyError(resp) 154 resp = self.shortcmd( 156 if resp[:3] != '281' 626 resp = s.quit() variable in class:NNTP [all...] |
ftplib.py | 210 resp = self.getmultiline() 211 if self.debugging: print '*resp*', self.sanitize(resp) 212 self.lastresp = resp[:3] 213 c = resp[:1] 215 return resp 217 raise error_temp, resp 219 raise error_perm, resp 220 raise error_proto, resp 224 resp = self.getresp( [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
nntplib.py | 7 >>> resp, count, first, last, name = s.group('comp.lang.python') 10 >>> resp, subs = s.xhdr('subject', first + '-' + last) 11 >>> resp = s.quit() 14 Here 'resp' is the server response line. 19 >>> resp = s.post(f) 149 resp = self.shortcmd('authinfo user '+user) 150 if resp[:3] == '381': 152 raise NNTPReplyError(resp) 154 resp = self.shortcmd( 156 if resp[:3] != '281' 626 resp = s.quit() variable in class:NNTP [all...] |
ftplib.py | 210 resp = self.getmultiline() 211 if self.debugging: print '*resp*', self.sanitize(resp) 212 self.lastresp = resp[:3] 213 c = resp[:1] 215 return resp 217 raise error_temp, resp 219 raise error_perm, resp 220 raise error_proto, resp 224 resp = self.getresp( [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
nntplib.py | 7 >>> resp, count, first, last, name = s.group('comp.lang.python') 10 >>> resp, subs = s.xhdr('subject', first + '-' + last) 11 >>> resp = s.quit() 14 Here 'resp' is the server response line. 19 >>> resp = s.post(f) 149 resp = self.shortcmd('authinfo user '+user) 150 if resp[:3] == '381': 152 raise NNTPReplyError(resp) 154 resp = self.shortcmd( 156 if resp[:3] != '281' 626 resp = s.quit() variable in class:NNTP [all...] |
ftplib.py | 210 resp = self.getmultiline() 211 if self.debugging: print '*resp*', self.sanitize(resp) 212 self.lastresp = resp[:3] 213 c = resp[:1] 215 return resp 217 raise error_temp, resp 219 raise error_perm, resp 220 raise error_proto, resp 224 resp = self.getresp( [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
nntplib.py | 7 >>> resp, count, first, last, name = s.group('comp.lang.python') 10 >>> resp, subs = s.xhdr('subject', first + '-' + last) 11 >>> resp = s.quit() 14 Here 'resp' is the server response line. 19 >>> resp = s.post(f) 149 resp = self.shortcmd('authinfo user '+user) 150 if resp[:3] == '381': 152 raise NNTPReplyError(resp) 154 resp = self.shortcmd( 156 if resp[:3] != '281' 626 resp = s.quit() variable in class:NNTP [all...] |
/external/libbrillo/brillo/dbus/ |
dbus_method_invoker.cc | 11 dbus::ErrorResponse* resp) { 14 dbus::MessageReader reader(resp); 17 AddDBusError(&error, resp->GetErrorName(), error_message);
|
/hardware/bsp/intel/peripheral/libupm/src/grovescam/ |
grovescam.cxx | 199 uint8_t resp[pktLen]; local 216 if (readData(resp, pktLen) != pktLen) 219 if (resp[0] == 0xaa 220 && resp[1] == (0x0e | m_camAddr) 221 && resp[2] == 0x0d 222 && resp[4] == 0 223 && resp[5] == 0) 225 if (readData(resp, pktLen) != pktLen) 229 if (resp[0] == 0xaa 230 && resp[1] == (0x0d | m_camAddr) 252 uint8_t resp[pktLen]; local 289 uint8_t resp[pktLen]; local [all...] |
/external/wpa_supplicant_8/wpa_supplicant/ |
p2p_supplicant_sd.c | 183 static void wpas_sd_add_empty(struct wpabuf *resp, u8 srv_proto, 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, 205 wpas_sd_add_empty(resp, srv_proto, srv_trans_id, 210 static void wpas_sd_add_bad_request(struct wpabuf *resp, u8 srv_proto 697 struct wpabuf *resp; local [all...] |
/external/speex/libspeex/ |
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) 74 : "m" (subvect_size), "m" (shape_cb), "m" (r), "m" (resp), "m" (E) 82 resp += subvect_size;
|
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_httplib.py | 154 resp = httplib.HTTPResponse(sock) 155 resp.begin() 156 self.assertEqual(resp.read(), 'Text') 157 self.assertTrue(resp.isclosed()) 161 resp = httplib.HTTPResponse(sock) 162 self.assertRaises(httplib.BadStatusLine, resp.begin) 173 resp = httplib.HTTPResponse(sock) 174 resp.begin() 175 self.assertEqual(resp.read(2), 'Te') 176 self.assertFalse(resp.isclosed() [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_httplib.py | 154 resp = httplib.HTTPResponse(sock) 155 resp.begin() 156 self.assertEqual(resp.read(), 'Text') 157 self.assertTrue(resp.isclosed()) 161 resp = httplib.HTTPResponse(sock) 162 self.assertRaises(httplib.BadStatusLine, resp.begin) 173 resp = httplib.HTTPResponse(sock) 174 resp.begin() 175 self.assertEqual(resp.read(2), 'Te') 176 self.assertFalse(resp.isclosed() [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_httplib.py | 154 resp = httplib.HTTPResponse(sock) 155 resp.begin() 156 self.assertEqual(resp.read(), 'Text') 157 self.assertTrue(resp.isclosed()) 161 resp = httplib.HTTPResponse(sock) 162 self.assertRaises(httplib.BadStatusLine, resp.begin) 173 resp = httplib.HTTPResponse(sock) 174 resp.begin() 175 self.assertEqual(resp.read(2), 'Te') 176 self.assertFalse(resp.isclosed() [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_httplib.py | 154 resp = httplib.HTTPResponse(sock) 155 resp.begin() 156 self.assertEqual(resp.read(), 'Text') 157 self.assertTrue(resp.isclosed()) 161 resp = httplib.HTTPResponse(sock) 162 self.assertRaises(httplib.BadStatusLine, resp.begin) 173 resp = httplib.HTTPResponse(sock) 174 resp.begin() 175 self.assertEqual(resp.read(2), 'Te') 176 self.assertFalse(resp.isclosed() [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_ni.h | 44 GpsUserResponseType resp; member in struct:__anon33037
|
/external/wpa_supplicant_8/src/eap_peer/ |
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) + sizeof(struct eap_hdr) [all...] |
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;
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/tester/org/apache/http/ |
TestHttpResponseTest.java | 19 HttpResponse resp = local 23 assertThat(resp.getFirstHeader("None"), nullValue()); 27 assertThat(resp.getFirstHeader(l).getValue(), equalTo("http://bar.com")); 33 HttpResponse resp = local 38 assertThat(resp.getLastHeader("None"), nullValue()); 41 assertThat(resp.getLastHeader(l).getValue(), equalTo("http://zombo.com")); 47 HttpResponse resp = local 51 assertThat(resp.containsHeader("X-Zombo-Com"), is(true)); 52 assertThat(resp.containsHeader("Location"), is(false)); 57 HttpResponse resp local 72 HttpResponse resp = local 90 HttpResponse resp = local [all...] |