HomeSort by: relevance | last modified time | path
    Searched refs:siz (Results 1 - 25 of 190) sorted by relevancy

1 2 3 4 5 6 7 8

  /src/external/bsd/libevent/dist/
strlcpy.c 46 * Copy src to string dst of size siz. 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 event_strlcpy_(dst, src, siz)
54 size_t siz;
58 register size_t n = siz;
70 if (siz != 0)
strlcpy-internal.h 16 size_t event_strlcpy_(char *dst, const char *src, size_t siz);
  /src/external/bsd/ntp/dist/sntp/libevent/
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 event_strlcpy_(dst, src, siz)
53 size_t siz;
57 register size_t n = siz;
69 if (siz != 0)
  /src/external/apache2/llvm/dist/llvm/lib/Support/
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)
33 size_t n = siz;
45 if (siz != 0)
  /src/external/bsd/am-utils/dist/libamu/
strlcpy.c 53 * Copy src to string dst of size siz. At most siz-1 characters
54 * will be copied. Always NUL terminates (unless siz == 0).
55 * Returns strlen(src); if retval >= siz, truncation occurred.
58 strlcpy(char *dst, const char *src, size_t siz)
62 size_t n = siz;
75 if (siz != 0)
strlcat.c 53 * Appends src to string dst of size siz (unlike strncat, siz is the
54 * full size of dst, not space left). At most siz-1 characters
55 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
56 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
57 * If retval >= siz, truncation occurred.
60 strlcat(char *dst, const char *src, size_t siz)
64 size_t n = siz;
71 n = siz - dlen;
  /src/external/bsd/file/dist/src/
strlcpy.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)
44 size_t n = siz;
56 if (siz != 0)
strlcat.c 35 * Appends src to string dst of size siz (unlike strncat, siz is the
36 * full size of dst, not space left). At most siz-1 characters
37 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
38 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
39 * If retval >= siz, truncation occurred.
42 strlcat(char *dst, const char *src, size_t siz)
46 size_t n = siz;
53 n = siz - dlen;
  /src/external/bsd/libfido2/dist/openbsd-compat/
strlcpy.c 29 * 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)
38 size_t n = siz;
50 if (siz != 0)
strlcat.c 29 * 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)
40 size_t n = siz;
47 n = siz - dlen;
  /src/external/bsd/nsd/dist/compat/
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)
36 size_t n = siz;
48 if (siz != 0)
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)
50 size_t n = siz;
57 n = siz - dlen;
  /src/external/bsd/pam-u2f/dist/pamu2fcfg/
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)
40 size_t n = siz;
52 if (siz != 0)
  /src/external/bsd/tcpdump/dist/missing/
strlcpy.c 40 * Copy src to string dst of size siz. At most siz-1 characters
41 * will be copied. Always NUL terminates (unless siz == 0).
42 * Returns strlen(src); if retval >= siz, truncation occurred.
45 strlcpy(char *dst, const char *src, size_t siz)
49 size_t n = siz;
61 if (siz != 0)
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 == 0).
43 * Returns strlen(src); if retval >= siz, truncation occurred.
46 strlcat(char *dst, const char *src, size_t siz)
50 size_t n = siz;
57 n = siz - dlen;
  /src/external/bsd/unbound/dist/compat/
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)
36 size_t n = siz;
48 if (siz != 0)
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)
50 size_t n = siz;
57 n = siz - dlen;
  /src/external/bsd/iscsi/dist/src/lib/
strlcpy.c 29 * 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.
35 _strlcpy(dst, src, siz)
37 strlcpy(dst, src, siz)
41 size_t siz;
45 size_t n = siz;
60 if (siz != 0)
  /src/external/bsd/ntp/dist/libntp/
strl_obsd.c 37 * Copy src to string dst of size siz. At most siz-1 characters
38 * will be copied. Always NUL terminates (unless siz == 0).
39 * Returns strlen(src); if retval >= siz, truncation occurred.
42 strlcpy(char *dst, const char *src, size_t siz)
46 size_t n = siz;
58 if (siz != 0)
92 * Appends src to string dst of size siz (unlike strncat, siz is the
93 * full size of dst, not space left). At most siz-1 character
    [all...]
  /src/external/bsd/blocklist/port/
strlcat.c 52 * Appends src to string dst of size siz (unlike strncat, siz is the
53 * full size of dst, not space left). At most siz-1 characters
54 * will be copied. Always NUL terminates (unless siz <= strlen(dst)).
55 * Returns strlen(src) + MIN(siz, strlen(initial dst)).
56 * If retval >= siz, truncation occurred.
59 strlcat(char *dst, const char *src, size_t siz)
64 size_t n = siz;
71 n = siz - dlen;
88 * Find length of string in dst (maxing out at siz)
    [all...]
strlcpy.c 52 * Copy src to string dst of size siz. At most siz-1 characters
53 * will be copied. Always NUL terminates (unless siz == 0).
54 * Returns strlen(src); if retval >= siz, truncation occurred.
57 strlcpy(char *dst, const char *src, size_t siz)
61 size_t n = siz;
73 if (siz != 0)
  /src/sys/arch/bebox/stand/boot/
io.c 123 _wbinv(uint32_t adr, uint32_t siz)
128 for (bnd = adr + siz; adr < bnd; adr += dcache_line_size)
134 _inv(uint32_t adr, uint32_t siz)
140 siz += off;
145 if (siz < dcache_line_size)
148 siz -= dcache_line_size;
150 bnd = adr + siz;
155 if (siz < dcache_line_size)
157 siz -= off;
159 for (bnd = adr + siz; adr < bnd; adr += dcache_line_size)
    [all...]
  /src/sys/arch/prep/stand/boot/
io.c 105 _wbinv(uint32_t adr, uint32_t siz)
110 for (bnd = adr + siz; adr < bnd; adr += dcache_line_size)
116 _inv(uint32_t adr, uint32_t siz)
122 siz += off;
127 if (siz < dcache_line_size)
130 siz -= dcache_line_size;
132 bnd = adr + siz;
137 if (siz < dcache_line_size)
139 siz -= off;
141 for (bnd = adr + siz; adr < bnd; adr += dcache_line_size)
    [all...]
  /src/sys/fs/nfs/common/
nfsm_subs.h 62 nfsm_build(struct nfsrv_descript *nd, int siz)
67 if (siz > M_TRAILINGSPACE(nd->nd_mb)) {
69 if (siz > MLEN)
77 nd->nd_mb->m_len += siz;
78 nd->nd_bpos += siz;
85 nfsm_dissect(struct nfsrv_descript *nd, int siz)
91 if (tt1 >= siz) {
93 nd->nd_dpos += siz;
95 retp = nfsm_dissct(nd, siz, M_WAITOK);
101 nfsm_dissect_nonblock(struct nfsrv_descript *nd, int siz)
    [all...]
  /src/lib/libc/string/
wcslcpy.c 41 * Copy src to string dst of size siz. At most siz-1 characters
42 * will be copied. Always NUL terminates (unless siz == 0).
43 * Returns wcslen(src); if retval >= siz, truncation occurred.
46 wcslcpy(wchar_t *dst, const wchar_t *src, size_t siz)
50 size_t n = siz;
65 if (siz != 0)

Completed in 32 milliseconds

1 2 3 4 5 6 7 8