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