Lines Matching refs:asprintf
130 if (asprintf (&bit, "%s%s0x%lx: (kind %i) ", nonroot_leader, idstr, in ctf_dump_format_type()
154 if (asprintf (&bit, ":%i", ep.cte_bits) < 0) in ctf_dump_format_type()
169 if (asprintf (&bit, " [%s0x%x:0x%x]", in ctf_dump_format_type()
177 if (asprintf (&bit, " (format 0x%x)", ep.cte_format) < 0) in ctf_dump_format_type()
187 if (asprintf (&bit, " (size 0x%lx)", (unsigned long int) size) < 0) in ctf_dump_format_type()
198 if (asprintf (&bit, " (aligned at 0x%lx)", in ctf_dump_format_type()
257 if (asprintf (&str, "%s: %s\n", name, ctf_strptr (fp, value)) < 0) in ctf_dump_header_strfield()
275 if (asprintf (&str, "%s:\t0x%lx -- 0x%lx (0x%lx bytes)\n", sect, in ctf_dump_header_sectfield()
304 if (asprintf (&str, "Magic number: 0x%x\n", hp->cth_magic) < 0) in ctf_dump_header()
314 if (asprintf (&str, "Version: %i (%s)\n", hp->cth_version, in ctf_dump_header()
328 if (asprintf (&flagstr, "%s%s%s%s%s%s%s", in ctf_dump_header()
350 if (asprintf (&str, "Flags: 0x%x (%s)", fp->ctf_openflags, flagstr) < 0) in ctf_dump_header()
414 if (asprintf (&str, "%s -> ", name) < 0) in ctf_dump_label()
455 if (asprintf (&str, "%s -> ", name) < 0) in ctf_dump_objts()
489 if (asprintf (&str, "%s -> ", name) < 0) in ctf_dump_var()
519 if (asprintf (&bit, "%s%*s", state->cdm_toplevel_indent, (depth-1)*4, "") < 0) in ctf_dump_member()
529 if (asprintf (&bit, "[0x%lx] %s: %s\n", offset, name, typestr) < 0) in ctf_dump_member()
571 if (asprintf (&indent, " %*s", type_hex_digits (id), "") < 0) in ctf_dump_type()
619 if (asprintf (&bit, "%s: %i\n", enumerand, value) < 0) in ctf_dump_type()
671 if (asprintf (&str, "0x%lx: %s", in ctf_dump_str()