Searched refs:base_len (Results 1 - 12 of 12) sorted by relevance

/freebsd-head/contrib/diff/lib/
H A Ddirname.h38 size_t base_len (char const *path);
H A Dbasename.c71 base_len (char const *name) function
/freebsd-head/contrib/binutils/libiberty/
H A Dmake-temp-file.c152 int base_len, suffix_len; local
158 base_len = strlen (base);
161 temp_filename = XNEWVEC (char, base_len
165 strcpy (temp_filename + base_len, TEMP_FILE);
166 strcpy (temp_filename + base_len + TEMP_FILE_LEN, suffix);
/freebsd-head/contrib/wpa/src/crypto/
H A Dcrypto_internal-modexp.c89 int crypto_mod_exp(const u8 *base, size_t base_len, argument
106 if (bignum_set_unsigned_bin(bn_base, base, base_len) < 0 ||
H A Dcrypto_nettle.c375 int crypto_mod_exp(const u8 *base, size_t base_len, argument
385 mpz_import(bn_base, base_len, 1, 1, 1, 0, base);
H A Dcrypto_gnutls.c361 int crypto_mod_exp(const u8 *base, size_t base_len, argument
370 if (gcry_mpi_scan(&bn_base, GCRYMPI_FMT_USG, base, base_len, NULL) !=
H A Dcrypto_libtomcrypt.c738 int crypto_mod_exp(const u8 *base, size_t base_len, argument
748 if (mp_read_unsigned_bin(b, (u8 *) base, base_len) != CRYPT_OK ||
H A Dcrypto.h449 * @base_len: Length of base integer in bytes
466 int __must_check crypto_mod_exp(const u8 *base, size_t base_len,
H A Dcrypto_openssl.c589 int crypto_mod_exp(const u8 *base, size_t base_len, argument
602 bn_base = BN_bin2bn(base, base_len, NULL);
/freebsd-head/usr.sbin/bhyve/
H A Dsnapshot.c185 size_t base_len, ext_len; local
187 base_len = strnlen(base_str, MAX_VMNAME);
190 if (base_len + ext_len > MAX_VMNAME) {
195 res = malloc(base_len + ext_len + 1);
201 memcpy(res, base_str, base_len);
202 memcpy(res + base_len, ext, ext_len);
203 res[base_len + ext_len] = 0;
/freebsd-head/contrib/libevent/
H A Devdns.c3177 const size_t base_len = strlen(base_name); local
3181 if (!base_len) return NULL;
3182 need_to_append_dot = base_name[base_len - 1] == '.' ? 0 : 1;
3190 char *const newname = (char *) mm_malloc(base_len + need_to_append_dot + postfix_len + 1);
3192 memcpy(newname, base_name, base_len);
3193 if (need_to_append_dot) newname[base_len] = '.';
3194 memcpy(newname + base_len + need_to_append_dot, postfix, postfix_len);
3195 newname[base_len + need_to_append_dot + postfix_len] = 0;
/freebsd-head/contrib/ntp/sntp/libevent/
H A Devdns.c3179 const size_t base_len = strlen(base_name); local
3180 const char need_to_append_dot = base_name[base_len - 1] == '.' ? 0 : 1;
3189 char *const newname = (char *) mm_malloc(base_len + need_to_append_dot + postfix_len + 1);
3191 memcpy(newname, base_name, base_len);
3192 if (need_to_append_dot) newname[base_len] = '.';
3193 memcpy(newname + base_len + need_to_append_dot, postfix, postfix_len);
3194 newname[base_len + need_to_append_dot + postfix_len] = 0;

Completed in 99 milliseconds