/string/ |
A D | bug-envz1.c | 53 char name[2]; in do_test() local 54 name[0] = strs[i].s[0]; in do_test() 55 name[1] = '\0'; in do_test() 57 char *e = envz_entry (*argz, size, name); in do_test() 60 printf ("entry '%s' not found\n", name); in do_test() 66 name, e, strs[i].s); in do_test()
|
A D | envz.c | 31 envz_entry (const char *envz, size_t envz_len, const char *name) in envz_entry() argument 35 const char *p = name; in envz_entry() 60 envz_get (const char *envz, size_t envz_len, const char *name) in libc_hidden_def() 62 char *entry = envz_entry (envz, envz_len, name); in libc_hidden_def() 77 envz_remove (char **envz, size_t *envz_len, const char *name) in envz_remove() argument 79 char *entry = envz_entry (*envz, *envz_len, name); in envz_remove() 92 envz_add (char **envz, size_t *envz_len, const char *name, const char *value) in libc_hidden_def() 94 envz_remove (envz, envz_len, name); in libc_hidden_def() 99 size_t name_len = strlen (name); in libc_hidden_def() 107 memcpy (new_envz + old_envz_len, name, name_len); in libc_hidden_def() [all …]
|
A D | test-ffs.c | 23 void try (const char *name, long long int param, int value, int expected) in try() argument 28 name, param, expected, value); in try() 32 printf ("%s(%#llx) as expected %d\n", name, param, value); in try()
|
A D | test-string.h | 24 const char *name; member 30 #define IMPL(name, test) \ argument 31 impl_t tst_ ## name \ 33 = { __STRING (name), (void (*) (void))name, test }; 147 if (strcmp (impl->name, TEST_NAME) == 0) \ 159 a->name = func_list[f].name; \
|
A D | test-sig_np.c | 33 #define N_(name) name argument
|
A D | test-strcpy.c | 79 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test() 89 impl->name, dst, src); in do_one_test() 171 n, impl->name, align1, align2, len, res, in do_random_tests() 180 n, impl->name, align1, align2, len); in do_random_tests() 190 n, impl->name, align1, align2, len); in do_random_tests() 198 n, impl->name, align1, align2, len); in do_random_tests() 214 printf ("\t%s", impl->name); in test_main()
|
A D | test-strcat.c | 78 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test() 87 impl->name, dst, src); in do_one_test() 191 n, impl->name, align1, align2, len1, len2, res, in do_random_tests() 200 n, impl->name, align1, align2, len1, len2); in do_random_tests() 208 n, impl->name, align1, align2, len1, len2); in do_random_tests() 216 n, impl->name, align1, align2, len1, len2); in do_random_tests() 224 n, impl->name, align1, align2, len1, len2); in do_random_tests() 240 printf ("\t%s", impl->name); in test_main()
|
A D | test-strncpy.c | 100 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test() 108 error (0, 0, "Wrong result in function %s", impl->name); in do_one_test() 120 error (0, 0, "Wrong result in function %s", impl->name); in do_one_test() 272 n, impl->name, align1, align2, len, res, in do_random_tests() 281 n, impl->name, align1, align2, len); in do_random_tests() 294 n, impl->name, align1, align2, len); in do_random_tests() 303 n, impl->name, align1, align2, len); in do_random_tests() 313 n, impl->name, align1, align2, len); in do_random_tests() 329 printf ("\t%s", impl->name); in test_main()
|
A D | test-memccpy.c | 64 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test() 72 error (0, 0, "Wrong result in function %s", impl->name); in do_one_test() 193 n, impl->name, align1, align2, len, size, c, res, expect); in do_random_tests() 201 n, impl->name, align1, align2, len); in do_random_tests() 214 n, impl->name, align1, align2, len); in do_random_tests() 225 n, impl->name, align1, align2, len); in do_random_tests() 241 printf ("\t%s", impl->name); in test_main()
|
A D | test-memmove.c | 81 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test() 91 impl->name, dst, src); in do_one_test() 194 n, impl->name, align1, align2, len, res, p2 + align2); in do_random_tests() 201 n, impl->name, align1, align2, len); in do_random_tests() 219 n, impl->name, align1, align2, len); in do_random_tests() 230 n, impl->name, align1, align2, len); in do_random_tests() 240 n, impl->name, align1, align2, len); in do_random_tests() 300 impl->name, dst, src, i); in do_test2() 348 impl->name, dst, buf, i); in do_test3() 390 impl->name, dst, buf, i); in do_test4() [all …]
|
A D | test-memcpy.c | 101 n, impl->name, align1, align2, len, res, in do_random_tests() 111 impl->name, align1, align2, len); in do_random_tests() 122 impl->name, align1, align2, len); in do_random_tests() 131 impl->name, align1, align2, len); in do_random_tests() 147 printf ("\t%s", impl->name); in test_main()
|
A D | test-memset.c | 131 error (0, 0, "Wrong result in function %s", impl->name); in do_one_test() 204 n, impl->name, align, c, len, res, p + align); in do_random_tests() 211 n, impl->name, align, c, len); in do_random_tests() 219 n, impl->name, align, c, len); in do_random_tests() 227 n, impl->name, align, c, len); in do_random_tests() 246 printf ("\t%s", impl->name); in test_main()
|
A D | test-strncat.c | 79 error (0, 0, "Wrong result in function %s %p != %p", impl->name, in do_one_test() 89 impl->name); in do_one_test() 96 impl->name); in do_one_test() 266 n, impl->name, align1, align2, len1, len2, N, in do_random_tests() 276 n, impl->name, align1, align2, len1, len2, N); in do_random_tests() 285 n, impl->name, align1, align2, len1, len2, N); in do_random_tests() 299 n, impl->name, align1, align2, len1, len2, N); in do_random_tests() 310 n, impl->name, align1, align2, len1, len2, N); in do_random_tests() 319 n, impl->name, align1, align2, len1, len2, N); in do_random_tests() 335 printf ("\t%s", impl->name); in test_main()
|
A D | test-rawmemchr.c | 46 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test() 127 n, impl->name, align, seek_char, len, pos, in do_random_tests() 144 printf ("\t%s", impl->name); in test_main()
|
A D | tst-cmp.c | 151 const char *name; in do_test() member 205 for (int func = 0; functions[func].name != NULL; ++func) in do_test() 217 functions[func].name, actual, in do_test()
|
A D | test-strlen.c | 68 error (0, 0, "Wrong result in function %s %zd %zd", impl->name, in do_one_test() 126 n, impl->name, align, CALL (impl, (CHAR *) (p + align)), in do_random_tests() 142 printf ("\t%s", impl->name); in test_main()
|
A D | test-memcpy-support.h | 67 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test() 78 impl->name, dst, (int)len, dst, src, (int)len, src, len); in do_one_test() 158 impl->name, dest, src, i); in do_test1()
|
A D | test-memrchr.c | 45 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test() 131 n, impl->name, align, seek_char, len, pos, in do_random_tests() 148 printf ("\t%s", impl->name); in test_main()
|
A D | test-strnlen.c | 65 error (0, 0, "Wrong result in function %s %zd %zd", impl->name, in do_one_test() 161 n, impl->name, align, in do_random_tests() 168 n, impl->name, align, in do_random_tests() 175 n, impl->name, align, in do_random_tests() 274 printf ("\t%s", impl->name); in test_main()
|
A D | test-strrchr.c | 68 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test() 185 n, impl->name, align, seek_char, len, pos, in do_random_tests() 201 printf ("\t%s", impl->name); in test_main()
|
A D | test-memmem.c | 68 error (0, 0, "Wrong result in function %s %p %p", impl->name, in check_result() 165 printf ("\t%s", impl->name); in test_main()
|
A D | test-strcasecmp.c | 71 error (0, 0, "Wrong result in function %s %d %d", impl->name, in do_one_test() 202 n, impl->name, align1, align2, len1, len2, pos, r, result, p1, p2); in do_random_tests() 222 printf ("\t%s", impl->name); in test_locale()
|
A D | test-strspn.c | 98 error (0, 0, "Wrong result in function %s %p %p", impl->name, in do_one_test() 202 n, impl->name, align, acc, alen, pos, len, in do_random_tests() 219 printf ("\t%s", impl->name); in test_main()
|
A D | test-memchr.c | 68 impl->name, s, c, n, res, exp_res); in do_one_test() 191 n, impl->name, align, seek_char, len, pos, in do_random_tests() 208 printf ("\t%s", impl->name); in test_main()
|
A D | test-strchr.c | 107 error (0, 0, "Wrong result in function %s %#x %p %p", impl->name, in check_result() 222 n, impl->name, align * sizeof (CHAR), seek_char, len, pos, in do_random_tests() 251 printf ("\t%s", impl->name); in test_main()
|