/external/wpa_supplicant_8/src/eap_peer/ |
eap_gpsk.c | 260 struct wpabuf *resp; local 280 resp = eap_gpsk_send_gpsk_2(data, eap_get_id(reqData), 282 if (resp == NULL) 287 return resp; 296 struct wpabuf *resp; local 308 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_GPSK, len, 310 if (resp == NULL) 313 wpabuf_put_u8(resp, EAP_GPSK_OPCODE_GPSK_2); 314 start = wpabuf_put(resp, 0); 318 wpabuf_put_be16(resp, data->id_peer_len) 566 struct wpabuf *resp; local 609 struct wpabuf *resp; local 646 struct wpabuf *resp; local [all...] |
eap_peap.c | 452 * @resp: Buffer to return a pointer to the allocated response message. This 461 const struct wpabuf *req, struct wpabuf **resp, 505 *resp = eap_tlv_build_nak(eap_get_id(req), 507 return *resp == NULL ? -1 : 0; 575 *resp = eap_tlv_build_result(sm, data, crypto_tlv != NULL, 614 struct wpabuf **resp) 631 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1); 635 if (eap_tlv_process(sm, data, &iret, req, resp, 664 *resp = eap_msg_alloc( 669 if (*resp == NULL) 764 struct wpabuf *resp = NULL; local 1037 struct wpabuf *resp; local [all...] |
eap_vendor_test.c | 69 struct wpabuf *resp; local 119 resp = eap_msg_alloc(EAP_VENDOR_ID, EAP_VENDOR_TYPE, 1, 121 if (resp == NULL) 125 wpabuf_put_u8(resp, 2); 130 wpabuf_put_u8(resp, 4); 136 return resp;
|
eap_fast.c | 403 struct wpabuf **resp) 419 *resp = eap_sm_buildIdentity(sm, hdr->identifier, 1); 439 hdr, resp)) 456 *resp = data->phase2_method->process(sm, data->phase2_priv, &iret, 458 if (*resp == NULL || 470 if (*resp == NULL && config && 475 } else if (*resp == NULL) 547 struct wpabuf *resp = NULL; local 569 if (eap_fast_phase2_request(sm, data, ret, hdr, &resp)) { 575 return eap_fast_tlv_eap_payload(resp); 741 struct wpabuf *resp; local 1164 struct wpabuf *resp = NULL, *tmp; local 1513 struct wpabuf *resp; local [all...] |
eap_psk.c | 89 struct wpabuf *resp; local 136 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, 139 if (resp == NULL) 141 hdr2 = wpabuf_put(resp, sizeof(*hdr2)); 145 wpabuf_put_data(resp, data->id_p, data->id_p_len); 150 wpabuf_free(resp); 162 wpabuf_free(resp); 174 return resp; 184 struct wpabuf *resp; local 317 resp = eap_msg_alloc(EAP_VENDOR_IETF, EAP_TYPE_PSK, plen 377 struct wpabuf *resp = NULL; local [all...] |
eap_tls.c | 116 struct wpabuf *resp, u8 id) 137 if (resp) { 142 return resp; 191 struct wpabuf *resp; local 208 resp = NULL; 210 id, pos, left, &resp); 213 return eap_tls_failure(sm, data, ret, res, resp, id); 220 wpabuf_free(resp); 224 return resp;
|
/frameworks/av/media/libmedia/ |
IEffect.cpp | 159 char *resp = NULL; local 161 resp = (char *)malloc(replySize); 163 status_t status = command(cmdCode, cmdSize, cmd, &replySz, resp); 170 reply->write(resp, replySize); 175 if (resp) { 176 free(resp);
|
/external/wpa_supplicant_8/src/wps/ |
http_server.c | 132 void http_request_send(struct http_request *req, struct wpabuf *resp) 137 (unsigned long) wpabuf_len(resp), 141 res = send(req->fd, wpabuf_head(resp), wpabuf_len(resp), 0); 145 } else if ((size_t) res < wpabuf_len(resp)) { 147 res, (unsigned long) wpabuf_len(resp)); 151 wpabuf_free(resp); 156 struct wpabuf *resp) 158 http_request_send(req, resp);
|
/frameworks/base/wifi/java/android/net/wifi/p2p/ |
WifiP2pManager.java | 715 WifiP2pServiceResponse resp = (WifiP2pServiceResponse) message.obj; local 716 handleServiceResponse(resp); 732 private void handleServiceResponse(WifiP2pServiceResponse resp) { 733 if (resp instanceof WifiP2pDnsSdServiceResponse) { 734 handleDnsSdServiceResponse((WifiP2pDnsSdServiceResponse)resp); 735 } else if (resp instanceof WifiP2pUpnpServiceResponse) { 737 handleUpnpServiceResponse((WifiP2pUpnpServiceResponse)resp); 741 mServRspListener.onServiceAvailable(resp.getServiceType(), 742 resp.getRawData(), resp.getSrcDevice()) [all...] |
/system/core/fastboot/ |
engine.c | 95 int (*func)(Action *a, int status, char *resp); 179 static int cb_default(Action *a, int status, char *resp) 182 fprintf(stderr,"FAILED (%s)\n", resp); 453 static int cb_check(Action *a, int status, char *resp, int invert) 461 fprintf(stderr,"FAILED (%s)\n", resp); 475 yes = match(resp, value, count); 486 fprintf(stderr,"Device %s is '%s'.\n", a->cmd + 7, resp); 496 static int cb_require(Action *a, int status, char *resp) 498 return cb_check(a, status, resp, 0); 501 static int cb_reject(Action *a, int status, char *resp) 593 char resp[FB_RESPONSE_SZ+1]; local [all...] |
/sdk/apps/SdkController/src/com/android/tools/sdkcontroller/handlers/ |
SensorChannel.java | 178 ByteBuffer resp = ByteBuffer.allocate(1024); local 179 resp.order(getEndian()); 188 resp = ExpandIf(resp, required_size); 189 resp.putInt(sensor.getType()); 190 resp.put(name); 191 resp.put((byte) 0); 194 resp = ExpandIf(resp, 4); 195 resp.putInt(-1) [all...] |
/packages/apps/Exchange/exchange2/src/com/android/exchange/ |
EasSyncService.java | 404 * @param resp the EasResponse to our POST 408 protected boolean getValidateRedirect(EasResponse resp, HostAuth hostAuth) { 409 Header locHeader = resp.getHeader("X-MS-Location"); 446 EasResponse resp = sendHttpClientOptions(); local 448 int code = resp.getStatus(); 452 Header commands = resp.getHeader("MS-ASProtocolCommands"); 453 Header versions = resp.getHeader("ms-asprotocolversions"); 480 resp = sendHttpClientPost("FolderSync", s.toByteArray()); 481 code = resp.getStatus(); 494 resultCode = resp.isMissingCertificate( 626 EasResponse resp = executePostWithTimeout(client, post, COMMAND_TIMEOUT); local 730 EasResponse resp; local 939 EasResponse resp = svc.sendHttpClientPost("Search", s.toByteArray()); local 1068 EasResponse resp = sendHttpClientPost("MoveItems", s.toByteArray()); local 1132 EasResponse resp = sendHttpClientPost("MeetingResponse", s.toByteArray()); local 1471 EasResponse resp = svc.sendHttpClientPost("Provision", s.toByteArray()); local 1547 EasResponse resp = svc.sendHttpClientPost("Provision", s.toByteArray()); local 1578 EasResponse resp = sendHttpClientPost("Settings", s.toByteArray()); local 1688 EasResponse resp = sendHttpClientPost("Sync", new ByteArrayEntity(s.toByteArray()), local [all...] |
/external/smack/src/com/kenai/jbosh/ |
HTTPExchange.java | 91 void setHTTPResponse(HTTPResponse resp) { 98 response = resp;
|
/external/speex/libspeex/ |
cb_search_arm4.h | 39 static 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) 57 res = resp+j; 86 res = resp+j; 131 resp += subvect_size<<2;
|
/packages/apps/Exchange/exchange2/src/com/android/exchange/adapter/ |
AttachmentLoader.java | 184 EasResponse resp; local 193 resp = mService.sendHttpClientPost("ItemOperations", s.toByteArray()); 202 resp = mService.sendHttpClientPost(cmd, null, EasSyncService.COMMAND_TIMEOUT); 206 int status = resp.getStatus(); 208 if (!resp.isEmpty()) { 209 InputStream is = resp.getInputStream(); 222 int len = resp.getLength(); 242 resp.close();
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/rpc/ |
clnt.h | 161 * CLNT_CALL(rh, proc, xargs, argsp, xres, resp, timeout) 167 * caddr_t resp; 170 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ 171 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) 172 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \ 173 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) 194 * CLNT_FREERES(rh, xres, resp); 197 * caddr_t resp; 199 #define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) [all...] |
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/rpc/ |
clnt.h | 161 * CLNT_CALL(rh, proc, xargs, argsp, xres, resp, timeout) 167 * caddr_t resp; 170 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ 171 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) 172 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \ 173 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) 194 * CLNT_FREERES(rh, xres, resp); 197 * caddr_t resp; 199 #define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) [all...] |
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/rpc/ |
clnt.h | 161 * CLNT_CALL(rh, proc, xargs, argsp, xres, resp, timeout) 167 * caddr_t resp; 170 #define CLNT_CALL(rh, proc, xargs, argsp, xres, resp, secs) \ 171 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) 172 #define clnt_call(rh, proc, xargs, argsp, xres, resp, secs) \ 173 ((*(rh)->cl_ops->cl_call)(rh, proc, xargs, argsp, xres, resp, secs)) 194 * CLNT_FREERES(rh, xres, resp); 197 * caddr_t resp; 199 #define CLNT_FREERES(rh,xres,resp) ((*(rh)->cl_ops->cl_freeres)(rh,xres,resp)) [all...] |
/external/wpa_supplicant_8/src/ap/ |
ieee802_11_shared.c | 80 struct ieee80211_mgmt resp; local 98 os_memset(&resp, 0, sizeof(resp)); 99 resp.frame_control = IEEE80211_FC(WLAN_FC_TYPE_MGMT, 101 os_memcpy(resp.da, sa, ETH_ALEN); 102 os_memcpy(resp.sa, hapd->own_addr, ETH_ALEN); 103 os_memcpy(resp.bssid, hapd->own_addr, ETH_ALEN); 104 resp.u.action.category = WLAN_ACTION_SA_QUERY; 105 resp.u.action.u.sa_query_req.action = WLAN_SA_QUERY_RESPONSE; 106 os_memcpy(resp.u.action.u.sa_query_req.trans_id, trans_id [all...] |
ieee802_11.c | 258 u16 auth_alg, u16 auth_transaction, u16 resp, 279 reply->u.auth.status_code = host_to_le16(resp); 285 " auth_alg=%d auth_transaction=%d resp=%d (IE len=%lu)", 287 resp, (unsigned long) ies_len); 443 u16 resp = WLAN_STATUS_SUCCESS; local 461 resp = sae_parse_commit(sta->sae, mgmt->u.auth.variable, 473 if (resp == WLAN_STATUS_SUCCESS) { 479 resp = WLAN_STATUS_ANTI_CLOGGING_TOKEN_REQ; 483 resp = WLAN_STATUS_UNSPECIFIED_FAILURE; 494 resp = WLAN_STATUS_UNKNOWN_AUTH_TRANSACTION 541 u16 resp = WLAN_STATUS_SUCCESS; local 857 u16 resp; local 1217 u16 resp = WLAN_STATUS_SUCCESS; local 1628 struct ieee80211_mgmt *resp; local [all...] |
/external/openssh/ |
auth-pam.c | 342 struct pam_response **resp, void *data) 350 *resp = NULL; 376 reply[i].resp = buffer_get_string(&buffer, NULL); 388 reply[i].resp = buffer_get_string(&buffer, NULL); 410 *resp = reply; 415 if (reply[i].resp != NULL) 416 xfree(reply[i].resp); 546 struct pam_response **resp, void *data) 556 struct pam_response **resp, void *data) 563 *resp = NULL [all...] |
/external/openssl/apps/ |
ocsp.c | 107 static int make_ocsp_response(OCSP_RESPONSE **resp, OCSP_REQUEST *req, CA_DB *db, 115 static int send_ocsp_response(BIO *cbio, OCSP_RESPONSE *resp); 138 OCSP_RESPONSE *resp = NULL; local 693 resp = OCSP_response_create(OCSP_RESPONSE_STATUS_MALFORMEDREQUEST, NULL); 694 send_ocsp_response(cbio, resp); 764 i = make_ocsp_response(&resp, req, rdb, rca_cert, rsigner, rkey, rother, rflags, nmin, ndays); 766 send_ocsp_response(cbio, resp); 771 resp = process_responder(bio_err, req, host, path, 773 if (!resp) 788 resp = d2i_OCSP_RESPONSE_bio(derbio, NULL) 1380 OCSP_RESPONSE *resp = NULL; local [all...] |
/frameworks/base/wifi/java/android/net/wifi/p2p/nsd/ |
WifiP2pServiceResponse.java | 190 * P2P-SERV-DISC-RESP <address> <update indicator> <response data> 191 * e.g) P2P-SERV-DISC-RESP 02:03:7f:11:62:da 1 0300000101 247 WifiP2pServiceResponse resp; local 249 resp = WifiP2pDnsSdServiceResponse.newInstance(status, 252 resp = WifiP2pUpnpServiceResponse.newInstance(status, 255 resp = new WifiP2pServiceResponse(type, status, transId, dev, data); 257 if (resp != null && resp.getStatus() == Status.SUCCESS) { 258 respList.add(resp);
|
/frameworks/base/core/tests/coretests/src/android/app/ |
DownloadManagerFunctionalTest.java | 271 final MockResponse resp = buildResponse(HTTP_REDIRECT); local 272 resp.setHeader("Location", uri.toString()); 273 enqueueResponse(resp); 295 final MockResponse resp = buildResponse(HTTP_REDIRECT); local 296 resp.setHeader("Location", "://blah.blah.blah.com"); 297 enqueueResponse(resp); 391 final MockResponse resp = buildResponse(HTTP_OK, blobData); local 392 resp.setHeader("Content-Length", "50000"); 393 enqueueResponse(resp);
|
/hardware/ti/wlan/mac80211/ti-utils/uim_rfkill/ |
uim.c | 266 command_complete_t resp; local 271 if (read_hci_event(fd, (unsigned char *)&resp, sizeof(resp)) < 0) { 277 if (resp.uart_prefix != HCI_EVENT_PKT) { 280 resp.uart_prefix); 285 if (resp.hci_hdr.evt != EVT_CMD_COMPLETE) { 289 resp.hci_hdr.evt); 293 if (resp.hci_hdr.plen < 4) { 296 resp.hci_hdr.plen); 300 if (resp.cmd_complete.opcode != (unsigned short)opcode) [all...] |