/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/ |
H A D | stpncpy-chk.c | 9 extern char *stpncpy (char *, const char *, size_t); 36 if (stpncpy (dst, src, 4) != dst+4 || strncmp (dst, src, 4)) 40 if (stpncpy (dst+16, src, 4) != dst+20 || strncmp (dst+16, src, 4)) 44 if (stpncpy (dst+32, src+5, 4) != dst+36 || strncmp (dst+32, src+5, 4)) 49 if (stpncpy (++dst2, src+5, 4) != dst+5 || strncmp (dst2, src+5, 4) 54 if (stpncpy (dst, src, 0) != dst || strcmp (dst, "")) 59 if (stpncpy (++dst2, ++src2, 0) != dst+1 || strcmp (dst2, "") 65 if (stpncpy (++dst2+5, ++src2+5, 0) != dst+6 || strcmp (dst2+5, "") 70 if (stpncpy (dst, src, 12) != dst+11 || strcmp (dst, src)) 80 if (stpncpy (ds [all...] |
H A D | chk.h | 31 #undef stpncpy macro 32 #define stpncpy(dst, src, len) \ macro
|
/haiku-buildtools/binutils/libiberty/ |
H A D | stpncpy.c | 1 /* Implement the stpncpy function. 23 @deftypefn Supplemental char* stpncpy (char *@var{dst}, const char *@var{src}, @ 42 stpncpy (char *dst, const char *src, size_t len) function
|
H A D | Makefile.in | 154 spaces.c splay-tree.c stack-limit.c stpcpy.c stpncpy.c \ 223 ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \ 1362 ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h 1364 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \ 1367 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \ 1369 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
|
H A D | configure | 5701 funcs="$funcs stpncpy" 5749 stpcpy stpncpy strcasecmp strchr strdup \ 6060 *" stpncpy.$ac_objext "* ) ;; 6061 *) LIBOBJS="$LIBOBJS stpncpy.$ac_objext" 6098 asprintf | basename | bcmp | bcopy | bzero | clock | ffs | getpagesize | index | insque | mempcpy | mkstemps | random | rindex | sigsetmask | stpcpy | stpncpy | strdup | strndup | strnlen | strverscmp | vasprintf | waitpid)
|
/haiku-buildtools/gcc/libiberty/ |
H A D | stpncpy.c | 1 /* Implement the stpncpy function. 23 @deftypefn Supplemental char* stpncpy (char *@var{dst}, const char *@var{src}, @ 42 stpncpy (char *dst, const char *src, size_t len) function
|
H A D | Makefile.in | 152 spaces.c splay-tree.c stack-limit.c stpcpy.c stpncpy.c \ 220 ./stpcpy.$(objext) ./stpncpy.$(objext) ./strcasecmp.$(objext) \ 1350 ./stpncpy.$(objext): $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h 1352 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \ 1355 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/stpncpy.c -o noasan/$@; \ 1357 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
|
H A D | configure | 5460 funcs="$funcs stpncpy" 5508 stpcpy stpncpy strcasecmp strchr strdup \ 5819 *" stpncpy.$ac_objext "* ) ;; 5820 *) LIBOBJS="$LIBOBJS stpncpy.$ac_objext" 5857 asprintf | basename | bcmp | bcopy | bzero | clock | ffs | getpagesize | index | insque | mempcpy | mkstemps | random | rindex | sigsetmask | stpcpy | stpncpy | strdup | strndup | strnlen | strverscmp | vasprintf | waitpid)
|
/haiku-buildtools/legacy/binutils/libiberty/ |
H A D | stpncpy.c | 1 /* Implement the stpncpy function. 23 @deftypefn Supplemental char* stpncpy (char *@var{dst}, const char *@var{src}, size_t @var{len}) 41 stpncpy (char *dst, const char *src, size_t len) function
|
H A D | Makefile.in | 152 splay-tree.c stpcpy.c stpncpy.c strcasecmp.c strchr.c strdup.c \ 200 ./setenv.o ./sigsetmask.o ./snprintf.o ./stpcpy.o ./stpncpy.o \ 968 ./stpncpy.o: $(srcdir)/stpncpy.c $(INCDIR)/ansidecl.h 970 $(COMPILE.c) $(PICFLAG) $(srcdir)/stpncpy.c -o pic/$@; \ 972 $(COMPILE.c) $(srcdir)/stpncpy.c $(OUTPUT_OPTION)
|
H A D | configure | 4941 funcs="$funcs stpncpy" 5044 strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strndup strrchr strstr \
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | 20050503-1.c | 38 F3 (9, char *, stpncpy, char *, const char *, size_t, (a1, a2, a3))
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/ |
H A D | chk.c | 205 stpncpy (char *dst, const char *src, __SIZE_TYPE__ n) function 227 /* If size is -1, GCC should always optimize the call into stpncpy. */ 233 return stpncpy (s1, s2, n);
|
/haiku-buildtools/gcc/gcc/testsuite/c-c++-common/ |
H A D | Wsizeof-pointer-memaccess2.c | 13 #define stpncpy(dst, src, sz) __builtin___stpncpy_chk (dst, src, sz, bos (dst)) macro 468 stpncpy (x, s1, sizeof (s1)); /* { dg-warning "call is the same expression as the source; did you mean to provide an explicit length" } */ 472 stpncpy (w, s1, sizeof (w)); /* { dg-warning "call is the same expression as the destination; did you mean to provide an explicit length" } */ 479 stpncpy (x, s3, sizeof (s3));
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/torture/ |
H A D | Wsizeof-pointer-memaccess1.c | 15 extern char *stpncpy (char *__restrict, const char *__restrict, size_t); 61 stpncpy (char *__restrict dest, const char *__restrict src, size_t len) function 686 stpncpy (x, s1, sizeof (s1)); /* { dg-warning "call is the same expression as the source; did you mean to provide an explicit length" } */ 695 stpncpy (w, s1, sizeof (w)); /* { dg-warning "call is the same expression as the destination; did you mean to provide an explicit length" } */ 702 stpncpy (x, s3, sizeof (s3));
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/ |
H A D | Wsizeof-pointer-memaccess2.C | 17 extern char *stpncpy (char *__restrict, const char *__restrict, size_t); 63 stpncpy (char *__restrict dest, const char *__restrict src, size_t len) function 694 stpncpy (x, s1, sizeof (s1)); // { dg-warning "call is the same expression as the source; did you mean to provide an explicit length" } 703 stpncpy (w, s1, sizeof (w)); // { dg-warning "call is the same expression as the destination; did you mean to provide an explicit length" } 710 stpncpy (x, s3, sizeof (s3));
|
H A D | Wsizeof-pointer-memaccess1.C | 17 extern char *stpncpy (char *__restrict, const char *__restrict, size_t); 63 stpncpy (char *__restrict dest, const char *__restrict src, size_t len) function 690 stpncpy (x, s1, sizeof (s1)); // { dg-warning "call is the same expression as the source; did you mean to provide an explicit length" } 699 stpncpy (w, s1, sizeof (w)); // { dg-warning "call is the same expression as the destination; did you mean to provide an explicit length" } 706 stpncpy (x, s3, sizeof (s3));
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/arm/ |
H A D | pr59896.c | 400 char *stpncpy (char *, const char *, size_t);
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-ssa/ |
H A D | ssa-dse-10.c | 140 __attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n) function
|