| /third_party/openssl/providers/implementations/kdfs/ |
| H A D | pbkdf1.c | 133 static int kdf_pbkdf1_set_membuf(unsigned char **buffer, size_t *buflen, in kdf_pbkdf1_set_membuf() argument 136 OPENSSL_clear_free(*buffer, *buflen); in kdf_pbkdf1_set_membuf() 138 *buflen = 0; in kdf_pbkdf1_set_membuf() 146 if (!OSSL_PARAM_get_octet_string(p, (void **)buffer, 0, buflen)) in kdf_pbkdf1_set_membuf()
|
| /third_party/python/Modules/_blake2/impl/ |
| H A D | blake2.h | 92 uint32_t buflen; member 118 uint32_t buflen; member 128 uint32_t buflen; member 137 uint32_t buflen; member
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/eap_peer/ |
| H A D | eap_methods.c | 89 * @buflen: Buffer length 93 size_t eap_get_names(char *buf, size_t buflen) in eap_get_names() argument 99 if (buflen == 0) in eap_get_names() 103 end = pos + buflen; in eap_get_names() 112 buf[buflen - 1] = '\0'; in eap_get_names()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/ap/ |
| H A D | taxonomy.c | 240 struct sta_info *sta, char *buf, size_t buflen) in retrieve_sta_taxonomy() 248 ret = os_snprintf(buf, buflen, "wifi4|probe:"); in retrieve_sta_taxonomy() 249 if (os_snprintf_error(buflen, ret)) in retrieve_sta_taxonomy() 252 end = buf + buflen; in retrieve_sta_taxonomy() 239 retrieve_sta_taxonomy(const struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) retrieve_sta_taxonomy() argument
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/eap_peer/ |
| H A D | eap_methods.c | 90 * @buflen: Buffer length 94 size_t eap_get_names(char *buf, size_t buflen) in eap_get_names() argument 100 if (buflen == 0) in eap_get_names() 104 end = pos + buflen; in eap_get_names() 113 buf[buflen - 1] = '\0'; in eap_get_names()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/ap/ |
| H A D | taxonomy.c | 240 struct sta_info *sta, char *buf, size_t buflen) in retrieve_sta_taxonomy() 248 ret = os_snprintf(buf, buflen, "wifi4|probe:"); in retrieve_sta_taxonomy() 249 if (os_snprintf_error(buflen, ret)) in retrieve_sta_taxonomy() 252 end = buf + buflen; in retrieve_sta_taxonomy() 239 retrieve_sta_taxonomy(const struct hostapd_data *hapd, struct sta_info *sta, char *buf, size_t buflen) retrieve_sta_taxonomy() argument
|
| /device/soc/rockchip/common/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_wifi6/ |
| H A D | dhd_debug_linux.c | 122 uint32 buflen, rlen; in dbg_ring_poll_worker() local 130 buflen = ring->wp - ring->rp; in dbg_ring_poll_worker() 132 buflen = ring->ring_size - ring->rp + ring->wp; in dbg_ring_poll_worker() 137 if (buflen > ring->ring_size) { in dbg_ring_poll_worker() 141 buf = MALLOCZ(dhdp->osh, buflen); in dbg_ring_poll_worker() 149 rlen = dhd_dbg_pull_from_ring(dhdp, ringid, buf, buflen); in dbg_ring_poll_worker() 166 MFREE(dhdp->osh, buf, buflen); in dbg_ring_poll_worker()
|
| H A D | wl_iw.c | 143 uint32 reason, char* stringBuf, uint buflen); 364 int buflen) in dev_iw_iovar_setbuf() 368 iolen = bcm_mkiovar(iovar, param, paramlen, bufptr, buflen); in dev_iw_iovar_setbuf() 382 int buflen) in dev_iw_iovar_getbuf() 386 iolen = bcm_mkiovar(iovar, param, paramlen, bufptr, buflen); in dev_iw_iovar_getbuf() 390 return (dev_wlc_ioctl(dev, WLC_GET_VAR, bufptr, buflen)); in dev_iw_iovar_getbuf() 402 uint buflen; in dev_wlc_bufvar_set() local 409 buflen = bcm_mkiovar(name, buf, len, ioctlbuf, MAX_WLIW_IOCTL_LEN); in dev_wlc_bufvar_set() 410 ASSERT(buflen); in dev_wlc_bufvar_set() 411 error = dev_wlc_ioctl(dev, WLC_SET_VAR, ioctlbuf, buflen); in dev_wlc_bufvar_set() 358 dev_iw_iovar_setbuf( struct net_device *dev, char *iovar, void *param, int paramlen, void *bufptr, int buflen) dev_iw_iovar_setbuf() argument 376 dev_iw_iovar_getbuf( struct net_device *dev, char *iovar, void *param, int paramlen, void *bufptr, int buflen) dev_iw_iovar_getbuf() argument 424 dev_wlc_bufvar_get( struct net_device *dev, char *name, char *buf, int buflen) dev_wlc_bufvar_get() argument 1211 uint buflen = dwrq->length; wl_iw_get_aplist() local 1670 uint buflen = dwrq->length; wl_iw_get_scan() local 3502 wl_iw_conn_status_str(uint32 event_type, uint32 status, uint32 reason, char* stringBuf, uint buflen) wl_iw_conn_status_str() argument 3585 wl_iw_check_conn_fail(const wl_event_msg_t *e, char* stringBuf, uint buflen) wl_iw_check_conn_fail() argument [all...] |
| /third_party/libuv/src/unix/ |
| H A D | internal.h | 331 int uv__search_path(const char* prog, char* buf, size_t* buflen); 335 int uv__random_devurandom(void* buf, size_t buflen); 336 int uv__random_getrandom(void* buf, size_t buflen); 337 int uv__random_getentropy(void* buf, size_t buflen); 338 int uv__random_readpath(const char* path, void* buf, size_t buflen); 339 int uv__random_sysctl(void* buf, size_t buflen); 451 ssize_t uv__getrandom(void* buf, size_t buflen, unsigned flags);
|
| H A D | random-sysctl-linux.c | 43 int uv__random_sysctl(void* buf, size_t buflen) { in uv__random_sysctl() argument 52 pe = p + buflen; in uv__random_sysctl()
|
| /third_party/node/deps/cares/src/lib/ |
| H A D | ares_getnameinfo.c | 82 size_t buflen); 85 unsigned int scopeid, char *buf, size_t buflen); 275 size_t buflen) in lookup_service() 336 if (name_len < buflen) { in lookup_service() 351 char *buf, size_t buflen) in append_scopeid() 382 if (bufl + ares_strlen(tmpbuf) < buflen) { in append_scopeid() 384 ares_strcpy(&buf[bufl], tmpbuf, buflen - bufl); in append_scopeid() 274 lookup_service(unsigned short port, unsigned int flags, char *buf, size_t buflen) lookup_service() argument 350 append_scopeid(const struct sockaddr_in6 *addr6, unsigned int flags, char *buf, size_t buflen) append_scopeid() argument
|
| /third_party/libuv/test/ |
| H A D | test-pipe-getsockname.c | 187 size_t buflen; in TEST_IMPL() local 189 buflen = sizeof(buf); in TEST_IMPL() 193 ASSERT_OK(uv_pipe_getsockname(&pipe_server, buf, &buflen)); in TEST_IMPL() 194 ASSERT_UINT64_EQ(sizeof(name) - 1, buflen); in TEST_IMPL() 195 ASSERT_MEM_EQ(name, buf, buflen); in TEST_IMPL()
|
| /third_party/mbedtls/include/mbedtls/ |
| H A D | ecp.h | 763 * of length \p buflen Bytes. 764 * \param buflen The length of the output buffer \p buf in Bytes. 776 unsigned char *buf, size_t buflen); 1318 * \param buflen The length of the buffer in bytes. 1329 const unsigned char *buf, size_t buflen); 1339 * pass the key's nominal length as \c buflen, after 1341 * See the description of the \p buflen parameter for 1357 * to reach \p buflen bytes. 1360 * null bytes at the end to reach \p buflen bytes. 1361 * \param buflen Th [all...] |
| H A D | x509_crl.h | 116 * \param buflen size of the buffer 122 const unsigned char *buf, size_t buflen); 134 * \param buflen size of the buffer 139 int mbedtls_x509_crl_parse(mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen);
|
| /device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/libcoap/include/coap2/ |
| H A D | uri.h | 101 * @param buflen Maximum length of @p buf. Will be set to the actual number 109 size_t *buflen); 119 * @param buflen Maximum length of @p buf. Will be set to the actual number 129 size_t *buflen);
|
| /device/soc/hisilicon/hi3861v100/sdk_liteos/third_party/mbedtls/include/mbedtls/ |
| H A D | x509_crl.h | 104 * \param buflen size of the buffer 110 const unsigned char *buf, size_t buflen ); 118 * \param buflen size of the buffer 123 int mbedtls_x509_crl_parse( mbedtls_x509_crl *chain, const unsigned char *buf, size_t buflen );
|
| /third_party/curl/include/curl/ |
| H A D | easy.h | 97 CURL_EXTERN CURLcode curl_easy_recv(CURL *curl, void *buffer, size_t buflen, 109 size_t buflen, size_t *n);
|
| /third_party/node/deps/uv/src/unix/ |
| H A D | random-sysctl-linux.c | 43 int uv__random_sysctl(void* buf, size_t buflen) { in uv__random_sysctl() argument 52 pe = p + buflen; in uv__random_sysctl()
|
| /third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
| H A D | driver_privsep.c | 248 size_t buflen; in wpa_driver_privsep_authenticate() local 256 buflen = sizeof(*data) + params->ie_len + params->auth_data_len; in wpa_driver_privsep_authenticate() 257 data = os_zalloc(buflen); in wpa_driver_privsep_authenticate() 284 res = wpa_priv_cmd(drv, PRIVSEP_CMD_AUTHENTICATE, data, buflen, in wpa_driver_privsep_authenticate() 298 size_t buflen; in wpa_driver_privsep_associate() local 306 buflen = sizeof(*data) + params->wpa_ie_len; in wpa_driver_privsep_associate() 307 data = os_zalloc(buflen); in wpa_driver_privsep_associate() 328 res = wpa_priv_cmd(drv, PRIVSEP_CMD_ASSOCIATE, data, buflen, in wpa_driver_privsep_associate() 521 const size_t buflen = 2000; in wpa_driver_privsep_receive() local 523 buf = os_malloc(buflen); in wpa_driver_privsep_receive() [all...] |
| /third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
| H A D | driver_privsep.c | 254 size_t buflen; in wpa_driver_privsep_authenticate() local 262 buflen = sizeof(*data) + params->ie_len + params->auth_data_len; in wpa_driver_privsep_authenticate() 263 data = os_zalloc(buflen); in wpa_driver_privsep_authenticate() 290 res = wpa_priv_cmd(drv, PRIVSEP_CMD_AUTHENTICATE, data, buflen, in wpa_driver_privsep_authenticate() 304 size_t buflen; in wpa_driver_privsep_associate() local 312 buflen = sizeof(*data) + params->wpa_ie_len; in wpa_driver_privsep_associate() 313 data = os_zalloc(buflen); in wpa_driver_privsep_associate() 334 res = wpa_priv_cmd(drv, PRIVSEP_CMD_ASSOCIATE, data, buflen, in wpa_driver_privsep_associate() 527 const size_t buflen = 2000; in wpa_driver_privsep_receive() local 529 buf = os_malloc(buflen); in wpa_driver_privsep_receive() [all...] |
| /third_party/eudev/src/libudev/ |
| H A D | libudev-monitor.c | 553 ssize_t buflen; in udev_monitor_receive_device() local 570 buflen = recvmsg(udev_monitor->sock, &smsg, 0); in udev_monitor_receive_device() 571 if (buflen < 0) { in udev_monitor_receive_device() 577 if (buflen < 32 || (smsg.msg_flags & MSG_TRUNC)) { in udev_monitor_receive_device() 616 if (buf.nlh.properties_off+32 > (size_t)buflen) { in udev_monitor_receive_device() 618 buf.nlh.properties_off+32, buflen); in udev_monitor_receive_device() 629 if ((size_t)bufpos < sizeof("a@/d") || bufpos >= buflen) { in udev_monitor_receive_device() 641 udev_device = udev_device_new_from_nulstr(udev_monitor->udev, &buf.raw[bufpos], buflen - bufpos); in udev_monitor_receive_device()
|
| /third_party/node/deps/openssl/openssl/providers/implementations/encode_decode/ |
| H A D | encode_key2text.c | 134 const unsigned char *buf, size_t buflen) in print_labeled_buf() 141 for (i = 0; i < buflen; i++) { in print_labeled_buf() 150 (i == buflen - 1) ? "" : ":") <= 0) in print_labeled_buf() 392 size_t buflen; in ec_param_explicit_gen_to_text() local 418 buflen = EC_POINT_point2buf(group, point, form, &buf, ctx); in ec_param_explicit_gen_to_text() 419 if (buflen == 0) in ec_param_explicit_gen_to_text() 422 ret = print_labeled_buf(out, glabel, buf, buflen); in ec_param_explicit_gen_to_text() 423 OPENSSL_clear_free(buf, buflen); in ec_param_explicit_gen_to_text() 133 print_labeled_buf(BIO *out, const char *label, const unsigned char *buf, size_t buflen) print_labeled_buf() argument
|
| /third_party/node/deps/openssl/openssl/providers/implementations/rands/ |
| H A D | drbg_ctr.c | 383 int outl, buflen; in drbg_ctr_generate() local 423 buflen = outlen > (1U << 30) ? (1U << 30) : outlen; in drbg_ctr_generate() 424 blocks = (buflen + 15) / 16; in drbg_ctr_generate() 431 buflen = blocks * 16; in drbg_ctr_generate() 438 if (!EVP_CipherUpdate(ctr->ctx_ctr, out, &outl, out, buflen) in drbg_ctr_generate() 439 || outl != buflen) in drbg_ctr_generate() 442 out += buflen; in drbg_ctr_generate() 443 outlen -= buflen; in drbg_ctr_generate()
|
| /third_party/openssl/providers/implementations/encode_decode/ |
| H A D | encode_key2text.c | 134 const unsigned char *buf, size_t buflen) in print_labeled_buf() 141 for (i = 0; i < buflen; i++) { in print_labeled_buf() 150 (i == buflen - 1) ? "" : ":") <= 0) in print_labeled_buf() 392 size_t buflen; in ec_param_explicit_gen_to_text() local 418 buflen = EC_POINT_point2buf(group, point, form, &buf, ctx); in ec_param_explicit_gen_to_text() 419 if (buflen == 0) in ec_param_explicit_gen_to_text() 422 ret = print_labeled_buf(out, glabel, buf, buflen); in ec_param_explicit_gen_to_text() 423 OPENSSL_clear_free(buf, buflen); in ec_param_explicit_gen_to_text() 133 print_labeled_buf(BIO *out, const char *label, const unsigned char *buf, size_t buflen) print_labeled_buf() argument
|
| /third_party/openssl/providers/implementations/rands/ |
| H A D | drbg_ctr.c | 383 int outl, buflen; in drbg_ctr_generate() local 423 buflen = outlen > (1U << 30) ? (1U << 30) : outlen; in drbg_ctr_generate() 424 blocks = (buflen + 15) / 16; in drbg_ctr_generate() 431 buflen = blocks * 16; in drbg_ctr_generate() 438 if (!EVP_CipherUpdate(ctr->ctx_ctr, out, &outl, out, buflen) in drbg_ctr_generate() 439 || outl != buflen) in drbg_ctr_generate() 442 out += buflen; in drbg_ctr_generate() 443 outlen -= buflen; in drbg_ctr_generate()
|