/external/arm-optimized-routines/string/test/ |
D | strncmp.c | 23 } 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 …]
|
D | memcmp.c | 23 } 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 …]
|
D | strcmp.c | 23 } 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 …]
|
D | memset.c | 23 } 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()
|
D | strnlen.c | 28 } 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()
|
D | memmove.c | 23 } 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()
|
D | memchr.c | 24 } 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()
|
D | memcpy.c | 23 } 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()
|
D | strrchr.c | 24 } 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()
|
D | strchr.c | 24 } 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()
|
D | strchrnul.c | 28 } 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()
|
D | strlen.c | 25 } 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()
|
/external/arm-optimized-routines/string/bench/ |
D | memcpy.c | 31 } 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 …]
|
D | strlen.c | 33 } 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 …]
|
/external/llvm-project/libc/AOR_v20.02/string/test/ |
D | strncmp.c | 19 } funtab[] = { variable 81 for (int i=0; funtab[i].name; i++) { in main() 87 test(funtab+i, d, s, n, 0, n); in main() 88 test(funtab+i, d, s, n, n/2, n); in main() 89 test(funtab+i, d, s, n/2, 0, n); in main() 90 test(funtab+i, d, s, n/2, n/2, n); in main() 93 test(funtab+i, d, s, n, 0, n); in main() 94 test(funtab+i, d, s, n, n/2, n); in main() 95 test(funtab+i, d, s, n/2, 0, n); in main() 96 test(funtab+i, d, s, n/2, n/2, n); in main() [all …]
|
D | memset.c | 19 } funtab[] = { variable 92 for (int i=0; funtab[i].name; i++) { in main() 97 test(funtab+i, s, 0, n); in main() 98 test(funtab+i, s, 0x25, n); in main() 99 test(funtab+i, s, 0xaa25, n); in main() 102 test(funtab+i, s, 0, n); in main() 103 test(funtab+i, s, 0x25, n); in main() 104 test(funtab+i, s, 0xaa25, n); in main() 107 printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); in main()
|
D | strchrnul.c | 22 } funtab[] = { variable 81 for (int i=0; funtab[i].name; i++) { in main() 87 test(funtab+i, a, sp, n); in main() 88 test(funtab+i, a, -1, n); in main() 91 test(funtab+i, a, -1, n); in main() 92 test(funtab+i, a, n / 2, n); in main() 95 printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); in main()
|
D | strnlen.c | 22 } funtab[] = { variable 76 for (int i=0; funtab[i].name; i++) { in main() 82 test(funtab+i, a, maxlen, n); in main() 84 test(funtab+i, a, n*2, n); in main() 85 test(funtab+i, a, n, n); in main() 86 test(funtab+i, a, n/2, n); in main() 89 printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); in main()
|
D | strchr.c | 20 } funtab[] = { variable 80 for (int i=0; funtab[i].name; i++) { in main() 86 test(funtab+i, a, sp, n); in main() 87 test(funtab+i, a, -1, n); in main() 90 test(funtab+i, a, -1, n); in main() 91 test(funtab+i, a, n / 2, n); in main() 94 printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); in main()
|
D | strrchr.c | 20 } funtab[] = { variable 79 for (int i=0; funtab[i].name; i++) { in main() 85 test(funtab+i, a, sp, n); in main() 86 test(funtab+i, a, -1, n); in main() 89 test(funtab+i, a, -1, n); in main() 90 test(funtab+i, a, n / 2, n); in main() 93 printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); in main()
|
D | memcmp.c | 19 } funtab[] = { variable 78 for (int i=0; funtab[i].name; i++) { in main() 84 test(funtab+i, d, s, n, 0); in main() 85 test(funtab+i, d, s, n, n / 2); in main() 88 test(funtab+i, d, s, n, 0); in main() 89 test(funtab+i, d, s, n, n / 2); in main() 92 printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); in main()
|
D | strcmp.c | 19 } funtab[] = { variable 85 for (int i=0; funtab[i].name; i++) { in main() 91 test(funtab+i, d, s, n, 0); in main() 92 test(funtab+i, d, s, n, n / 2); in main() 95 test(funtab+i, d, s, n, 0); in main() 96 test(funtab+i, d, s, n, n / 2); in main() 99 printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); in main()
|
D | memchr.c | 20 } funtab[] = { variable 78 for (int i=0; funtab[i].name; i++) { in main() 83 test(funtab+i, a, sp, n); in main() 85 test(funtab+i, a, n-1, n); in main() 86 test(funtab+i, a, n/2, n); in main() 89 printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); in main()
|
D | memmove.c | 19 } funtab[] = { variable 123 test_overlap(funtab+0, 2, 1, 1); in main() 126 for (int i=0; funtab[i].name; i++) { in main() 132 test(funtab+i, d, s, n); in main() 133 test_overlap(funtab+i, d, s, n); in main() 136 test(funtab+i, d, s, n); in main() 137 test_overlap(funtab+i, d, s, n); in main() 140 printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); in main()
|
D | strlen.c | 20 } funtab[] = { variable 78 for (int i=0; funtab[i].name; i++) { in main() 83 test(funtab+i, a, n); in main() 85 test(funtab+i, a, n); in main() 87 printf("%s %s\n", test_status ? "FAIL" : "PASS", funtab[i].name); in main()
|