Home
last modified time | relevance | path

Searched refs:name (Results 1 – 25 of 35) sorted by relevance

12

/string/
A Dbug-envz1.c53 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 Denvz.c31 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 Dtest-ffs.c23 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 Dtest-string.h24 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 Dtest-sig_np.c33 #define N_(name) name argument
A Dtest-strcpy.c79 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 Dtest-strcat.c78 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 Dtest-strncpy.c100 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 Dtest-memccpy.c64 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 Dtest-memmove.c81 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 Dtest-memcpy.c101 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 Dtest-memset.c131 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 Dtest-strncat.c79 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 Dtest-rawmemchr.c46 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 Dtst-cmp.c151 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 Dtest-strlen.c68 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 Dtest-memcpy-support.h67 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 Dtest-memrchr.c45 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 Dtest-strnlen.c65 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 Dtest-strrchr.c68 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 Dtest-memmem.c68 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 Dtest-strcasecmp.c71 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 Dtest-strspn.c98 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 Dtest-memchr.c68 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 Dtest-strchr.c107 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()

Completed in 37 milliseconds

12