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

1234

/freebsd-9.3-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-9.3-release/contrib/ntp/sntp/libevent/
H A Dstrlcpy.c43 * 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)
H A Dstrlcpy-internal.h13 size_t event_strlcpy_(char *dst, const char *src, size_t siz);
/freebsd-9.3-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-9.3-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-9.3-release/contrib/file/src/
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-9.3-release/contrib/ntp/libntp/
H A Dstrl_obsd.c35 * 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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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-9.3-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
/freebsd-9.3-release/crypto/openssl/crypto/buffer/
H A Dbuffer.h88 char *BUF_strndup(const char *str, size_t siz);
89 void *BUF_memdup(const void *data, size_t siz);
92 size_t BUF_strlcpy(char *dst, const char *src, size_t siz);
93 size_t BUF_strlcat(char *dst, const char *src, size_t siz);
H A Dbuf_str.c67 char *BUF_strndup(const char *str, size_t siz) argument
74 ret = OPENSSL_malloc(siz + 1);
79 BUF_strlcpy(ret, str, siz + 1);
83 void *BUF_memdup(const void *data, size_t siz) argument
90 ret = OPENSSL_malloc(siz);
95 return memcpy(ret, data, siz);
/freebsd-9.3-release/sys/ufs/ffs/
H A Dffs_subr.c146 int siz, pos; local
150 for (siz = 1; siz < fs->fs_frag; siz++) {
151 if ((inblk & (1 << (siz + (fs->fs_frag % NBBY)))) == 0)
153 field = around[siz];
154 subfield = inside[siz];
155 for (pos = siz; pos <= fs->fs_frag; pos++) {
157 fraglist[siz] += cnt;
158 pos += siz;
159 field <<= siz; local
160 subfield <<= siz; local
[all...]

Completed in 179 milliseconds

1234