Home
last modified time | relevance | path

Searched refs:Hdr (Results 1 – 25 of 32) sorted by relevance

12

/external/llvm/include/llvm/DebugInfo/CodeView/
DSymbolRecord.h46 struct Hdr { struct
60 ProcSym(SymbolRecordKind Kind, uint32_t RecordOffset, const Hdr *H, in ProcSym() argument
68 const Hdr *H = nullptr; in deserialize()
76 return RecordOffset + offsetof(Hdr, CodeOffset); in getRelocationOffset()
80 Hdr Header;
87 struct Hdr { struct
99 Thunk32Sym(SymbolRecordKind Kind, uint32_t RecordOffset, const Hdr *H, in Thunk32Sym() argument
107 const Hdr *H = nullptr; in deserialize()
117 Hdr Header;
125 struct Hdr { struct
[all …]
/external/llvm/lib/DebugInfo/DWARF/
DDWARFAcceleratorTable.cpp24 Hdr.Magic = AccelSection.getU32(&Offset); in extract()
25 Hdr.Version = AccelSection.getU16(&Offset); in extract()
26 Hdr.HashFunction = AccelSection.getU16(&Offset); in extract()
27 Hdr.NumBuckets = AccelSection.getU32(&Offset); in extract()
28 Hdr.NumHashes = AccelSection.getU32(&Offset); in extract()
29 Hdr.HeaderDataLength = AccelSection.getU32(&Offset); in extract()
33 if (!AccelSection.isValidOffset(sizeof(Hdr) + Hdr.HeaderDataLength + in extract()
34 Hdr.NumBuckets*4 + Hdr.NumHashes*8)) in extract()
51 OS << "Magic = " << format("0x%08x", Hdr.Magic) << '\n' in dump()
52 << "Version = " << format("0x%04x", Hdr.Version) << '\n' in dump()
[all …]
/external/syslinux/gnu-efi/gnu-efi-3.0/lib/
Dcrc.c72 IN OUT EFI_TABLE_HEADER *Hdr in SetCrc() argument
90 SetCrcAltSize (Hdr->HeaderSize, Hdr); in SetCrc()
96 IN OUT EFI_TABLE_HEADER *Hdr in SetCrcAltSize() argument
114 Hdr->CRC32 = 0; in SetCrcAltSize()
115 Hdr->CRC32 = CalculateCrc((UINT8 *)Hdr, Size); in SetCrcAltSize()
122 IN OUT EFI_TABLE_HEADER *Hdr in CheckCrc() argument
140 return CheckCrcAltSize (MaxSize, Hdr->HeaderSize, Hdr); in CheckCrc()
150 IN OUT EFI_TABLE_HEADER *Hdr in CheckCrcAltSize() argument
184 OrgCrc = Hdr->CRC32; in CheckCrcAltSize()
185 Hdr->CRC32 = 0; in CheckCrcAltSize()
[all …]
Dsmbios.c37 Smbios.Hdr = (SMBIOS_HEADER *)SmbiosTable->TableAddress; in LibGetSmbiosSystemGuidAndSerialNumber()
40 if (Smbios.Hdr->Type == 1) { in LibGetSmbiosSystemGuidAndSerialNumber()
41 if (Smbios.Hdr->Length < 0x19) { in LibGetSmbiosSystemGuidAndSerialNumber()
99 String = (CHAR8 *)(Smbios->Raw + Smbios->Hdr->Length); in LibGetSmbiosString()
/external/swiftshader/third_party/LLVM/lib/Archive/
DArchiveReader.cpp80 ArchiveMemberHeader* Hdr = (ArchiveMemberHeader*)At; in parseMemberHeader() local
86 int MemberSize = atoi(Hdr->size); in parseMemberHeader()
100 if (!Hdr->checkSignature()) { in parseMemberHeader()
118 switch (Hdr->name[0]) { in parseMemberHeader()
120 if (Hdr->name[1] == '1' && Hdr->name[2] == '/') { in parseMemberHeader()
121 if (isdigit(Hdr->name[3])) { in parseMemberHeader()
122 unsigned len = atoi(&Hdr->name[3]); in parseMemberHeader()
133 } else if (Hdr->name[1] == '_' && in parseMemberHeader()
134 (0 == memcmp(Hdr->name, ARFILE_LLVM_SYMTAB_NAME, 16))) { in parseMemberHeader()
146 if (Hdr->name[1]== '/') { in parseMemberHeader()
[all …]
DArchiveWriter.cpp268 ArchiveMemberHeader Hdr; in writeMember() local
269 bool writeLongName = fillHeader(member,Hdr,hdrSize,TruncateNames); in writeMember()
272 ARFile.write((char*)&Hdr, sizeof(Hdr)); in writeMember()
297 ArchiveMemberHeader Hdr; in writeSymbolTable() local
298 Hdr.init(); in writeSymbolTable()
299 memcpy(Hdr.name,ARFILE_LLVM_SYMTAB_NAME,16); in writeSymbolTable()
303 memcpy(Hdr.mode,buffer,8); in writeSymbolTable()
305 memcpy(Hdr.uid,buffer,6); in writeSymbolTable()
307 memcpy(Hdr.gid,buffer,6); in writeSymbolTable()
309 memcpy(Hdr.date,buffer,12); in writeSymbolTable()
[all …]
/external/syslinux/gpxe/src/include/gpxe/efi/IndustryStandard/
DPci22.h59 PCI_DEVICE_INDEPENDENT_REGION Hdr; member
92 PCI_DEVICE_INDEPENDENT_REGION Hdr; member
287 #define IS_CLASS1(_p, c) ((_p)->Hdr.ClassCode[2] == (c))
288 #define IS_CLASS2(_p, c, s) (IS_CLASS1 (_p, c) && ((_p)->Hdr.ClassCode[1] == (s)))
289 #define IS_CLASS3(_p, c, s, p) (IS_CLASS2 (_p, c, s) && ((_p)->Hdr.ClassCode[0] == (p)))
318 #define IS_PCI_BRIDGE(_p) (((_p)->Hdr.HeaderType & HEADER_LAYOUT_CODE) == (HEADER_TYPE_…
319 #define IS_CARDBUS_BRIDGE(_p) (((_p)->Hdr.HeaderType & HEADER_LAYOUT_CODE) == (HEADER_TYPE_…
320 #define IS_PCI_MULTI_FUNC(_p) ((_p)->Hdr.HeaderType & HEADER_TYPE_MULTI_FUNCTION)
448 EFI_PCI_CAPABILITY_HDR Hdr; member
459 EFI_PCI_CAPABILITY_HDR Hdr; member
[all …]
/external/syslinux/gnu-efi/gnu-efi-3.0/inc/
Dlibsmbios.h54 SMBIOS_HEADER Hdr; member
64 SMBIOS_HEADER Hdr; member
79 SMBIOS_HEADER Hdr; member
87 SMBIOS_HEADER Hdr; member
101 SMBIOS_HEADER Hdr; member
120 SMBIOS_HEADER *Hdr; member
Defifs.h33 EFI_TABLE_HEADER Hdr; member
54 EFI_TABLE_HEADER Hdr; member
88 EFI_TABLE_HEADER Hdr; member
98 (((blks) - (offs) - (lbal)->Hdr.HeaderSize) / sizeof(EFI_RL))
113 #define EFI_LBAL_RL(a) ((EFI_RL*) (((CHAR8 *) (a)) + (a)->Hdr.HeaderSize))
Dpci22.h64 PCI_DEVICE_INDEPENDENT_REGION Hdr; member
107 #define IS_PCI_BRIDGE(_p) ((((_p)->Hdr.HeaderType) & HEADER_LAYOUT_CODE) == HEADER_TYPE_PCI_TO_PCI_…
108 #define IS_PCI_MULTI_FUNC(_p) (((_p)->Hdr.HeaderType) & HEADER_TYPE_MULTI_FUNCTION)
111 PCI_DEVICE_INDEPENDENT_REGION Hdr; member
Defilib.h146 IN OUT EFI_TABLE_HEADER *Hdr
152 IN OUT EFI_TABLE_HEADER *Hdr
158 IN OUT EFI_TABLE_HEADER *Hdr
165 IN OUT EFI_TABLE_HEADER *Hdr
/external/syslinux/efi64/include/efi/
Dlibsmbios.h54 SMBIOS_HEADER Hdr; member
64 SMBIOS_HEADER Hdr; member
79 SMBIOS_HEADER Hdr; member
87 SMBIOS_HEADER Hdr; member
101 SMBIOS_HEADER Hdr; member
120 SMBIOS_HEADER *Hdr; member
Defifs.h33 EFI_TABLE_HEADER Hdr; member
54 EFI_TABLE_HEADER Hdr; member
88 EFI_TABLE_HEADER Hdr; member
98 (((blks) - (offs) - (lbal)->Hdr.HeaderSize) / sizeof(EFI_RL))
113 #define EFI_LBAL_RL(a) ((EFI_RL*) (((CHAR8 *) (a)) + (a)->Hdr.HeaderSize))
Dpci22.h64 PCI_DEVICE_INDEPENDENT_REGION Hdr; member
107 #define IS_PCI_BRIDGE(_p) ((((_p)->Hdr.HeaderType) & HEADER_LAYOUT_CODE) == HEADER_TYPE_PCI_TO_PCI_…
108 #define IS_PCI_MULTI_FUNC(_p) (((_p)->Hdr.HeaderType) & HEADER_TYPE_MULTI_FUNCTION)
111 PCI_DEVICE_INDEPENDENT_REGION Hdr; member
/external/syslinux/efi32/include/efi/
Dlibsmbios.h54 SMBIOS_HEADER Hdr; member
64 SMBIOS_HEADER Hdr; member
79 SMBIOS_HEADER Hdr; member
87 SMBIOS_HEADER Hdr; member
101 SMBIOS_HEADER Hdr; member
120 SMBIOS_HEADER *Hdr; member
Defifs.h33 EFI_TABLE_HEADER Hdr; member
54 EFI_TABLE_HEADER Hdr; member
88 EFI_TABLE_HEADER Hdr; member
98 (((blks) - (offs) - (lbal)->Hdr.HeaderSize) / sizeof(EFI_RL))
113 #define EFI_LBAL_RL(a) ((EFI_RL*) (((CHAR8 *) (a)) + (a)->Hdr.HeaderSize))
Dpci22.h64 PCI_DEVICE_INDEPENDENT_REGION Hdr; member
107 #define IS_PCI_BRIDGE(_p) ((((_p)->Hdr.HeaderType) & HEADER_LAYOUT_CODE) == HEADER_TYPE_PCI_TO_PCI_…
108 #define IS_PCI_MULTI_FUNC(_p) (((_p)->Hdr.HeaderType) & HEADER_TYPE_MULTI_FUNCTION)
111 PCI_DEVICE_INDEPENDENT_REGION Hdr; member
Defilib.h146 IN OUT EFI_TABLE_HEADER *Hdr
152 IN OUT EFI_TABLE_HEADER *Hdr
158 IN OUT EFI_TABLE_HEADER *Hdr
165 IN OUT EFI_TABLE_HEADER *Hdr
/external/swiftshader/third_party/LLVM/lib/ExecutionEngine/JIT/
DJITMemoryManager.cpp675 for (MemoryRangeHeader *Hdr = (MemoryRangeHeader*)Start, *LastHdr = NULL; in CheckInvariants() local
676 Start <= (char*)Hdr && (char*)Hdr < End; in CheckInvariants()
677 Hdr = &Hdr->getBlockAfter()) { in CheckInvariants()
678 if (Hdr->ThisAllocated == 0) { in CheckInvariants()
680 if (!FreeHdrSet.count(Hdr)) { in CheckInvariants()
681 Err << "Found free header at " << Hdr << " that is not in free list."; in CheckInvariants()
686 uintptr_t *Marker = ((uintptr_t*)&Hdr->getBlockAfter()) - 1; in CheckInvariants()
691 if (Hdr->BlockSize != *Marker) { in CheckInvariants()
693 << "and BlockSize (" << Hdr->BlockSize << ") don't match."; in CheckInvariants()
698 if (LastHdr && LastHdr->ThisAllocated != Hdr->PrevAllocated) { in CheckInvariants()
[all …]
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp90 template <class PEHeader> void printPEHeader(const PEHeader *Hdr);
91 void printBaseOfDataField(const pe32_header *Hdr);
92 void printBaseOfDataField(const pe32plus_header *Hdr);
610 void COFFDumper::printPEHeader(const PEHeader *Hdr) { in printPEHeader() argument
612 W.printNumber("MajorLinkerVersion", Hdr->MajorLinkerVersion); in printPEHeader()
613 W.printNumber("MinorLinkerVersion", Hdr->MinorLinkerVersion); in printPEHeader()
614 W.printNumber("SizeOfCode", Hdr->SizeOfCode); in printPEHeader()
615 W.printNumber("SizeOfInitializedData", Hdr->SizeOfInitializedData); in printPEHeader()
616 W.printNumber("SizeOfUninitializedData", Hdr->SizeOfUninitializedData); in printPEHeader()
617 W.printHex ("AddressOfEntryPoint", Hdr->AddressOfEntryPoint); in printPEHeader()
[all …]
/external/clang/lib/Lex/
DHeaderMap.cpp173 const HMapHeader &Hdr = getHeader(); in dump() local
174 unsigned NumBuckets = getEndianAdjustedWord(Hdr.NumBuckets); in dump()
177 << ", " << getEndianAdjustedWord(Hdr.NumEntries) << "\n"; in dump()
212 const HMapHeader &Hdr = getHeader(); in lookupFilename() local
213 unsigned NumBuckets = getEndianAdjustedWord(Hdr.NumBuckets); in lookupFilename()
/external/clang/test/Analysis/engine/
Dreplay-without-inlining.c7 } Hdr; typedef
33 static void getH(IB *st, Hdr *header) { in getH()
42 Hdr header; in readILBM()
/external/syslinux/gpxe/src/include/gpxe/efi/Uefi/
DUefiMultiPhase.h125 WIN_CERTIFICATE Hdr; member
155 WIN_CERTIFICATE Hdr; member
/external/llvm/include/llvm/DebugInfo/DWARF/
DDWARFAcceleratorTable.h38 struct Header Hdr; variable
/external/syslinux/gpxe/src/include/gpxe/efi/Pi/
DPiFirmwareVolume.h143 EFI_FIRMWARE_VOLUME_EXT_ENTRY Hdr; member

12