Lines Matching refs:to_string
1491 return std::string("<unknown>: ") + to_string(format_hex(Type, 1)); in getGNUPtType()
2362 return std::to_string(Value); in getDynamicEntry()
2391 return std::to_string(Value); in getDynamicEntry()
2405 return std::to_string(Value); in getDynamicEntry()
2488 return std::to_string(Value); in getDynamicEntry()
2505 return std::to_string(Value) + " (bytes)"; in getDynamicEntry()
3530 return to_string(ElfHeader.e_shnum); in getSectionHeadersNumString()
3542 return "0 (" + to_string((*ArrOrErr)[0].sh_size) + ")"; in getSectionHeadersNumString()
3550 return to_string(ElfHeader.e_shstrndx); in getSectionHeaderTableIndexString()
3562 return to_string(ElfHeader.e_shstrndx) + " (" + in getSectionHeaderTableIndexString()
3563 to_string((*ArrOrErr)[0].sh_link) + ")"; in getSectionHeaderTableIndexString()
3618 "ABI Version:", std::to_string(e.e_ident[ELF::EI_ABIVERSION])); in printFileHeaders()
3638 Str = to_string(e.e_phoff) + " (bytes into file)"; in printFileHeaders()
3640 Str = to_string(e.e_shoff) + " (bytes into file)"; in printFileHeaders()
3688 Str = to_string(e.e_ehsize) + " (bytes)"; in printFileHeaders()
3690 Str = to_string(e.e_phentsize) + " (bytes)"; in printFileHeaders()
3692 Str = to_string(e.e_phnum); in printFileHeaders()
3694 Str = to_string(e.e_shentsize) + " (bytes)"; in printFileHeaders()
3825 OS << to_string(format_hex_no_prefix(R, ELFT::Is64Bits ? 16 : 8)) << "\n"; in printRelrReloc()
3836 Fields[0].Str = to_string(format_hex_no_prefix(R.Offset, Width)); in printRelRelaReloc()
3837 Fields[1].Str = to_string(format_hex_no_prefix(R.Info, Width)); in printRelRelaReloc()
3845 to_string(format_hex_no_prefix(RelSym.Sym->getValue(), Width)); in printRelRelaReloc()
3949 EntriesNum = std::to_string(*NumOrErr); in printRelocations()
4029 OS << "There are " << to_string(Sections.size()) in printSectionHeaders()
4051 Fields[0].Str = to_string(SectionIndex); in printSectionHeaders()
4060 to_string(format_hex_no_prefix(Sec.sh_addr, ELFT::Is64Bits ? 16 : 8)); in printSectionHeaders()
4061 Fields[4].Str = to_string(format_hex_no_prefix(Sec.sh_offset, 6)); in printSectionHeaders()
4062 Fields[5].Str = to_string(format_hex_no_prefix(Sec.sh_size, 6)); in printSectionHeaders()
4063 Fields[6].Str = to_string(format_hex_no_prefix(Sec.sh_entsize, 2)); in printSectionHeaders()
4066 Fields[8].Str = to_string(Sec.sh_link); in printSectionHeaders()
4067 Fields[9].Str = to_string(Sec.sh_info); in printSectionHeaders()
4068 Fields[10].Str = to_string(Sec.sh_addralign); in printSectionHeaders()
4149 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]"; in getSymbolSectionNdx()
4153 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]"; in getSymbolSectionNdx()
4158 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]"; in getSymbolSectionNdx()
4175 return to_string(format_decimal(SectionIndex, 3)) + Extra; in getSymbolSectionNdx()
4187 Fields[0].Str = to_string(format_decimal(SymIndex, 6)) + ":"; in printSymbol()
4189 to_string(format_hex_no_prefix(Symbol.st_value, ELFT::Is64Bits ? 16 : 8)); in printSymbol()
4190 Fields[2].Str = to_string(format_decimal(Symbol.st_size, 5)); in printSymbol()
4225 " [<other: " + to_string(format_hex(Symbol.st_other, 2)) + ">]"; in printSymbol()
4250 Fields[0].Str = to_string(format_decimal(SymIndex, 5)); in printHashedSymbol()
4251 Fields[1].Str = to_string(format_decimal(Bucket, 3)) + ":"; in printHashedSymbol()
4253 Fields[2].Str = to_string( in printHashedSymbol()
4255 Fields[3].Str = to_string(format_decimal(Symbol->st_size, 5)); in printHashedSymbol()
4441 OS << "There are " << to_string(Sections.size()) in printSectionDetails()
4484 OS << "[" << right_justify(to_string(SectionIndex), 2) << "]"; in printSectionDetails()
4488 {to_string(format_hex_no_prefix(S.sh_addr, AddrSize)), 23}, in printSectionDetails()
4489 {to_string(format_hex_no_prefix(S.sh_offset, 6)), Is64 ? 39 : 32}, in printSectionDetails()
4490 {to_string(format_hex_no_prefix(S.sh_size, 6)), Is64 ? 47 : 39}, in printSectionDetails()
4491 {to_string(format_hex_no_prefix(S.sh_entsize, 2)), Is64 ? 54 : 46}, in printSectionDetails()
4492 {to_string(S.sh_link), Is64 ? 59 : 51}, in printSectionDetails()
4493 {to_string(S.sh_info), Is64 ? 63 : 55}, in printSectionDetails()
4494 {to_string(S.sh_addralign), Is64 ? 66 : 58}}); in printSectionDetails()
4497 OS << "[" << to_string(format_hex_no_prefix(S.sh_flags, AddrSize)) << "]: "; in printSectionDetails()
4528 << to_string(format_hex_no_prefix(FlagsToPrint, AddrSize)) << ")"; in printSectionDetails()
4659 Fields[1].Str = to_string(format_hex(Phdr.p_offset, 8)); in printProgramHeaders()
4660 Fields[2].Str = to_string(format_hex(Phdr.p_vaddr, Width)); in printProgramHeaders()
4661 Fields[3].Str = to_string(format_hex(Phdr.p_paddr, Width)); in printProgramHeaders()
4662 Fields[4].Str = to_string(format_hex(Phdr.p_filesz, SizeWidth)); in printProgramHeaders()
4663 Fields[5].Str = to_string(format_hex(Phdr.p_memsz, SizeWidth)); in printProgramHeaders()
4665 Fields[7].Str = to_string(format_hex(Phdr.p_align, 1)); in printProgramHeaders()
4823 std::string ValueFmt = " %-" + std::to_string(MaxTagSize) + "s "; in printDynamicTable()
5127 Fields[0].Str = to_string(format_decimal(++SymIndex, 6)) + ":"; in printAddrsig()
6752 OS << to_string(format_hex_no_prefix(Parser.getGotAddress(&E), 8 + Bias)); in printMipsGOT()
6754 OS << to_string(format_decimal(Parser.getGotOffset(&E), 6)) + "(gp)"; in printMipsGOT()
6756 OS << to_string(format_hex_no_prefix(E, 8 + Bias)); in printMipsGOT()
6758 OS << to_string(format_hex_no_prefix(Sym.st_value, 8 + Bias)); in printMipsGOT()
6808 OS << to_string(format_hex_no_prefix(Parser.getPltAddress(&E), 8 + Bias)); in printMipsPLT()
6810 OS << to_string(format_hex_no_prefix(E, 8 + Bias)); in printMipsPLT()
6812 OS << to_string(format_hex_no_prefix(Sym.st_value, 8 + Bias)); in printMipsPLT()
7278 std::string ValueFmt = "%-" + std::to_string(MaxTagSize) + "s "; in printDynamicTable()
7785 "Unknown (" + to_string(format_hex(Type, 10)) + ")"); in printNotes()