Home
last modified time | relevance | path

Searched refs:xasprintf (Results 1 – 25 of 114) sorted by relevance

12345

/glibc-2.36/resolv/
Dtst-resolv-nondecimal.c47 char *context = xasprintf ("getaddrinfo \"%s\" AF_INET", quoted_query); in run_query_addrinfo()
48 char *expected = xasprintf ("address: STREAM/TCP %s 80\n", address); in run_query_addrinfo()
56 context = xasprintf ("getaddrinfo \"%s\" AF_UNSPEC", quoted_query); in run_query_addrinfo()
65 context = xasprintf ("getaddrinfo \"%s\" AF_INET6", quoted_query); in run_query_addrinfo()
66 expected = xasprintf ("flags: AI_V4MAPPED\n" in run_query_addrinfo()
85 char *context = xasprintf ("gethostbyname (\"%s\")", quoted_query); in run_query()
86 char *expected = xasprintf ("name: %s\n" in run_query()
91 context = xasprintf ("gethostbyname_r \"%s\"", quoted_query); in run_query()
100 context = xasprintf ("gethostbyname2 (\"%s\", AF_INET)", quoted_query); in run_query()
104 context = xasprintf ("gethostbyname2_r \"%s\" AF_INET", quoted_query); in run_query()
Dtst-resolv-basic.c127 char *query = xasprintf ("gethostbyname (\"%s\")", name); in check_h()
132 char *query = xasprintf ("gethostbyname2 (\"%s\", %d)", name, family); in check_h()
149 char *query = xasprintf ("gethostbyname (\"%s\") %u/%u", in check_h()
168 char *query = xasprintf ("gethostbyname2 (\"%s\", %d) %u/%u", in check_h()
194 char *query = xasprintf ("%s:%s [%d]/0x%x", name, service, in check_ai_hints()
290 char *name = xasprintf ("%s%s.example", in test_nodata_nxdomain()
Dtst-resolv-txnid-collision.c285 char *expected = xasprintf ("name: %s\n" in test_qname()
292 char *expected = xasprintf ("name: %s\n" in test_qname()
323 char *qname = xasprintf ("reorder-%d-%d.rcode-%d.example.net", in do_test()
Dtst-resolv-search.c207 char *query = xasprintf ("gethostbyname (\"%s\")", name); in do_get()
211 char *query = xasprintf ("gethostbyname2 (\"%s\", %d)", name, family); in do_get()
262 char *query = xasprintf ("%s:80 [%d]", name, family); in do_gai()
/glibc-2.36/io/
Dtst-file_change_detection.c63 char *path_dangling = xasprintf ("%s/dangling", tempdir); in do_test()
64 char *path_does_not_exist = xasprintf ("%s/does-not-exist", tempdir); in do_test()
65 char *path_empty1 = xasprintf ("%s/empty1", tempdir); in do_test()
66 char *path_empty2 = xasprintf ("%s/empty2", tempdir); in do_test()
67 char *path_fifo = xasprintf ("%s/fifo", tempdir); in do_test()
68 char *path_file1 = xasprintf ("%s/file1", tempdir); in do_test()
69 char *path_file2 = xasprintf ("%s/file2", tempdir); in do_test()
70 char *path_loop = xasprintf ("%s/loop", tempdir); in do_test()
71 char *path_to_empty1 = xasprintf ("%s/to-empty1", tempdir); in do_test()
72 char *path_to_file1 = xasprintf ("%s/to-file1", tempdir); in do_test()
Dtst-lchmod.c91 char *path_dangling = xasprintf ("%s/dangling", tempdir); in test_1()
92 char *path_file = xasprintf ("%s/file", tempdir); in test_1()
93 char *path_loop = xasprintf ("%s/loop", tempdir); in test_1()
94 char *path_missing = xasprintf ("%s/missing", tempdir); in test_1()
95 char *path_to_file = xasprintf ("%s/to-file", tempdir); in test_1()
Dtst-open-tmpfile.c97 char *proc_fd_path = xasprintf ("/proc/self/fd/%d", fd); in is_file_deteted()
148 return xasprintf ("tst-open-tmpfile-%08llx%08llx.tmp", bytes[0], bytes[1]); in get_random_name()
203 char *proc_fd_path = xasprintf ("/proc/self/fd/%d", fd); in check_wrapper_flags_mode()
/glibc-2.36/sysdeps/unix/sysv/linux/
Dtst-ttyname.c111 expected_name = xasprintf ("\"%s\"", expected.name); in eq_ttyname()
123 actual_name = xasprintf ("\"%s\"", actual.name); in eq_ttyname()
128 expected_name = xasprintf ("\"%s\"", expected.name); in eq_ttyname()
178 expected_name = xasprintf ("\"%s\"", expected.name); in eq_ttyname_r()
190 actual_name = xasprintf ("\"%s\"", actual.name); in eq_ttyname_r()
195 expected_name = xasprintf ("\"%s\"", expected.name); in eq_ttyname_r()
236 chrootdir = xasprintf ("%s/tst-ttyname-XXXXXX", test_dir); in prepare()
329 char *linkname = xasprintf ("/proc/self/fd/%d", slave); in do_in_chroot_1()
417 char *linkname = xasprintf ("/proc/self/fd/%d", slave); in do_in_chroot_2()
508 char *linkname = xasprintf ("/proc/self/fd/%d", slave); in run_chroot_tests()
[all …]
/glibc-2.36/elf/
Dtst-tls20.c47 char *buf = xasprintf ("tst-tls-manydynamic%02dmod.so", i); in load_mod()
63 char *buf = xasprintf ("tls_global_%02d", i); in access()
78 char *modsym = xasprintf ("tls_global_%d", i); in access_mod()
93 char *modname = xasprintf ("tst-tls-manydynamic%dmod-dep.so", i); in access_dep()
247 char *moddepname = xasprintf ("tst-tls-manydynamic%dmod-dep.so", in do_test_dependency()
325 char *moddepname = xasprintf ("tst-tls-manydynamic%dmod-dep-bad.so", in do_test_invalid_dependency()
Dtst-glibc-hwcaps-prepend-cache.c33 char *command = xasprintf ("%s/ldconfig", support_install_rootsbindir); in run_ldconfig()
53 char *src = xasprintf ("%s/elf/libmarkermod1-1.so", support_objdir_root); in do_test()
68 char *src = xasprintf ("%s/elf/libmarkermod1-2.so", support_objdir_root); in do_test()
92 char *src = xasprintf ("%s/elf/libmarkermod1-3.so", support_objdir_root); in do_test()
Dtst-glibc-hwcaps-cache.c33 char *command = xasprintf ("%s/ldconfig", support_install_rootsbindir); in main()
41 char *path = xasprintf ("%s/elf/tst-glibc-hwcaps", support_objdir_root); in main()
Dtst-glibc-hwcaps-2-cache.c33 char *command = xasprintf ("%s/ldconfig", support_install_rootsbindir); in main()
41 char *path = xasprintf ("%s/elf/tst-glibc-hwcaps-2", support_objdir_root); in main()
Dtst-ldconfig-ld_so_conf-update.c42 char *prog = xasprintf ("%s/ldconfig", support_install_rootsbindir); in run_ldconfig()
74 char *mod_src_path = xasprintf ("%s/tst-ldconfig-ld-mod.so", in do_test()
/glibc-2.36/posix/
Dtst-spawn-chdir.c123 char *iteration_directory = xasprintf ("%s/%d", directory, iteration); in do_test()
129 = xasprintf ("%s/output-file", iteration_directory); in do_test()
133 char *subdir_path = xasprintf ("%s/subdir", iteration_directory); in do_test()
139 = xasprintf ("%s/subdir/probe-file", iteration_directory); in do_test()
147 = xasprintf ("%s/subdir/pwd-symlink", iteration_directory); in do_test()
Dtst-spawn5.c115 char *path = xasprintf ("/proc/self/fd/%s", e->d_name); in handle_restart()
153 args[argc++] = xasprintf ("%d", lowfd); in spawn_closefrom_test()
156 args[argc++] = xasprintf ("%d", i); in spawn_closefrom_test()
159 args[argc++] = xasprintf ("%d", extrafds[i]); in spawn_closefrom_test()
/glibc-2.36/nss/
Dtst-nss-files-alias-leak.c48 char *path = xasprintf ("%s/etc/aliases", chroot_env->path_chroot); in prepare()
58 path = xasprintf ("%s/etc/aliases.user1", chroot_env->path_chroot); in prepare()
63 path = xasprintf ("%s/etc/aliases.user2", chroot_env->path_chroot); in prepare()
68 path = xasprintf ("%s/etc/aliases.comment", chroot_env->path_chroot); in prepare()
78 path = xasprintf ("%s/etc/aliases.many", chroot_env->path_chroot); in prepare()
/glibc-2.36/support/
Dsupport_chroot.c36 *abspath = xasprintf ("%s/%s", directory, relpath); in write_file()
51 char *path_etc = xasprintf ("%s/etc", chroot->path_chroot); in support_chroot_create()
65 char *path_tmp = xasprintf ("%s/tmp", chroot->path_chroot); in support_chroot_create()
Dtst-support_descriptors.c101 char *expected = xasprintf ("\nDifferences:\n" in test_run()
116 expected = xasprintf ("\nDifferences:\n" in test_run()
131 expected = xasprintf ("\nDifferences:\n" in test_run()
Dsupport_format_hostent.c47 return xasprintf ("error: NETDB_INTERNAL (errno %d, %m)\n", errno); in support_format_hostent()
51 char *result = xasprintf ("error: %s\n", value); in support_format_hostent()
/glibc-2.36/stdio-common/
Dtst-renameat2.c51 old_path = xasprintf ("%s/old", directory); in prepare()
53 new_path = xasprintf ("%s/new", directory); in prepare()
55 subdirectory = xasprintf ("%s/subdir", directory); in prepare()
59 subdir_path = xasprintf ("%s/file", subdirectory); in prepare()
/glibc-2.36/locale/programs/
Dlocaledef.c437 tp = xasprintf (gettext ("\ in more_help()
440 cp = xasprintf (gettext ("\ in more_help()
515 result = xasprintf ("%s%s/%s/", output_prefix ?: "", in construct_output_path()
518 result = xasprintf ("%s%s/%.*s%s%s/", in construct_output_path()
527 result = xasprintf ("%s/", path); in construct_output_path()
593 wp = retval = xasprintf ("%s%.*s", only_digit ? "iso" : "", len, codeset); in normalize_codeset()
/glibc-2.36/misc/
Dtst-gethostid.c73 char *path = xasprintf ("%s/etc", chroot_dir); in do_test()
77 path = xasprintf ("%s/etc/hosts", chroot_dir); in do_test()
/glibc-2.36/localedata/
Dtst-localedef-hardlinks.c64 output = xasprintf ("%s/%s", support_complocaledir_prefix, step.output); in check_link()
73 const char *prog = xasprintf ("%s/localedef", support_bindir_prefix); in run_localedef()
/glibc-2.36/locale/
Dtst-localedef-path-norm.c78 const char *path = xasprintf ("%s/%s", complocaledir, exp); in run_test()
102 prog = xasprintf ("%s/localedef", support_bindir_prefix); in do_test()
/glibc-2.36/stdlib/
Dtst-system.c91 char *returnerr = xasprintf ("%s: execing %s failed: " in do_test()
110 char *returnerr = xasprintf ("%s: execing %s failed: " in do_test()

12345