Home
last modified time | relevance | path

Searched refs:format_hex (Results 1 – 25 of 44) sorted by relevance

12

/freebsd/contrib/libarchive/libarchive/
H A Darchive_write_set_format_cpio_newc.c57 static int format_hex(int64_t, void *, int);
267 format_hex(0x070701, h + c_magic_offset, c_magic_size); in write_header()
268 format_hex(archive_entry_devmajor(entry), h + c_devmajor_offset, in write_header()
270 format_hex(archive_entry_devminor(entry), h + c_devminor_offset, in write_header()
281 format_hex(ino & 0xffffffff, h + c_ino_offset, c_ino_size); in write_header()
282 format_hex(archive_entry_mode(entry), h + c_mode_offset, c_mode_size); in write_header()
283 format_hex(archive_entry_uid(entry), h + c_uid_offset, c_uid_size); in write_header()
284 format_hex(archive_entry_gid(entry), h + c_gid_offset, c_gid_size); in write_header()
285 format_hex(archive_entry_nlink(entry), h + c_nlink_offset, c_nlink_size); in write_header()
288 format_hex(archive_entry_rdevmajor(entry), h + c_rdevmajor_offset, c_rdevmajor_size); in write_header()
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DPrettyCompilandDumper.cpp102 << "[" << format_hex(AddrStart, 10) << " - " in start()
103 << format_hex(AddrEnd, 10) << "]"; in start()
108 << "[" << format_hex(AddrStart, 10) << "] "; in start()
140 << "[" << format_hex(Symbol.getVirtualAddress(), 10) << "]"; in dump()
181 << "[" << format_hex(Symbol.getVirtualAddress(), 10) << "] "; in dump()
197 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(VA, 10); in dump()
199 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Target, 10); in dump()
202 << "[" << format_hex(VA, 10) << " - " in dump()
203 << format_hex(VA + Symbol.getLength(), 10) << "]"; in dump()
H A DPrettyVariableDumper.cpp54 << format_hex(Var.getVirtualAddress(), 10); in start()
72 << "+" << format_hex(Offset + Var.getOffset(), 4) in start()
80 << "+" << format_hex(Offset + Var.getOffset(), 4) in start()
100 << "+" << format_hex(Offset, 4) << " [sizeof=" << Size << "] "; in startVbptr()
110 << "+" << format_hex(Offset + Var.getOffset(), 4) in start()
H A DPrettyExternalSymbolDumper.cpp39 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(Addr, 10); in dump()
H A DPrettyFunctionDumper.cpp124 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncStart, 10); in start()
131 WithColor(Printer, PDB_ColorItem::Address).get() << format_hex(FuncEnd, 10); in start()
H A DPrettyClassLayoutGraphicalDumper.cpp126 << "+" << format_hex(CurrentAbsoluteOffset, 4) << " [sizeof=" << Size in dump()
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/GSYM/
H A DExtractRanges.h17 #define HEX8(v) llvm::format_hex(v, 4)
18 #define HEX16(v) llvm::format_hex(v, 6)
19 #define HEX32(v) llvm::format_hex(v, 10)
20 #define HEX64(v) llvm::format_hex(v, 18)
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/GSYM/
H A DHeader.cpp15 #define HEX8(v) llvm::format_hex(v, 4)
16 #define HEX16(v) llvm::format_hex(v, 6)
17 #define HEX32(v) llvm::format_hex(v, 10)
18 #define HEX64(v) llvm::format_hex(v, 18)
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DFaultMapParser.cpp44 OS << "FunctionAddress: " << format_hex(FI.getFunctionAddr(), 8) in operator <<()
52 OS << "Version: " << format_hex(FMP.getFaultMapVersion(), 2) << "\n"; in operator <<()
H A DObjectFile.cpp35 OS << "SectionedAddress{" << format_hex(Addr.Address, 10); in operator <<()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFDebugLoc.cpp269 OS << '(' << format_hex(Value0, 2 + Data.getAddressSize() * 2) << ", " in dumpRawEntry()
270 << format_hex(Value1, 2 + Data.getAddressSize() * 2) << ')'; in dumpRawEntry()
367 OS << format_hex(Entry.Value0, FieldSize) << ", " in dumpRawEntry()
368 << format_hex(Entry.Value1, FieldSize); in dumpRawEntry()
372 OS << format_hex(Entry.Value0, FieldSize); in dumpRawEntry()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUMCInstLower.cpp230 HexStream << format_hex(MI->getOperand(0).getImm(), 10, true); in emitInstruction()
240 HexStream << format_hex(MI->getOperand(0).getImm(), 10, true); in emitInstruction()
253 HexStream << format_hex(MI->getOperand(0).getImm(), 10, true); in emitInstruction()
/freebsd/contrib/llvm-project/llvm/lib/Support/
H A DSignals.cpp137 return format_hex((uint64_t)PC, PtrWidth); in format_ptr()
249 OS << "(" << Modules[i] << '+' << format_hex(Offsets[i], 0) << ")"; in printSymbolizedStackTrace()
/freebsd/contrib/llvm-project/llvm/lib/MCA/HardwareUnits/
H A DResourceManager.cpp95 dbgs() << "MASK=" << format_hex(ResourceMask, 16) in dump()
96 << ", SZMASK=" << format_hex(ResourceSizeMask, 16) in dump()
97 << ", RDYMASK=" << format_hex(ReadyMask, 16) in dump()
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectFile/wasm/
H A DObjectFileWasm.cpp462 << llvm::format_hex(sh.offset, 10) << " " in DumpSectionHeader()
463 << llvm::format_hex(sh.size, 10) << " " << llvm::format_hex(sh.id, 6) in DumpSectionHeader()
/freebsd/contrib/llvm-project/lldb/source/Expression/
H A DDWARFExpressionList.cpp165 os << llvm::format_hex(load_base, 2 + 2 * addr_size); in DumpLocations()
167 os << llvm::format_hex(load_end, 2 + 2 * addr_size); in DumpLocations()
/freebsd/contrib/llvm-project/llvm/lib/MCA/
H A DSupport.cpp77 << format_hex(Masks[I],16) << " - " in computeProcResourceMasks()
H A DInstrBuilder.cpp204 dbgs() << "\t\tResource Mask=" << format_hex(R.first, 16) << ", " in initializeUsedResources()
211 dbgs() << "\t\tBuffer Mask=" << format_hex(Current, 16) << '\n'; in initializeUsedResources()
214 dbgs() << "\t\t Used Units=" << format_hex(ID.UsedProcResUnits, 16) << '\n'; in initializeUsedResources()
215 dbgs() << "\t\tUsed Groups=" << format_hex(ID.UsedProcResGroups, 16) in initializeUsedResources()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Reader/
H A DBitcodeAnalyzer.cpp504 << " Magic=" << format_hex(Magic, 10) in analyzeHeader()
505 << " Version=" << format_hex(Version, 10) in analyzeHeader()
506 << " Offset=" << format_hex(Offset, 10) in analyzeHeader()
507 << " Size=" << format_hex(Size, 10) in analyzeHeader()
508 << " CPUType=" << format_hex(CPUType, 10) << "/>\n"; in analyzeHeader()
/freebsd/contrib/llvm-project/llvm/tools/llvm-objdump/
H A DCOFFDump.cpp420 << format_hex(TLSDir->StartAddressOfRawData, FormatWidth) in printTLSDirectoryT()
422 << format_hex(TLSDir->EndAddressOfRawData, FormatWidth) in printTLSDirectoryT()
424 << format_hex(TLSDir->AddressOfIndex, FormatWidth) in printTLSDirectoryT()
426 << format_hex(TLSDir->AddressOfCallBacks, FormatWidth) in printTLSDirectoryT()
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormat.h187 inline FormattedNumber format_hex(uint64_t N, unsigned Width,
/freebsd/contrib/llvm-project/llvm/lib/MCA/Stages/
H A DExecuteStage.cpp136 << format_hex(Mask, 16) << '\n'); in cycleEnd()
/freebsd/contrib/llvm-project/llvm/tools/llvm-readobj/
H A DObjDumper.cpp197 W.startLine() << format_hex(Section.getAddress() + (SecPtr - SecContent), in printSectionsAsHex()
H A DELFDumper.cpp1507 return std::string("<unknown>: ") + to_string(format_hex(Type, 1)); in getGNUPtType()
4304 " [<other: " + to_string(format_hex(Symbol.st_other, 2)) + ">]"; in printSymbol()
4715 << "Entry point " << format_hex(Header.e_entry, 3) << "\n" in printProgramHeaders()
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()
4889 << format_hex(reinterpret_cast<const uint8_t *>(this->DynamicTable.Addr) - in printDynamicTable()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/LogicalView/Core/
H A DLVSupport.h105 return format_hex(N, Width, Upper);

12