Home
last modified time | relevance | path

Searched refs:funtab (Results 1 – 20 of 20) sorted by relevance

/third_party/optimized-routines/string/test/
Dstrncmp.c23 } funtab[] = { variable
104 for (int i = 0; funtab[i].name; i++) in main()
111 test (funtab + i, d, s, 0, -1, 0, 0); in main()
112 test (funtab + i, d, s, 1, -1, 0, 0); in main()
113 test (funtab + i, d, s, 0, -1, 1, 0); in main()
114 test (funtab + i, d, s, 1, -1, 1, 0); in main()
115 test (funtab + i, d, s, 2, -1, 1, 0); in main()
116 test (funtab + i, d, s, 1, 0, 1, 1); in main()
117 test (funtab + i, d, s, 1, 0, 1, -1); in main()
120 test (funtab + i, d, s, n, -1, n, 0); in main()
[all …]
Dmemcmp.c23 } funtab[] = { variable
95 for (int i = 0; funtab[i].name; i++) in main()
102 test (funtab + i, d, s, 0, -1, 0); in main()
103 test (funtab + i, d, s, 1, -1, 0); in main()
104 test (funtab + i, d, s, 1, 0, -1); in main()
105 test (funtab + i, d, s, 1, 0, 1); in main()
108 test (funtab + i, d, s, n, -1, 0); in main()
109 test (funtab + i, d, s, n, 0, -1); in main()
110 test (funtab + i, d, s, n, n - 1, -1); in main()
111 test (funtab + i, d, s, n, n / 2, 1); in main()
[all …]
Dstrcmp.c23 } funtab[] = { variable
103 for (int i = 0; funtab[i].name; i++) in main()
110 test (funtab + i, d, s, 0, -1, 0); in main()
111 test (funtab + i, d, s, 1, -1, 0); in main()
112 test (funtab + i, d, s, 1, 0, 1); in main()
113 test (funtab + i, d, s, 1, 0, -1); in main()
116 test (funtab + i, d, s, n, -1, 0); in main()
117 test (funtab + i, d, s, n, n - 1, -1); in main()
118 test (funtab + i, d, s, n, n / 2, 1); in main()
122 test (funtab + i, d, s, n, -1, 0); in main()
[all …]
Dmemset.c23 } funtab[] = { variable
104 for (int i = 0; funtab[i].name; i++) in main()
112 test (funtab + i, s, 0, n); in main()
113 test (funtab + i, s, 0x25, n); in main()
114 test (funtab + i, s, 0xaa25, n); in main()
118 test (funtab + i, s, 0, n); in main()
119 test (funtab + i, s, 0x25, n); in main()
120 test (funtab + i, s, 0xaa25, n); in main()
123 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
124 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
Dstrnlen.c28 } funtab[] = { variable
93 for (int i = 0; funtab[i].name; i++) in main()
100 test (funtab + i, a, maxlen, n); in main()
101 test (funtab + i, a, SIZE_MAX - a, n); in main()
103 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
104 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
Dmemmove.c23 } funtab[] = { variable
140 for (int i = 0; funtab[i].name; i++) in main()
149 test (funtab + i, d, s, n); in main()
150 test_overlap (funtab + i, d, s, n); in main()
154 test (funtab + i, d, s, n); in main()
155 test_overlap (funtab + i, d, s, n); in main()
158 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
159 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
Dmemchr.c24 } funtab[] = { variable
94 for (int i = 0; funtab[i].name; i++) in main()
101 test (funtab + i, a, sp, n, n); in main()
102 test (funtab + i, a, n, n, SIZE_MAX - a); in main()
104 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
105 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
Dstrchr.c24 } funtab[] = { variable
104 for (int i = 0; funtab[i].name; i++) in main()
111 test (funtab + i, a, sp, n); in main()
112 test (funtab + i, a, -1, n); in main()
115 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
116 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
Dstrrchr.c24 } funtab[] = { variable
104 for (int i = 0; funtab[i].name; i++) in main()
111 test (funtab + i, a, sp, n); in main()
112 test (funtab + i, a, -1, n); in main()
115 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
116 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
Dmemcpy.c23 } funtab[] = { variable
102 for (int i = 0; funtab[i].name; i++) in main()
110 test (funtab + i, d, s, n); in main()
112 test (funtab + i, d, s, n); in main()
114 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
115 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
Dstrchrnul.c28 } funtab[] = { variable
109 for (int i = 0; funtab[i].name; i++) in main()
116 test (funtab + i, a, sp, n); in main()
117 test (funtab + i, a, -1, n); in main()
120 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
121 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
Dstrlen.c25 } funtab[] = { variable
90 for (int i = 0; funtab[i].name; i++) in main()
95 test (funtab + i, a, n); in main()
97 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
98 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
Dmemrchr.c28 } funtab[] = { variable
91 for (int i = 0; funtab[i].name; i++) in main()
98 test (funtab + i, a, sp, n, n); in main()
100 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
101 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
D__mtag_tag_region.c33 } funtab[] = { variable
120 for (int i = 0; funtab[i].name; i++) in main()
128 test (funtab + i, s, n); in main()
132 test (funtab + i, s, n); in main()
135 printf ("%s %s\n", err_count ? "FAIL" : "PASS", funtab[i].name); in main()
D__mtag_tag_zero_region.c33 } funtab[] = { variable
120 for (int i = 0; funtab[i].name; i++) in main()
128 test (funtab + i, s, n); in main()
132 test (funtab + i, s, n); in main()
135 printf ("%s %s\n", err_count ? "FAIL" : "PASS", funtab[i].name); in main()
Dstrcpy.c23 } funtab[] = { variable
109 for (int i = 0; funtab[i].name; i++) in main()
115 test (funtab + i, d, s, n); in main()
117 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
118 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
Dstpcpy.c27 } funtab[] = { variable
111 for (int i = 0; funtab[i].name; i++) in main()
117 test (funtab + i, d, s, n); in main()
119 char *pass = funtab[i].test_mte && mte_enabled () ? "MTE PASS" : "PASS"; in main()
120 printf ("%s %s\n", err_count ? "FAIL" : pass, funtab[i].name); in main()
/third_party/optimized-routines/string/bench/
Dmemcpy.c31 } funtab[] = variable
164 for (int f = 0; funtab[f].name != 0; f++) in main()
168 printf ("%22s (B/ns) ", funtab[f].name); in main()
176 funtab[f].fun (b + copy[c].dst, a + copy[c].src, copy[c].len); in main()
181 funtab[f].fun (b + copy[c].dst, a + copy[c].src, copy[c].len); in main()
191 for (int f = 0; funtab[f].name != 0; f++) in main()
193 printf ("%22s (B/ns) ", funtab[f].name); in main()
199 funtab[f].fun (b, a, size); in main()
208 for (int f = 0; funtab[f].name != 0; f++) in main()
210 printf ("%22s (B/ns) ", funtab[f].name); in main()
[all …]
Dstrlen.c33 } funtab[] = { variable
139 for (int f = 0; funtab[f].name != 0; f++) in main()
142 printf ("%22s ", funtab[f].name); in main()
145 strlen_size += funtab[f].fun (a + strlen_tests[c]); in main()
152 res = funtab[f].fun (a + strlen_tests[c] + (res & mask)); in main()
158 for (int f = 0; funtab[f].name != 0; f++) in main()
160 printf ("%22s ", funtab[f].name); in main()
169 funtab[f].fun (a); in main()
178 for (int f = 0; funtab[f].name != 0; f++) in main()
180 printf ("%22s ", funtab[f].name); in main()
[all …]
/third_party/optimized-routines/math/test/
Dmathbench.c233 } funtab[] = { variable
678 for (const struct fun *f = funtab; f->name; f++) in usage()
754 for (const struct fun *f = funtab; f->name; f++) in main()