Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 25 of 32) sorted by relevance

12

/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/
Dnntplib.py149 resp = self.shortcmd('authinfo user '+user)
150 if resp[:3] == '381':
152 raise NNTPReplyError(resp)
154 resp = self.shortcmd(
156 if resp[:3] != '281':
157 raise NNTPPermanentError(resp)
214 resp = self.getline()
215 if self.debugging: print '*resp*', repr(resp)
216 c = resp[:1]
218 raise NNTPTemporaryError(resp)
[all …]
Dftplib.py210 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()
225 if resp[:1] != '2':
[all …]
Dsmtplib.py342 resp = []
355 resp.append(line[4:].strip())
368 errmsg = "\n".join(resp)
408 resp = self.ehlo_resp.split('\n')
409 del resp[0]
410 for each in resp:
525 (code, resp) = self.helo()
527 raise SMTPHeloError(code, resp)
585 (code, resp) = self.docmd("AUTH", AUTH_CRAM_MD5)
588 return (code, resp)
[all …]
Dpoplib.py124 resp, o = self._getline()
125 if self._debugging > 1: print '*resp*', repr(resp)
126 c = resp[:1]
128 raise error_proto(resp)
129 return resp
135 resp = self._getresp()
145 return resp, list, octets
251 resp = self._shortcmd('QUIT')
253 resp = val
257 return resp
[all …]
Dimaplib.py916 resp = self._get_line()
920 if self._match(self.tagre, resp):
923 raise self.abort('unexpected tagged response: %s' % resp)
933 if not self._match(Untagged_response, resp):
934 if self._match(Untagged_status, resp):
940 if self._match(Continuation, resp):
944 raise self.abort("unexpected response: '%s'" % resp)
982 return resp
1313 def Internaldate2tuple(resp): argument
1320 mo = InternalDate.match(resp)
[all …]
/device/google/contexthub/firmware/os/core/
DnanohubCommand.c137 struct NanohubOsHwVersionsResponse *resp = tx; in getOsHwVersion() local
138 resp->hwType = htole16(platHwType()); in getOsHwVersion()
139 resp->hwVer = htole16(platHwVer()); in getOsHwVersion()
140 resp->blVer = htole16(platBlVer()); in getOsHwVersion()
141 resp->osVer = htole16(OS_VER); in getOsHwVersion()
142 resp->variantVer = htole32(VARIANT_VER); in getOsHwVersion()
144 return sizeof(*resp); in getOsHwVersion()
150 struct NanohubAppVersionsResponse *resp = tx; in getAppVersion() local
154 resp->appVer = htole32(appVer); in getAppVersion()
155 return sizeof(*resp); in getAppVersion()
[all …]
DhostIntf.c405 static void hostIntfTxSendAck(uint32_t resp) in hostIntfTxSendAck() argument
409 if (resp == NANOHUB_FAST_UNHANDLED_ACK) { in hostIntfTxSendAck()
412 } else if (resp == NANOHUB_FAST_DONT_ACK) { in hostIntfTxSendAck()
415 hostIntfTxPacket(mRxCmd->reason, resp, mTxRetrans.seq, hostIntfTxPayloadDone); in hostIntfTxSendAck()
434 uint32_t resp = NANOHUB_FAST_UNHANDLED_ACK; in hostIntfGenerateAck() local
447 resp = mRxCmd->fastHandler(rxPayload, rx_len, txPayload, mRxTimestamp); in hostIntfGenerateAck()
449 hostIntfTxSendAck(resp); in hostIntfGenerateAck()
1114 struct NanohubHalSysMgmtTx *resp; in hostIntfNotifyReboot() local
1115 resp = heapAlloc(sizeof(*resp)); in hostIntfNotifyReboot()
1116 if (resp) { in hostIntfNotifyReboot()
[all …]
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
Dtest_httplib.py126 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 …]
/device/linaro/hikey/wpan/uim/
Duim.c151 command_complete_t resp; in read_command_complete() local
156 if (read_hci_event(fd, (unsigned char *)&resp, sizeof(resp)) < 0) { in read_command_complete()
162 if (resp.uart_prefix != HCI_EVENT_PKT) { in read_command_complete()
164 resp.uart_prefix); in read_command_complete()
169 if (resp.hci_hdr.evt != EVT_CMD_COMPLETE) { in read_command_complete()
172 resp.hci_hdr.evt); in read_command_complete()
176 if (resp.hci_hdr.plen < 4) { in read_command_complete()
179 resp.hci_hdr.plen); in read_command_complete()
183 if (resp.cmd_complete.opcode != (unsigned short)opcode) { in read_command_complete()
185 resp.cmd_complete.opcode, opcode); in read_command_complete()
[all …]
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dipa_qmi_service_v01.h129 struct ipa_qmi_response_type_v01 resp; member
141 struct ipa_qmi_response_type_v01 resp; member
150 struct ipa_qmi_response_type_v01 resp; member
264 struct ipa_qmi_response_type_v01 resp; member
303 struct ipa_qmi_response_type_v01 resp; member
312 struct ipa_qmi_response_type_v01 resp; member
318 struct ipa_qmi_response_type_v01 resp; member
374 struct ipa_qmi_response_type_v01 resp; member
400 struct ipa_qmi_response_type_v01 resp; member
426 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dipa_qmi_service_v01.h360 struct ipa_qmi_response_type_v01 resp; member
422 struct ipa_qmi_response_type_v01 resp; member
464 struct ipa_qmi_response_type_v01 resp; member
878 struct ipa_qmi_response_type_v01 resp; member
1055 struct ipa_qmi_response_type_v01 resp; member
1100 struct ipa_qmi_response_type_v01 resp; member
1123 struct ipa_qmi_response_type_v01 resp; member
1364 struct ipa_qmi_response_type_v01 resp; member
1431 struct ipa_qmi_response_type_v01 resp; member
1517 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dipa_qmi_service_v01.h360 struct ipa_qmi_response_type_v01 resp; member
422 struct ipa_qmi_response_type_v01 resp; member
464 struct ipa_qmi_response_type_v01 resp; member
878 struct ipa_qmi_response_type_v01 resp; member
1055 struct ipa_qmi_response_type_v01 resp; member
1100 struct ipa_qmi_response_type_v01 resp; member
1123 struct ipa_qmi_response_type_v01 resp; member
1364 struct ipa_qmi_response_type_v01 resp; member
1431 struct ipa_qmi_response_type_v01 resp; member
1517 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/bonito/sdm710/kernel-headers/linux/
Dipa_qmi_service_v01.h129 struct ipa_qmi_response_type_v01 resp; member
141 struct ipa_qmi_response_type_v01 resp; member
150 struct ipa_qmi_response_type_v01 resp; member
264 struct ipa_qmi_response_type_v01 resp; member
303 struct ipa_qmi_response_type_v01 resp; member
312 struct ipa_qmi_response_type_v01 resp; member
318 struct ipa_qmi_response_type_v01 resp; member
374 struct ipa_qmi_response_type_v01 resp; member
400 struct ipa_qmi_response_type_v01 resp; member
426 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/sunfish-kernel/sm7150/kernel-headers/linux/
Dipa_qmi_service_v01.h137 struct ipa_qmi_response_type_v01 resp; member
149 struct ipa_qmi_response_type_v01 resp; member
164 struct ipa_qmi_response_type_v01 resp; member
321 struct ipa_qmi_response_type_v01 resp; member
363 struct ipa_qmi_response_type_v01 resp; member
372 struct ipa_qmi_response_type_v01 resp; member
378 struct ipa_qmi_response_type_v01 resp; member
434 struct ipa_qmi_response_type_v01 resp; member
460 struct ipa_qmi_response_type_v01 resp; member
486 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dipa_qmi_service_v01.h372 struct ipa_qmi_response_type_v01 resp; member
434 struct ipa_qmi_response_type_v01 resp; member
512 struct ipa_qmi_response_type_v01 resp; member
1115 struct ipa_qmi_response_type_v01 resp; member
1304 struct ipa_qmi_response_type_v01 resp; member
1349 struct ipa_qmi_response_type_v01 resp; member
1372 struct ipa_qmi_response_type_v01 resp; member
1613 struct ipa_qmi_response_type_v01 resp; member
1680 struct ipa_qmi_response_type_v01 resp; member
1766 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/barbet-kernel/sm7250/kernel-headers/linux/
Dipa_qmi_service_v01.h137 struct ipa_qmi_response_type_v01 resp; member
149 struct ipa_qmi_response_type_v01 resp; member
164 struct ipa_qmi_response_type_v01 resp; member
321 struct ipa_qmi_response_type_v01 resp; member
363 struct ipa_qmi_response_type_v01 resp; member
372 struct ipa_qmi_response_type_v01 resp; member
378 struct ipa_qmi_response_type_v01 resp; member
434 struct ipa_qmi_response_type_v01 resp; member
460 struct ipa_qmi_response_type_v01 resp; member
486 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dipa_qmi_service_v01.h137 struct ipa_qmi_response_type_v01 resp; member
149 struct ipa_qmi_response_type_v01 resp; member
164 struct ipa_qmi_response_type_v01 resp; member
321 struct ipa_qmi_response_type_v01 resp; member
363 struct ipa_qmi_response_type_v01 resp; member
372 struct ipa_qmi_response_type_v01 resp; member
378 struct ipa_qmi_response_type_v01 resp; member
434 struct ipa_qmi_response_type_v01 resp; member
460 struct ipa_qmi_response_type_v01 resp; member
486 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/barbet-kernel/sm7250/original-kernel-headers/linux/
Dipa_qmi_service_v01.h365 struct ipa_qmi_response_type_v01 resp; member
427 struct ipa_qmi_response_type_v01 resp; member
505 struct ipa_qmi_response_type_v01 resp; member
1108 struct ipa_qmi_response_type_v01 resp; member
1297 struct ipa_qmi_response_type_v01 resp; member
1342 struct ipa_qmi_response_type_v01 resp; member
1365 struct ipa_qmi_response_type_v01 resp; member
1606 struct ipa_qmi_response_type_v01 resp; member
1673 struct ipa_qmi_response_type_v01 resp; member
1759 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/redbull-kernel/sm7250/kernel-headers/linux/
Dipa_qmi_service_v01.h137 struct ipa_qmi_response_type_v01 resp; member
149 struct ipa_qmi_response_type_v01 resp; member
164 struct ipa_qmi_response_type_v01 resp; member
321 struct ipa_qmi_response_type_v01 resp; member
363 struct ipa_qmi_response_type_v01 resp; member
372 struct ipa_qmi_response_type_v01 resp; member
378 struct ipa_qmi_response_type_v01 resp; member
434 struct ipa_qmi_response_type_v01 resp; member
460 struct ipa_qmi_response_type_v01 resp; member
486 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/redbull-kernel/sm7250/original-kernel-headers/linux/
Dipa_qmi_service_v01.h365 struct ipa_qmi_response_type_v01 resp; member
427 struct ipa_qmi_response_type_v01 resp; member
505 struct ipa_qmi_response_type_v01 resp; member
1108 struct ipa_qmi_response_type_v01 resp; member
1297 struct ipa_qmi_response_type_v01 resp; member
1342 struct ipa_qmi_response_type_v01 resp; member
1365 struct ipa_qmi_response_type_v01 resp; member
1606 struct ipa_qmi_response_type_v01 resp; member
1673 struct ipa_qmi_response_type_v01 resp; member
1759 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/google/sunfish-kernel/sm7150/original-kernel-headers/linux/
Dipa_qmi_service_v01.h372 struct ipa_qmi_response_type_v01 resp; member
434 struct ipa_qmi_response_type_v01 resp; member
512 struct ipa_qmi_response_type_v01 resp; member
1115 struct ipa_qmi_response_type_v01 resp; member
1304 struct ipa_qmi_response_type_v01 resp; member
1349 struct ipa_qmi_response_type_v01 resp; member
1372 struct ipa_qmi_response_type_v01 resp; member
1613 struct ipa_qmi_response_type_v01 resp; member
1680 struct ipa_qmi_response_type_v01 resp; member
1766 struct ipa_qmi_response_type_v01 resp; member
[all …]
/device/linaro/bootloader/arm-trusted-firmware/drivers/ufs/
Dufs.c415 resp_upiu_t *resp; in ufs_check_resp() local
420 resp = (resp_upiu_t *)utrd->resp_upiu; in ufs_check_resp()
433 assert((resp->trans_type & TRANS_TYPE_CODE_MASK) == trans_type); in ufs_check_resp()
434 (void)resp; in ufs_check_resp()
503 query_resp_upiu_t *resp; in ufs_query() local
520 resp = (query_resp_upiu_t *)utrd.resp_upiu; in ufs_query()
524 assert(resp->query_resp == QUERY_RESP_SUCCESS); in ufs_query()
528 *(uint32_t *)buf = (uint32_t)resp->ts.flag.value; in ufs_query()
587 resp_upiu_t *resp; in ufs_read_capacity() local
615 resp = (resp_upiu_t *)utrd.resp_upiu; in ufs_read_capacity()
[all …]
/device/linaro/bootloader/arm-trusted-firmware/plat/nvidia/tegra/soc/t186/drivers/mce/
Dari.c250 uint64_t resp; in ari_enumeration_misc() local
264 resp = (uint64_t)ret; in ari_enumeration_misc()
267 resp = ari_get_response_low(ari_base); in ari_enumeration_misc()
268 resp |= ((uint64_t)ari_get_response_high(ari_base) << 32); in ari_enumeration_misc()
271 return resp; in ari_enumeration_misc()
/device/generic/goldfish/radio/libril/
Dril_service.cpp3889 char **resp = (char **) response; in getVoiceRegistrationStateResponse() local
3890 voiceRegResponse.regState = (RegState) ATOI_NULL_HANDLED_DEF(resp[0], 4); in getVoiceRegistrationStateResponse()
3891 voiceRegResponse.rat = ATOI_NULL_HANDLED(resp[3]); in getVoiceRegistrationStateResponse()
3892 voiceRegResponse.cssSupported = ATOI_NULL_HANDLED_DEF(resp[7], 0); in getVoiceRegistrationStateResponse()
3893 voiceRegResponse.roamingIndicator = ATOI_NULL_HANDLED(resp[10]); in getVoiceRegistrationStateResponse()
3894 voiceRegResponse.systemIsInPrl = ATOI_NULL_HANDLED_DEF(resp[11], 0); in getVoiceRegistrationStateResponse()
3895 voiceRegResponse.defaultRoamingIndicator = ATOI_NULL_HANDLED_DEF(resp[12], 0); in getVoiceRegistrationStateResponse()
3896 voiceRegResponse.reasonForDenial = ATOI_NULL_HANDLED_DEF(resp[13], 0); in getVoiceRegistrationStateResponse()
3898 numStrings, resp); in getVoiceRegistrationStateResponse()
3952 char **resp = (char **) response; in getDataRegistrationStateResponse() local
[all …]
/device/generic/goldfish/radio/ril/
Dreference-ril.c1513 int *resp = NULL; local
1549 resp = (int *)calloc(commas + 1, sizeof(int));
1550 if (!resp) goto error;
1553 err = at_tok_nextint(&line, &resp[0]);
1555 resp[1] = -1;
1556 resp[2] = -1;
1562 err = at_tok_nextint(&line, &resp[0]);
1564 resp[1] = -1;
1565 resp[2] = -1;
1570 err = at_tok_nextint(&line, &resp[0]);
[all …]

12