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

1234

/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...]
H A Dstrlcpy.c49 * Copy src to string dst of size siz. At most siz-1 characters
50 * will be copied. Always NUL terminates (unless siz == 0).
51 * Returns strlen(src); if retval >= siz, truncation occurred.
54 strlcpy(char *dst, const char *src, size_t siz)
58 size_t n = siz;
70 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/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)
/freebsd-current/contrib/file/src/
H A Dcdf.c372 size_t siz = CAST(size_t, off + len); local
374 if (CAST(off_t, off + len) != CAST(off_t, siz))
377 if (info->i_buf != NULL && info->i_len >= siz) {
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;
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/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/ldns/ldns/
H A Dconfig.h748 size_t strlcpy(char *dst, const char *src, size_t siz);
/freebsd-current/contrib/libevent/
H A Dstrlcpy-internal.h15 size_t event_strlcpy_(char *dst, const char *src, size_t siz);
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/libfido2/openbsd-compat/
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;
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/contrib/libfido2/src/
H A Dnetlink.c41 size_t siz; /* alloc size */ member in struct:nlmsgbuf
59 size_t siz; /* alloc size */ member in struct:nlamsgbuf
106 size_t siz; local
109 (siz = sizeof(*m) + len) > UINT16_MAX ||
110 (m = calloc(1, siz)) == NULL)
113 m->siz = siz;
143 a->siz = sizeof(*a) + nlalen - sizeof(h.u);
/freebsd-current/contrib/libucl/src/
H A Ducl_internal.h362 size_t ucl_strlcpy (char *dst, const char *src, size_t siz);
363 size_t ucl_strlcpy_unsafe (char *dst, const char *src, size_t siz);
364 size_t ucl_strlcpy_tolower (char *dst, const char *src, size_t siz);
H A Ducl_util.c2113 ucl_strlcpy (char *dst, const char *src, size_t siz) argument
2117 size_t n = siz;
2128 if (n == 0 && siz != 0) {
2136 ucl_strlcpy_unsafe (char *dst, const char *src, size_t siz) argument
2138 memcpy (dst, src, siz - 1);
2139 dst[siz - 1] = '\0';
2141 return siz - 1;
2145 ucl_strlcpy_tolower (char *dst, const char *src, size_t siz) argument
2149 size_t n = siz;
2160 if (n == 0 && siz !
[all...]
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/go/
H A Dtsan_go.cpp105 loc->heap_chunk_size = b->siz;
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/
H A Dtsan_debugging.cpp215 region_size = b->siz;
H A Dtsan_defs.h184 u64 siz : 48; member in struct:__tsan::MBlock
H A Dtsan_interface_java.cpp49 if (p + b->siz <= addr)
150 return b->siz;
H A Dtsan_mman.cpp377 if (b->siz == 0)
379 return b->siz;
388 if (b->siz == 0)
390 return b->siz;
H A Dtsan_rtl_report.cpp310 loc->heap_chunk_size = b->siz;
H A Dtsan_sync.cpp50 b->siz = sz;
63 uptr sz = RoundUpTo(b->siz, kMetaShadowCell);
/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A Dregex_impl.h102 size_t llvm_strlcpy(char *dst, const char *src, size_t siz);
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)

Completed in 211 milliseconds

1234