/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/ |
H A D | strpcpy.c | 3 Ensure builtin stpcpy performs correctly. 11 extern char *stpcpy (char *, const char *); 33 if (stpcpy (p, "abcde") != p + 5 || memcmp (p, "abcde", 6)) 35 if (stpcpy (p + 16, "vwxyz" + 1) != p + 16 + 4 || memcmp (p + 16, "wxyz", 5)) 37 if (stpcpy (p + 1, "") != p + 1 + 0 || memcmp (p, "a\0cde", 6)) 39 if (stpcpy (p + 3, "fghij") != p + 3 + 5 || memcmp (p, "a\0cfghij", 9)) 42 if (stpcpy ((i++, p + 20 + 1), "23") != (p + 20 + 1 + 2) 46 if (stpcpy (stpcpy (p, "ABCD"), "EFG") != p + 7 || memcmp (p, "ABCDEFG", 8)) 54 /* If the result of stpcpy i [all...] |
H A D | stpcpy-chk.c | 9 extern char *stpcpy (char *, const char *); 33 if (stpcpy (p, "abcde") != p + 5 || memcmp (p, "abcde", 6)) 35 if (stpcpy (p + 16, "vwxyz" + 1) != p + 16 + 4 || memcmp (p + 16, "wxyz", 5)) 37 if (stpcpy (p + 1, "") != p + 1 + 0 || memcmp (p, "a\0cde", 6)) 39 if (stpcpy (p + 3, "fghij") != p + 3 + 5 || memcmp (p, "a\0cfghij", 9)) 42 if (stpcpy ((i++, p + 20 + 1), "23") != (p + 20 + 1 + 2) 46 if (stpcpy (stpcpy (p, "ABCD"), "EFG") != p + 7 || memcmp (p, "ABCDEFG", 8)) 54 /* If return value of stpcpy is ignored, it should be optimized into 57 stpcpy ( [all...] |
H A D | strpcpy-2.c | 3 Ensure that builtin stpcpy performs correctly. 10 extern char *stpcpy (char *, const char *); 24 if (stpcpy ((char *) buf3, "abcdefghijklmnop") != (char *) buf1 + 16 32 if (stpcpy ((char *) buf3 + i++, "x") != (char *) buf1 + 5 40 /* All these tests are allowed to call mempcpy/stpcpy. */
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.target/i386/ |
H A D | chkp-strlen-2.c | 2 /* { dg-require-effective-target stpcpy } */ 12 char *p = stpcpy (str1, str2);
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/lib/ |
H A D | stpcpy.c | 6 stpcpy (char *dst, const char *src) function
|
/haiku-buildtools/binutils/libiberty/ |
H A D | stpcpy.c | 1 /* Implement the stpcpy function. 23 @deftypefn Supplemental char* stpcpy (char *@var{dst}, const char *@var{src}) 39 stpcpy (char *dst, const char *src) function
|
/haiku-buildtools/gcc/libiberty/ |
H A D | stpcpy.c | 1 /* Implement the stpcpy function. 23 @deftypefn Supplemental char* stpcpy (char *@var{dst}, const char *@var{src}) 39 stpcpy (char *dst, const char *src) function
|
/haiku-buildtools/legacy/binutils/libiberty/ |
H A D | stpcpy.c | 1 /* Implement the stpcpy function. 23 @deftypefn Supplemental char* stpcpy (char *@var{dst}, const char *@var{src}) 39 stpcpy (char *dst, const char *src) function
|
/haiku-buildtools/legacy/binutils/intl/ |
H A D | cat-compat.c | 66 static char *stpcpy PARAMS ((char *dest, const char *src)); 176 cp = stpcpy (new_val, "NLSPATH="); 179 cp = stpcpy (cp, dirname); 180 cp = stpcpy (cp, "/%L/LC_MESSAGES/%N.cat:"); 185 stpcpy (cp, LOCALEDIR "/%L/LC_MESSAGES/%N.cat"); 188 cp = stpcpy (cp, LOCALEDIR); 189 stpcpy (cp, "/%L/LC_MESSAGES/%N.cat"); 193 stpcpy (cp, old_val); 249 avoid the non-standard function stpcpy. In GNU C Library this 254 stpcpy (des function [all...] |
H A D | l10nflist.c | 68 # ifndef stpcpy 69 # define stpcpy(dest, src) __stpcpy(dest, src) macro 73 static char *stpcpy PARAMS ((char *dest, const char *src)); 231 cp = stpcpy (cp, language); 236 cp = stpcpy (cp, territory); 241 cp = stpcpy (cp, codeset); 246 cp = stpcpy (cp, normalized_codeset); 253 cp = stpcpy (cp, modifier); 258 cp = stpcpy (cp, special); 264 cp = stpcpy (c 403 stpcpy (dest, src) function [all...] |
H A D | dcgettext.c | 94 # ifndef stpcpy 95 # define stpcpy __stpcpy macro 105 static char *stpcpy PARAMS ((char *dest, const char *src)); 300 stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname); 311 stpcpy (stpcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), 586 avoid the non-standard function stpcpy 591 stpcpy (dest, src) function [all...] |
/haiku-buildtools/legacy/gcc/gcc/intl/ |
H A D | cat-compat.c | 66 static char *stpcpy PARAMS ((char *dest, const char *src)); 176 cp = stpcpy (new_val, "NLSPATH="); 179 cp = stpcpy (cp, dirname); 180 cp = stpcpy (cp, "/%L/LC_MESSAGES/%N.cat:"); 185 stpcpy (cp, LOCALEDIR "/%L/LC_MESSAGES/%N.cat"); 188 cp = stpcpy (cp, LOCALEDIR); 189 stpcpy (cp, "/%L/LC_MESSAGES/%N.cat"); 193 stpcpy (cp, old_val); 249 avoid the non-standard function stpcpy. In GNU C Library this 254 stpcpy (des function [all...] |
H A D | l10nflist.c | 68 # ifndef stpcpy 69 # define stpcpy(dest, src) __stpcpy(dest, src) macro 73 static char *stpcpy PARAMS ((char *dest, const char *src)); 231 cp = stpcpy (cp, language); 236 cp = stpcpy (cp, territory); 241 cp = stpcpy (cp, codeset); 246 cp = stpcpy (cp, normalized_codeset); 253 cp = stpcpy (cp, modifier); 258 cp = stpcpy (cp, special); 264 cp = stpcpy (c 403 stpcpy (dest, src) function [all...] |
H A D | dcgettext.c | 94 # ifndef stpcpy 95 # define stpcpy __stpcpy macro 105 static char *stpcpy PARAMS ((char *dest, const char *src)); 300 stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname); 311 stpcpy (stpcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), 586 avoid the non-standard function stpcpy 591 stpcpy (dest, src) function [all...] |
/haiku-buildtools/legacy/gcc/texinfo/intl/ |
H A D | cat-compat.c | 66 static char *stpcpy PARAMS ((char *dest, const char *src)); 176 cp = stpcpy (new_val, "NLSPATH="); 179 cp = stpcpy (cp, dirname); 180 cp = stpcpy (cp, "/%L/LC_MESSAGES/%N.cat:"); 185 stpcpy (cp, LOCALEDIR "/%L/LC_MESSAGES/%N.cat"); 188 cp = stpcpy (cp, LOCALEDIR); 189 stpcpy (cp, "/%L/LC_MESSAGES/%N.cat"); 193 stpcpy (cp, old_val); 249 avoid the non-standard function stpcpy. In GNU C Library this 254 stpcpy (des function [all...] |
H A D | l10nflist.c | 68 # define stpcpy(dest, src) __stpcpy(dest, src) macro 71 static char *stpcpy PARAMS ((char *dest, const char *src)); 229 cp = stpcpy (cp, language); 234 cp = stpcpy (cp, territory); 239 cp = stpcpy (cp, codeset); 244 cp = stpcpy (cp, normalized_codeset); 251 cp = stpcpy (cp, modifier); 256 cp = stpcpy (cp, special); 262 cp = stpcpy (cp, sponsor); 266 cp = stpcpy (c 401 stpcpy (dest, src) function [all...] |
H A D | dcgettext.c | 94 # define stpcpy __stpcpy macro 103 static char *stpcpy PARAMS ((char *dest, const char *src)); 297 stpcpy (stpcpy (strchr (dirname, '\0'), "/"), binding->dirname); 308 stpcpy (stpcpy (stpcpy (stpcpy (xdomainname, categoryname), "/"), 580 avoid the non-standard function stpcpy. In GNU C Library this 585 stpcpy (des function [all...] |
/haiku-buildtools/binutils/intl/ |
H A D | l10nflist.c | 19 /* Tell glibc's <string.h> to provide a prototype for stpcpy(). 56 # ifndef stpcpy 57 # define stpcpy(dest, src) __stpcpy(dest, src) macro 61 static char *stpcpy PARAMS ((char *dest, const char *src)); 254 cp = stpcpy (cp, language); 259 cp = stpcpy (cp, territory); 264 cp = stpcpy (cp, codeset); 269 cp = stpcpy (cp, normalized_codeset); 276 cp = stpcpy (cp, modifier); 281 cp = stpcpy (c 445 stpcpy (dest, src) function [all...] |
/haiku-buildtools/gcc/intl/ |
H A D | l10nflist.c | 19 /* Tell glibc's <string.h> to provide a prototype for stpcpy(). 56 # ifndef stpcpy 57 # define stpcpy(dest, src) __stpcpy(dest, src) macro 61 static char *stpcpy PARAMS ((char *dest, const char *src)); 254 cp = stpcpy (cp, language); 259 cp = stpcpy (cp, territory); 264 cp = stpcpy (cp, codeset); 269 cp = stpcpy (cp, normalized_codeset); 276 cp = stpcpy (cp, modifier); 281 cp = stpcpy (c 445 stpcpy (dest, src) function [all...] |
/haiku-buildtools/binutils/opcodes/ |
H A D | sysdep.h | 56 extern char *stpcpy (char *__dest, const char *__src);
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/cpp/ |
H A D | macro1.c | 64 nested stpcpy in dggettext.c. */ 66 #define stpcpy(a) M(a) macro 67 if (stpcpy (stpcpy (9)) != 42) /* 2 + M (2 + M (9)) */ 68 err ("stpcpy"); 70 /* Another test derived from nested stpcpy's of dggettext.c. Uses
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-14g.c | 1 /* This test needs runtime that provides stpcpy and mempcpy functions. */ 42 char *a = stpcpy (p, "abcde"); 57 char *a = stpcpy (p, q); 71 char *a = stpcpy (p, q); 116 /* { dg-final { scan-tree-dump-times "stpcpy \\(" 2 "strlen" } } */
|
H A D | builtin-stringop-chk-1.c | 34 vx = stpcpy (&buf2[18], "a"); 35 vx = stpcpy (&buf2[18], "ab"); /* { dg-warning "will always overflow" "stpcpy" } */ 109 stpcpy (t.c,"Testing..."); /* { dg-warning "will always overflow" "stpcpy" } */
|
H A D | strlenopt.h | 22 char *stpcpy (char *__restrict, const char *__restrict); 61 stpcpy (char *__restrict dest, const char *__restrict src) function
|
/haiku-buildtools/binutils/bfd/hosts/ |
H A D | alphavms.h | 53 extern char *stpcpy (char *, const char *);
|