Searched refs:strnlen (Results 1 - 9 of 9) sorted by relevance
/darwin-on-arm/xnu/osfmk/libsa/ |
H A D | string.h | 65 extern size_t strnlen(const char *, size_t);
|
/darwin-on-arm/xnu/tools/tests/xnu_quick_test/ |
H A D | content_protection_test.c | 229 if ((passcode == NULL) || ((input_struct_count = strnlen(passcode, CPT_MAX_PASS_LEN)) == CPT_MAX_PASS_LEN)) 238 if ((passcode == NULL) || (strnlen(passcode, CPT_MAX_PASS_LEN) == CPT_MAX_PASS_LEN)) 265 if ((old_passcode == NULL) || ((old_passcode_len = strnlen(old_passcode, CPT_MAX_PASS_LEN)) == CPT_MAX_PASS_LEN)) 271 if ((new_passcode == NULL) || ((new_passcode_len = strnlen(new_passcode, CPT_MAX_PASS_LEN)) == CPT_MAX_PASS_LEN)) 293 if ((old_passcode == NULL) || (strnlen(old_passcode, CPT_MAX_PASS_LEN) == CPT_MAX_PASS_LEN)) 298 if ((new_passcode == NULL) || (strnlen(new_passcode, CPT_MAX_PASS_LEN) == CPT_MAX_PASS_LEN))
|
/darwin-on-arm/xnu/osfmk/device/ |
H A D | subrs.c | 390 // ARM implementation in ../arm/strnlen.s 392 strnlen(const char *s, size_t max) { function
|
/darwin-on-arm/xnu/bsd/security/audit/ |
H A D | audit_bsm_token.c | 871 strnlen(so->sun_path, sizeof(so->sun_path))); 873 slen = strnlen(so->sun_path, sizeof(so->sun_path));
|
/darwin-on-arm/xnu/bsd/kern/ |
H A D | kern_control.c | 674 name_len = strnlen(ctl_info.ctl_name, MAX_KCTL_NAME);
|
H A D | kern_credential.c | 1242 speculative_name = vfs_addname(tmp, strnlen(tmp, MAXPATHLEN - 1), 0, 0);
|
/darwin-on-arm/xnu/bsd/nfs/ |
H A D | nfs4_subs.c | 527 namelen = strnlen(vname, MAXPATHLEN); 1296 id1len = strnlen(id1, id1len); 1388 id2len = strnlen(id2, MAXPATHLEN);
|
/darwin-on-arm/xnu/libkern/c++/ |
H A D | OSKext.cpp | 9942 uint32_t substring_length = strnlen(substring, KMOD_MAX_NAME - 1); 10053 result = strnlen(identPlusVers, KMOD_MAX_NAME - 1); 10113 match = !strncmp(kmod_info->name, prefix, strnlen(prefix, KMOD_MAX_NAME));
|
/darwin-on-arm/xnu/bsd/vfs/ |
H A D | vfs_xattr.c | 377 namelen = strnlen(name, XATTR_MAXNAMELEN); 3131 /* TODO: Make sure namelen matches strnlen(name,namelen+1)? */
|
Completed in 114 milliseconds