/freebsd-10-stable/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-10-stable/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-10-stable/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)
|
H A D | strlcat.c | 26 * Appends src to string dst of size siz (unlike strncat, siz is the 27 * full size of dst, not space left). At most siz-1 characters 28 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 29 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 30 * If retval >= siz, truncation occurred. 33 strlcat(char *dst, const char *src, size_t siz) argument 37 size_t n = siz; 44 n = siz - dlen;
|
/freebsd-10-stable/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-10-stable/contrib/mdocml/ |
H A D | compat_strlcpy.c | 33 * Copy src to string dst of size siz. At most siz-1 characters 34 * will be copied. Always NUL terminates (unless siz == 0). 35 * Returns strlen(src); if retval >= siz, truncation occurred. 38 strlcpy(char *dst, const char *src, size_t siz) argument 42 size_t n = siz; 54 if (siz != 0)
|
H A D | compat_strlcat.c | 33 * Appends src to string dst of size siz (unlike strncat, siz is the 34 * full size of dst, not space left). At most siz-1 characters 35 * will be copied. Always NUL terminates (unless siz <= strlen(dst)). 36 * Returns strlen(src) + MIN(siz, strlen(initial dst)). 37 * If retval >= siz, truncation occurred. 40 strlcat(char *dst, const char *src, size_t siz) argument 44 size_t n = siz; 51 n = siz - dlen;
|
/freebsd-10-stable/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-10-stable/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)
|
/freebsd-10-stable/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-10-stable/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-10-stable/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-10-stable/contrib/tcpdump/missing/ |
H A D | strlcpy.c | 45 * Copy src to string dst of size siz. At most siz-1 characters 46 * will be copied. Always NUL terminates (unless siz == 0). 47 * Returns strlen(src); if retval >= siz, truncation occurred. 50 strlcpy(char *dst, const char *src, size_t siz) argument 54 register size_t n = siz; 66 if (siz != 0)
|
H A D | strlcat.c | 45 * Appends src to string dst of size siz (unlike strncat, siz is the 46 * full size of dst, not space left). At most siz-1 characters 47 * will be copied. Always NUL terminates (unless siz == 0). 48 * Returns strlen(src); if retval >= siz, truncation occurred. 51 strlcat(char *dst, const char *src, size_t siz) argument 55 register size_t n = siz; 62 n = siz - dlen;
|
/freebsd-10-stable/lib/libc/string/ |
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 | 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-10-stable/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-10-stable/crypto/openssl/crypto/buffer/ |
H A D | buf_str.c | 71 char *BUF_strndup(const char *str, size_t siz) argument 78 if (siz >= INT_MAX) 81 ret = OPENSSL_malloc(siz + 1); 87 memcpy(ret, str, siz); 88 ret[siz] = '\0'; 93 void *BUF_memdup(const void *data, size_t siz) argument 97 if (data == NULL || siz >= INT_MAX) 100 ret = OPENSSL_malloc(siz); 105 return memcpy(ret, data, siz);
|
H A D | buffer.h | 91 * first |siz| bytes of |str|. 93 char *BUF_strndup(const char *str, size_t siz); 95 void *BUF_memdup(const void *data, size_t siz); 96 void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz); 99 size_t BUF_strlcpy(char *dst, const char *src, size_t siz); 100 size_t BUF_strlcat(char *dst, const char *src, size_t siz);
|
/freebsd-10-stable/sys/fs/nfs/ |
H A D | nfsm_subs.h | 70 nfsm_build(struct nfsrv_descript *nd, int siz) argument 75 if (siz > M_TRAILINGSPACE(nd->nd_mb)) { 77 if (siz > MLEN) 85 nd->nd_mb->m_len += siz; 86 nd->nd_bpos += siz; 93 nfsm_dissect(struct nfsrv_descript *nd, int siz) argument 99 if (tt1 >= siz) { 101 nd->nd_dpos += siz; 103 retp = nfsm_dissct(nd, siz, M_WAITOK); 109 nfsm_dissect_nonblock(struct nfsrv_descript *nd, int siz) argument [all...] |
/freebsd-10-stable/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-10-stable/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
|