Lines Matching refs:to_string
1507 return std::string("<unknown>: ") + to_string(format_hex(Type, 1));
2334 return std::to_string(Value);
2363 return std::to_string(Value);
2377 return std::to_string(Value);
2463 return std::to_string(Value);
2480 return std::to_string(Value) + " (bytes)";
3506 return to_string(ElfHeader.e_shnum);
3518 return "0 (" + to_string((*ArrOrErr)[0].sh_size) + ")";
3526 return to_string(ElfHeader.e_shstrndx);
3538 return to_string(ElfHeader.e_shstrndx) + " (" +
3539 to_string((*ArrOrErr)[0].sh_link) + ")";
3597 "ABI Version:", std::to_string(e.e_ident[ELF::EI_ABIVERSION]));
3617 Str = to_string(e.e_phoff) + " (bytes into file)";
3619 Str = to_string(e.e_shoff) + " (bytes into file)";
3670 to_string(GenericV >> ELF::EF_AMDGPU_GENERIC_VERSION_OFFSET);
3679 Str = to_string(e.e_ehsize) + " (bytes)";
3681 Str = to_string(e.e_phentsize) + " (bytes)";
3683 Str = to_string(e.e_phnum);
3685 Str = to_string(e.e_shentsize) + " (bytes)";
3822 Fields[0].Str = to_string(format_hex_no_prefix(R.Offset, Width));
3823 Fields[1].Str = to_string(format_hex_no_prefix(R.Info, Width));
3831 to_string(format_hex_no_prefix(RelSym.Sym->getValue(), Width));
3943 EntriesNum = std::to_string(*NumOrErr);
4108 OS << "There are " << to_string(Sections.size())
4130 Fields[0].Str = to_string(SectionIndex);
4139 to_string(format_hex_no_prefix(Sec.sh_addr, ELFT::Is64Bits ? 16 : 8));
4140 Fields[4].Str = to_string(format_hex_no_prefix(Sec.sh_offset, 6));
4141 Fields[5].Str = to_string(format_hex_no_prefix(Sec.sh_size, 6));
4142 Fields[6].Str = to_string(format_hex_no_prefix(Sec.sh_entsize, 2));
4145 Fields[8].Str = to_string(Sec.sh_link);
4146 Fields[9].Str = to_string(Sec.sh_info);
4147 Fields[10].Str = to_string(Sec.sh_addralign);
4228 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]";
4232 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]";
4237 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]";
4254 return to_string(format_decimal(SectionIndex, 3)) + Extra;
4266 Fields[0].Str = to_string(format_decimal(SymIndex, 6)) + ":";
4268 to_string(format_hex_no_prefix(Symbol.st_value, ELFT::Is64Bits ? 16 : 8));
4269 Fields[2].Str = to_string(format_decimal(Symbol.st_size, 5));
4304 " [<other: " + to_string(format_hex(Symbol.st_other, 2)) + ">]";
4329 Fields[0].Str = to_string(format_decimal(SymIndex, 5));
4330 Fields[1].Str = to_string(format_decimal(Bucket, 3)) + ":";
4332 Fields[2].Str = to_string(
4334 Fields[3].Str = to_string(format_decimal(Symbol->st_size, 5));
4520 OS << "There are " << to_string(Sections.size())
4563 OS << "[" << right_justify(to_string(SectionIndex), 2) << "]";
4567 {to_string(format_hex_no_prefix(S.sh_addr, AddrSize)), 23},
4568 {to_string(format_hex_no_prefix(S.sh_offset, 6)), Is64 ? 39 : 32},
4569 {to_string(format_hex_no_prefix(S.sh_size, 6)), Is64 ? 47 : 39},
4570 {to_string(format_hex_no_prefix(S.sh_entsize, 2)), Is64 ? 54 : 46},
4571 {to_string(S.sh_link), Is64 ? 59 : 51},
4572 {to_string(S.sh_info), Is64 ? 63 : 55},
4573 {to_string(S.sh_addralign), Is64 ? 66 : 58}});
4576 OS << "[" << to_string(format_hex_no_prefix(S.sh_flags, AddrSize)) << "]: ";
4607 << to_string(format_hex_no_prefix(FlagsToPrint, AddrSize)) << ")";
4738 Fields[1].Str = to_string(format_hex(Phdr.p_offset, 8));
4739 Fields[2].Str = to_string(format_hex(Phdr.p_vaddr, Width));
4740 Fields[3].Str = to_string(format_hex(Phdr.p_paddr, Width));
4741 Fields[4].Str = to_string(format_hex(Phdr.p_filesz, SizeWidth));
4742 Fields[5].Str = to_string(format_hex(Phdr.p_memsz, SizeWidth));
4744 Fields[7].Str = to_string(format_hex(Phdr.p_align, 1));
4902 std::string ValueFmt = " %-" + std::to_string(MaxTagSize) + "s ";
5235 Fields[0].Str = to_string(format_decimal(++SymIndex, 6)) + ":";
6894 OS << to_string(format_hex_no_prefix(Parser.getGotAddress(&E), 8 + Bias));
6896 OS << to_string(format_decimal(Parser.getGotOffset(&E), 6)) + "(gp)";
6898 OS << to_string(format_hex_no_prefix(E, 8 + Bias));
6900 OS << to_string(format_hex_no_prefix(Sym.st_value, 8 + Bias));
6950 OS << to_string(format_hex_no_prefix(Parser.getPltAddress(&E), 8 + Bias));
6952 OS << to_string(format_hex_no_prefix(E, 8 + Bias));
6954 OS << to_string(format_hex_no_prefix(Sym.st_value, 8 + Bias));
7103 FlagStr = "EF_AMDGPU_GENERIC_VERSION_V" + std::to_string(Version);
7434 std::string ValueFmt = "%-" + std::to_string(MaxTagSize) + "s ";
8029 "Unknown (" + to_string(format_hex(Type, 10)) + ")");