/picolibc-3.7.0-3.6.0/test/ |
D | timegm.c | 46 } tests[NUM_TEST] = { variable 59 tests[i].time = random(); in main() 60 gmtime_r(&tests[i].time, &tests[i].tm); in main() 62 printf (" .time = %ld,\n", tests[i].time); in main() 64 printf (" .tm_sec = %d,\n", tests[i].tm.tm_sec); /* Seconds (0-60) */ in main() 65 printf (" .tm_min = %d,\n", tests[i].tm.tm_min); /* Minutes (0-59) */ in main() 66 printf (" .tm_hour = %d,\n", tests[i].tm.tm_hour); /* Hours (0-23) */ in main() 67 … printf (" .tm_mday = %d,\n", tests[i].tm.tm_mday); /* Day of the month (1-31) */ in main() 68 printf (" .tm_mon = %d,\n", tests[i].tm.tm_mon); /* Month (0-11) */ in main() 69 printf (" .tm_year = %d,\n", tests[i].tm.tm_year); /* Year - 1900 */ in main() [all …]
|
D | test-strtod.c | 55 } tests[] = { variable 111 #define NTESTS (sizeof(tests)/sizeof(tests[0])) 127 d = strtod(tests[i].string, &end); in main() 128 if (d != tests[i].dvalue) { in main() 129 printf("strtod(\"%s\"): got %.17e %a want %.17e %a\n", tests[i].string, in main() 130 d, d, tests[i].dvalue, tests[i].dvalue); in main() 135 tests[i].string, end); in main() 138 f = strtof(tests[i].string, &end); in main() 139 if (f != tests[i].fvalue) { in main() 140 printf("strtof(\"%s\"): got %.17e %a want %.17e %a\n", tests[i].string, in main() [all …]
|
D | regex.c | 51 const struct test tests[] = { variable 71 #define NTEST (sizeof(tests)/sizeof(tests[0])) 85 ret = regcomp(®ex, tests[t].pattern, REG_EXTENDED); in main() 87 printf("expression \"%s\" failed to compile: %d\n", tests[t].pattern, ret); in main() 91 ret = regexec(®ex, tests[t].string, MAX_MATCH, matches, 0); in main() 93 if (ret != tests[t].ret) { in main() 95 tests[t].pattern, tests[t].string, ret, tests[t].ret); in main() 101 if (m < tests[t].nmatch) { in main() 102 if (matches[m].rm_so != tests[t].matches[m].rm_so || in main() 103 matches[m].rm_eo != tests[t].matches[m].rm_eo) { in main() [all …]
|
D | test-efcvt.c | 174 #define many_tests(tests, func, n, skip_long) do { \ argument 178 int ret = func(tests[i].value, tests[i].ndigit, &decpt, &sign, buf, sizeof(buf)); \ 188 if (strcmp(buf, tests[i].expect) != 0 || \ 189 decpt != tests[i].decpt || \ 190 sign != tests[i].sign) \ 194 tests[i].expect, tests[i].decpt, tests[i].sign); \
|
/picolibc-3.7.0-3.6.0/test/libc-testsuite/ |
D | fnmatch.c | 76 } tests[] = { variable 155 for (i = 0; i < (int)(sizeof(tests) / sizeof(*tests)); i++) { in test_fnmatch() 158 r = fnmatch(tests[i].pattern, tests[i].string, tests[i].flags); in test_fnmatch() 159 x = tests[i].expected; in test_fnmatch() 163 tests[i].pattern, tests[i].string); in test_fnmatch() 164 printflags(fnmatch_flags, tests[i].flags); in test_fnmatch() 165 printf(") => %d (expected %d)\n", r, tests[i].expected); in test_fnmatch()
|
/picolibc-3.7.0-3.6.0/.github/ |
D | do-arm | 4 "$HERE"/do-test native -Dnative-tests=false -Dtests-enable-posix-io=false 5 "$HERE"/do-test native -Dnative-tests=false -Dtests-enable-posix-io=false -Dio-float-exact=false -D… 6 "$HERE"/do-test native -Dnative-tests=false -Dtests-enable-posix-io=false -Dformat-default=integer …
|
/picolibc-3.7.0-3.6.0/scripts/ |
D | cross-aarch64-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-riscv64-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-arc-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-cortex-a9-none-eabi.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-mips-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-aarch64-linux-gnu.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-nios2-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-thumbv8_1m-none-eabi.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-thumbv8m_main_fp-none-eabi.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-riscv64-unknown-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-i686-linux-gnu.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-x86-linux-gnu.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-x86_64-linux-gnu.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-x86_64-zephyr-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-clang-rv32imafdc-unknown-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-arm-none-eabi.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-arm-zephyr-eabi.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 11 # only needed to run tests
|
D | cross-clang-riscv64-unknown-elf.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc 12 # only needed to run tests
|
D | cross-avr.txt | 2 # Meson 0.53.2 doesn't use any cflags when doing basic compiler tests, 4 # early compiler tests will fail. This can be removed when picolibc
|