/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;
|
/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 | 136 struct wpabuf *resp; local 138 resp = p2p_build_dev_disc_resp(dialog_token, status); 139 if (resp == NULL) 149 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) { 153 wpabuf_free(resp);
|
p2p_pd.c | 139 struct wpabuf *resp; local 203 resp = p2p_build_prov_disc_resp(p2p, msg.dialog_token, 206 if (resp == NULL) { 218 wpabuf_free(resp); 225 wpabuf_head(resp), wpabuf_len(resp), 200) < 0) { 229 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:__anon35018::__anon35019
|
/packages/apps/Exchange/src/com/android/exchange/service/ |
EasAutoDiscover.java | 83 final EasResponse resp = getResponse(post, domain); local 84 if (resp == null) { 89 // resp is either an authentication error, or a good response. 90 final int code = resp.getStatus(); 97 final HostAuth hostAuth = parseAutodiscover(resp); 118 resp.close(); 179 EasResponse resp = doPost(post, true); local 180 if (resp == null) { 183 resp = doPost(post, true); 185 return resp; 197 final EasResponse resp; local [all...] |
EasMeetingResponder.java | 200 final EasResponse resp = sendHttpClientPost("MeetingResponse", s.toByteArray()); local 202 final int status = resp.getStatus(); 204 if (!resp.isEmpty()) { 206 new MeetingResponseParser(resp.getInputStream()).parse(); 218 } else if (resp.isAuthError()) { 226 resp.close();
|
/external/chromium_org/third_party/openssl/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/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 | 744 WifiP2pServiceResponse resp = (WifiP2pServiceResponse) message.obj; local 745 handleServiceResponse(resp); 761 private void handleServiceResponse(WifiP2pServiceResponse resp) { 762 if (resp instanceof WifiP2pDnsSdServiceResponse) { 763 handleDnsSdServiceResponse((WifiP2pDnsSdServiceResponse)resp); 764 } else if (resp instanceof WifiP2pUpnpServiceResponse) { 766 handleUpnpServiceResponse((WifiP2pUpnpServiceResponse)resp); [all...] |
/packages/apps/Exchange/src/com/android/exchange/adapter/ |
AttachmentLoader.java | 133 EasResponse resp = null; local 143 resp = mService.sendHttpClientPost("ItemOperations", s.toByteArray()); 152 resp = mService.sendHttpClientPost(cmd, null, EasSyncService.COMMAND_TIMEOUT); 155 int status = resp.getStatus(); 157 if (!resp.isEmpty()) { 158 InputStream is = resp.getInputStream(); 173 int len = resp.getLength(); 200 if (resp != null) { 201 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/chromium_org/net/dns/ |
dns_response_unittest.cc | 207 DnsResponse resp; local 208 memcpy(resp.io_buffer()->data(), response_data, sizeof(response_data)); 211 EXPECT_FALSE(resp.InitParse(query->io_buffer()->size() - 1, *query)); 212 EXPECT_FALSE(resp.IsValid()); 216 EXPECT_FALSE(resp.InitParse(sizeof(response_data), *other_query)); 217 EXPECT_FALSE(resp.IsValid()); 222 EXPECT_FALSE(resp.InitParse(sizeof(response_data), *wrong_query)); 223 EXPECT_FALSE(resp.IsValid()); 226 EXPECT_TRUE(resp.InitParse(sizeof(response_data), *query)); 227 EXPECT_TRUE(resp.IsValid()) 249 DnsResponse resp; local 300 DnsResponse resp; local 358 DnsResponse resp; local 389 DnsResponse resp; local [all...] |
/external/chromium_org/third_party/openssl/openssl/crypto/ocsp/ |
ocsp_ht.c | 487 OCSP_RESPONSE *resp = NULL; local 495 rv = OCSP_sendreq_nbio(&resp, ctx); 501 return 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...] |