/freebsd-11.0-release/contrib/openbsm/compat/ |
H A D | strlcpy.h | 31 * Copy src to string dst of size siz. At most siz-1 characters 32 * will be copied. Always NUL terminates (unless siz == 0). 33 * Returns strlen(src); if retval >= siz, truncation occurred. 36 strlcpy(dst, src, siz) 39 size_t siz; variable 43 size_t n = siz; 55 if (siz != 0)
|
H A D | strlcat.h | 31 * Appends src to string dst of size siz (unlike strncat, siz is the 32 * full size of dst, not space left). At most siz-1 characters 33 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 34 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 35 * If retval >= siz, truncation occurred. 38 strlcat(dst, src, siz) 41 size_t siz; variable 45 size_t n = siz; 52 n = siz [all...] |
/freebsd-11.0-release/contrib/ntp/sntp/libevent/ |
H A D | strlcpy.c | 43 * Copy src to string dst of size siz. At most siz-1 characters 44 * will be copied. Always NUL terminates (unless siz == 0). 45 * Returns strlen(src); if retval >= siz, truncation occurred. 48 event_strlcpy_(dst, src, siz) 51 size_t siz; 55 register size_t n = siz; 67 if (siz != 0)
|
/freebsd-11.0-release/contrib/tcpdump/missing/ |
H A D | strlcpy.c | 42 * Copy src to string dst of size siz. At most siz-1 characters 43 * will be copied. Always NUL terminates (unless siz == 0). 44 * Returns strlen(src); if retval >= siz, truncation occurred. 47 strlcpy(char *dst, const char *src, size_t siz) argument 51 register size_t n = siz; 63 if (siz != 0)
|
H A D | strlcat.c | 42 * Appends src to string dst of size siz (unlike strncat, siz is the 43 * full size of dst, not space left). At most siz-1 characters 44 * will be copied. Always NUL terminates (unless siz == 0). 45 * Returns strlen(src); if retval >= siz, truncation occurred. 48 strlcat(char *dst, const char *src, size_t siz) argument 52 register size_t n = siz; 59 n = siz - dlen;
|
/freebsd-11.0-release/contrib/unbound/compat/ |
H A D | strlcpy.c | 27 * Copy src to string dst of size siz. At most siz-1 characters 28 * will be copied. Always NUL terminates (unless siz == 0). 29 * Returns strlen(src); if retval >= siz, truncation occurred. 32 strlcpy(char *dst, const char *src, size_t siz) argument 36 size_t n = siz; 48 if (siz != 0)
|
H A D | strlcat.c | 39 * Appends src to string dst of size siz (unlike strncat, siz is the 40 * full size of dst, not space left). At most siz-1 characters 41 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 42 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 43 * If retval >= siz, truncation occurred. 46 strlcat(char *dst, const char *src, size_t siz) argument 50 size_t n = siz; 57 n = siz - dlen;
|
/freebsd-11.0-release/crypto/openssh/openbsd-compat/ |
H A D | strlcpy.c | 28 * Copy src to string dst of size siz. At most siz-1 characters 29 * will be copied. Always NUL terminates (unless siz == 0). 30 * Returns strlen(src); if retval >= siz, truncation occurred. 33 strlcpy(char *dst, const char *src, size_t siz) argument 37 size_t n = siz; 49 if (siz != 0)
|
H A D | strlcat.c | 28 * Appends src to string dst of size siz (unlike strncat, siz is the 29 * full size of dst, not space left). At most siz-1 characters 30 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 31 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 32 * If retval >= siz, truncation occurred. 35 strlcat(char *dst, const char *src, size_t siz) argument 39 size_t n = siz; 46 n = siz - dlen;
|
/freebsd-11.0-release/contrib/llvm/lib/Support/ |
H A D | regstrlcpy.c | 24 * Copy src to string dst of size siz. At most siz-1 characters 25 * will be copied. Always NUL terminates (unless siz == 0). 26 * Returns strlen(src); if retval >= siz, truncation occurred. 29 llvm_strlcpy(char *dst, const char *src, size_t siz) argument 33 size_t n = siz; 45 if (siz != 0)
|
/freebsd-11.0-release/contrib/mdocml/ |
H A D | compat_strlcpy.c | 31 * Copy src to string dst of size siz. At most siz-1 characters 32 * will be copied. Always NUL terminates (unless siz == 0). 33 * Returns strlen(src); if retval >= siz, truncation occurred. 36 strlcpy(char *dst, const char *src, size_t siz) argument 40 size_t n = siz; 52 if (siz != 0)
|
H A D | compat_strlcat.c | 31 * Appends src to string dst of size siz (unlike strncat, siz is the 32 * full size of dst, not space left). At most siz-1 characters 33 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 34 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 35 * If retval >= siz, truncation occurred. 38 strlcat(char *dst, const char *src, size_t siz) argument 42 size_t n = siz; 49 n = siz - dlen;
|
/freebsd-11.0-release/contrib/file/src/ |
H A D | strlcpy.c | 26 * Copy src to string dst of size siz. At most siz-1 characters 27 * will be copied. Always NUL terminates (unless siz == 0). 28 * Returns strlen(src); if retval >= siz, truncation occurred. 31 strlcpy(char *dst, const char *src, size_t siz) argument 35 size_t n = siz; 47 if (siz != 0)
|
/freebsd-11.0-release/crypto/openssl/crypto/buffer/ |
H A D | buf_str.c | 80 char *BUF_strndup(const char *str, size_t siz) argument 87 siz = BUF_strnlen(str, siz); 89 if (siz >= INT_MAX) 92 ret = OPENSSL_malloc(siz + 1); 98 memcpy(ret, str, siz); 99 ret[siz] = '\0'; 104 void *BUF_memdup(const void *data, size_t siz) argument 108 if (data == NULL || siz >= INT_MAX) 111 ret = OPENSSL_malloc(siz); [all...] |
H A D | buffer.h | 92 * first |siz| bytes of |str|. 94 char *BUF_strndup(const char *str, size_t siz); 96 void *BUF_memdup(const void *data, size_t siz); 97 void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz); 100 size_t BUF_strlcpy(char *dst, const char *src, size_t siz); 101 size_t BUF_strlcat(char *dst, const char *src, size_t siz);
|
/freebsd-11.0-release/contrib/ntp/libntp/ |
H A D | strl_obsd.c | 35 * Copy src to string dst of size siz. At most siz-1 characters 36 * will be copied. Always NUL terminates (unless siz == 0). 37 * Returns strlen(src); if retval >= siz, truncation occurred. 40 strlcpy(char *dst, const char *src, size_t siz) argument 44 size_t n = siz; 56 if (siz != 0) 90 * Appends src to string dst of size siz (unlike strncat, siz is the 91 * full size of dst, not space left). At most siz 97 strlcat(char *dst, const char *src, size_t siz) argument [all...] |
/freebsd-11.0-release/contrib/bmake/ |
H A D | strlcpy.c | 31 * Copy src to string dst of size siz. At most siz-1 characters 32 * will be copied. Always NUL terminates (unless siz == 0). 33 * Returns strlen(src); if retval >= siz, truncation occurred. 36 strlcpy(char *dst, const char *src, size_t siz) argument 40 size_t n = siz; 55 if (siz != 0)
|
/freebsd-11.0-release/contrib/ldns/compat/ |
H A D | strlcpy.c | 27 * Copy src to string dst of size siz. At most siz-1 characters 28 * will be copied. Always NUL terminates (unless siz == 0). 29 * Returns strlen(src); if retval >= siz, truncation occurred. 32 strlcpy(char *dst, const char *src, size_t siz) argument 36 size_t n = siz; 48 if (siz != 0)
|
/freebsd-11.0-release/sys/libkern/ |
H A D | strlcpy.c | 26 * Copy src to string dst of size siz. At most siz-1 characters 27 * will be copied. Always NUL terminates (unless siz == 0). 28 * Returns strlen(src); if retval >= siz, truncation occurred. 31 strlcpy(char * __restrict dst, const char * __restrict src, size_t siz) argument 35 size_t n = siz; 47 if (siz != 0)
|
H A D | strlcat.c | 40 * Appends src to string dst of size siz (unlike strncat, siz is the 41 * full size of dst, not space left). At most siz-1 characters 42 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 43 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 44 * If retval >= siz, truncation occurred. 47 strlcat(dst, src, siz) 50 size_t siz; 54 size_t n = siz; 61 n = siz [all...] |
/freebsd-11.0-release/lib/libc/string/ |
H A D | wcslcpy.c | 42 * Copy src to string dst of size siz. At most siz-1 characters 43 * will be copied. Always NUL terminates (unless siz == 0). 44 * Returns wcslen(src); if retval >= siz, truncation occurred. 47 wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz) argument 51 size_t n = siz; 63 if (siz != 0)
|
/freebsd-11.0-release/contrib/blacklist/port/ |
H A D | strlcat.c | 49 * Appends src to string dst of size siz (unlike strncat, siz is the 50 * full size of dst, not space left). At most siz-1 characters 51 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 52 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 53 * If retval >= siz, truncation occurred. 56 strlcat(char *dst, const char *src, size_t siz) 61 size_t n = siz; 68 n = siz - dlen; 85 * Find length of string in dst (maxing out at siz) [all...] |
/freebsd-11.0-release/sys/fs/nfs/ |
H A D | nfsm_subs.h | 60 nfsm_build(struct nfsrv_descript *nd, int siz) argument 65 if (siz > M_TRAILINGSPACE(nd->nd_mb)) { 67 if (siz > MLEN) 75 nd->nd_mb->m_len += siz; 76 nd->nd_bpos += siz; 83 nfsm_dissect(struct nfsrv_descript *nd, int siz) argument 89 if (tt1 >= siz) { 91 nd->nd_dpos += siz; 93 retp = nfsm_dissct(nd, siz, M_WAITOK); 99 nfsm_dissect_nonblock(struct nfsrv_descript *nd, int siz) argument [all...] |
/freebsd-11.0-release/usr.sbin/makefs/ffs/ |
H A D | ffs_subr.c | 53 int siz, pos; local 57 for (siz = 1; siz < fs->fs_frag; siz++) { 58 if ((inblk & (1 << (siz + (fs->fs_frag & (NBBY - 1))))) == 0) 60 field = around[siz]; 61 subfield = inside[siz]; 62 for (pos = siz; pos <= fs->fs_frag; pos++) { 64 fraglist[siz] = ufs_rw32( 65 ufs_rw32(fraglist[siz], needswa 68 field <<= siz; local 69 subfield <<= siz; local [all...] |
/freebsd-11.0-release/tools/tools/nanobsd/rescue/Files/root/ |
H A D | GPT4ZFS_Create.sh | 32 siz=$(expr 1024 \- 34) 33 gpart add -i 1 -b 34 -s $siz -t freebsd-boot $dsk 38 siz=$swapsize 39 gpart add -i 2 -b $off -s $siz -t freebsd-swap $dsk 44 siz="-s $zfssize" 46 siz="" 48 gpart add -i 3 -b $off $siz -t freebsd-zfs $dsk
|