Searched refs:stpncpy (Results 1 - 19 of 19) sorted by relevance

/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/
H A Dstpncpy-chk.c9 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 Dchk.h31 #undef stpncpy macro
32 #define stpncpy(dst, src, len) \ macro
/haiku-buildtools/binutils/libiberty/
H A Dstpncpy.c1 /* 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 DMakefile.in154 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 Dconfigure5701 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 Dstpncpy.c1 /* 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 DMakefile.in152 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 Dconfigure5460 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 Dstpncpy.c1 /* 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 DMakefile.in152 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 Dconfigure4941 funcs="$funcs stpncpy"
5044 strcasecmp setenv stpcpy stpncpy strchr strdup strncasecmp strndup strrchr strstr \
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/
H A D20050503-1.c38 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 Dchk.c205 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 DWsizeof-pointer-memaccess2.c13 #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 DWsizeof-pointer-memaccess1.c15 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 DWsizeof-pointer-memaccess2.C17 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 DWsizeof-pointer-memaccess1.C17 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 Dpr59896.c400 char *stpncpy (char *, const char *, size_t);
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/tree-ssa/
H A Dssa-dse-10.c140 __attribute__ ((__nothrow__)) stpncpy (char *__dest, __const char *__src, size_t __n) function

Completed in 306 milliseconds