/freebsd-current/contrib/blocklist/port/ |
H A D | strlcat.c | 49 * 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 D | strlcpy.c | 49 * 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 D | strlcpy.c | 30 * 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 D | dfcompat.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) argument 38 size_t n = siz; 50 if (siz != 0)
|
/freebsd-current/contrib/file/src/ |
H A D | cdf.c | 372 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 D | 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) argument 40 size_t n = siz; 47 n = siz - dlen;
|
H A D | 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) argument 38 size_t n = siz; 50 if (siz != 0)
|
/freebsd-current/contrib/ldns/compat/ |
H A D | 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) argument 36 size_t n = siz; 48 if (siz != 0)
|
/freebsd-current/contrib/ldns/ldns/ |
H A D | config.h | 748 size_t strlcpy(char *dst, const char *src, size_t siz);
|
/freebsd-current/contrib/libevent/ |
H A D | strlcpy-internal.h | 15 size_t event_strlcpy_(char *dst, const char *src, size_t siz);
|
H A D | strlcpy.c | 43 * 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 D | 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) argument 40 size_t n = siz; 47 n = siz - dlen;
|
H A D | 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) argument 38 size_t n = siz; 50 if (siz != 0)
|
/freebsd-current/contrib/libfido2/src/ |
H A D | netlink.c | 41 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 D | ucl_internal.h | 362 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 D | ucl_util.c | 2113 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 D | tsan_go.cpp | 105 loc->heap_chunk_size = b->siz;
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/tsan/rtl/ |
H A D | tsan_debugging.cpp | 215 region_size = b->siz;
|
H A D | tsan_defs.h | 184 u64 siz : 48; member in struct:__tsan::MBlock
|
H A D | tsan_interface_java.cpp | 49 if (p + b->siz <= addr) 150 return b->siz;
|
H A D | tsan_mman.cpp | 377 if (b->siz == 0) 379 return b->siz; 388 if (b->siz == 0) 390 return b->siz;
|
H A D | tsan_rtl_report.cpp | 310 loc->heap_chunk_size = b->siz;
|
H A D | tsan_sync.cpp | 50 b->siz = sz; 63 uptr sz = RoundUpTo(b->siz, kMetaShadowCell);
|
/freebsd-current/contrib/llvm-project/llvm/lib/Support/ |
H A D | regex_impl.h | 102 size_t llvm_strlcpy(char *dst, const char *src, size_t siz);
|
H A D | 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) argument 33 size_t n = siz; 45 if (siz != 0)
|