/tools/tradefederation/core/tests/src/com/android/tradefed/util/net/ |
XmlRpcHelperTest.java | 45 List<String> resp = null; local 46 resp = XmlRpcHelper.parseResponseTuple(new ByteArrayInputStream(TRUE_RESPONSE.getBytes())); 47 assertNotNull(resp); 48 assertEquals(2, resp.size()); 49 assertEquals("boolean", resp.get(0)); 50 assertEquals("1", resp.get(1)); 54 List<String> resp = null; local 55 resp = XmlRpcHelper.parseResponseTuple(new ByteArrayInputStream(FALSE_RESPONSE.getBytes())); 56 assertNotNull(resp); 57 assertEquals(2, resp.size()) 72 List<String> resp = null; local [all...] |
/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...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
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...] |
/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...] |
/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...] |
/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...] |
/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);
|
/prebuilts/go/darwin-x86/test/fixedbugs/issue11053.dir/ |
p_test.go | 45 resp := F(s).(*P) 46 println("Before, *resp.V=", *resp.V) // Trashes *resp.V in process of printing. 47 println("After, *resp.V=", *resp.V) 48 if got, want := *resp.V, int32(42); got != want {
|
/prebuilts/go/linux-x86/test/fixedbugs/issue11053.dir/ |
p_test.go | 45 resp := F(s).(*P) 46 println("Before, *resp.V=", *resp.V) // Trashes *resp.V in process of printing. 47 println("After, *resp.V=", *resp.V) 48 if got, want := *resp.V, int32(42); got != want {
|
/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;
|
/system/chre/host/common/ |
host_protocol_host.cc | 79 const auto *resp = static_cast<const fbs::HubInfoResponse *>( local 82 const char *name = getStringFromByteVector(resp->name()); 83 const char *vendor = getStringFromByteVector(resp->vendor()); 84 const char *toolchain = getStringFromByteVector(resp->toolchain()); 87 name, vendor, toolchain, resp->platform_version(), 88 resp->toolchain_version(), resp->peak_mips(), resp->stopped_power(), 89 resp->sleep_power(), resp->peak_power(), resp->max_msg_len() 95 const auto *resp = static_cast<const fbs::NanoappListResponse *>( local 104 const auto *resp = static_cast<const fbs::LoadNanoappResponse *>( local [all...] |
/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:__anon42522
|
/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;
|
/prebuilts/go/darwin-x86/src/cmd/vet/testdata/ |
httpresponse.go | 43 resp, err := client.Get("http://foo.com") 44 defer resp.Body.Close() // ERROR "using resp before checking for errors" 52 resp, err := client.Get("http://foo.com") 53 defer resp.Body.Close() // ERROR "using resp before checking for errors" 66 resp, err := client.Do(req) 67 defer resp.Body.Close() // ERROR "using resp before checking for errors" 80 resp, err := client.Do(req [all...] |
/prebuilts/go/linux-x86/src/cmd/vet/testdata/ |
httpresponse.go | 43 resp, err := client.Get("http://foo.com") 44 defer resp.Body.Close() // ERROR "using resp before checking for errors" 52 resp, err := client.Get("http://foo.com") 53 defer resp.Body.Close() // ERROR "using resp before checking for errors" 66 resp, err := client.Do(req) 67 defer resp.Body.Close() // ERROR "using resp before checking for errors" 80 resp, err := client.Do(req [all...] |
/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...] |