/external/libmicrohttpd/src/examples/ |
D | mhd2spdy_structures.c | 88 asprintf(&((*uri)->scheme), "%.*s",pmatch[2].rm_eo - pmatch[2].rm_so, &full_uri[pmatch[2].rm_so]); in parse_uri() 89 …asprintf(&((*uri)->host_and_port), "%.*s",pmatch[4].rm_eo - pmatch[4].rm_so, &full_uri[pmatch[4].r… in parse_uri() 90 asprintf(&((*uri)->path), "%.*s",pmatch[5].rm_eo - pmatch[5].rm_so, &full_uri[pmatch[5].rm_so]); in parse_uri() 91 …asprintf(&((*uri)->path_and_more), "%.*s",pmatch[9].rm_eo - pmatch[5].rm_so, &full_uri[pmatch[5].r… in parse_uri() 92 asprintf(&((*uri)->query), "%.*s",pmatch[7].rm_eo - pmatch[7].rm_so, &full_uri[pmatch[7].rm_so]); in parse_uri() 93 …asprintf(&((*uri)->fragment), "%.*s",pmatch[9].rm_eo - pmatch[9].rm_so, &full_uri[pmatch[9].rm_so]… in parse_uri() 111 asprintf(&((*uri)->host), "%.*s", (int)(colon - (*uri)->host_and_port), (*uri)->host_and_port); in parse_uri()
|
D | spdy_event_loop.c | 190 asprintf(data,"%s%s: %s\n", *data,name,value[i]); in append_headers_to_data() 193 asprintf(data,"%s%s: \n", *data,name); in append_headers_to_data() 222 asprintf(&html,"body{color:green;}"); in standard_request_handler() 224 asprintf(&html,"body{color:red;}"); in standard_request_handler() 234 …asprintf(&data,"Priority: %i\nHTTP headers, scheme: %s\n\n%s %s %s\nHost: %s\n", priority,scheme,m… in standard_request_handler() 240 asprintf(&html,"<html>" in standard_request_handler() 246 asprintf(&html,"<html><link href=\"main.css\" rel=\"stylesheet\" type=\"text/css\" />" in standard_request_handler() 263 asprintf(&pathcls, "%s (daemon%i)",path,NULL==cls ? 1 : 2); in standard_request_handler()
|
D | spdy_response_with_callback.c | 125 asprintf(&html,"<html>" in standard_request_handler() 131 asprintf(&html,"<html>" in standard_request_handler()
|
/external/libmicrohttpd/src/testspdy/ |
D | test_proxies.c | 118 asprintf(&port_s, "%i", mhd_port); in main() 144 asprintf(&port_s, "%i", spdy2http_port); in main() 169 asprintf(&url, "http://127.0.0.1:%i", spdy2http_port); in main() 170 asprintf(&port_s, "%i", mhd2spdy_port); in main() 199 asprintf (&cmd, "curl --proxy http://127.0.0.1:%i http://127.0.0.1:%i/", mhd2spdy_port, mhd_port); in main()
|
/external/elfutils/libdwfl/ |
D | linux-kernel-modules.c | 120 if (asprintf (&zname, "%s%s", *fname, vmlinux_suffixes[i]) > 0) in try_kernel_name() 156 ? asprintf (fname, "%s/vmlinux", release) in find_kernel_elf() 157 : asprintf (fname, "/boot/vmlinux-%s", release)) < 0) in find_kernel_elf() 164 if (asprintf (fname, MODULEDIRFMT "/vmlinux", release) < 0) in find_kernel_elf() 256 ? asprintf (&archive, "%s/debug.a", *release) in report_kernel_archive() 257 : asprintf (&archive, MODULEDIRFMT "/debug.a", *release)); in report_kernel_archive() 340 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) in dwfl_linux_kernel_report_offline() 581 if (asprintf (&dirs[0], MODNOTESFMT, mod->name) < 0) in check_module_notes() 718 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) in dwfl_linux_kernel_find_elf() 825 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() 237 if (asprintf (&last_file, "[vdso: %d]", (int) pid) < 0 in proc_maps_report() 298 if (asprintf (&fname, PROCMAPSFMT, pid) < 0) in INTDEF() 409 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()
|
/external/ltp/lib/ |
D | self_exec.c | 41 int asprintf(char **app, const char *fmt, ...) in asprintf() function 194 if (asprintf(&arg, "%s,%d", arg, ival) < 0) { in self_exec() 203 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/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/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/f2fs-tools/fsck/ |
D | sload.c | 95 ret = asprintf(&dentries[i].path, "%s/%s", in build_directory() 98 ret = asprintf(&dentries[i].full_path, "%s/%s", in build_directory() 162 ret = asprintf(&subdir_full_path, "%s/", in build_directory() 165 ret = asprintf(&subdir_dir_path, "%s/", in build_directory()
|
/external/strace/ |
D | unwind.c | 459 n = asprintf(&output_line, STACK_ENTRY_SYMBOL_FMT); in sprint_call_or_error() 461 n = asprintf(&output_line, STACK_ENTRY_NOSYMBOL_FMT); in sprint_call_or_error() 464 ? asprintf(&output_line, STACK_ENTRY_ERROR_WITH_OFFSET_FMT) in sprint_call_or_error() 465 : asprintf(&output_line, STACK_ENTRY_ERROR_FMT); in sprint_call_or_error() 467 n = asprintf(&output_line, STACK_ENTRY_BUG_FMT, __func__); in sprint_call_or_error()
|
D | socketutils.c | 177 if (asprintf(&details, "%s:[%s:%u->%s:%u]", proto_name, in inet_parse_response() 182 if (asprintf(&details, "%s:[%s:%u]", proto_name, src_buf, in inet_parse_response() 336 if (asprintf(&details, "%s:[%lu%s%s]", proto_name, inode, in unix_parse_response() 386 if (asprintf(&details, "%s:[%s:%u]", proto_name, in netlink_parse_response() 390 if (asprintf(&details, "%s:[%u]", proto_name, in netlink_parse_response()
|
/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/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/conscrypt/common/src/jni/main/include/ |
D | Errors.h | 411 if (asprintf(&str, "%s: ssl=%p: %s", message, ssl, sslErrorStr) <= 0) { 437 int ret = asprintf(&str, "%s\n%s (%s:%d %p:0x%08x)", 450 if (asprintf(&str, "%s, %s", allocStr, strerror(errno)) >= 0) { 456 if (asprintf(&str, ", error code is %d", sslErrorCode) >= 0) {
|
D | JniUtil.h | 104 (void)asprintf(&msg, "Native registration unable to find class '%s'; aborting...", in getJNIEnv() 111 (void)asprintf(&msg, "RegisterNatives failed for '%s'; aborting...", className); in getJNIEnv()
|
/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/libmicrohttpd/src/spdy2http/ |
D | proxy.c | 251 asprintf(&((*uri)->scheme), in parse_uri() 255 asprintf(&((*uri)->host_and_port), "%.*s", in parse_uri() 258 asprintf(&((*uri)->path), in parse_uri() 262 asprintf(&((*uri)->path_and_more), in parse_uri() 266 asprintf(&((*uri)->query), in parse_uri() 270 asprintf(&((*uri)->fragment), in parse_uri() 305 asprintf(&((*uri)->host), "%.*s", (int)(colon - (*uri)->host_and_port), (*uri)->host_and_port); in parse_uri() 882 ret = asprintf(&(proxy->url),"%s://%s%s", scheme, glob_opt.http_backend, path); in standard_request_handler() 884 ret = asprintf(&(proxy->url),"%s://%s%s", scheme, host, path); in standard_request_handler() 901 … ret = asprintf(&(proxy->url),"%s://%s%s", uri->scheme, glob_opt.http_backend, uri->path_and_more); in standard_request_handler()
|
/external/syslinux/libinstaller/ |
D | advio.c | 50 rv = asprintf(&file, "%s%s%s", path, in read_adv() 103 rv = asprintf(&file, "%s%s%s", path, in write_adv()
|
/external/selinux/libselinux/src/ |
D | procattr.c | 77 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); in openattr() 79 rc = asprintf(&path, "/proc/thread-self/attr/%s", attr); in openattr() 87 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); in openattr()
|
/external/iproute2/tc/ |
D | e_bpf.c | 145 ret = asprintf(&tmp, "BPF_NUM_MAPS=%u", aux.num_ent); in parse_bpf() 152 ret = asprintf(&tmp, "BPF_MAP%u=%u", in parse_bpf()
|
/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()
|