/external/strace/ |
D | unwind.c | 177 n = asprintf(&output_line, in sprint_call_or_error() 188 n = asprintf(&output_line, STACK_ENTRY_NOSYMBOL_FMT); in sprint_call_or_error() 191 ? asprintf(&output_line, STACK_ENTRY_ERROR_WITH_OFFSET_FMT) in sprint_call_or_error() 192 : asprintf(&output_line, STACK_ENTRY_ERROR_FMT); in sprint_call_or_error() 194 n = asprintf(&output_line, STACK_ENTRY_BUG_FMT, __func__); in sprint_call_or_error()
|
D | socketutils.c | 188 if (asprintf(&details, "%s:[%s%s%s:%u->%s%s%s:%u]", proto_name, in inet_parse_response() 194 if (asprintf(&details, "%s:[%s%s%s:%u]", in inet_parse_response() 357 if (asprintf(&details, "%s:[%lu%s%s]", proto_name, inode, in unix_parse_response() 406 if (asprintf(&details, "%s:[%s:%u]", proto_name, in netlink_parse_response() 410 if (asprintf(&details, "%s:[%u]", proto_name, in netlink_parse_response()
|
/external/elfutils/libdwfl/ |
D | linux-kernel-modules.c | 135 if (asprintf (&zname, "%s%s", *fname, vmlinux_suffixes[i]) > 0) in try_kernel_name() 178 ? asprintf (fname, "%s/vmlinux", release) in find_kernel_elf() 179 : asprintf (fname, "/boot/vmlinux-%s", release)) < 0) in find_kernel_elf() 186 if (asprintf (fname, MODULEDIRFMT "/vmlinux", release) < 0) in find_kernel_elf() 278 ? asprintf (&archive, "%s/debug.a", *release) in report_kernel_archive() 279 : asprintf (&archive, MODULEDIRFMT "/debug.a", *release)); in report_kernel_archive() 362 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) in dwfl_linux_kernel_report_offline() 629 if (asprintf (&dirs[0], MODNOTESFMT, mod->name) < 0) in check_module_notes() 763 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) in dwfl_linux_kernel_find_elf() 870 if (asprintf (&sysfile, SECADDRDIRFMT "%s", modname, secname) < 0) in INTDEF() [all …]
|
D | linux-proc-maps.c | 63 if (asprintf (&fname, PROCEXEFMT, pid) < 0) in get_pid_class() 99 if (asprintf (&fname, PROCAUXVFMT, pid) < 0) in grovel_auxv() 242 if (asprintf (&last_file, "[vdso: %d]", (int) pid) < 0 in proc_maps_report() 306 if (asprintf (&fname, PROCMAPSFMT, pid) < 0) in INTDEF() 417 if (asprintf (&fname, PROCMEMFMT, pid) < 0) in dwfl_linux_proc_find_elf()
|
D | find-debuginfo.c | 55 else if ((subdir == NULL ? asprintf (&fname, "%s/%s", dir, debuglink) in try_open() 56 : dir == NULL ? asprintf (&fname, "%s/%s", subdir, debuglink) in try_open() 57 : asprintf (&fname, "%s/%s/%s", dir, subdir, debuglink)) < 0) in try_open()
|
/external/f2fs-tools/fsck/ |
D | sload.c | 69 if (asprintf(&mnt_path, "%s%s", c.mount_point, path) <= 0) { in set_selinux_xattr() 101 if (asprintf(&mnt_path, "%s%s", c.mount_point, de->path) <= 0) { in set_perms_and_caps() 196 ret = asprintf(&dentries[i].path, "%s%s", in build_directory() 199 ret = asprintf(&dentries[i].full_path, "%s/%s", in build_directory() 220 ret = asprintf(&subdir_full_path, "%s", in build_directory() 223 ret = asprintf(&subdir_dir_path, "%s/", in build_directory()
|
/external/ltp/lib/ |
D | self_exec.c | 42 int asprintf(char **app, const char *fmt, ...) in asprintf() function 191 if (asprintf(&arg, "%s,%d", arg, ival) < 0) { in self_exec() 200 if (asprintf(&arg, "%s,%s", arg, str) < 0) { in self_exec()
|
D | tst_module.c | 45 if (asprintf(&buf, "%s/testcases/bin/%s", in tst_module_exists() 57 if (asprintf(&buf, "%s/%s", tst_get_startwd(), in tst_module_exists()
|
/external/conscrypt/common/src/jni/main/cpp/conscrypt/ |
D | jniutil.cc | 88 (void)asprintf(&msg, "Native registration unable to find class '%s'; aborting...", in jniRegisterNativeMethods() 95 (void)asprintf(&msg, "RegisterNatives failed for '%s'; aborting...", className); in jniRegisterNativeMethods() 455 if (asprintf(&str, "%s: ssl=%p: %s", message, ssl, sslErrorStr) <= 0) { in throwSSLExceptionWithSslErrors() 482 int ret = asprintf(&str, "%s\n%s (%s:%d %p:0x%08x)", in throwSSLExceptionWithSslErrors() 495 if (asprintf(&str, "%s, %s", allocStr, strerror(errno)) >= 0) { in throwSSLExceptionWithSslErrors() 501 if (asprintf(&str, ", error code is %d", sslErrorCode) >= 0) { in throwSSLExceptionWithSslErrors()
|
/external/selinux/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/e2fsprogs/contrib/android/ |
D | block_range.c | 48 len = asprintf(&buf, "%llu%s", range->start, sep); in write_block_ranges() 50 len = asprintf(&buf, "%llu-%llu%s", range->start, in write_block_ranges()
|
/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/mesa3d/src/glx/apple/ |
D | apple_glx_log.c | 110 asprintf(&_line, "%d", line); in _apple_glx_vlog() 118 asprintf(&_thread, "%"PRIu64, thread); in _apple_glx_vlog()
|
/external/libxkbcommon/xkbcommon/src/compose/ |
D | paths.c | 159 ret = asprintf(&path, "%s/.XCompose", home); in get_home_xcompose_file_path() 197 ret = asprintf(&path, "%s/%s", xlocaledir, resolved); in get_locale_compose_file_path()
|
/external/ltp/testcases/realtime/func/periodic_cpu_load/ |
D | periodic_cpu_load_single.c | 103 if (asprintf(&samples_filename, "%s-samples", filename_prefix) == -1) { in periodic_thread() 109 if (asprintf(&hist_filename, "%s-hist", filename_prefix) == -1) { in periodic_thread()
|
/external/iproute2/tc/ |
D | e_bpf.c | 142 ret = asprintf(&tmp, "BPF_NUM_MAPS=%u", aux.num_ent); in parse_bpf() 149 ret = asprintf(&tmp, "BPF_MAP%u=%u", in parse_bpf()
|
/external/selinux/libselinux/src/ |
D | procattr.c | 88 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); in openattr() 90 rc = asprintf(&path, "/proc/thread-self/attr/%s", attr); in openattr() 98 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); in openattr()
|
D | selinux_config.c | 222 if (asprintf(&selinux_policyroot, "%s%s", SELINUXDIR, selinux_policytype) == -1) in init_selinux_config() 226 if (asprintf(&file_paths[i], "%s%s", in init_selinux_config() 296 if (asprintf(&file_paths[i], "%s%s", in selinux_set_policy_root()
|
/external/clang/test/Sema/ |
D | format-strings.c | 15 int asprintf(char **, const char *, ...); 37 asprintf(&b,s); // expected-warning {{format string is not a string lit}} in check_string_literal() 87 asprintf(&b,s); // expected-warning {{format string is not a string lit}} in check_string_literal2() 303 …asprintf(&b, "%d", "asprintf"); // expected-warning{{format specifies type 'int' but the argument … in test12()
|
/external/mesa3d/src/util/ |
D | disk_cache.c | 445 if (asprintf(&filename, "%s/%c%c/%s", cache->path, buf[0], in get_cache_file() 464 if (asprintf(&dir, "%s/%c%c", cache->path, buf[0], buf[1]) == -1) in make_cache_file_directory() 523 if (asprintf(&filename, "%s/%s", dir_path, lru_name) < 0) in choose_lru_file_matching() 587 if (asprintf(&subdir, "%s/%s", path, d_name) == -1) in is_two_character_sub_directory() 621 if (asprintf(&dir_path, "%s/%02" PRIx64 , cache->path, rand64 & 0xff) < 0) in evict_lru_item() 861 if (asprintf(&filename_tmp, "%s.tmp", filename) == -1) in cache_put()
|
/external/compiler-rt/test/asan/TestCases/Posix/ |
D | asprintf.cc | 13 int res = asprintf(&p, "%d", argc); in main()
|
/external/selinux/restorecond/ |
D | watch.c | 137 if (asprintf(&path, "%s/%s", ptr->dir, file) < in watch_list_find() 244 if (asprintf(&ptr, "%s%s", homedir, &buffer[1]) < 0) in process_config()
|
/external/curl/lib/ |
D | mprintf.c | 170 struct asprintf { struct 1031 struct asprintf *infop = (struct asprintf *)data; in alloc_addbyter() 1070 struct asprintf info; in curl_maprintf() 1095 struct asprintf info; in curl_mvaprintf()
|
/external/strace/tests-m32/ |
D | mq.c | 48 if (asprintf(&name, "/strace-mq-%u.sample", getpid()) < 0) in main()
|