/haiku-buildtools/gcc/gcc/testsuite/g++.dg/cpp0x/ |
H A D | nullptr20.C | 12 char buf3[64]; local 17 std::sprintf(buf3, "%p", nullptr); 18 return std::strcmp(buf1, buf2) != 0 || std::strcmp(buf1, buf3) != 0;
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/execute/builtins/ |
H A D | strpcpy-2.c | 20 test (long *buf3, char *buf4, char *buf6, int n) argument 24 if (stpcpy ((char *) buf3, "abcdefghijklmnop") != (char *) buf1 + 16 28 if (__builtin_stpcpy ((char *) buf3, "ABCDEFG") != (char *) buf1 + 7 32 if (stpcpy ((char *) buf3 + i++, "x") != (char *) buf1 + 5
|
H A D | mempcpy-2.c | 20 test (long *buf3, char *buf4, char *buf6, int n) argument 33 if (__builtin_mempcpy (buf3, "ABCDEF", 6) != (char *) buf1 + 6 37 if (__builtin_mempcpy (buf3, "a", 1) != (char *) buf1 + 1 41 if (mempcpy ((char *) buf3 + 2, "bcd" + ++i, 2) != (char *) buf1 + 4 47 if (mempcpy ((char *) buf3 + 4, buf5, 6) != (char *) buf1 + 10 57 if (mempcpy ((char *) buf3 + 14, buf6, 2) != (char *) buf1 + 16 61 if (mempcpy (buf3, buf5, 8) != (char *) buf1 + 8 65 if (mempcpy (buf3, buf5, 17) != (char *) buf1 + 17 69 __builtin_memcpy (buf3, "aBcdEFghijklmnopq\0", 19); 73 if (mempcpy ((char *) buf3 [all...] |
H A D | memcpy-chk.c | 88 test2_sub (long *buf3, char *buf4, char *buf6, int n) argument 107 if (__builtin_memcpy (buf3, "ABCDEF", 6) != (char *) buf1 111 if (__builtin_memcpy (buf3, "a", 1) != (char *) buf1 115 if (memcpy ((char *) buf3 + 2, "bcd" + ++i, 2) != (char *) buf1 + 2 121 if (memcpy ((char *) buf3 + 4, buf5, 6) != (char *) buf1 + 4 131 if (memcpy ((char *) buf3 + 14, buf6, 2) != (char *) buf1 + 14 135 if (memcpy (buf3, buf5, 8) != (char *) buf1 139 if (memcpy (buf3, buf5, 17) != (char *) buf1 143 __builtin_memcpy (buf3, "aBcdEFghijklmnopq\0", 19); 148 /* buf3 point 253 char buf3[20]; local 318 char buf3[20]; local [all...] |
H A D | snprintf-chk.c | 104 char buf3[20]; local 115 r = buf3; 123 r = &buf3[5]; 140 r = buf3; 148 r = &buf3[5]; 168 char buf3[20]; local 190 snprintf (&buf3[19], 2, "a"); 195 snprintf (&buf3[17], 4, "a"); 200 snprintf (&buf3[17], 4, "%s", "abc");
|
H A D | sprintf-chk.c | 87 char buf3[20]; local 98 r = buf3; 106 r = &buf3[5]; 123 r = buf3; 131 r = &buf3[5]; 150 char buf3[20]; local 172 sprintf (&buf3[19], "a"); 177 sprintf (&buf3[17], "%s", "abc");
|
H A D | stpncpy-chk.c | 121 char buf3[20]; local 140 r = buf3; 148 r = &buf3[5]; 174 r = buf3; 184 r = &buf3[5], l = "jkl", l2 = 4; 191 __builtin_object_size (&buf3[16], 0) is 4, so this doesn't need 193 if (!stpncpy (&buf3[16], l, l2)) 195 if (!stpncpy (&buf3[15], "abc", l2)) 197 if (!stpncpy (&buf3[10], "fghij", l2)) 211 char buf3[2 local [all...] |
H A D | strncpy-chk.c | 111 char buf3[20]; local 124 r = buf3; 132 r = &buf3[5]; 151 r = buf3; 161 r = &buf3[5], l = "jkl", l2 = 4; 167 __builtin_object_size (&buf3[16], 0) is 4, so this doesn't need 169 strncpy (&buf3[16], l, l2); 170 strncpy (&buf3[15], "abc", l2); 171 strncpy (&buf3[10], "fghij", l2); 184 char buf3[2 local [all...] |
H A D | memmove-chk.c | 91 test2_sub (long *buf3, char *buf4, char *buf6, int n) argument 110 if (__builtin_memmove (buf3, "ABCDEF", 6) != (char *) buf1 114 if (__builtin_memmove (buf3, "a", 1) != (char *) buf1 118 if (memmove ((char *) buf3 + 2, "bcd" + ++i, 2) != (char *) buf1 + 2 124 if (memmove ((char *) buf3 + 4, buf5, 6) != (char *) buf1 + 4 134 if (memmove ((char *) buf3 + 14, buf6, 2) != (char *) buf1 + 14 138 if (memmove (buf3, buf5, 8) != (char *) buf1 142 if (memmove (buf3, buf5, 17) != (char *) buf1 146 __builtin_memmove (buf3, "aBcdEFghijklmnopq\0", 19); 151 /* buf3 point 351 char buf3[20]; local 416 char buf3[20]; local [all...] |
H A D | mempcpy-chk.c | 94 test2_sub (long *buf3, char *buf4, char *buf6, int n) argument 113 if (__builtin_mempcpy (buf3, "ABCDEF", 6) != (char *) buf1 + 6 117 if (__builtin_mempcpy (buf3, "a", 1) != (char *) buf1 + 1 121 if (mempcpy ((char *) buf3 + 2, "bcd" + ++i, 2) != (char *) buf1 + 4 127 if (mempcpy ((char *) buf3 + 4, buf5, 6) != (char *) buf1 + 10 137 if (mempcpy ((char *) buf3 + 14, buf6, 2) != (char *) buf1 + 16 141 if (mempcpy (buf3, buf5, 8) != (char *) buf1 + 8 145 if (mempcpy (buf3, buf5, 17) != (char *) buf1 + 17 149 __builtin_memcpy (buf3, "aBcdEFghijklmnopq\0", 19); 154 /* buf3 point 261 char buf3[20]; local 326 char buf3[20]; local [all...] |
H A D | stpcpy-chk.c | 158 char buf3[20]; local 170 r = buf3; 178 r = &buf3[5]; 194 r = buf3; 203 r = &buf3[5], l = "jkl"; 209 __builtin_object_size (&buf3[16], 0) is 4, so this doesn't need 211 vx = stpcpy (&buf3[16], l); 227 char buf3[20]; local 244 vx = stpcpy (&buf3[19], "a");
|
H A D | strcat-chk.c | 99 char buf3[20]; local 115 r = buf3; 123 r = &buf3[5]; 161 char buf3[20]; local 164 memset (buf3, '\0', sizeof (buf3)); 167 s5 = buf3; 183 strcat (&buf3[19], "a");
|
H A D | strcpy-chk.c | 128 char buf3[20]; local 140 r = buf3; 148 r = &buf3[5]; 164 r = buf3; 173 r = &buf3[5], l = "jkl"; 179 __builtin_object_size (&buf3[16], 0) is 4, so this doesn't need 181 strcpy (&buf3[16], l); 196 char buf3[20]; local 213 strcpy (&buf3[19], "a");
|
H A D | strncat-chk.c | 124 char buf3[20]; local 139 r = buf3; 147 r = &buf3[5]; 186 char buf3[20]; local 189 memset (buf3, '\0', sizeof (buf3)); 192 s5 = buf3; 208 strncat (&buf3[19], "abcde", 1);
|
H A D | vsnprintf-chk.c | 143 char buf3[20]; local 167 r = buf3; 175 r = &buf3[5]; 236 char buf3[20]; local 253 vsnprintf (&buf3[17], l1 + 3, "%s", ap); 256 vsnprintf (&buf3[19], 2, "a", ap); 259 vsnprintf (&buf3[16], 5, "a", ap);
|
H A D | vsprintf-chk.c | 120 char buf3[20]; local 144 r = buf3; 152 r = &buf3[5]; 213 char buf3[20]; local 230 vsprintf (&buf3[17], "%s", ap); 233 vsprintf (&buf3[19], "a", ap);
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/ |
H A D | pr47917.c | 9 char buf1[6], buf2[6], buf3[4], buf4[4]; variable 17 ret += snprintf (buf3, sizeof buf3, "%s", i++ < 6 ? "abc" : "def") * 256; 29 || memcmp (buf3, "abc", 4) != 0
|
H A D | free-1.c | 7 char *p, buf3[10], d; variable 19 free (buf3); /* { dg-warning "attempt to free a non-heap object" } */
|
H A D | free-2.c | 7 char *p, buf3[10], d; variable 19 free (buf3); /* { dg-warning "attempt to free a non-heap object" } */
|
/haiku-buildtools/gcc/gcc/testsuite/gcc.dg/torture/ |
H A D | pr47917.c | 14 char buf1[6], buf2[6], buf3[4], buf4[4]; variable 22 ret += snprintf (buf3, sizeof buf3, "%s", i++ < 6 ? "abc" : "def") * 256; 34 || memcmp (buf3, "abc", 4) != 0
|
H A D | Wsizeof-pointer-memaccess1.c | 491 long buf3[17]; local 542 memset (buf3, 0, sizeof (buf3)); 543 memset (&buf3[0], 0, sizeof (buf3)); 560 memcpy (buf3, x, sizeof (buf3)); 561 memcpy (&buf3[0], x, sizeof (buf3)); 580 memcpy (x, buf3, sizeo [all...] |
/haiku-buildtools/gcc/gcc/testsuite/gcc.c-torture/compile/ |
H A D | 20001221-1.c | 11 char buf3[nibbles + 1]; local 14 buf3[nibbles] = '\0';
|
/haiku-buildtools/gcc/gcc/testsuite/gfortran.fortran-torture/execute/ |
H A D | der_io.f90 | 3 character(400) :: buf1, buf2, buf3 variable in program:derived_io 46 write (buf3, *), abcdef%a, abcdef%b, abcdef%c%x, abcdef%c%y, & 49 if (buf1.ne.buf3) call abort
|
/haiku-buildtools/gcc/gcc/testsuite/g++.dg/torture/ |
H A D | Wsizeof-pointer-memaccess2.C | 498 long buf3[17]; local 549 memset (buf3, 0, sizeof (buf3)); 550 memset (&buf3[0], 0, sizeof (buf3)); 567 memcpy (buf3, x, sizeof (buf3)); 568 memcpy (&buf3[0], x, sizeof (buf3)); 587 memcpy (x, buf3, sizeo [all...] |
H A D | Wsizeof-pointer-memaccess1.C | 495 long buf3[17]; local 546 memset (buf3, 0, sizeof (buf3)); 547 memset (&buf3[0], 0, sizeof (buf3)); 564 memcpy (buf3, x, sizeof (buf3)); 565 memcpy (&buf3[0], x, sizeof (buf3)); 584 memcpy (x, buf3, sizeo [all...] |