HomeSort by relevance Sort by last modified time
    Searched defs:resp (Results 1 - 25 of 158) sorted by null

1 2 3 4 5 6 7

  /external/openssh/
auth-chall.c 83 char *resp[1], *name, *info, **prompts; local
91 resp[0] = (char *)response;
92 switch (device->respond(authctxt->kbdintctxt, 1, resp)) {
101 device->respond(authctxt->kbdintctxt, 0, resp) == 0)
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
AndroidHttpClientTest.java 38 HttpResponse resp = client.execute(new HttpGet("/foo")); local
39 assertThat(resp.getStatusLine().getStatusCode(), is(200));
40 assertThat(Strings.fromStream(resp.getEntity().getContent()), equalTo("foo"));
  /external/wpa_supplicant_8/src/eap_peer/
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;
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_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_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;
  /external/dropbear/
svr-authpam.c 55 struct pam_response* resp = NULL; local
113 * free the pam_response and its resp element - ie we _must_ malloc
115 resp = (struct pam_response*) m_malloc(sizeof(struct pam_response));
116 memset(resp, 0, sizeof(struct pam_response));
118 resp->resp = m_strdup(userDatap->passwd);
120 (*respp) = resp;
139 * free the pam_response and its resp element - ie we _must_ malloc
141 resp = (struct pam_response*) m_malloc(sizeof(struct pam_response));
142 memset(resp, 0, sizeof(struct pam_response))
    [all...]
  /external/wpa_supplicant_8/src/p2p/
p2p_dev_disc.c 144 struct wpabuf *resp; local
146 resp = p2p_build_dev_disc_resp(dialog_token, status);
147 if (resp == NULL)
158 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) {
163 wpabuf_free(resp);
p2p_pd.c 139 struct wpabuf *resp; local
208 resp = p2p_build_prov_disc_resp(p2p, msg.dialog_token,
211 if (resp == NULL) {
226 wpabuf_free(resp);
233 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) {
238 wpabuf_free(resp);
p2p_go_neg.c 523 struct wpabuf *resp; local
766 resp = p2p_build_go_neg_resp(p2p, dev, msg.dialog_token, status,
769 if (resp == NULL)
782 wpabuf_free(resp);
804 wpabuf_head(resp), wpabuf_len(resp), 500) < 0) {
809 wpabuf_free(resp);
    [all...]
p2p_invitation.c 157 struct wpabuf *resp = NULL; local
356 resp = p2p_build_invitation_resp(p2p, dev, msg.dialog_token, status,
359 if (resp == NULL)
396 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) {
402 wpabuf_free(resp);
  /frameworks/av/media/libmedia/
IEffectClient.cpp 123 char *resp = NULL; local
125 resp = (char *)malloc(replySize);
126 data.read(resp, replySize);
128 commandExecuted(cmdCode, cmdSize, cmd, replySize, resp);
132 if (resp) {
133 free(resp);
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);
  /hardware/samsung_slsi/exynos5/libsecurepath/
tlwvdrm_api.h 68 tci_resp_t resp; /**< Response message structure */ member in union:__anon21250::__anon21251
  /external/openssl/crypto/bn/
bn_div.c 186 BN_ULONG *resp,*wnump; local
288 resp= &(res->d[loop-1]);
302 *resp=1;
309 * the resp pointer */
313 resp--;
315 for (i=0; i<loop-1; i++, wnump--, resp--)
426 *resp = q;
  /external/qemu/android/protocol/
core-commands-proxy.c 88 * resp - Upon success contains command response header.
95 _coreCmdProxy_get_response(UICmdRespHeader* resp, void** resp_data)
100 status = syncsocket_read(_coreCmdProxy.sync_reader, resp,
104 if (status > 0 && resp->resp_data_size) {
105 *resp_data = malloc(resp->resp_data_size);
110 resp->resp_data_size,
111 core_connection_get_timeout(resp->resp_data_size));
150 UICmdRespHeader resp; local
158 status = _coreCmdProxy_get_response(&resp, &tmp);
162 return resp.result
169 UICmdRespHeader resp; local
214 UICmdRespHeader resp; local
261 UICmdRespHeader resp; local
298 UICmdRespHeader resp; local
    [all...]
core-commands-impl.c 124 * resp - Response header.
130 _coreCmdImpl_respond(CoreCmdImpl* corecmd, UICmdRespHeader* resp, void* resp_data)
135 status = syncsocket_write(corecmd->sync_writer, resp,
139 if (status > 0 && resp_data != NULL && resp->resp_data_size != 0) {
141 resp->resp_data_size,
142 _coreCmdImpl_get_timeout(resp->resp_data_size));
149 resp->resp_data_size, errno_str);
197 UICmdRespHeader resp; local
198 resp.resp_data_size = 0;
199 resp.result = qemu_net_disable
206 UICmdRespHeader resp; local
250 UICmdRespHeader resp; local
294 UICmdRespHeader resp; local
313 UICmdRespHeader resp; local
    [all...]
  /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...]
  /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();
Search.java 112 EasResponse resp = svc.sendHttpClientPost("Search", s.toByteArray()); local
114 int code = resp.getStatus();
116 InputStream is = resp.getInputStream();
128 resp.close();
  /external/chromium/third_party/libjingle/source/talk/p2p/client/
httpportallocator.cc 204 std::string resp = std::string(stream->GetBuffer(), length); local
205 ReceiveSessionResponse(resp);
  /external/openssl/crypto/ocsp/
ocsp_ht.c 487 OCSP_RESPONSE *resp = NULL; local
495 rv = OCSP_sendreq_nbio(&resp, ctx);
501 return resp;
  /external/robolectric/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/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...]

Completed in 605 milliseconds

1 2 3 4 5 6 7