/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()
|
D | test_request_response_with_callback.c | 274 asprintf(&cmd1, "spdycat https://127.0.0.1:%i/ | md5sum",port); in childproc() 275 asprintf(&cmd2, "md5sum " DATA_DIR "spdy-draft.txt"); in childproc()
|
/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/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/libselinux/src/ |
D | procattr.c | 25 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); in openattr() 27 rc = asprintf(&path, "/proc/thread-self/attr/%s", attr); in openattr() 35 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); in openattr()
|
/external/strace/ |
D | unwind.c | 452 n = asprintf(&output_line, STACK_ENTRY_SYMBOL_FMT); in sprint_call_or_error() 454 n = asprintf(&output_line, STACK_ENTRY_NOSYMBOL_FMT); in sprint_call_or_error() 457 ? asprintf(&output_line, STACK_ENTRY_ERROR_WITH_OFFSET_FMT) in sprint_call_or_error() 458 : asprintf(&output_line, STACK_ENTRY_ERROR_FMT); in sprint_call_or_error() 460 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/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/conscrypt/src/openjdk/native/ |
D | JNIHelp.cpp | 75 (void)asprintf(&msg, "Native registration unable to find class '%s'; aborting...", in jniRegisterNativeMethods() 82 (void)asprintf(&msg, "RegisterNatives failed for '%s'; aborting...", className); in jniRegisterNativeMethods()
|
/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/selinux/libselinux/src/ |
D | procattr.c | 74 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); in openattr() 76 rc = asprintf(&path, "/proc/thread-self/attr/%s", attr); in openattr() 84 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); in openattr()
|
D | selinux_config.c | 219 if (asprintf(&selinux_policyroot, "%s%s", SELINUXDIR, type) == -1) in init_selinux_config() 223 if (asprintf(&file_paths[i], "%s%s", in init_selinux_config() 294 if (asprintf(&file_paths[i], "%s%s", in selinux_set_policy_root()
|
/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/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/compiler-rt/test/asan/TestCases/Posix/ |
D | asprintf.cc | 13 int res = asprintf(&p, "%d", argc); in main()
|
/external/autotest/client/site_tests/graphics_Gbm/src/ |
D | gbmtest.c | 135 ret = asprintf(&dev_name, DRM_DEV_NAME, DRM_DIR_NAME, i); in drm_open() 180 ret = asprintf(&name, g_sys_card_path_format, i); in drm_open_vgem() 189 ret = asprintf(&name, g_dev_card_path_format, i); in drm_open_vgem()
|
/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()
|