Home
last modified time | relevance | path

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

12

/external/wpa_supplicant_8/src/radius/
Dradius_das.c37 const char *abuf, in radius_das_disconnect() argument
66 abuf, from_port); in radius_das_disconnect()
81 "'%s' from %s:%d", tmp, abuf, from_port); in radius_das_disconnect()
110 abuf, from_port); in radius_das_disconnect()
115 "%s:%d", abuf, from_port); in radius_das_disconnect()
152 char abuf[50]; in radius_das_receive() local
171 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); in radius_das_receive()
175 len, abuf, from_port); in radius_das_receive()
184 "from %s:%d failed", abuf, from_port); in radius_das_receive()
194 "from %s:%d - drop", abuf, from_port); in radius_das_receive()
[all …]
Dradius_server.c888 char abuf[50]; in radius_server_receive_auth() local
906 if (inet_ntop(AF_INET6, &from.sin6.sin6_addr, abuf, in radius_server_receive_auth()
907 sizeof(abuf)) == NULL) in radius_server_receive_auth()
908 abuf[0] = '\0'; in radius_server_receive_auth()
911 len, abuf, from_port); in radius_server_receive_auth()
920 os_strlcpy(abuf, inet_ntoa(from.sin.sin_addr), sizeof(abuf)); in radius_server_receive_auth()
923 len, abuf, from_port); in radius_server_receive_auth()
931 RADIUS_DEBUG("Unknown client %s - packet ignored", abuf); in radius_server_receive_auth()
964 RADIUS_DEBUG("Invalid Message-Authenticator from %s", abuf); in radius_server_receive_auth()
971 fromlen, client, abuf, from_port, NULL) == in radius_server_receive_auth()
[all …]
Dradius_client.c381 char abuf[50]; in radius_client_timer() local
439 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_timer()
463 hostapd_ip_txt(&old->addr, abuf, sizeof(abuf)), in radius_client_timer()
945 char abuf[50]; in radius_change_server() local
954 hostapd_ip_txt(&nserv->addr, abuf, sizeof(abuf)), in radius_change_server()
1069 abuf, sizeof(abuf)), in radius_change_server()
1360 char abuf[50]; in radius_client_dump_auth_server() local
1386 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_auth_server()
1409 char abuf[50]; in radius_client_dump_acct_server() local
1434 hostapd_ip_txt(&serv->addr, abuf, sizeof(abuf)), in radius_client_dump_acct_server()
/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/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/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()
177 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()
589 abuf, sizeof(abuf))); in print_route()
/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/chromium_org/third_party/openssl/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/chromium_org/third_party/openssl/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/pkcs7/
Dpk7_doit.c846 unsigned char *abuf = NULL; in PKCS7_dataFinal() local
849 abuf = OPENSSL_malloc(abuflen); in PKCS7_dataFinal()
850 if (!abuf) in PKCS7_dataFinal()
853 if (!EVP_SignFinal(&ctx_tmp, abuf, &abuflen, in PKCS7_dataFinal()
860 ASN1_STRING_set0(si->enc_digest, abuf, abuflen); in PKCS7_dataFinal()
904 unsigned char *abuf = NULL; in PKCS7_SIGNER_INFO_sign() local
924 alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr,&abuf, in PKCS7_SIGNER_INFO_sign()
926 if(!abuf) in PKCS7_SIGNER_INFO_sign()
928 if (EVP_DigestSignUpdate(&mctx,abuf,alen) <= 0) in PKCS7_SIGNER_INFO_sign()
930 OPENSSL_free(abuf); in PKCS7_SIGNER_INFO_sign()
[all …]
/external/chromium_org/third_party/openssl/openssl/crypto/pkcs7/
Dpk7_doit.c846 unsigned char *abuf = NULL; in PKCS7_dataFinal() local
849 abuf = OPENSSL_malloc(abuflen); in PKCS7_dataFinal()
850 if (!abuf) in PKCS7_dataFinal()
853 if (!EVP_SignFinal(&ctx_tmp, abuf, &abuflen, in PKCS7_dataFinal()
860 ASN1_STRING_set0(si->enc_digest, abuf, abuflen); in PKCS7_dataFinal()
904 unsigned char *abuf = NULL; in PKCS7_SIGNER_INFO_sign() local
924 alen = ASN1_item_i2d((ASN1_VALUE *)si->auth_attr,&abuf, in PKCS7_SIGNER_INFO_sign()
926 if(!abuf) in PKCS7_SIGNER_INFO_sign()
928 if (EVP_DigestSignUpdate(&mctx,abuf,alen) <= 0) in PKCS7_SIGNER_INFO_sign()
930 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