/haiku-buildtools/gcc/libiberty/ |
H A D | strnlen.c | 1 /* Portable version of strnlen. 6 @deftypefn Supplemental size_t strnlen (const char *@var{s}, size_t @var{maxlen}) 22 strnlen (const char *s, size_t maxlen) function
|
H A D | Makefile.in | 155 strtoll.c strtoul.c strtoull.c strndup.c strnlen.c \ 222 ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \ 1423 ./strnlen.$(objext): $(srcdir)/strnlen.c config.h 1425 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \ 1428 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \ 1430 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
|
/haiku-buildtools/binutils/libiberty/ |
H A D | strnlen.c | 1 /* Portable version of strnlen. 6 @deftypefn Supplemental size_t strnlen (const char *@var{s}, size_t @var{maxlen}) 22 strnlen (const char *s, size_t maxlen) function
|
H A D | Makefile.in | 157 strtoll.c strtoul.c strtoull.c strndup.c strnlen.c \ 225 ./strncmp.$(objext) ./strndup.$(objext) ./strnlen.$(objext) \ 1435 ./strnlen.$(objext): $(srcdir)/strnlen.c config.h 1437 $(COMPILE.c) $(PICFLAG) $(srcdir)/strnlen.c -o pic/$@; \ 1440 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/strnlen.c -o noasan/$@; \ 1442 $(COMPILE.c) $(srcdir)/strnlen.c $(OUTPUT_OPTION)
|
/haiku-buildtools/gcc/libsanitizer/libbacktrace/ |
H A D | backtrace-rename.h | 54 #undef strnlen macro 63 #define strnlen(x,y) __asan_internal_strnlen (x, y) macro
|
/haiku-buildtools/gcc/libsanitizer/asan/ |
H A D | asan_interceptors.h | 87 DECLARE_REAL(uptr, strnlen, const char *s, uptr maxlen)
|
H A D | asan_interceptors.cc | 77 if (REAL(strnlen) != 0) { 78 return REAL(strnlen)(s, maxlen); 557 INTERCEPTOR(uptr, strnlen, const char *s, uptr maxlen) { 559 uptr length = REAL(strnlen)(s, maxlen); 756 ASAN_INTERCEPT_FUNC(strnlen);
|
H A D | asan_win_dll_thunk.cc | 349 INTERCEPT_LIBRARY_FUNCTION(strnlen); variable
|
/haiku-buildtools/gcc/gcc/common/config/aarch64/ |
H A D | aarch64-common.c | 112 feat_size = feats ? strnlen (feats, AARCH64_CPU_NAME_LENGTH) : 0;
|
/haiku-buildtools/gcc/gmp/printf/ |
H A D | repl-vsnprintf.c | 30 #define _GNU_SOURCE /* for strnlen prototype */ 64 /* Autoconf notes that AIX 4.3 has a broken strnlen, but fortunately it 69 strnlen (const char *s, size_t n) function 293 prec = (seen_prec ? strnlen (s, prec) : strlen (s));
|
/haiku-buildtools/binutils/binutils/ |
H A D | sysdep.h | 117 size_t strnlen (const char *, size_t);
|
H A D | dwarf.c | 477 data += strnlen ((char *) data, end - data) + 1; 1670 data += strnlen ((char *) data, end - data) + 1; 2937 data += strnlen ((char *) data, end - data) + 1; 2964 data += strnlen ((char *) data, end - data) + 1; 3271 data += strnlen ((char *) data, end - data) + 1; 3291 ptr_directory_table += strnlen ((char *) ptr_directory_table, 3310 data += strnlen ((char *) data, end - data) + 1; 3337 ptr_file_name_table += strnlen ((char *) ptr_file_name_table, 3908 data += strnlen ((char *) data, maxprint) + 1; 3976 curr += strnlen ((cha [all...] |
H A D | readelf.c | 12640 data += strnlen ((const char *) data, maxlen); 13146 p += strnlen ((char *) p, maxlen) + 1; 13386 p += strnlen ((char *) p, maxlen) + 1; 13481 p += strnlen ((char *) p, maxlen) + 1; 14063 p += strnlen ((char *) p, maxlen) + 1; 14082 p += strnlen ((char *) p, maxlen) + 1; 14206 p += strnlen ((char *) p, maxlen) + 1; 14293 namelen = strnlen ((char *) p, attr_len) + 1; 16927 l += strnlen (arch.sym_table + l, arch.sym_size - l) + 1;
|
/haiku-buildtools/gcc/libmpx/mpxwrap/ |
H A D | mpx_wrappers.c | 179 size_t src_size = strnlen (src, n); 222 size_t src_size = strnlen (src, n); 260 size_t src_size = strnlen (src, n);
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/asan/ |
H A D | asan_str_test.cc | 82 // Normal strnlen calls. 83 Ident(strnlen(str - 1, 0)); 84 Ident(strnlen(str, size)); 85 Ident(strnlen(str + size - 1, 1)); 87 Ident(strnlen(str, 2 * size)); 89 EXPECT_DEATH(Ident(strnlen(str - 1, 1)), LeftOOBReadMessage(1)); 90 EXPECT_DEATH(Ident(strnlen(str + size, 1)), RightOOBReadMessage(0)); 93 EXPECT_DEATH(Ident(strnlen(str, size + 1)), RightOOBReadMessage(0));
|
/haiku-buildtools/binutils/bfd/ |
H A D | sysdep.h | 174 size_t strnlen (const char *, size_t);
|
H A D | opncls.c | 1202 crc_offset = strnlen (name, bfd_get_section_size (sect)) + 1; 1258 buildid_offset = strnlen (name, bfd_get_section_size (sect)) + 1;
|
H A D | elf-attrs.c | 472 namelen = strnlen ((char *) p, section_len) + 1;
|
H A D | peicode.h | 1274 /* See PR 20905 for an example of where the strnlen is necessary. */ 1275 source_dll = symbol_name + strnlen (symbol_name, size - 1) + 1;
|
H A D | archive.c | 1084 len = strnlen (stringbase, stringsize);
|
/haiku-buildtools/gcc/include/ |
H A D | libiberty.h | 659 extern size_t strnlen (const char *, size_t);
|
/haiku-buildtools/binutils/include/ |
H A D | libiberty.h | 670 extern size_t strnlen (const char *, size_t);
|
/haiku-buildtools/gcc/libbacktrace/ |
H A D | dwarf.c | 48 /* If strnlen is not declared, provide our own version. */ 61 #define strnlen xstrnlen macro 694 return advance (buf, strnlen ((const char *) buf->buf, buf->left) + 1); 1626 p += strnlen((const char *) p, pend - p) + 1; 1646 strnlen ((const char *) hdr_buf.buf, hdr_buf.left) + 1)) 1658 p += strnlen ((const char *) p, pend - p) + 1; 1683 strnlen ((const char *) hdr_buf.buf, hdr_buf.left) + 1)) 1803 if (!advance (line_buf, strnlen (f, line_buf->left) + 1))
|
/haiku-buildtools/gcc/gcc/ |
H A D | lto-cgraph.c | 1089 unsigned int len = strnlen (ib->data + ib->p, ib->len - ib->p - 1); 1109 unsigned int len = strnlen (ib->data + ib->p, ib->len - ib->p - 1);
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/arm/ |
H A D | pr59896.c | 412 size_t strnlen (const char *, size_t);
|