Home
last modified time | relevance | path

Searched refs:snprintf (Results 1 – 25 of 62) sorted by relevance

123

/toolchain/binutils/binutils-2.25/opcodes/
Dmetag-dis.c376 snprintf (buf, OPERAND_WIDTH, "%s,%s", dest_reg, src_reg); in print_mov_u2u()
414 snprintf (buf, OPERAND_WIDTH, "%s,%s,%s", dest_reg, pair_reg, src_reg); in print_mov_port()
416 snprintf (buf, OPERAND_WIDTH, "%s,%s", dest_reg, src_reg); in print_mov_port()
462 snprintf (buf, OPERAND_WIDTH, "%s,%s,%s", dest_reg, src_reg, pair_reg); in print_movl_ttrec()
491 snprintf (buf, buf_size, "[%s]", base_reg); in get_set_addr_str()
498 snprintf (buf, buf_size, "[%s++]", base_reg); in get_set_addr_str()
500 snprintf (buf, buf_size, "[++%s]", base_reg); in get_set_addr_str()
507 snprintf (buf, buf_size, "[%s--]", base_reg); in get_set_addr_str()
509 snprintf (buf, buf_size, "[--%s]", base_reg); in get_set_addr_str()
519 snprintf (buf, buf_size, "[%s+#%d++]", base_reg, offset); in get_set_addr_str()
[all …]
Dtic6x-dis.c694 snprintf (func_unit_buf, 7, " .%c%u%s%s", func_unit_char, in print_insn_tic6x()
730 snprintf (operands[op_num], 24, "b15"); in print_insn_tic6x()
736 snprintf (operands[op_num], 24, "%c0", in print_insn_tic6x()
743 snprintf (operands[op_num], 24, "%c3", in print_insn_tic6x()
749 snprintf (operands[op_num], 24, "irp"); in print_insn_tic6x()
754 snprintf (operands[op_num], 24, "nrp"); in print_insn_tic6x()
759 snprintf (operands[op_num], 24, "ilc"); in print_insn_tic6x()
764 snprintf (operands[op_num], 24, "-1"); in print_insn_tic6x()
769 snprintf (operands[op_num], 24, "0"); in print_insn_tic6x()
774 snprintf (operands[op_num], 24, "1"); in print_insn_tic6x()
[all …]
Daarch64-opc.c2220 snprintf (tb, 8, "[%d]", opnd->reglist.index); in print_register_list()
2228 snprintf (buf, size, "{v%d.%s-v%d.%s}%s", first_reg, qlf_name, in print_register_list()
2240 snprintf (buf, size, "{v%d.%s}%s", reg0, qlf_name, tb); in print_register_list()
2243 snprintf (buf, size, "{v%d.%s, v%d.%s}%s", reg0, qlf_name, in print_register_list()
2247 snprintf (buf, size, "{v%d.%s, v%d.%s, v%d.%s}%s", reg0, qlf_name, in print_register_list()
2251 snprintf (buf, size, "{v%d.%s, v%d.%s, v%d.%s, v%d.%s}%s", in print_register_list()
2298 snprintf (tb, tblen, ",%s #%d", shift_name, opnd->shifter.amount); in print_register_offset_address()
2300 snprintf (tb, tblen, ",%s", shift_name); in print_register_offset_address()
2305 snprintf (buf, size, "[%s,%s%s]", in print_register_offset_address()
2362 snprintf (buf, size, "%s", in aarch64_print_operand()
[all …]
Dz80-dis.c105 snprintf (mytxt, TXTSIZ, txt, cc_str[(buf->data[0] >> 3) & 3]); in jr_cc()
134 snprintf (mytxt, TXTSIZ, txt, rr_str[rr]); in prt_rr_nn()
172 snprintf (mytxt, TXTSIZ, txt, r_str[(buf->data[0] >> 3) & 7]); in ld_r_n()
231 snprintf (mytxt,TXTSIZ, in jp_cc_nn()
241 snprintf (mytxt,TXTSIZ, txt, arit_str[(buf->data[0] >> 3) & 7]); in arit_n()
378 snprintf (mytxt, TXTSIZ, "ld %s%%s,%s%%s", txt, txt); in ld_v_v()
414 snprintf (mytxt, TXTSIZ, txt, d); in prt_d_n()
430 snprintf (mytxt, TXTSIZ, txt, arit_str[(c >> 3) & 7]); in arit_d()
441 snprintf (mytxt, TXTSIZ, txt, r_str[(c >> 3) & 7]); in ld_r_d()
452 snprintf (mytxt, TXTSIZ, txt, r_str[c & 7]); in ld_d_r()
[all …]
/toolchain/binutils/binutils-2.25/libiberty/testsuite/
Dtest-pexecute.c151 snprintf (buf, sizeof buf, "got '%c' when expecting newline", c); in check_line()
157 snprintf (buf, sizeof buf, "got '%c' when expecting EOF", c); in check_line()
165 snprintf (buf, sizeof buf, "expected '%c', got '%c'", *p, c); in check_line()
397 snprintf (errbuf1, sizeof errbuf1, errmsg_fmt, errmsg_arg); in main()
398 snprintf (errbuf2, sizeof errbuf2, "pexecute 1 failed: %s", errbuf1); in main()
409 snprintf (errbuf1, sizeof errbuf1, errmsg_fmt, errmsg_arg); in main()
410 snprintf (errbuf2, sizeof errbuf2, "pexecute 2 failed: %s", errbuf1); in main()
517 snprintf (buf, sizeof buf, "unrecognized command %s", argv[1]); in do_cmd()
/toolchain/binutils/binutils-2.25/gold/
Dmapfile.cc171 snprintf(buf, sizeof buf, "0x%llx", static_cast<unsigned long long>(symsize)); in report_allocate_common()
264 snprintf(sizebuf, sizeof sizebuf, "0x%llx", in print_input_section()
333 snprintf(sizebuf, sizeof sizebuf, "0x%llx", in print_output_data()
394 snprintf(sizebuf, sizeof sizebuf, "0x%llx", in print_output_section()
Dicf.cc318 snprintf(addend_str, sizeof(addend_str), "%llx %llx %llux", in get_section_contents()
372 snprintf(kept_section_str, sizeof(kept_section_str), "%u", in get_section_contents()
513 snprintf(secn_id, sizeof(secn_id), "%u",it_v->second); in get_section_contents()
Dconfigure.ac554 AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf, strverscmp])
594 AC_CHECK_DECLS([basename, ffs, asprintf, vasprintf, snprintf, vsnprintf, strverscmp, strndup, memme…
Dmerge.cc711 snprintf(buf, sizeof buf, "%s merged %s", section_name, this->string_name()); in do_print_merge_stats()
Dconfig.in56 /* Define to 1 if you have the declaration of `snprintf', and to 0 if you
/toolchain/binutils/binutils-2.25/binutils/
Dreadelf.c1946 snprintf (buff, sizeof (buff), _("Processor Specific: %lx"), type); in get_dynamic_type()
1970 snprintf (buff, sizeof (buff), _("Operating System specific: %lx"), in get_dynamic_type()
1974 snprintf (buff, sizeof (buff), _("<unknown>: %lx"), type); in get_dynamic_type()
1995 snprintf (buff, sizeof (buff), _("Processor Specific: (%x)"), e_type); in get_file_type()
1997 snprintf (buff, sizeof (buff), _("OS Specific: (%x)"), e_type); in get_file_type()
1999 snprintf (buff, sizeof (buff), _("<unknown>: %x"), e_type); in get_file_type()
2183 snprintf (buff, sizeof (buff), _("<unknown>: 0x%x"), e_machine); in get_machine_name()
2453 r += snprintf (buf + r, size - r, ", %s", ABI_STRINGS[abi >> EF_NDS_ABI_SHIFT]); in decode_NDS32_machine_flags()
2457 r += snprintf (buf + r, size - r, ", <unrecognized ABI>"); in decode_NDS32_machine_flags()
2466 r += snprintf (buf + r, size - r, ", %s", VER_STRINGS[version >> EF_NDS32_ELF_VERSION_SHIFT]); in decode_NDS32_machine_flags()
[all …]
Delfcomm.c841 snprintf (name, len, "%s[%s(%s)]", arch->file_name, in make_qualified_name()
844 snprintf (name, len, "%s[%s(%s)]", arch->file_name, in make_qualified_name()
848 snprintf (name, len, "%s[%s]", arch->file_name, member_name); in make_qualified_name()
850 snprintf (name, len, "%s(%s)", arch->file_name, member_name); in make_qualified_name()
Dsysdep.h108 extern int snprintf(char *, size_t, const char *, ...);
Ddwarf.c189 snprintf (ret, sizeof (buf[0].place), DWARF_VMA_FMT_LONG, value); in dwarf_vmatoa_1()
199 snprintf (ret, sizeof (buf[0].place), fmt, value); in dwarf_vmatoa_1()
230 snprintf (buf, buf_len, "%" DWARF_VMA_FMT "x", lvalue); in dwarf_vmatoa64()
233 len = snprintf (buf, buf_len, "%" DWARF_VMA_FMT "x", hvalue); in dwarf_vmatoa64()
234 snprintf (buf + len, buf_len - len, in dwarf_vmatoa64()
884 snprintf (buffer, sizeof (buffer), _("Unknown TAG value: %lx"), tag); in get_TAG_name()
904 snprintf (buffer, sizeof (buffer), _("Unknown FORM value: %lx"), form); in get_FORM_name()
2200 snprintf (buffer, sizeof (buffer), _("Unknown AT value: %lx"), in get_AT_name()
4701 snprintf (buf, sizeof (buf), "[%d]", idx); in print_addr_index()
5651 snprintf (reg, sizeof (reg), "r%d (%s)", regno, in regname()
[all …]
DChangeLog-2006514 * configure.in (CHECK_DECLS): Add snprintf and vsnprintf.
518 (snprintf): Likewise.
/toolchain/binutils/binutils-2.25/gold/testsuite/
Dplugin_test.c275 snprintf(syms_name, sizeof(syms_name), "%s.syms", file->name); in claim_file_hook()
277 snprintf(syms_name, sizeof(syms_name), "%s-%d.syms", in claim_file_hook()
505 snprintf(syms_name, sizeof(syms_name), "%s.syms", file.name); in all_symbols_read_hook()
507 snprintf(syms_name, sizeof(syms_name), "%s-%d.syms", in all_symbols_read_hook()
/toolchain/binutils/binutils-2.25/libiberty/
Dsnprintf.c53 snprintf (char *s, size_t n, const char *format, ...) in snprintf() function
Dconfigure.ac359 funcs="$funcs snprintf"
409 sbrk setenv setproctitle setrlimit sigsetmask snprintf spawnve spawnvpe \
416 …AC_CHECK_DECLS([basename(char *), ffs, asprintf, vasprintf, snprintf, vsnprintf, strtol, strtoul, …
518 AC_LIBOBJ([snprintf])
679 AC_CHECK_DECLS([basename(char *), ffs, asprintf, vasprintf, snprintf, vsnprintf])
DMakefile.in151 snprintf.c sort.c \
217 ./sigsetmask.$(objext) ./snprintf.$(objext) \
1291 ./snprintf.$(objext): $(srcdir)/snprintf.c $(INCDIR)/ansidecl.h
1293 $(COMPILE.c) $(PICFLAG) $(srcdir)/snprintf.c -o pic/$@; \
1296 $(COMPILE.c) $(PICFLAG) $(NOASANFLAG) $(srcdir)/snprintf.c -o noasan/$@; \
1298 $(COMPILE.c) $(srcdir)/snprintf.c $(OUTPUT_OPTION)
Dconfig.in78 /* Define to 1 if you have the declaration of `snprintf', and to 0 if you
236 /* Define to 1 if you have the `snprintf' function. */
/toolchain/binutils/binutils-2.25/bfd/
Dbfd.c666 snprintf (bufp, avail, "%s(%s)", in _bfd_default_error_handler()
669 snprintf (bufp, avail, "%s", abfd->filename); in _bfd_default_error_handler()
693 snprintf (bufp, avail, "%s[%s]", sec->name, group); in _bfd_default_error_handler()
695 snprintf (bufp, avail, "%s", sec->name); in _bfd_default_error_handler()
Dpef.c672 snprintf (name, tbnamelen + 1, "%s%s", tbprefix, function.name); in bfd_pef_parse_traceback_tables()
837 snprintf (name, strlen (sprefix) + namelen + 1, "%s%s", in bfd_pef_parse_function_stubs()
/toolchain/binutils/binutils-2.25/gas/config/
Dte-vms.c345 snprintf (buff, 255 + 7, "%s;%d", filename, ver); in vms_dwarf2_file_name()
/toolchain/binutils/binutils-2.25/include/
Dlibiberty.h636 extern int snprintf (char *, size_t, const char *, ...) ATTRIBUTE_PRINTF_3;
/toolchain/binutils/binutils-2.25/gas/
Dconfigure.com111 /* Define to 1 if you have the declaration of `snprintf', and to 0 if you

123