/third_party/mesa3d/src/freedreno/rnn/ |
D | rnndec.c | 189 asprintf (&res, "%s%s%s", ctx->colors->eval, ctmp, ctx->colors->reset); in rnndec_decodeval() 218 asprintf (&res, "%s%s%s", color, bitfields[i]->name, ctx->colors->reset); in rnndec_decodeval() 220 asprintf (&tmp, "%s | %s%s%s", res, color, bitfields[i]->name, ctx->colors->reset); in rnndec_decodeval() 232 asprintf (&subval, "%s%#"PRIx64"%s", ctx->colors->err, field_val, ctx->colors->reset); in rnndec_decodeval() 237 …asprintf (&res, "%s%s%s = %s", ctx->colors->rname, bitfields[i]->name, ctx->colors->reset, subval); in rnndec_decodeval() 239 …asprintf (&tmp, "%s | %s%s%s = %s", res, ctx->colors->rname, bitfields[i]->name, ctx->colors->rese… in rnndec_decodeval() 247 asprintf (&res, "%s%#"PRIx64"%s", ctx->colors->err, value & ~mask, ctx->colors->reset); in rnndec_decodeval() 249 … asprintf (&tmp, "%s | %s%#"PRIx64"%s", res, ctx->colors->err, value & ~mask, ctx->colors->reset); in rnndec_decodeval() 255 asprintf (&res, "%s0%s", ctx->colors->num, ctx->colors->reset); in rnndec_decodeval() 256 asprintf (&tmp, "{ %s }", res); in rnndec_decodeval() [all …]
|
D | headergen2.c | 159 asprintf(&typename, "enum %s", ti->name); in printtypeinfo() 245 asprintf(&offsetfn, "__offset_%s", elem->name); in printdelem() 255 asprintf(®name, "REG_%s_%s", elem->fullname, str); in printdelem() 257 asprintf(®name, "REG_%s", elem->fullname); in printdelem()
|
/third_party/musl/libc-test/src/functionalext/supplement/stdio/ |
D | asprintf.c | 33 n = asprintf(&testStr, "%s", buf); in asprintf_0100() 49 n = asprintf(&testStr, "%s", buf); in asprintf_0200() 65 n = asprintf(&testStr, "%s", buf); in asprintf_0300() 81 n = asprintf(&testStr, "%s", buf); in asprintf_0400() 97 n = asprintf(&testStr, "%s", buf); in asprintf_0500() 113 n = asprintf(&testStr, "%s", buf); in asprintf_0600() 129 n = asprintf(&testStr, "%s", buf); in asprintf_0700() 145 n = asprintf(&testStr, "%s", buf); in asprintf_0800() 161 n = asprintf(&testStr, "%s", buf); in asprintf_0900()
|
/third_party/skia/third_party/externals/microhttpd/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()
|
/third_party/elfutils/libdwfl/ |
D | linux-kernel-modules.c | 135 if (asprintf (&zname, "%s%s", *fname, vmlinux_suffixes[i]) > 0) in try_kernel_name() 181 ? asprintf (fname, "%s/vmlinux", release) in find_kernel_elf() 182 : asprintf (fname, "/boot/vmlinux-%s", release)) < 0)) in find_kernel_elf() 189 if (asprintf (fname, MODULEDIRFMT "/vmlinux", release) < 0) in find_kernel_elf() 201 ? asprintf (fname, "%s/vmlinuz", release) in find_kernel_elf() 202 : asprintf (fname, "/boot/vmlinuz-%s", release)) < 0) in find_kernel_elf() 209 if (asprintf (fname, MODULEDIRFMT "/vmlinuz", release) < 0) in find_kernel_elf() 308 ? asprintf (&archive, "%s/debug.a", *release) in report_kernel_archive() 309 : asprintf (&archive, MODULEDIRFMT "/debug.a", *release)); in report_kernel_archive() 395 if (asprintf (&modulesdir[0], MODULEDIRFMT, release) < 0) in dwfl_linux_kernel_report_offline() [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 | 54 else if ((subdir == NULL ? asprintf (&fname, "%s/%s", dir, debuglink) in try_open() 55 : dir == NULL ? asprintf (&fname, "%s/%s", subdir, debuglink) in try_open() 56 : asprintf (&fname, "%s/%s/%s", dir, subdir, debuglink)) < 0) in try_open()
|
/third_party/skia/third_party/externals/microhttpd/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()
|
/third_party/f2fs-tools/fsck/ |
D | sload.c | 80 if (asprintf(&mnt_path, "%s%s", c.mount_point, path) <= 0) { in set_selinux_xattr() 121 if (asprintf(&mnt_path, "%s%s", mount_path, de->path) <= 0) { in set_perms_and_caps() 229 ret = asprintf(&dentries[i].path, "%s%s", in build_directory() 232 ret = asprintf(&dentries[i].full_path, "%s/%s", in build_directory() 255 ret = asprintf(&subdir_full_path, "%s", in build_directory() 258 ret = asprintf(&subdir_dir_path, "%s/", in build_directory()
|
/third_party/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_()
|
/third_party/skia/third_party/externals/microhttpd/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()
|
/third_party/mesa3d/src/util/ |
D | anon_file.c | 144 asprintf(&name, "%s/mesa-shared-%s-XXXXXX", path, debug_name); in os_create_anonymous_file() 146 asprintf(&name, "%s/mesa-shared-XXXXXX", path); in os_create_anonymous_file()
|
D | disk_cache_os.c | 292 if (asprintf(&e->lru_name, "%s/%s", dir_path, filename) < 0) in choose_lru_file_matching() 358 if (asprintf(&subdir, "%s/%s", path, d_name) == -1) in is_two_character_sub_directory() 393 if (asprintf(&dir, "%s/%c%c", cache->path, buf[0], buf[1]) == -1) in make_cache_file_directory() 442 if (asprintf(&dir_path, "%s/%02" PRIx64 , cache->path, rand64 & 0xff) < 0) in disk_cache_evict_lru_item() 627 if (asprintf(&filename, "%s/%c%c/%s", cache->path, buf[0], in disk_cache_get_cache_filename() 712 if (asprintf(&filename_tmp, "%s.tmp", filename) == -1) in disk_cache_write_item_to_disk()
|
/third_party/mesa3d/src/glx/apple/ |
D | apple_glx_log.c | 100 asprintf(&_line, "%d", line); in _apple_glx_vlog() 108 asprintf(&_thread, "%"PRIu64, thread); in _apple_glx_vlog()
|
/third_party/cups-filters/backend/ |
D | cups-brf.c | 96 if (asprintf(&dir, "%s/BRF", pw->pw_dir) < 0) { in main() 122 if (asprintf(&outfile, "%s/%s.XXXXXX.brf", dir, title) < 0) { in main()
|
/third_party/selinux/libselinux/src/ |
D | procattr.c | 90 rc = asprintf(&path, "/proc/%d/attr/%s", pid, attr); in openattr() 92 rc = asprintf(&path, "/proc/thread-self/attr/%s", attr); in openattr() 100 rc = asprintf(&path, "/proc/self/task/%d/attr/%s", tid, attr); in openattr()
|
D | selinux_config.c | 231 if (asprintf(&selinux_policyroot, "%s%s", SELINUXDIR, selinux_policytype) == -1) in init_selinux_config() 235 if (asprintf(&file_paths[i], "%s%s", in init_selinux_config() 303 if (asprintf(&file_paths[i], "%s%s", in selinux_set_policy_root()
|
/third_party/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()
|
/third_party/mesa3d/src/loader/ |
D | loader.c | 290 if (asprintf(&tag, "pci-%04x_%02x_%02x_%1u", in drm_construct_id_path_tag() 316 if (asprintf(&tag, "platform-%s_%s", address, name) < 0) in drm_construct_id_path_tag() 319 if (asprintf(&tag, "platform-%s", name) < 0) in drm_construct_id_path_tag() 612 if (asprintf(&name, "%s_%s", __DRI_DRIVER_GET_EXTENSIONS, driver_name) < 0) in loader_get_extensions_name()
|
/third_party/mesa3d/src/freedreno/perfcntrs/ |
D | freedreno_dt.c | 67 (void)asprintf(&path, "%s/%s", dev.dtnode, node); in readdt() 100 (void)asprintf(&path, "%s/%s", dev.dtnode, "qcom,gpu-pwrlevels"); in find_freqs()
|
/third_party/skia/third_party/externals/microhttpd/doc/examples/ |
D | sessions.c | 16 asprintf (char **resultp, const char *format, ...) in asprintf() function 340 if (-1 == asprintf (&reply, in fill_v1_form() 382 if (-1 == asprintf (&reply, in fill_v1_v2_form()
|