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

1234

/freebsd-current/contrib/openbsm/compat/
H A Dstrlcpy.h31 * 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 Dstrlcat.h31 * 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-current/contrib/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)
/freebsd-current/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)
/freebsd-current/contrib/llvm-project/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-current/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-current/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)
H A Dstrlcat.c39 * 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-current/contrib/libfido2/openbsd-compat/
H A Dstrlcpy.c29 * Copy src to string dst of size siz. At most siz-1 characters
30 * will be copied. Always NUL terminates (unless siz == 0).
31 * Returns strlen(src); if retval >= siz, truncation occurred.
34 strlcpy(char *dst, const char *src, size_t siz) argument
38 size_t n = siz;
50 if (siz != 0)
H A Dstrlcat.c29 * Appends src to string dst of size siz (unlike strncat, siz is the
30 * full size of dst, not space left). At most siz-1 characters
31 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
32 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
33 * If retval >= siz, truncation occurred.
36 strlcat(char *dst, const char *src, size_t siz) argument
40 size_t n = siz;
47 n = siz - dlen;
/freebsd-current/contrib/tcpdump/missing/
H A Dstrlcpy.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 strlen(src); if retval >= siz, truncation occurred.
47 strlcpy(char *dst, const char *src, size_t siz) argument
51 size_t n = siz;
63 if (siz != 0)
H A Dstrlcat.c42 * 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 size_t n = siz;
59 n = siz - dlen;
/freebsd-current/contrib/file/src/
H A Dstrlcpy.c29 * Copy src to string dst of size siz. At most siz-1 characters
30 * will be copied. Always NUL terminates (unless siz == 0).
31 * Returns strlen(src); if retval >= siz, truncation occurred.
34 strlcpy(char *dst, const char *src, size_t siz) argument
38 size_t n = siz;
50 if (siz != 0)
/freebsd-current/sys/fs/nfs/
H A Dnfsm_subs.h58 nfsm_build(struct nfsrv_descript *nd, int siz) argument
64 siz > M_TRAILINGSPACE(nd->nd_mb)) {
66 if (siz > MLEN)
73 if (siz > nd->nd_bextpgsiz) {
78 nd->nd_bextpgsiz = PAGE_SIZE - siz;
82 nd->nd_bextpgsiz -= siz;
83 nd->nd_mb->m_epg_last_len += siz;
86 nd->nd_mb->m_len += siz;
87 nd->nd_bpos += siz;
94 nfsm_dissect(struct nfsrv_descript *nd, int siz) argument
110 nfsm_dissect_nonblock(struct nfsrv_descript *nd, int siz) argument
[all...]
/freebsd-current/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-current/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-current/contrib/bmake/
H A Dstrlcpy.c30 * Copy src to string dst of size siz. At most siz-1 characters
31 * will be copied. Always NUL terminates (unless siz == 0).
32 * Returns strlen(src); if retval >= siz, truncation occurred.
35 strlcpy(char *dst, const char *src, size_t siz) argument
39 size_t n = siz;
54 if (siz != 0)
/freebsd-current/lib/libc/string/
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 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-current/contrib/blocklist/port/
H A Dstrlcat.c49 * 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-current/tools/test/stress2/tools/
H A Dlsholes.c44 intmax_t siz; local
74 siz = hole - data;
76 n, (intmax_t)data, siz);
78 pos += siz;
81 siz = data - hole;
83 n, (intmax_t)hole, siz);
85 pos += siz;
88 siz = st.st_size - hole;
90 n, (intmax_t)hole, siz);
92 pos += siz;
[all...]
/freebsd-current/usr.sbin/makefs/ffs/
H A Dffs_subr.c51 int siz, pos; local
55 for (siz = 1; siz < fs->fs_frag; siz++) {
56 if ((inblk & (1 << (siz + (fs->fs_frag & (NBBY - 1))))) == 0)
58 field = around[siz];
59 subfield = inside[siz];
60 for (pos = siz; pos <= fs->fs_frag; pos++) {
62 fraglist[siz] = ufs_rw32(
63 ufs_rw32(fraglist[siz], needswa
66 field <<= siz; local
67 subfield <<= siz; local
[all...]
/freebsd-current/tools/tools/nanobsd/rescue/Files/root/
H A DGPT4ZFS_Create.sh31 siz=$(expr 1024 \- 34)
32 gpart add -i 1 -b 34 -s $siz -t freebsd-boot $dsk
37 siz=$swapsize
38 gpart add -i 2 -b $off -s $siz -t freebsd-swap $dsk
43 siz="-s $zfssize"
45 siz=""
47 gpart add -i 3 -b $off $siz -t freebsd-zfs $dsk
/freebsd-current/contrib/dma/
H A Ddfcompat.c29 * Copy src to string dst of size siz. At most siz-1 characters
30 * will be copied. Always NUL terminates (unless siz == 0).
31 * Returns strlen(src); if retval >= siz, truncation occurred.
34 strlcpy(char *dst, const char *src, size_t siz) argument
38 size_t n = siz;
50 if (siz != 0)

Completed in 365 milliseconds

1234