Home
last modified time | relevance | path

Searched refs:baselen (Results 1 – 10 of 10) sorted by relevance

/freebsd/lib/libutil/
H A Dhumanize_number.c55 size_t baselen; in humanize_number() local
76 baselen = 2; in humanize_number()
93 baselen = 1; in humanize_number()
116 baselen += 2; /* sign, digit */ in humanize_number()
119 baselen += 1; /* digit */ in humanize_number()
125 baselen++; in humanize_number()
127 baselen += strlen(suffix); in humanize_number()
130 if (len < baselen + 1) in humanize_number()
135 for (max = 1, i = len - baselen; i-- > 0;) in humanize_number()
/freebsd/contrib/libxo/libxo/
H A Dxo_humanize.h77 size_t baselen; in xo_humanize_number() local
117 baselen = 3; /* sign, digit, prefix */ in xo_humanize_number()
121 baselen = 2; /* digit, prefix */ in xo_humanize_number()
127 baselen++; in xo_humanize_number()
129 baselen += strlen(suffix); in xo_humanize_number()
132 if (len < baselen + 1) in xo_humanize_number()
137 for (max = 100, i = len - baselen; i-- > 0;) in xo_humanize_number()
152 if (len < baselen + 1 + 2) in xo_humanize_number()
/freebsd/bin/mv/
H A Dmv.c72 size_t baselen, len; in main() local
129 baselen = strlen(path); in main()
130 endp = &path[baselen]; in main()
131 if (!baselen || *(endp - 1) != '/') { in main()
133 ++baselen; in main()
146 if ((baselen + (len = strlen(p))) >= PATH_MAX) { in main()
/freebsd/crypto/openssl/crypto/x509/
H A Dv3_ncons.c807 int hostlen, baselen, i; in nc_ip() local
812 baselen = base->length; in nc_ip()
817 if (!((baselen == 8) || (baselen == 32))) in nc_ip()
821 if (hostlen * 2 != baselen) in nc_ip()
/freebsd/contrib/diff/src/
H A Dsdiff.c340 size_t namelen = strlen (name), baselen = strlen (base); in expand_name() local
342 char *r = xmalloc (namelen + insert_slash + baselen + 1); in expand_name()
345 memcpy (r + namelen + insert_slash, base, baselen + 1); in expand_name()
/freebsd/tests/sys/cddl/zfs/include/
H A Dlibtest.kshlib2653 typeset -i baselen=${#basestr}
2657 if (( len % baselen == 0 )); then
2658 (( iter = len / baselen ))
2660 (( iter = len / baselen + 1 ))
/freebsd/sys/contrib/dev/iwlwifi/mvm/
H A Dftm-initiator.c1510 size_t baselen = IEEE80211_MIN_ACTION_SIZE +
1515 if (len <= baselen)
1521 ies_len = len - baselen;
1365 size_t baselen = IEEE80211_MIN_ACTION_SIZE + iwl_mvm_ftm_lc_notif() local
/freebsd/sys/contrib/openzfs/lib/libzfs/
H A Dlibzfs_sendrecv.c2997 int baselen, char *newname, recvflags_t *flags) in recv_rename() argument
3032 if (err != 0 && strncmp(name + baselen, "recv-", 5) != 0) { in recv_rename()
3036 "%.*srecv-%u-%u", baselen, name, getpid(), seq); in recv_rename()
3119 recv_destroy(libzfs_handle_t *hdl, const char *name, int baselen, in recv_destroy() argument
3171 err = recv_rename(hdl, name, NULL, baselen, newname, flags); in recv_destroy()
/freebsd/sys/contrib/openzfs/tests/zfs-tests/include/
H A Dlibtest.shlib2721 typeset -i baselen=${#basestr}
2725 if ((len % baselen == 0)); then
2726 ((iter = len / baselen))
2728 ((iter = len / baselen + 1))
/freebsd/sys/netipsec/
H A Dkey.c8463 int baselen = 0; in key_validate_ext() local
8487 baselen = PFKEY_ALIGN8(sizeof(struct sadb_address)); in key_validate_ext()
8494 baselen = PFKEY_ALIGN8(sizeof(struct sadb_ident)); in key_validate_ext()
8508 sa = (const struct sockaddr *)(((const u_int8_t*)ext)+baselen); in key_validate_ext()
8509 if (len < baselen + sal) in key_validate_ext()
8511 if (baselen + PFKEY_ALIGN8(sa->sa_len) != len) in key_validate_ext()