/external/libselinux/src/ |
D | procattr.c | 29 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); in getprocattrcon() 32 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); in getprocattrcon() 86 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); in setprocattrcon() 89 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); in setprocattrcon()
|
/external/elfutils/src/libdwfl/ |
D | linux-kernel-modules.c | 118 if (asprintf (&zname, "%s%s", *fname, vmlinux_suffixes[i]) > 0) in try_kernel_name() 155 ? asprintf (fname, "%s/vmlinux", release) in find_kernel_elf() 156 : asprintf (fname, "/boot/vmlinux-%s", release)) < 0) in find_kernel_elf() 163 if (asprintf (fname, MODULEDIRFMT "/vmlinux", release) < 0) in find_kernel_elf() 255 ? asprintf (&archive, "%s/debug.a", *release) in report_kernel_archive() 256 : asprintf (&archive, MODULEDIRFMT "/debug.a", *release)); in report_kernel_archive() 341 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) in dwfl_linux_kernel_report_offline() 564 if (asprintf (&dirs[0], MODNOTESFMT, mod->name) < 0) in check_module_notes() 679 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) in INTDEF() 796 if (asprintf (&sysfile, SECADDRDIRFMT "%s", modname, secname) < 0) in INTDEF() [all …]
|
D | linux-proc-maps.c | 59 if (asprintf (&fname, PROCEXEFMT, pid) < 0) in get_pid_class() 95 if (asprintf (&fname, PROCAUXVFMT, pid) < 0) in grovel_auxv() 234 if (asprintf (&last_file, "[vdso: %d]", (int) pid) < 0 in proc_maps_report() 295 if (asprintf (&fname, PROCMAPSFMT, pid) < 0) in INTDEF() 399 if (asprintf (&fname, PROCMEMFMT, pid) < 0) in dwfl_linux_proc_find_elf()
|
D | find-debuginfo.c | 51 else if ((subdir == NULL ? asprintf (&fname, "%s/%s", dir, debuglink) in try_open() 52 : dir == NULL ? asprintf (&fname, "%s/%s", subdir, debuglink) in try_open() 53 : asprintf (&fname, "%s/%s/%s", dir, subdir, debuglink)) < 0) in try_open()
|
D | offline.c | 185 if (unlikely (asprintf (&member_name, "%s(%s)", file_name, h->ar_name) < 0)) in process_archive_member() 197 else if (unlikely (asprintf (&module_name, "%s:%s", name, h->ar_name) < 0)) in process_archive_member()
|
/external/valgrind/coregrind/ |
D | launcher-darwin.c | 271 asprintf(&newclient, "%s/Contents/MacOS/%s", clientname, appname); in main() 291 …asprintf(&vgpreload_core, "%s/vgpreload_core-%s-darwin.so", valgrind_lib, valid_archs[i].valgrind_… in main() 375 asprintf(&new_line, VALGRIND_LAUNCHER "=%s", launcher_name); in main() 378 asprintf(&set_cwd, "VALGRIND_STARTUP_PWD_%u_XYZZY=%s", getppid(), cwd); in main() 414 asprintf(&toolfile, "%s/%s-%s-darwin", valgrind_lib, toolname, arch); in main()
|
/external/strace/ |
D | unwind.c | 464 n = asprintf(&output_line, STACK_ENTRY_SYMBOL_FMT); in sprint_call_or_error() 466 n = asprintf(&output_line, STACK_ENTRY_NOSYMBOL_FMT); in sprint_call_or_error() 469 ? asprintf(&output_line, STACK_ENTRY_ERROR_WITH_OFFSET_FMT) in sprint_call_or_error() 470 : asprintf(&output_line, STACK_ENTRY_ERROR_FMT); in sprint_call_or_error() 472 n = asprintf(&output_line, STACK_ENTRY_BUG_FMT, __FUNCTION__); in sprint_call_or_error()
|
/external/vboot_reference/cgpt/ |
D | cgpt_nor.c | 36 if (asprintf(&sysfs_name, "/sys/class/mtd%s/size", mtd_device) == -1) { in GetMtdSize() 107 if (asprintf(&dest, "%s_%d", src_name, idx) == -1) { in read_write() 156 if (asprintf(&source, "%s/%s", dir_name, file_name) == -1) { in split_gpt()
|
D | cgpt_wrapper.c | 102 if (asprintf(&real_cgpt, "%s.bin", argv[0]) == -1) { in wrap_cgpt() 171 if (asprintf(&real_cgpt, "%s.bin", argv[0]) == -1) { in main()
|
/external/selinux/policycoreutils/sandbox/ |
D | seunshare.c | 325 if (asprintf(&buf, "%s/*", src) == -1) { in rsynccmd() 343 if (asprintf(&newbuf, "\'%s\'", path) == -1) { in rsynccmd() 348 if (asprintf(&newbuf, "%s \'%s\'", buf, path) == -1) { in rsynccmd() 359 if (asprintf(&newbuf, "/usr/bin/rsync -trlHDq %s '%s'", buf, dst) == -1) { in rsynccmd() 389 …if (asprintf(&cmdbuf, "/usr/bin/rsync --exclude=.X11-unix -utrlHDq --delete '%s/' '%s/'", tmpdir, … in cleanup_tmpdir() 402 if (asprintf(&cmdbuf, "/bin/rm -r '%s/' 2>/dev/null", tmpdir) == -1) { in cleanup_tmpdir() 469 if (asprintf(&tmpdir, "/tmp/.sandbox-%s-XXXXXX", pwd->pw_name) == -1) { in create_tmpdir()
|
/external/mesa3d/src/glx/apple/ |
D | apple_glx_log.c | 109 asprintf(&_line, "%d", line); in _apple_glx_vlog() 117 asprintf(&_thread, "%"PRIu64, thread); in _apple_glx_vlog()
|
/external/clang/test/Sema/ |
D | format-strings.c | 15 int asprintf(char **, const char *, ...); 35 asprintf(&b,s); // expected-warning {{format string is not a string lit}} in check_string_literal() 75 asprintf(&b,s); // expected-warning {{format string is not a string lit}} in check_string_literal2() 269 …asprintf(&b, "%d", "asprintf"); // expected-warning{{format specifies type 'int' but the argument … in test12()
|
/external/linux-tools-perf/src/tools/perf/arch/ |
D | common.c | 159 if (asprintf(&buf, "%s%s", cross_env, name) < 0) in perf_session_env__lookup_binutils_path() 204 if (asprintf(&buf, "%s%s", path_list[idx], name) < 0) in perf_session_env__lookup_binutils_path()
|
/external/conscrypt/src/compat/native/ |
D | JNIHelp.cpp | 79 asprintf(&msg, "Native registration unable to find class '%s'; aborting...", className); in jniRegisterNativeMethods() 85 asprintf(&msg, "RegisterNatives failed for '%s'; aborting...", className); in jniRegisterNativeMethods()
|
/external/selinux/libselinux/src/ |
D | selinux_config.c | 220 if (asprintf(&selinux_policyroot, "%s%s", SELINUXDIR, type) == -1) in init_selinux_config() 224 if (asprintf(&file_paths[i], "%s%s", in init_selinux_config() 295 if (asprintf(&file_paths[i], "%s%s", in selinux_set_policy_root()
|
D | procattr.c | 96 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); in openattr() 100 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); in openattr()
|
/external/linux-tools-perf/src/tools/perf/tests/ |
D | python-use.c | 16 if (asprintf(&cmd, "echo \"import sys ; sys.path.append('%s'); import perf\" | %s %s", in test__python_use()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | asprintf.cc | 13 int res = asprintf(&p, "%d", argc); in main()
|
/external/linux-tools-perf/src/tools/perf/ui/browsers/ |
D | hists.c | 468 if (asprintf(&alloc_str, "%2.2f%% %s", percent, str) < 0) in hist_browser__show_callchain_node_rb_tree() 1044 if (asprintf(&alloc_str, "%2.2f%% %s", percent, str) < 0) in hist_browser__fprintf_callchain_node_rb_tree() 1555 asprintf(&options[nr_options], "Annotate %s", in perf_evsel__hists_browse() 1565 asprintf(&options[nr_options], "Annotate %s", in perf_evsel__hists_browse() 1573 asprintf(&options[nr_options], "Annotate %s", in perf_evsel__hists_browse() 1579 asprintf(&options[nr_options], "Zoom %s %s(%d) thread", in perf_evsel__hists_browse() 1586 asprintf(&options[nr_options], "Zoom %s %s DSO", in perf_evsel__hists_browse() 1593 asprintf(&options[nr_options], "Browse map details") > 0) in perf_evsel__hists_browse() 1600 if (asprintf(&options[nr_options], "Run scripts for samples of thread [%s]", in perf_evsel__hists_browse() 1606 asprintf(&options[nr_options], "Run scripts for samples of symbol [%s]", in perf_evsel__hists_browse() [all …]
|
/external/selinux/policycoreutils/restorecond/ |
D | watch.c | 125 if (asprintf(&path, "%s/%s", ptr->dir, file) < in watch_list_find() 231 if (asprintf(&ptr, "%s%s", homedir, &buffer[1]) < 0) in process_config()
|
D | utmpwatcher.c | 90 if (asprintf(&path, "%s%s", pwd->pw_dir, file) < 0) in watch_file()
|
/external/elfutils/src/src/ |
D | arlib-argp.c | 65 if (unlikely (asprintf (&new_text, gettext ("%s (default)"), text) < 0)) in help_filter()
|
/external/bison/lib/ |
D | stdio.in.h | 1107 # define asprintf rpl_asprintf 1109 _GL_FUNCDECL_RPL (asprintf, int, 1113 _GL_CXXALIAS_RPL (asprintf, int, 1117 _GL_FUNCDECL_SYS (asprintf, int, 1122 _GL_CXXALIAS_SYS (asprintf, int, 1125 _GL_CXXALIASWARN (asprintf);
|
/external/openssh/openbsd-compat/ |
D | bsd-asprintf.c | 89 int asprintf(char **str, const char *fmt, ...) in asprintf() function
|
/external/bison/linux-lib/ |
D | stdio.h | 1419 # define asprintf rpl_asprintf 1421 _GL_FUNCDECL_RPL (asprintf, int, 1425 _GL_CXXALIAS_RPL (asprintf, int, 1429 _GL_FUNCDECL_SYS (asprintf, int, 1434 _GL_CXXALIAS_SYS (asprintf, int, 1437 _GL_CXXALIASWARN (asprintf);
|