/external/python/cpython3/Lib/ |
ftplib.py | 234 resp = self.getmultiline() 236 print('*resp*', self.sanitize(resp)) 237 self.lastresp = resp[:3] 238 c = resp[:1] 240 return resp 242 raise error_temp(resp) 244 raise error_perm(resp) 245 raise error_proto(resp) 249 resp = self.getresp( [all...] |
nntplib.py | 10 >>> resp, count, first, last, name = s.group('comp.lang.python') 13 >>> resp, subs = s.xhdr('subject', '{0}-{1}'.format(first, last)) 14 >>> resp = s.quit() 17 Here 'resp' is the server response line. 22 >>> resp = s.post(f) 390 resp, caps = self.capabilities() 449 resp = self._getline() 450 if self.debugging: print('*resp*', repr(resp)) 451 resp = resp.decode(self.encoding, self.errors [all...] |
/hardware/qcom/gps/msm8960/loc_api/libloc_api_50001/ |
loc_eng_ni.h | 44 GpsUserResponseType resp; member in struct:__anon50605
|
/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;
|
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/autotest/skylab_migration/venv/skylab_venv/ |
test_sso_discovery.py | 53 resp, body = sso_discovery.sso_request(self.URL) 57 self.assertEqual(resp.status, 404) 58 self.assertEqual(resp['body'], '') 59 self.assertEqual(resp['headers'], http_response) 70 resp, body = sso_discovery.sso_request(self.URL) 74 self.assertEqual(resp.status, 200) 75 self.assertEqual(resp['body'], '{"test": "test"}') 76 self.assertEqual(resp['headers'],
|
/external/f2fs-tools/tools/sg_write_buffer/include/ |
sg_cmds_mmc.h | 20 int sg_ll_get_config(int sg_fd, int rt, int starting, void * resp, 28 int max_num_desc, int type, void * resp,
|
sg_cmds_basic.h | 36 int sg_ll_inquiry(int sg_fd, bool cmddt, bool evpd, int pg_op, void * resp, 48 * where resp points. If the residual value equals mx_resp_len then no 51 sg_ll_inquiry_v2(int sg_fd, bool evpd, int pg_op, void * resp, 70 int subpg_code, int paramp, unsigned char * resp, 76 int subpg_code, int paramp, unsigned char * resp, 102 int sub_pg_code, void * resp, int mx_resp_len, 111 int sub_pg_code, void * resp, int mx_resp_len, 117 int pg_code, int sub_pg_code, void * resp, 135 int sg_ll_readcap_10(int sg_fd, bool pmi, unsigned int lba, void * resp, 143 int sg_ll_readcap_16(int sg_fd, bool pmi, uint64_t llba, void * resp, [all...] |
/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...] |
/external/robolectric-shadows/shadows/httpclient/src/test/java/org/robolectric/shadows/httpclient/ |
TestHttpResponseTest.java | 15 HttpResponse resp = local 19 assertThat(resp.getFirstHeader("None")).isNull(); 23 assertThat(resp.getFirstHeader(l).getValue()).isEqualTo("http://bar.com"); 29 HttpResponse resp = local 34 assertThat(resp.getLastHeader("None")).isNull(); 37 assertThat(resp.getLastHeader(l).getValue()).isEqualTo("http://zombo.com"); 43 HttpResponse resp = local 47 assertThat(resp.containsHeader("X-Zombo-Com")).isTrue(); 48 assertThat(resp.containsHeader("Location")).isFalse(); 53 HttpResponse resp local 68 HttpResponse resp = local 86 HttpResponse resp = local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
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...] |
/external/python/cpython2/Lib/ |
ftplib.py | 215 resp = self.getmultiline() 216 if self.debugging: print '*resp*', self.sanitize(resp) 217 self.lastresp = resp[:3] 218 c = resp[:1] 220 return resp 222 raise error_temp, resp 224 raise error_perm, resp 225 raise error_proto, resp 229 resp = self.getresp( [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/ |
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/ |
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/ |
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/ |
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...] |
/external/autotest/server/site_tests/bluetooth_SDP_ServiceSearchRequestBasic/ |
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 != self.ERROR_CODE_INVALID_REQUEST_SYNTAX [all...] |
/external/wpa_supplicant_8/src/common/ |
gas_server.c | 28 void (*status_cb)(void *ctx, struct wpabuf *resp, int ok); 37 struct wpabuf *resp; member in struct:gas_server_response 47 void (*tx)(void *ctx, int freq, const u8 *da, struct wpabuf *resp, 64 (unsigned long) wpabuf_len(response->resp)); 66 response->resp, 0); 67 response->resp = NULL; 79 wpabuf_free(response->resp); 92 struct wpabuf *resp; local 117 resp = gas_build_initial_resp(dialog_token, WLAN_STATUS_SUCCESS, 121 if (!resp) { 164 struct wpabuf *resp; local 242 struct wpabuf *resp; local [all...] |
/external/syslinux/core/fs/pxe/ |
ftp.c | 167 int resp; local 171 resp = ftp_cmd_response(socket->ctl, "QUIT", NULL, NULL, NULL); 172 while (resp == 226) { 173 resp = ftp_cmd_response(socket->ctl, NULL, NULL, NULL, NULL); 192 int resp; local 219 resp = ftp_cmd_response(socket->ctl, NULL, NULL, NULL, NULL); 220 } while (resp == 120); 221 if (resp != 220) 229 resp = ftp_cmd_response(socket->ctl, "USER", url->user, NULL, NULL); 230 if (resp != 202 && resp != 230) [all...] |
/device/google/contexthub/firmware/os/core/ |
nanohubCommand.c | 137 struct NanohubOsHwVersionsResponse *resp = tx; local 138 resp->hwType = htole16(platHwType()); 139 resp->hwVer = htole16(platHwVer()); 140 resp->blVer = htole16(platBlVer()); 141 resp->osVer = htole16(OS_VER); 142 resp->variantVer = htole32(VARIANT_VER); 144 return sizeof(*resp); 150 struct NanohubAppVersionsResponse *resp = tx; local 154 resp->appVer = htole32(appVer); 155 return sizeof(*resp); 164 struct NanohubAppInfoResponse *resp = tx; local 322 struct NanohubStartFirmwareUploadResponse *resp = tx; local 526 struct NanohubHalContUploadTx resp; member in union:FirmwareWriteCookie::__anon1722 541 struct FirmwareWriteCookie *resp = cookie; local 635 struct NanohubFirmwareChunkResponse *resp = tx; local 673 struct NanohubFinishFirmwareUploadResponse *resp = tx; local 683 struct NanohubGetInterruptResponse *resp = tx; local 701 struct NanohubMaskInterruptResponse *resp = tx; local 712 struct NanohubUnmaskInterruptResponse *resp = tx; local 969 struct NanohubWriteEventResponse *resp = tx; local 1124 struct NanohubHalLegacyMgmtTx *resp; local 1166 struct NanohubHalLegacyQueryAppsTx *resp; local 1197 struct NanohubHalLegacyQueryRsaKeysTx *resp; local 1226 struct NanohubHalLegacyStartUploadTx *resp; local 1274 struct NanohubHalLegacyFinishUploadTx *resp; local 1337 struct NanohubHalAppMgmtTx *resp; local 1388 struct NanohubHalSysMgmtTx *resp = cookie; local 1403 struct NanohubHalSysMgmtTx *resp; local 1581 struct NanohubHalAppInfoTx *resp; local 1654 struct NanohubHalSysInfoTx *resp; local 1722 struct NanohubHalKeyInfoTx *resp; local 1764 struct NanohubHalStartUploadTx *resp; local 1823 struct NanohubHalFinishUploadTx *resp; local [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_httplib.py | 126 resp = httplib.HTTPResponse(sock)
127 resp.begin()
128 self.assertEqual(resp.read(), 'Text')
129 self.assertTrue(resp.isclosed())
133 resp = httplib.HTTPResponse(sock)
134 self.assertRaises(httplib.BadStatusLine, resp.begin)
145 resp = httplib.HTTPResponse(sock)
146 resp.begin()
147 self.assertEqual(resp.read(2), 'Te')
148 self.assertFalse(resp.isclosed()) [all...] |
/external/libffi/testsuite/libffi.call/ |
closure_simple.c | 11 closure_test(ffi_cif* cif __UNUSED__, void* resp, void** args, void* userdata) 13 *(ffi_arg*)resp = 21 (int)*(ffi_arg *)resp);
|