/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-58.c | 52 const size_t nb = sizeof ws4; in test_wide() 56 const char *pws4 = (const char*)ws4; in test_wide() 63 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 64 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 65 ELIM (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1); in test_wide() 66 ELIM (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 0); in test_wide() 67 ELIM (memchr (&ws4[4], 0, nb - 4 * nwb) == pws4 + 4 * nwb + 0); in test_wide() 69 ELIM (memchr (&ws4[i0], 0, nb) == pws4 + 3); in test_wide() 78 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 79 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1); in test_wide() [all …]
|
H A D | builtin-memchr.c | 26 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 47 const size_t nb = sizeof ws4; in test_wide() 51 const char *pws4 = (const char*)ws4; in test_wide() 56 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 57 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() 58 A (memchr (&ws4[2], i0, nb - i2 * nwb) == pws4 + i2 * nwb + i2); in test_wide() 62 A (memchr (&ws4[0], i0, nb) == pws4 + 0); in test_wide() 63 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb + i1); in test_wide() 64 A (memchr (&ws4[2], i0, nb - i2 * nwb) == pws4 + i2 * nwb + i2); in test_wide()
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-58.c | 52 const size_t nb = sizeof ws4; in test_wide() 56 const char *pws4 = (const char*)ws4; in test_wide() 63 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 64 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 65 ELIM (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1); in test_wide() 66 ELIM (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 0); in test_wide() 67 ELIM (memchr (&ws4[4], 0, nb - 4 * nwb) == pws4 + 4 * nwb + 0); in test_wide() 69 ELIM (memchr (&ws4[i0], 0, nb) == pws4 + 3); in test_wide() 78 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 79 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1); in test_wide() [all …]
|
H A D | builtin-memchr.c | 26 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 47 const size_t nb = sizeof ws4; in test_wide() 51 const char *pws4 = (const char*)ws4; in test_wide() 56 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 57 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() 58 A (memchr (&ws4[2], i0, nb - i2 * nwb) == pws4 + i2 * nwb + i2); in test_wide() 62 A (memchr (&ws4[0], i0, nb) == pws4 + 0); in test_wide() 63 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb + i1); in test_wide() 64 A (memchr (&ws4[2], i0, nb - i2 * nwb) == pws4 + i2 * nwb + i2); in test_wide()
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-58.c | 52 const size_t nb = sizeof ws4; in test_wide() 56 const char *pws4 = (const char*)ws4; in test_wide() 63 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 64 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 65 ELIM (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1); in test_wide() 66 ELIM (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 0); in test_wide() 67 ELIM (memchr (&ws4[4], 0, nb - 4 * nwb) == pws4 + 4 * nwb + 0); in test_wide() 69 ELIM (memchr (&ws4[i0], 0, nb) == pws4 + 3); in test_wide() 78 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 79 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1); in test_wide() [all …]
|
H A D | builtin-memchr.c | 26 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 47 const size_t nb = sizeof ws4; in test_wide() 51 const char *pws4 = (const char*)ws4; in test_wide() 56 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 57 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() 58 A (memchr (&ws4[2], i0, nb - i2 * nwb) == pws4 + i2 * nwb + i2); in test_wide() 62 A (memchr (&ws4[0], i0, nb) == pws4 + 0); in test_wide() 63 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb + i1); in test_wide() 64 A (memchr (&ws4[2], i0, nb - i2 * nwb) == pws4 + i2 * nwb + i2); in test_wide()
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-58.c | 52 const size_t nb = sizeof ws4; in test_wide() 56 const char *pws4 = (const char*)ws4; in test_wide() 63 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 64 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 65 ELIM (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1); in test_wide() 66 ELIM (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 0); in test_wide() 67 ELIM (memchr (&ws4[4], 0, nb - 4 * nwb) == pws4 + 4 * nwb + 0); in test_wide() 69 ELIM (memchr (&ws4[i0], 0, nb) == pws4 + 3); in test_wide() 78 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 79 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1); in test_wide() [all …]
|
H A D | builtin-memchr.c | 26 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 47 const size_t nb = sizeof ws4; in test_wide() 51 const char *pws4 = (const char*)ws4; in test_wide() 56 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 57 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() 58 A (memchr (&ws4[2], i0, nb - i2 * nwb) == pws4 + i2 * nwb + i2); in test_wide() 62 A (memchr (&ws4[0], i0, nb) == pws4 + 0); in test_wide() 63 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb + i1); in test_wide() 64 A (memchr (&ws4[2], i0, nb - i2 * nwb) == pws4 + i2 * nwb + i2); in test_wide()
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-58.c | 52 const size_t nb = sizeof ws4; in test_wide() 56 const char *pws4 = (const char*)ws4; in test_wide() 63 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 64 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 65 ELIM (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1); in test_wide() 66 ELIM (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 0); in test_wide() 67 ELIM (memchr (&ws4[4], 0, nb - 4 * nwb) == pws4 + 4 * nwb + 0); in test_wide() 69 ELIM (memchr (&ws4[i0], 0, nb) == pws4 + 3); in test_wide() 78 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 79 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1); in test_wide() [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-58.c | 52 const size_t nb = sizeof ws4; in test_wide() 56 const char *pws4 = (const char*)ws4; in test_wide() 63 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 64 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 65 ELIM (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1); in test_wide() 66 ELIM (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 0); in test_wide() 67 ELIM (memchr (&ws4[4], 0, nb - 4 * nwb) == pws4 + 4 * nwb + 0); in test_wide() 69 ELIM (memchr (&ws4[i0], 0, nb) == pws4 + 3); in test_wide() 78 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 79 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1); in test_wide() [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-58.c | 52 const size_t nb = sizeof ws4; in test_wide() 56 const char *pws4 = (const char*)ws4; in test_wide() 63 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 64 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 65 ELIM (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1); in test_wide() 66 ELIM (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 0); in test_wide() 67 ELIM (memchr (&ws4[4], 0, nb - 4 * nwb) == pws4 + 4 * nwb + 0); in test_wide() 69 ELIM (memchr (&ws4[i0], 0, nb) == pws4 + 3); in test_wide() 78 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 79 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1); in test_wide() [all …]
|
H A D | builtin-memchr.c | 26 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 47 const size_t nb = sizeof ws4; in test_wide() 51 const char *pws4 = (const char*)ws4; in test_wide() 56 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 57 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() 58 A (memchr (&ws4[2], i0, nb - i2 * nwb) == pws4 + i2 * nwb + i2); in test_wide() 62 A (memchr (&ws4[0], i0, nb) == pws4 + 0); in test_wide() 63 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb + i1); in test_wide() 64 A (memchr (&ws4[2], i0, nb - i2 * nwb) == pws4 + i2 * nwb + i2); in test_wide()
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-58.c | 52 const size_t nb = sizeof ws4; in test_wide() 56 const char *pws4 = (const char*)ws4; in test_wide() 63 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 64 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 65 ELIM (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1); in test_wide() 66 ELIM (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 0); in test_wide() 67 ELIM (memchr (&ws4[4], 0, nb - 4 * nwb) == pws4 + 4 * nwb + 0); in test_wide() 69 ELIM (memchr (&ws4[i0], 0, nb) == pws4 + 3); in test_wide() 78 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 79 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1); in test_wide() [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-58.c | 52 const size_t nb = sizeof ws4; in test_wide() 56 const char *pws4 = (const char*)ws4; in test_wide() 63 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 64 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 65 ELIM (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1); in test_wide() 66 ELIM (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 0); in test_wide() 67 ELIM (memchr (&ws4[4], 0, nb - 4 * nwb) == pws4 + 4 * nwb + 0); in test_wide() 69 ELIM (memchr (&ws4[i0], 0, nb) == pws4 + 3); in test_wide() 78 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 79 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1); in test_wide() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.dg/ |
H A D | strlenopt-58.c | 52 const size_t nb = sizeof ws4; in test_wide() 56 const char *pws4 = (const char*)ws4; in test_wide() 63 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 64 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 65 ELIM (memchr (&ws4[2], 0, nb - 2 * nwb) == pws4 + 2 * nwb + 1); in test_wide() 66 ELIM (memchr (&ws4[3], 0, nb - 3 * nwb) == pws4 + 3 * nwb + 0); in test_wide() 67 ELIM (memchr (&ws4[4], 0, nb - 4 * nwb) == pws4 + 4 * nwb + 0); in test_wide() 69 ELIM (memchr (&ws4[i0], 0, nb) == pws4 + 3); in test_wide() 78 ELIM (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 79 ELIM (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 1); in test_wide() [all …]
|
/dports/lang/gcc9/gcc-9.4.0/gcc/testsuite/gcc.c-torture/execute/ |
H A D | memchr-1.c | 127 const size_t nb = sizeof ws4; in test_wide() 131 const char *pws4 = (const char*)ws4; in test_wide() 136 A (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 137 A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 143 A (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 155 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 176 const size_t nb = sizeof ws4; in test_wide() 180 const char *pws4 = (const char*)ws4; in test_wide() 185 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 186 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() [all …]
|
/dports/devel/avr-gcc/gcc-10.2.0/gcc/testsuite/gcc.c-torture/execute/ |
H A D | memchr-1.c | 127 const size_t nb = sizeof ws4; in test_wide() 131 const char *pws4 = (const char*)ws4; in test_wide() 136 A (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 137 A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 143 A (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 155 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 176 const size_t nb = sizeof ws4; in test_wide() 180 const char *pws4 = (const char*)ws4; in test_wide() 185 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 186 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() [all …]
|
/dports/lang/gcc11/gcc-11.2.0/gcc/testsuite/gcc.c-torture/execute/ |
H A D | memchr-1.c | 127 const size_t nb = sizeof ws4; in test_wide() 131 const char *pws4 = (const char*)ws4; in test_wide() 136 A (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 137 A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 143 A (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 155 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 176 const size_t nb = sizeof ws4; in test_wide() 180 const char *pws4 = (const char*)ws4; in test_wide() 185 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 186 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() [all …]
|
/dports/lang/gcc9-aux/gcc-9.1.0/gcc/testsuite/gcc.c-torture/execute/ |
H A D | memchr-1.c | 127 const size_t nb = sizeof ws4; in test_wide() 131 const char *pws4 = (const char*)ws4; in test_wide() 136 A (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 137 A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 143 A (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 155 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 176 const size_t nb = sizeof ws4; in test_wide() 180 const char *pws4 = (const char*)ws4; in test_wide() 185 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 186 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() [all …]
|
/dports/misc/cxx_atomics_pic/gcc-11.2.0/gcc/testsuite/gcc.c-torture/execute/ |
H A D | memchr-1.c | 127 const size_t nb = sizeof ws4; in test_wide() 131 const char *pws4 = (const char*)ws4; in test_wide() 136 A (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 137 A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 143 A (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 155 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 176 const size_t nb = sizeof ws4; in test_wide() 180 const char *pws4 = (const char*)ws4; in test_wide() 185 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 186 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() [all …]
|
/dports/lang/gcc10/gcc-10.3.0/gcc/testsuite/gcc.c-torture/execute/ |
H A D | memchr-1.c | 127 const size_t nb = sizeof ws4; in test_wide() 131 const char *pws4 = (const char*)ws4; in test_wide() 136 A (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 137 A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 143 A (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 155 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 176 const size_t nb = sizeof ws4; in test_wide() 180 const char *pws4 = (const char*)ws4; in test_wide() 185 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 186 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() [all …]
|
/dports/lang/gcc9-devel/gcc-9-20211007/gcc/testsuite/gcc.c-torture/execute/ |
H A D | memchr-1.c | 127 const size_t nb = sizeof ws4; in test_wide() 131 const char *pws4 = (const char*)ws4; in test_wide() 136 A (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 137 A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 143 A (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 155 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 176 const size_t nb = sizeof ws4; in test_wide() 180 const char *pws4 = (const char*)ws4; in test_wide() 185 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 186 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() [all …]
|
/dports/lang/gcc11-devel/gcc-11-20211009/gcc/testsuite/gcc.c-torture/execute/ |
H A D | memchr-1.c | 127 const size_t nb = sizeof ws4; in test_wide() 131 const char *pws4 = (const char*)ws4; in test_wide() 136 A (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 137 A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 143 A (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 155 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 176 const size_t nb = sizeof ws4; in test_wide() 180 const char *pws4 = (const char*)ws4; in test_wide() 185 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 186 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() [all …]
|
/dports/lang/gcc10-devel/gcc-10-20211008/gcc/testsuite/gcc.c-torture/execute/ |
H A D | memchr-1.c | 127 const size_t nb = sizeof ws4; in test_wide() 131 const char *pws4 = (const char*)ws4; in test_wide() 136 A (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 137 A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 143 A (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 155 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 176 const size_t nb = sizeof ws4; in test_wide() 180 const char *pws4 = (const char*)ws4; in test_wide() 185 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 186 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() [all …]
|
/dports/lang/gcc12-devel/gcc-12-20211205/gcc/testsuite/gcc.c-torture/execute/ |
H A D | memchr-1.c | 127 const size_t nb = sizeof ws4; in test_wide() 131 const char *pws4 = (const char*)ws4; in test_wide() 136 A (memchr (&ws4[0], 0, nb) == pws4 + 3); in test_wide() 137 A (memchr (&ws4[1], 0, nb - 1 * nwb) == pws4 + 1 * nwb + 2); in test_wide() 143 A (memchr (&ws4[0], 0, nb) == pws4 + 0); in test_wide() 155 static const wchar_t ws4[] = L"\x0012\x1200\x1234"; variable 176 const size_t nb = sizeof ws4; in test_wide() 180 const char *pws4 = (const char*)ws4; in test_wide() 185 A (memchr (&ws4[0], i0, nb) == pws4 + i1); in test_wide() 186 A (memchr (&ws4[1], i0, nb - i1 * nwb) == pws4 + i1 * nwb); in test_wide() [all …]
|