Searched refs:siz (Results 1 - 25 of 85) sorted by relevance

1234

/freebsd-10.0-release/contrib/openbsm/compat/
H A Dstrlcpy.h32 * Copy src to string dst of size siz. At most siz-1 characters
33 * will be copied. Always NUL terminates (unless siz == 0).
34 * Returns strlen(src); if retval >= siz, truncation occurred.
37 strlcpy(dst, src, siz)
40 size_t siz; variable
44 size_t n = siz;
56 if (siz != 0)
H A Dstrlcat.h32 * Appends src to string dst of size siz (unlike strncat, siz is the
33 * full size of dst, not space left). At most siz-1 characters
34 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
35 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
36 * If retval >= siz, truncation occurred.
39 strlcat(dst, src, siz)
42 size_t siz; variable
46 size_t n = siz;
53 n = siz
[all...]
/freebsd-10.0-release/contrib/file/
H A Dstrlcpy.c26 * 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 Dstrlcat.c26 * 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.0-release/contrib/llvm/lib/Support/
H A Dregstrlcpy.c24 * 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.0-release/contrib/mdocml/
H A Dcompat_strlcpy.c33 * 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 Dcompat_strlcat.c33 * 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.0-release/contrib/unbound/compat/
H A Dstrlcpy.c27 * 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.0-release/crypto/openssh/openbsd-compat/
H A Dstrlcpy.c28 * 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 Dstrlcat.c28 * 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-10.0-release/contrib/bmake/
H A Dstrlcpy.c31 * 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.0-release/contrib/ldns/compat/
H A Dstrlcpy.c27 * 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.0-release/contrib/tcpdump/missing/
H A Dstrlcpy.c45 * 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 Dstrlcat.c45 * 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.0-release/lib/libc/string/
H A Dstrlcpy.c26 * 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 Dwcslcpy.c42 * 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)
H A Dstrlcat.c26 * 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 * __restrict dst, const char * __restrict src, size_t siz) argument
37 size_t n = siz;
44 n = siz - dlen;
H A Dwcslcat.c42 * Appends src to string dst of size siz (unlike wcsncat, 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 wcslen(initial dst) + wcslen(src); if retval >= siz,
49 wcslcat(wchar_t *dst, const wchar_t *src, size_t siz) argument
53 size_t n = siz;
60 n = siz - dlen;
/freebsd-10.0-release/sys/libkern/
H A Dstrlcpy.c26 * 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 Dstrlcat.c40 * 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.0-release/crypto/openssl/crypto/buffer/
H A Dbuffer.h89 char * BUF_strndup(const char *str, size_t siz);
90 void * BUF_memdup(const void *data, size_t siz);
91 void BUF_reverse(unsigned char *out, const unsigned char *in, size_t siz);
94 size_t BUF_strlcpy(char *dst,const char *src,size_t siz);
95 size_t BUF_strlcat(char *dst,const char *src,size_t siz);
H A Dbuf_str.c69 char *BUF_strndup(const char *str, size_t siz) argument
75 ret=OPENSSL_malloc(siz+1);
81 BUF_strlcpy(ret,str,siz+1);
85 void *BUF_memdup(const void *data, size_t siz) argument
91 ret=OPENSSL_malloc(siz);
97 return memcpy(ret, data, siz);
/freebsd-10.0-release/sys/fs/nfs/
H A Dnfsm_subs.h70 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.0-release/usr.sbin/makefs/ffs/
H A Dffs_subr.c53 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.0-release/tools/tools/nanobsd/rescue/Files/root/
H A DGPT4ZFS_Create.sh32 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

Completed in 355 milliseconds

1234