Home
last modified time | relevance | path

Searched refs:base_len (Results 1 – 11 of 11) sorted by relevance

/src/sys/contrib/dev/athk/ath10k/
H A Dhw.c1032 u32 base_len = 0; in ath10k_hw_diag_fast_download() local
1083 base_len = __le32_to_cpu(metadata->length); in ath10k_hw_diag_fast_download()
1087 switch (base_len) { in ath10k_hw_diag_fast_download()
1091 base_len = 0; in ath10k_hw_diag_fast_download()
1095 base_len = 0; in ath10k_hw_diag_fast_download()
1103 base_len); in ath10k_hw_diag_fast_download()
1107 if (base_len > left) { in ath10k_hw_diag_fast_download()
1111 base_len, left); in ath10k_hw_diag_fast_download()
1119 base_len); in ath10k_hw_diag_fast_download()
1132 metadata = (struct bmi_segmented_metadata *)(buf + base_len); in ath10k_hw_diag_fast_download()
[all …]
/src/contrib/wpa/src/crypto/
H A Dcrypto_internal-modexp.c89 int crypto_mod_exp(const u8 *base, size_t base_len, in crypto_mod_exp() argument
106 if (bignum_set_unsigned_bin(bn_base, base, base_len) < 0 || in crypto_mod_exp()
H A Dcrypto_nettle.c375 int crypto_mod_exp(const u8 *base, size_t base_len, in crypto_mod_exp() argument
385 mpz_import(bn_base, base_len, 1, 1, 1, 0, base); in crypto_mod_exp()
H A Dcrypto_gnutls.c361 int crypto_mod_exp(const u8 *base, size_t base_len, in crypto_mod_exp() argument
370 if (gcry_mpi_scan(&bn_base, GCRYMPI_FMT_USG, base, base_len, NULL) != in crypto_mod_exp()
H A Dcrypto_libtomcrypt.c738 int crypto_mod_exp(const u8 *base, size_t base_len, in crypto_mod_exp() argument
748 if (mp_read_unsigned_bin(b, (u8 *) base, base_len) != CRYPT_OK || in crypto_mod_exp()
H A Dcrypto.h468 int __must_check crypto_mod_exp(const u8 *base, size_t base_len,
H A Dcrypto_openssl.c809 int crypto_mod_exp(const u8 *base, size_t base_len, in crypto_mod_exp() argument
822 bn_base = BN_bin2bn(base, base_len, NULL); in crypto_mod_exp()
/src/usr.sbin/bhyve/
H A Dsnapshot.c152 size_t base_len, ext_len; in strcat_extension() local
154 base_len = strnlen(base_str, NAME_MAX); in strcat_extension()
157 if (base_len + ext_len > NAME_MAX) { in strcat_extension()
162 res = malloc(base_len + ext_len + 1); in strcat_extension()
168 memcpy(res, base_str, base_len); in strcat_extension()
169 memcpy(res + base_len, ext, ext_len); in strcat_extension()
170 res[base_len + ext_len] = 0; in strcat_extension()
/src/contrib/ntp/sntp/libevent/
H A Devdns.c3211 const size_t base_len = strlen(base_name); in search_make_new() local
3215 if (!base_len) return NULL; in search_make_new()
3216 need_to_append_dot = base_name[base_len - 1] == '.' ? 0 : 1; in search_make_new()
3224 char *const newname = (char *) mm_malloc(base_len + need_to_append_dot + postfix_len + 1); in search_make_new()
3226 memcpy(newname, base_name, base_len); in search_make_new()
3227 if (need_to_append_dot) newname[base_len] = '.'; in search_make_new()
3228 memcpy(newname + base_len + need_to_append_dot, postfix, postfix_len); in search_make_new()
3229 newname[base_len + need_to_append_dot + postfix_len] = 0; in search_make_new()
/src/contrib/libevent/
H A Devdns.c3211 const size_t base_len = strlen(base_name); in search_make_new() local
3215 if (!base_len) return NULL; in search_make_new()
3216 need_to_append_dot = base_name[base_len - 1] == '.' ? 0 : 1; in search_make_new()
3224 char *const newname = (char *) mm_malloc(base_len + need_to_append_dot + postfix_len + 1); in search_make_new()
3226 memcpy(newname, base_name, base_len); in search_make_new()
3227 if (need_to_append_dot) newname[base_len] = '.'; in search_make_new()
3228 memcpy(newname + base_len + need_to_append_dot, postfix, postfix_len); in search_make_new()
3229 newname[base_len + need_to_append_dot + postfix_len] = 0; in search_make_new()
/src/sys/contrib/dev/iwlwifi/mvm/
H A Dtx.c716 int base_len = (u8 *)mgmt->u.probe_resp.variable - (u8 *)mgmt; in iwl_mvm_probe_resp_set_noa() local
738 skb->len - base_len, in iwl_mvm_probe_resp_set_noa()