Lines Matching refs:to_string
1383 return std::string("<unknown>: ") + to_string(format_hex(Type, 1)); in getGNUPtType()
2180 return std::to_string(Value); in getDynamicEntry()
2188 return std::to_string(Value); in getDynamicEntry()
2202 return std::to_string(Value); in getDynamicEntry()
2284 return std::to_string(Value); in getDynamicEntry()
2297 return std::to_string(Value) + " (bytes)"; in getDynamicEntry()
3175 return to_string(ElfHeader.e_shnum); in getSectionHeadersNumString()
3187 return "0 (" + to_string((*ArrOrErr)[0].sh_size) + ")"; in getSectionHeadersNumString()
3195 return to_string(ElfHeader.e_shstrndx); in getSectionHeaderTableIndexString()
3207 return to_string(ElfHeader.e_shstrndx) + " (" + in getSectionHeaderTableIndexString()
3208 to_string((*ArrOrErr)[0].sh_link) + ")"; in getSectionHeaderTableIndexString()
3242 "ABI Version:", std::to_string(e.e_ident[ELF::EI_ABIVERSION])); in printFileHeaders()
3262 Str = to_string(e.e_phoff) + " (bytes into file)"; in printFileHeaders()
3264 Str = to_string(e.e_shoff) + " (bytes into file)"; in printFileHeaders()
3281 Str = to_string(e.e_ehsize) + " (bytes)"; in printFileHeaders()
3283 Str = to_string(e.e_phentsize) + " (bytes)"; in printFileHeaders()
3285 Str = to_string(e.e_phnum); in printFileHeaders()
3287 Str = to_string(e.e_shentsize) + " (bytes)"; in printFileHeaders()
3418 OS << to_string(format_hex_no_prefix(R, ELFT::Is64Bits ? 16 : 8)) << "\n"; in printRelrReloc()
3429 Fields[0].Str = to_string(format_hex_no_prefix(R.Offset, Width)); in printRelRelaReloc()
3430 Fields[1].Str = to_string(format_hex_no_prefix(R.Info, Width)); in printRelRelaReloc()
3438 to_string(format_hex_no_prefix(RelSym.Sym->getValue(), Width)); in printRelRelaReloc()
3531 EntriesNum = std::to_string(*NumOrErr); in printRelocations()
3603 OS << "There are " << to_string(Sections.size()) in printSectionHeaders()
3625 Fields[0].Str = to_string(SectionIndex); in printSectionHeaders()
3634 to_string(format_hex_no_prefix(Sec.sh_addr, ELFT::Is64Bits ? 16 : 8)); in printSectionHeaders()
3635 Fields[4].Str = to_string(format_hex_no_prefix(Sec.sh_offset, 6)); in printSectionHeaders()
3636 Fields[5].Str = to_string(format_hex_no_prefix(Sec.sh_size, 6)); in printSectionHeaders()
3637 Fields[6].Str = to_string(format_hex_no_prefix(Sec.sh_entsize, 2)); in printSectionHeaders()
3639 Fields[8].Str = to_string(Sec.sh_link); in printSectionHeaders()
3640 Fields[9].Str = to_string(Sec.sh_info); in printSectionHeaders()
3641 Fields[10].Str = to_string(Sec.sh_addralign); in printSectionHeaders()
3707 return to_string(format_decimal(*IndexOrErr, 3)); in getSymbolSectionNdx()
3714 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]"; in getSymbolSectionNdx()
3718 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]"; in getSymbolSectionNdx()
3723 to_string(format_hex_no_prefix(SectionIndex, 4)) + "]"; in getSymbolSectionNdx()
3725 return to_string(format_decimal(SectionIndex, 3)); in getSymbolSectionNdx()
3738 Fields[0].Str = to_string(format_decimal(SymIndex, 6)) + ":"; in printSymbol()
3740 to_string(format_hex_no_prefix(Symbol.st_value, ELFT::Is64Bits ? 16 : 8)); in printSymbol()
3741 Fields[2].Str = to_string(format_decimal(Symbol.st_size, 5)); in printSymbol()
3767 " [<other: " + to_string(format_hex(Symbol.st_other, 2)) + ">]"; in printSymbol()
3790 Fields[0].Str = to_string(format_decimal(SymIndex, 5)); in printHashedSymbol()
3791 Fields[1].Str = to_string(format_decimal(Bucket, 3)) + ":"; in printHashedSymbol()
3793 Fields[2].Str = to_string( in printHashedSymbol()
3795 Fields[3].Str = to_string(format_decimal(Symbol->st_size, 5)); in printHashedSymbol()
3972 OS << "There are " << to_string(Sections.size()) in printSectionDetails()
4015 OS << "[" << right_justify(to_string(SectionIndex), 2) << "]"; in printSectionDetails()
4019 {to_string(format_hex_no_prefix(S.sh_addr, AddrSize)), 23}, in printSectionDetails()
4020 {to_string(format_hex_no_prefix(S.sh_offset, 6)), Is64 ? 39 : 32}, in printSectionDetails()
4021 {to_string(format_hex_no_prefix(S.sh_size, 6)), Is64 ? 47 : 39}, in printSectionDetails()
4022 {to_string(format_hex_no_prefix(S.sh_entsize, 2)), Is64 ? 54 : 46}, in printSectionDetails()
4023 {to_string(S.sh_link), Is64 ? 59 : 51}, in printSectionDetails()
4024 {to_string(S.sh_info), Is64 ? 63 : 55}, in printSectionDetails()
4025 {to_string(S.sh_addralign), Is64 ? 66 : 58}}); in printSectionDetails()
4028 OS << "[" << to_string(format_hex_no_prefix(S.sh_flags, AddrSize)) << "]: "; in printSectionDetails()
4059 << to_string(format_hex_no_prefix(FlagsToPrint, AddrSize)) << ")"; in printSectionDetails()
4194 Fields[1].Str = to_string(format_hex(Phdr.p_offset, 8)); in printProgramHeaders()
4195 Fields[2].Str = to_string(format_hex(Phdr.p_vaddr, Width)); in printProgramHeaders()
4196 Fields[3].Str = to_string(format_hex(Phdr.p_paddr, Width)); in printProgramHeaders()
4197 Fields[4].Str = to_string(format_hex(Phdr.p_filesz, SizeWidth)); in printProgramHeaders()
4198 Fields[5].Str = to_string(format_hex(Phdr.p_memsz, SizeWidth)); in printProgramHeaders()
4200 Fields[7].Str = to_string(format_hex(Phdr.p_align, 1)); in printProgramHeaders()
4357 std::string ValueFmt = " %-" + std::to_string(MaxTagSize) + "s "; in printDynamicTable()
4775 Fields[0].Str = to_string(format_decimal(++SymIndex, 6)) + ":"; in printAddrsig()
6088 OS << to_string(format_hex_no_prefix(Parser.getGotAddress(&E), 8 + Bias)); in printMipsGOT()
6090 OS << to_string(format_decimal(Parser.getGotOffset(&E), 6)) + "(gp)"; in printMipsGOT()
6092 OS << to_string(format_hex_no_prefix(E, 8 + Bias)); in printMipsGOT()
6094 OS << to_string(format_hex_no_prefix(Sym.st_value, 8 + Bias)); in printMipsGOT()
6144 OS << to_string(format_hex_no_prefix(Parser.getPltAddress(&E), 8 + Bias)); in printMipsPLT()
6146 OS << to_string(format_hex_no_prefix(E, 8 + Bias)); in printMipsPLT()
6148 OS << to_string(format_hex_no_prefix(Sym.st_value, 8 + Bias)); in printMipsPLT()
6568 std::string ValueFmt = "%-" + std::to_string(MaxTagSize) + "s "; in printDynamicTable()
6948 "Unknown (" + to_string(format_hex(Type, 10)) + ")"); in printNotes()