Home
last modified time | relevance | path

Searched refs:vec (Results 1 – 2 of 2) sorted by relevance

/picolibc-3.7.0-3.6.0/test/
Dlong_double_gen.5c100 string vec = sprintf("%s_vec", f.name);
105 printf("long_double_test_f_f_t %s[] = {\n", vec);
133 printf(" for (i = 0; i < sizeof(%s)/sizeof(%s[0]); i++) {\n", vec, vec);
134 printf(" long double y = %s(%s[i].x);\n", f.name, vec);
135 … result += check_long_double(\"%s\", %s[i].line, %s, %s[i].y, y);\n", f.name, vec, prec_name, vec);
371 string vec = sprintf("%s_vec", f.name);
377 printf("long_double_test_f_ff_t %s[] = {\n", vec);
407 printf(" for (i = 0; i < sizeof(%s)/sizeof(%s[0]); i++) {\n", vec, vec);
408 printf(" long double y = %s(%s[i].x0, %s[i].x1);\n", f.name, vec, vec);
409 … result += check_long_double(\"%s\", %s[i].line, %s, %s[i].y, y);\n", f.name, vec,prec_name, vec);
[all …]
/picolibc-3.7.0-3.6.0/newlib/libc/time/
Dstrftime.c1533 const struct test *vec; /* Test vectors */ member
1899 ret = strftime(out, test->vec[i].max, test->vec[i].fmt, test->tms); in main()
1900 if(ret != test->vec[i].ret) { in main()
1904 ret, test->vec[i].ret, l, i); in main()
1906 if(t_strncmp(out, test->vec[i].out, test->vec[i].max-1)) { in main()
1910 out, test->vec[i].out, l, i); in main()
1921 ret = strftime(out, test->vec[i].max-1, test->vec[i].fmt, test->tms); in main()
1932 if(t_strncmp(out, test->vec[i].out, test->vec[i].max-1-1)) { in main()
1936 out, test->vec[i].out, l, i); in main()
1946 ret = strftime(out, test->vec[i].max, test->vec[i].fmt, test->tms); in main()
[all …]