Searched refs:vec (Results 1 – 2 of 2) sorted by relevance
/picolibc-3.5.0-3.4.0/test/ |
D | long_double_gen.5c | 95 string vec = sprintf("%s_vec", f.name); 100 printf("long_double_test_f_f_t %s[] = {\n", vec); 128 printf(" for (i = 0; i < sizeof(%s)/sizeof(%s[0]); i++) {\n", vec, vec); 129 printf(" long double y = %s(%s[i].x);\n", f.name, vec); 130 … result += check_long_double(\"%s\", %s[i].line, %s, %s[i].y, y);\n", f.name, vec, prec_name, vec); 346 string vec = sprintf("%s_vec", f.name); 352 printf("long_double_test_f_ff_t %s[] = {\n", vec); 382 printf(" for (i = 0; i < sizeof(%s)/sizeof(%s[0]); i++) {\n", vec, vec); 383 printf(" long double y = %s(%s[i].x0, %s[i].x1);\n", f.name, vec, vec); 384 … result += check_long_double(\"%s\", %s[i].line, %s, %s[i].y, y);\n", f.name, vec,prec_name, vec); [all …]
|
/picolibc-3.5.0-3.4.0/newlib/libc/time/ |
D | strftime.c | 1533 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 …]
|