| /freebsd-14.2/contrib/netbsd-tests/lib/libc/string/ |
| H A D | t_strlen.c | 184 ATF_CHECK(strnlen(buf, 000) == 0); in ATF_TC_BODY() 185 ATF_CHECK(strnlen(buf, 111) == 0); in ATF_TC_BODY() 187 ATF_CHECK(strnlen("xxx", 0) == 0); in ATF_TC_BODY() 188 ATF_CHECK(strnlen("xxx", 1) == 1); in ATF_TC_BODY() 189 ATF_CHECK(strnlen("xxx", 2) == 2); in ATF_TC_BODY() 190 ATF_CHECK(strnlen("xxx", 3) == 3); in ATF_TC_BODY() 191 ATF_CHECK(strnlen("xxx", 9) == 3); in ATF_TC_BODY()
|
| /freebsd-14.2/sys/dev/qat/qat_api/common/utils/ |
| H A D | sal_string_parse.c | 31 instNumStringLen = strnlen(instNumString, SAL_CFG_MAX_VAL_LEN_IN_BYTES); in Sal_StringParsing() 32 if ((strnlen(string1, SAL_CFG_MAX_VAL_LEN_IN_BYTES) + instNumStringLen + in Sal_StringParsing() 33 strnlen(string2, SAL_CFG_MAX_VAL_LEN_IN_BYTES)) > in Sal_StringParsing()
|
| H A D | sal_user_process.c | 47 if (strnlen(processName, LAC_USER_PROCESS_NAME_MAX_LEN) == in icpSetProcessName()
|
| /freebsd-14.2/sys/dev/qat/qat_common/ |
| H A D | adf_freebsd_ver_dbg.c | 29 strnlen(fw_version, ADF_CFG_MAX_VAL_LEN_IN_BYTES)); in adf_sysctl_read_fw_versions() 50 strnlen(hw_version, ADF_CFG_MAX_VAL_LEN_IN_BYTES)); in adf_sysctl_read_hw_versions() 81 strnlen(mmp_version, ADF_CFG_MAX_VAL_LEN_IN_BYTES)); in adf_sysctl_read_mmp_versions()
|
| /freebsd-14.2/tests/sys/kern/ |
| H A D | module_test.c | 118 if (strnlen(ms.name, sizeof(ms.name)) < sizeof(ms.name)) in ATF_TC_BODY() 150 if (strnlen(ms.name, sizeof(ms.name)) < sizeof(ms.name)) in ATF_TC_BODY() 183 if (strnlen(ms.name, sizeof(ms.name)) < sizeof(ms.name)) in ATF_TC_BODY()
|
| /freebsd-14.2/lib/libsecureboot/ |
| H A D | pass_manifest.c | 58 if (strnlen(path, MAXPATHLEN) == MAXPATHLEN || in pass_manifest() 59 strnlen(prefix, MAXPATHLEN) == MAXPATHLEN) in pass_manifest()
|
| /freebsd-14.2/sys/dev/bhnd/nvram/ |
| H A D | bhnd_nvram_value_subr.c | 164 slen = strnlen(p, nleft); in bhnd_nvram_value_nelem() 293 elem_size = strnlen(p, ilen - total_size); in bhnd_nvram_value_size() 322 size = strnlen(inp, ilen); in bhnd_nvram_value_size()
|
| /freebsd-14.2/contrib/cortex-strings/src/aarch64/ |
| H A D | strnlen.S | 78 def_fn strnlen 181 .size strnlen, . - .Lstart /* Include pre-padding in size. */
|
| /freebsd-14.2/lib/libc/string/ |
| H A D | strnlen.c | 32 strnlen(const char *s, size_t maxlen) in strnlen() function
|
| H A D | strndup.c | 29 len = strnlen(str, maxlen); in strndup()
|
| /freebsd-14.2/sys/libkern/ |
| H A D | strnlen.c | 33 strnlen(const char *s, size_t maxlen) in strnlen() function
|
| H A D | strndup.c | 44 len = strnlen(string, maxlen) + 1; in strndup()
|
| /freebsd-14.2/crypto/heimdal/lib/roken/ |
| H A D | strnlen.c | 39 strnlen(const char *s, size_t len) in strnlen() function
|
| H A D | strndup.c | 44 size_t len = strnlen (old, sz); in strndup()
|
| H A D | strlcat.c | 46 len = strnlen(dst, dst_sz); in strlcat()
|
| /freebsd-14.2/crypto/openssh/openbsd-compat/ |
| H A D | strnlen.c | 28 strnlen(const char *str, size_t maxlen) in strnlen() function
|
| H A D | strndup.c | 33 len = strnlen(str, maxlen); in strndup()
|
| /freebsd-14.2/lib/libc/amd64/string/ |
| H A D | strnlen.c | 34 strnlen(const char *s, size_t maxlen) in strnlen() function
|
| H A D | Makefile.inc | 24 strnlen.c \
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Support/SystemZ/ |
| H A D | zOSSupport.h | 40 inline std::size_t strnlen(const char *S, std::size_t MaxLen) { in strnlen() function
|
| /freebsd-14.2/lib/libc/aarch64/string/ |
| H A D | Makefile.inc | 20 strnlen \
|
| /freebsd-14.2/contrib/netbsd-tests/lib/libc/stdio/ |
| H A D | t_fmemopen.c | 521 len = (off_t)strnlen(t->s, t->n); in ATF_TC_BODY() 582 len = (off_t)strnlen(t->s, t->n); in ATF_TC_BODY() 695 len = (off_t)strnlen(t->s, t->n); in ATF_TC_BODY() 839 len = strnlen(t->s, t->n); in ATF_TC_BODY() 892 len = strnlen(t->s, t->n); in ATF_TC_BODY() 1063 len = strnlen(t->s, t->n); in ATF_TC_BODY() 1119 len0 = strnlen(t0->s, t0->n); in ATF_TC_BODY() 1121 len1 = strnlen(t1->s, t1->n); in ATF_TC_BODY()
|
| /freebsd-14.2/contrib/ntp/libntp/ |
| H A D | strdup.c | 46 size_t strnlen(const char *s, size_t n) in strnlen() function
|
| /freebsd-14.2/contrib/blocklist/port/ |
| H A D | strlcat.c | 87 size_t dlen = strnlen(dst, siz); in __weak_alias()
|
| /freebsd-14.2/sys/contrib/ncsw/inc/ |
| H A D | stdlib_ext.h | 86 size_t strnlen(const char * s, size_t count);
|