/openbsd/regress/lib/libc/strnlen/ |
H A D | strnlentest.c | 40 len = strnlen(buf, bufsize); in main() 46 len = strnlen(buf, bufsize / 2); in main() 53 len = strnlen(buf, bufsize); in main() 59 len = strnlen(buf, (size_t)-1); in main()
|
/openbsd/lib/libc/string/ |
H A D | strnlen.c | 24 strnlen(const char *str, size_t maxlen) in strnlen() function 33 DEF_WEAK(strnlen);
|
H A D | strndup.c | 31 len = strnlen(str, maxlen); in strndup()
|
H A D | Makefile.inc | 9 strndup.c strnlen.c strsignal.c strtok.c strxfrm.c strxfrm_l.c \
|
/openbsd/gnu/llvm/lld/MachO/ |
H A D | ObjC.cpp | 38 strnlen(secHead.sectname, sizeof(secHead.sectname))); in objectHasObjCSection() 40 strnlen(secHead.segname, sizeof(secHead.segname))); in objectHasObjCSection()
|
H A D | EhFrame.cpp | 81 size_t len = strnlen(c, maxlen); in readString()
|
/openbsd/gnu/llvm/compiler-rt/lib/asan/tests/ |
H A D | asan_str_test.cpp | 118 Ident(strnlen(str - 1, 0)); in TEST() 119 Ident(strnlen(str, size)); in TEST() 120 Ident(strnlen(str + size - 1, 1)); in TEST() 122 Ident(strnlen(str, 2 * size)); in TEST() 124 EXPECT_DEATH(Ident(strnlen(str - 1, 1)), LeftOOBReadMessage(1)); in TEST() 125 EXPECT_DEATH(Ident(strnlen(str + size, 1)), RightOOBReadMessage(0)); in TEST() 128 EXPECT_DEATH(Ident(strnlen(str, size + 1)), RightOOBReadMessage(0)); in TEST()
|
/openbsd/sys/lib/libkern/ |
H A D | strnlen.c | 23 strnlen(const char *str, size_t maxlen) in strnlen() function
|
H A D | libkern.h | 157 size_t strnlen(const char *, size_t);
|
/openbsd/gnu/llvm/compiler-rt/lib/memprof/ |
H A D | memprof_interceptors.h | 40 DECLARE_REAL(uptr, strnlen, const char *s, uptr maxlen)
|
H A D | memprof_interceptors.cpp | 29 if (REAL(strnlen)) { in MaybeRealStrnlen() 30 return REAL(strnlen)(s, maxlen); in MaybeRealStrnlen()
|
/openbsd/gnu/gcc/libmudflap/ |
H A D | mf-hooks2.c | 121 static inline size_t (strnlen) (const char* str, size_t n) in size_t() argument 204 size_t len = strnlen (src, n); in WRAPPER2() 253 src_sz = strnlen (src, n); in WRAPPER2() 254 dest_sz = strnlen (dest, n); in WRAPPER2() 293 s1_sz = strnlen (s1, n); in WRAPPER2() 294 s2_sz = strnlen (s2, n); in WRAPPER2() 306 s1_sz = strnlen (s1, n); in WRAPPER2() 307 s2_sz = strnlen (s2, n); in WRAPPER2() 341 size_t sz = strnlen (s, n); in WRAPPER2() 417 WRAPPER2(size_t, strnlen, const char *s, size_t n) in WRAPPER2() argument [all …]
|
/openbsd/regress/usr.sbin/httpd/patterns/ |
H A D | patterns-tester.c | 43 i = strnlen(buf, len); in read_string()
|
/openbsd/lib/libc/hidden/ |
H A D | string.h | 68 PROTO_NORMAL(strnlen);
|
/openbsd/regress/lib/libc/ |
H A D | Makefile | 21 SUBDIR+= stpncpy strchr strerror strlcat strlcpy strnlen strtod strtol strtonum
|
/openbsd/lib/libc/citrus/ |
H A D | citrus_none.c | 74 return strnlen(*src, nmc); in _citrus_none_ctype_mbsnrtowcs()
|
/openbsd/gnu/llvm/compiler-rt/lib/asan/ |
H A D | asan_interceptors.h | 133 DECLARE_REAL(uptr, strnlen, const char *s, uptr maxlen)
|
H A D | asan_win_dll_thunk.cpp | 87 INTERCEPT_LIBRARY_FUNCTION(strnlen);
|
H A D | asan_interceptors.cpp | 57 if (REAL(strnlen)) { in MaybeRealStrnlen() 58 return REAL(strnlen)(s, maxlen); in MaybeRealStrnlen()
|
/openbsd/include/ |
H A D | string.h | 115 size_t strnlen(const char *, size_t);
|
/openbsd/gnu/usr.bin/texinfo/m4/ |
H A D | check-decl.m4 | 61 strnlen,
|
/openbsd/sbin/pdisk/ |
H A D | dump.c | 331 length = strnlen(entry->dpme_type, DPISTRLEN); in get_max_type_string_length() 348 length = strnlen(entry->dpme_name, DPISTRLEN); in get_max_name_string_length()
|
/openbsd/gnu/llvm/llvm/lib/ObjCopy/MachO/ |
H A D | MachOReader.cpp | 32 StringRef SegName(Sec.segname, strnlen(Sec.segname, sizeof(Sec.segname))); in constructSectionCommon() 33 StringRef SectName(Sec.sectname, strnlen(Sec.sectname, sizeof(Sec.sectname))); in constructSectionCommon()
|
H A D | MachOLayoutBuilder.cpp | 128 strnlen(MLC.segment_command_data.segname, in layoutSegments() 135 strnlen(MLC.segment_command_64_data.segname, in layoutSegments()
|
/openbsd/usr.sbin/ospfd/ |
H A D | auth.c | 169 iface->auth_key, strnlen(iface->auth_key, in auth_gen()
|