Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/radius/
Dradius_das.c34 const char *abuf, in radius_das_disconnect() argument
68 abuf, from_port); in radius_das_disconnect()
79 abuf, from_port); in radius_das_disconnect()
91 abuf, from_port); in radius_das_disconnect()
113 "'%s' from %s:%d", tmp, abuf, from_port); in radius_das_disconnect()
142 abuf, from_port); in radius_das_disconnect()
147 "%s:%d", abuf, from_port); in radius_das_disconnect()
184 char abuf[50]; in radius_das_receive() local
203 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); in radius_das_receive()
207 len, abuf, from_port); in radius_das_receive()
[all …]
Dradius_server.c1182 char abuf[50]; in radius_server_receive_auth() local
1201 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, in radius_server_receive_auth()
1202 sizeof(abuf)) == NULL) in radius_server_receive_auth()
1203 abuf[0] = '\0'; in radius_server_receive_auth()
1206 len, abuf, from_port); in radius_server_receive_auth()
1215 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); in radius_server_receive_auth()
1218 len, abuf, from_port); in radius_server_receive_auth()
1226 RADIUS_DEBUG("Unknown client %s - packet ignored", abuf); in radius_server_receive_auth()
1259 RADIUS_DEBUG("Invalid Message-Authenticator from %s", abuf); in radius_server_receive_auth()
1266 fromlen, client, abuf, from_port, NULL) == in radius_server_receive_auth()
[all …]
Dradius_client.c391 char abuf[50]; in radius_client_timer() local
463 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_timer()
487 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_timer()
967 char abuf[50]; in radius_change_server() local
976 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), in radius_change_server()
1097 abuf, sizeof(abuf)), in radius_change_server()
1427 char abuf[50]; in radius_client_dump_auth_server() local
1453 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server()
1476 char abuf[50]; in radius_client_dump_acct_server() local
1501 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_acct_server()
/external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/egl/android/
Dnative_android.cpp177 ANativeWindowBuffer *abuf) in import_buffer() argument
199 handle.handle = get_handle_name(abuf->handle); in import_buffer()
201 LOGE("unable to import invalid buffer %p", abuf); in import_buffer()
206 abuf->stride * util_format_get_blocksize(templ->format); in import_buffer()
214 handle.handle = abuf->handle; in import_buffer()
216 abuf->stride * util_format_get_blocksize(templ->format); in import_buffer()
223 LOGE("failed to import buffer %p", abuf); in import_buffer()
244 ANativeWindowBuffer *abuf) in android_surface_add_cache() argument
251 if (asurf->cache_key.width != abuf->width || in android_surface_add_cache()
252 asurf->cache_key.height != abuf->height || in android_surface_add_cache()
[all …]
/external/mesa3d/src/gallium/state_trackers/egl/android/
Dnative_android.cpp177 ANativeWindowBuffer *abuf) in import_buffer() argument
199 handle.handle = get_handle_name(abuf->handle); in import_buffer()
201 LOGE("unable to import invalid buffer %p", abuf); in import_buffer()
206 abuf->stride * util_format_get_blocksize(templ->format); in import_buffer()
214 handle.handle = abuf->handle; in import_buffer()
216 abuf->stride * util_format_get_blocksize(templ->format); in import_buffer()
223 LOGE("failed to import buffer %p", abuf); in import_buffer()
244 ANativeWindowBuffer *abuf) in android_surface_add_cache() argument
251 if (asurf->cache_key.width != abuf->width || in android_surface_add_cache()
252 asurf->cache_key.height != abuf->height || in android_surface_add_cache()
[all …]
/external/iproute2/tc/
Dtc_class.c159 char abuf[256]; in print_class() local
187 abuf[0] = 0; in print_class()
190 print_tc_classid(abuf, sizeof(abuf), TC_H_MIN(t->tcm_handle)); in print_class()
192 print_tc_classid(abuf, sizeof(abuf), t->tcm_handle); in print_class()
194 fprintf(fp, "class %s %s ", rta_getattr_str(tb[TCA_KIND]), abuf); in print_class()
203 print_tc_classid(abuf, sizeof(abuf), TC_H_MIN(t->tcm_parent)); in print_class()
205 print_tc_classid(abuf, sizeof(abuf), t->tcm_parent); in print_class()
206 fprintf(fp, "parent %s ", abuf); in print_class()
Dtc_qdisc.c206 char abuf[256]; in print_qdisc() local
238 print_tc_classid(abuf, sizeof(abuf), t->tcm_parent); in print_qdisc()
239 fprintf(fp, "parent %s ", abuf); in print_qdisc()
Dtc_filter.c193 char abuf[256]; in print_filter() local
224 print_tc_classid(abuf, sizeof(abuf), t->tcm_parent); in print_filter()
225 fprintf(fp, "parent %s ", abuf); in print_filter()
/external/iproute2/ip/
Dipprefix.c76 char abuf[256]; in print_prefix() local
80 memset(abuf, '\0', sizeof(abuf)); in print_prefix()
82 abuf, sizeof(abuf))); in print_prefix()
Dipxfrm.c287 char abuf[256]; in xfrm_id_info_print() local
292 memset(abuf, '\0', sizeof(abuf)); in xfrm_id_info_print()
294 saddr, abuf, sizeof(abuf))); in xfrm_id_info_print()
295 memset(abuf, '\0', sizeof(abuf)); in xfrm_id_info_print()
297 &id->daddr, abuf, sizeof(abuf))); in xfrm_id_info_print()
447 char abuf[256]; in xfrm_selector_print() local
459 memset(abuf, '\0', sizeof(abuf)); in xfrm_selector_print()
461 &sel->saddr, abuf, sizeof(abuf)), in xfrm_selector_print()
464 memset(abuf, '\0', sizeof(abuf)); in xfrm_selector_print()
466 &sel->daddr, abuf, sizeof(abuf)), in xfrm_selector_print()
[all …]
Diprule.c54 char abuf[256]; in print_rule() local
91 abuf, sizeof(abuf)), in print_rule()
98 abuf, sizeof(abuf)) in print_rule()
112 abuf, sizeof(abuf)), in print_rule()
119 abuf, sizeof(abuf))); in print_rule()
190 abuf, sizeof(abuf))); in print_rule()
Dxfrm_monitor.c244 char abuf[256]; in xfrm_ae_print() local
249 memset(abuf, '\0', sizeof(abuf)); in xfrm_ae_print()
252 abuf, sizeof(abuf))); in xfrm_ae_print()
Dipaddrlabel.c63 char abuf[256]; in print_addrlabel() local
82 abuf, sizeof(abuf)), in print_addrlabel()
Diproute.c286 char abuf[256]; in print_route() local
340 abuf, sizeof(abuf)), in print_route()
347 abuf, sizeof(abuf)) in print_route()
360 abuf, sizeof(abuf)), in print_route()
367 abuf, sizeof(abuf)) in print_route()
383 abuf, sizeof(abuf))); in print_route()
404 abuf, sizeof(abuf))); in print_route()
592 abuf, sizeof(abuf))); in print_route()
Diplink.c277 char abuf[32]; in iplink_parse() local
301 len = ll_addr_a2n(abuf, sizeof(abuf), *argv); in iplink_parse()
304 addattr_l(&req->n, sizeof(*req), IFLA_ADDRESS, abuf, len); in iplink_parse()
308 len = ll_addr_a2n(abuf, sizeof(abuf), *argv); in iplink_parse()
311 addattr_l(&req->n, sizeof(*req), IFLA_BROADCAST, abuf, len); in iplink_parse()
/external/openssl/crypto/dh/
Ddhtest.c102 unsigned char *abuf=NULL,*bbuf=NULL; in main() local
167 abuf=(unsigned char *)OPENSSL_malloc(alen); in main()
168 aout=DH_compute_key(abuf,b->pub_key,a); in main()
173 sprintf(buf,"%02X",abuf[i]); in main()
189 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0)) in main()
199 if (abuf != NULL) OPENSSL_free(abuf); in main()
/external/qemu/distrib/sdl-1.2.15/src/audio/macosx/
DSDL_coreaudio.c105 AudioBuffer *abuf; in audioCallback() local
112 abuf = &ioData->mBuffers[i]; in audioCallback()
113 SDL_memset(abuf->mData, this->spec.silence, abuf->mDataByteSize); in audioCallback()
127 abuf = &ioData->mBuffers[i]; in audioCallback()
128 remaining = abuf->mDataByteSize; in audioCallback()
129 ptr = abuf->mData; in audioCallback()
/external/openssl/crypto/ecdh/
Decdhtest.c130 unsigned char *abuf=NULL,*bbuf=NULL; in test_ecdh_curve() local
210 abuf=(unsigned char *)OPENSSL_malloc(alen); in test_ecdh_curve()
211 aout=ECDH_compute_key(abuf,alen,EC_KEY_get0_public_key(b),a,KDF1_SHA1); in test_ecdh_curve()
217 sprintf(buf,"%02X",abuf[i]); in test_ecdh_curve()
243 if ((aout < 4) || (bout != aout) || (memcmp(abuf,bbuf,aout) != 0)) in test_ecdh_curve()
274 sprintf(buf, "%02X", abuf[i]); in test_ecdh_curve()
292 if (abuf != NULL) OPENSSL_free(abuf); in test_ecdh_curve()
/external/openssl/crypto/cms/
Dcms_sd.c706 unsigned char *abuf = NULL; in CMS_SignerInfo_sign() local
733 alen = ASN1_item_i2d((ASN1_VALUE *)si->signedAttrs,&abuf, in CMS_SignerInfo_sign()
735 if(!abuf) in CMS_SignerInfo_sign()
737 if (EVP_DigestSignUpdate(&mctx, abuf, alen) <= 0) in CMS_SignerInfo_sign()
741 OPENSSL_free(abuf); in CMS_SignerInfo_sign()
742 abuf = OPENSSL_malloc(siglen); in CMS_SignerInfo_sign()
743 if(!abuf) in CMS_SignerInfo_sign()
745 if (EVP_DigestSignFinal(&mctx, abuf, &siglen) <= 0) in CMS_SignerInfo_sign()
757 ASN1_STRING_set0(si->signature, abuf, siglen); in CMS_SignerInfo_sign()
762 if (abuf) in CMS_SignerInfo_sign()
[all …]
/external/chromium_org/third_party/boringssl/src/crypto/dh/
Ddh_test.c93 unsigned char *abuf = NULL, *bbuf = NULL; in main() local
156 abuf = (unsigned char *)OPENSSL_malloc(alen); in main()
157 aout = DH_compute_key(abuf, b->pub_key, a); in main()
161 sprintf(buf, "%02X", abuf[i]); in main()
176 if ((aout < 4) || (bout != aout) || (memcmp(abuf, bbuf, aout) != 0)) { in main()
188 if (abuf != NULL) in main()
189 OPENSSL_free(abuf); in main()
/external/openssl/crypto/pkcs7/
Dpk7_doit.c851 unsigned char *abuf = NULL; in PKCS7_dataFinal() local
854 abuf = OPENSSL_malloc(abuflen); in PKCS7_dataFinal()
855 if (!abuf) in PKCS7_dataFinal()
858 if (!EVP_SignFinal(&ctx_tmp, abuf, &abuflen, in PKCS7_dataFinal()
865 ASN1_STRING_set0(si->enc_digest, abuf, abuflen); in PKCS7_dataFinal()
909 unsigned char *abuf = NULL; in PKCS7_SIGNER_INFO_sign() local
929 alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr,&abuf, in PKCS7_SIGNER_INFO_sign()
931 if(!abuf) in PKCS7_SIGNER_INFO_sign()
933 if (EVP_DigestSignUpdate(&mctx,abuf,alen) <= 0) in PKCS7_SIGNER_INFO_sign()
935 OPENSSL_free(abuf); in PKCS7_SIGNER_INFO_sign()
[all …]
/external/ipsec-tools/src/libipsec/
Dipsec_dump_policy.c282 char abuf[NI_MAXHOST * 2 + 2]; local
319 abuf[0] = '\0';
332 if (set_addresses(abuf, sizeof(abuf),
358 snprintf(buf, len, "%s/%s/%s/%s", proto, mode, abuf, level);
366 snprintf(buf, len, "%s/%s/%s/%s%c%u", proto, mode, abuf, level,
/external/iputils/
Dtracepath.c167 char abuf[128]; in recverr() local
172 inet_ntop(AF_INET, &sin->sin_addr, abuf, sizeof(abuf)); in recverr()
189 print_host(abuf, h ? (idn ? idn : h->h_name) : abuf, show_both); in recverr()
191 print_host(h ? (idn ? idn : h->h_name) : abuf, abuf, show_both); in recverr()
Dtracepath6.c210 char abuf[NI_MAXHOST], hbuf[NI_MAXHOST]; in recverr() local
232 abuf, sizeof(abuf), NULL, 0, in recverr()
234 strcpy(abuf, "???"); in recverr()
236 abuf[0] = 0; in recverr()
252 print_host(abuf, hbuf, show_both); in recverr()
254 print_host(hbuf, abuf, show_both); in recverr()
/external/qemu/distrib/sdl-1.2.15/src/cdrom/macosx/
DAudioFileReaderThread.c525 AudioBuffer *abuf; in AudioFileManager_Render() local
529 abuf = &ioData->mBuffers[i]; in AudioFileManager_Render()
541 if (abuf->mDataByteSize > afm->mBufferSize - afm->mBufferOffset) in AudioFileManager_Render()
542 abuf->mDataByteSize = afm->mBufferSize - afm->mBufferOffset; in AudioFileManager_Render()
543 abuf->mData = (char *)afm->mTmpBuffer + afm->mBufferOffset; in AudioFileManager_Render()
544 afm->mBufferOffset += abuf->mDataByteSize; in AudioFileManager_Render()
546 afm->mByteCounter += abuf->mDataByteSize; in AudioFileManager_Render()

12