/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...] |
/external/python/cpython2/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) 156 resp = self.shortcmd('authinfo user '+user) 157 if resp[:3] == '381': 159 raise NNTPReplyError(resp) 161 resp = self.shortcmd( 163 if resp[:3] != '281' 635 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);
|
/external/tensorflow/tensorflow/python/data/util/ |
convert_test.py | 30 resp = convert.optional_param_to_tensor("foo", 3) 32 self.assertEqual(3, sess.run(resp)) 35 resp = convert.optional_param_to_tensor("foo", None) 37 self.assertEqual(0, sess.run(resp)) 40 resp = convert.optional_param_to_tensor("bar", None, "default", 43 self.assertEqual(compat.as_bytes("default"), sess.run(resp)) 46 resp = convert.optional_param_to_tensor("bar", "value", "default", 49 self.assertEqual(compat.as_bytes("value"), sess.run(resp))
|
/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/volley/src/test/java/com/android/volley/toolbox/ |
BaseHttpStackTest.java | 52 org.apache.http.HttpResponse resp = stack.performRequest(REQUEST, ADDITIONAL_HEADERS); local 53 assertEquals(12345, resp.getStatusLine().getStatusCode()); 54 assertEquals(0, resp.getAllHeaders().length); 55 assertNull(resp.getEntity()); 74 org.apache.http.HttpResponse resp = stack.performRequest(REQUEST, ADDITIONAL_HEADERS); local 75 assertEquals(12345, resp.getStatusLine().getStatusCode()); 76 assertEquals(0, resp.getAllHeaders().length); 77 assertEquals(555L, resp.getEntity().getContentLength()); 78 assertSame(mContent, resp.getEntity().getContent()); 97 org.apache.http.HttpResponse resp = stack.performRequest(REQUEST, ADDITIONAL_HEADERS) local [all...] |
/external/tensorflow/tensorflow/core/distributed_runtime/ |
master.h | 44 CreateSessionResponse* resp, MyClosure done); 47 ExtendSessionResponse* resp, MyClosure done); 50 PartialRunSetupResponse* resp, MyClosure done); 53 MutableRunStepResponseWrapper* resp, MyClosure done); 55 void CloseSession(const CloseSessionRequest* req, CloseSessionResponse* resp, 58 void ListDevices(const ListDevicesRequest* req, ListDevicesResponse* resp, 62 void Reset(const ResetRequest* req, ResetResponse* resp, MyClosure done);
|
/external/libffi/testsuite/libffi.call/ |
cls_double.c | 10 static void cls_ret_double_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 13 *(double *)resp = *(double *)args[0]; 16 *(double *)resp);
|
cls_float.c | 10 static void cls_ret_float_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 13 *(float *)resp = *(float *)args[0]; 16 *(float *)resp);
|
cls_schar.c | 12 static void cls_ret_schar_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 15 *(ffi_arg*)resp = *(signed char *)args[0]; 17 (int)*(ffi_arg *)(resp));
|
cls_sint.c | 10 static void cls_ret_sint_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 13 *(ffi_arg*)resp = *(signed int *)args[0]; 15 (int)*(ffi_arg *)(resp));
|
cls_sshort.c | 10 static void cls_ret_sshort_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 13 *(ffi_arg*)resp = *(signed short *)args[0]; 15 (int)*(ffi_arg *)(resp));
|
cls_uchar.c | 10 static void cls_ret_uchar_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 13 *(ffi_arg*)resp = *(unsigned char *)args[0]; 15 (int)*(ffi_arg *)(resp));
|
cls_uint.c | 10 static void cls_ret_uint_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 13 *(ffi_arg *)resp = *(unsigned int *)args[0]; 16 (int)*(ffi_arg *)(resp));
|
cls_ushort.c | 10 static void cls_ret_ushort_fn(ffi_cif* cif __UNUSED__, void* resp, void** args, 13 *(ffi_arg*)resp = *(unsigned short *)args[0]; 16 (int)*(ffi_arg *)(resp));
|