Home
last modified time | relevance | path

Searched refs:SizeOfHeaders (Results 1 – 22 of 22) sorted by relevance

/external/llvm-project/llvm/tools/llvm-objcopy/COFF/
DWriter.cpp176 size_t SizeOfHeaders = 0; in finalize() local
182 SizeOfHeaders += Obj.DosHeader.AddressOfNewExeHeader + sizeof(PEMagic); in finalize()
188 SizeOfHeaders += in finalize()
192 SizeOfHeaders += in finalize()
194 SizeOfHeaders += sizeof(coff_section) * Obj.getSections().size(); in finalize()
195 SizeOfHeaders = alignTo(SizeOfHeaders, FileAlignment); in finalize()
200 FileSize = SizeOfHeaders; in finalize()
206 Obj.PeHeader.SizeOfHeaders = SizeOfHeaders; in finalize()
DObject.h195 Dest.SizeOfHeaders = Src.SizeOfHeaders; in copyPeHeader()
/external/llvm/tools/yaml2obj/
Dyaml2coff.cpp304 uint32_t SizeOfHeaders = alignTo(CP.SectionTableStart + CP.SectionTableSize, in initializeOptionalHeader() local
306 uint32_t SizeOfImage = alignTo(SizeOfHeaders, Header->SectionAlignment); in initializeOptionalHeader()
341 Header->SizeOfHeaders = SizeOfHeaders; in initializeOptionalHeader()
/external/llvm/test/tools/llvm-readobj/
Dpeplus.test36 CHECK: SizeOfHeaders: 512
Dfile-headers.test254 PE32-NEXT: SizeOfHeaders: 1024
/external/llvm-project/llvm/test/tools/llvm-readobj/COFF/
Dpeplus.test37 CHECK: SizeOfHeaders: 512
Dfile-headers.test154 # I386-CUSTOM-HEADER-NEXT: SizeOfHeaders: 512
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCOFFEmitter.cpp359 uint32_t SizeOfHeaders = alignTo(CP.SectionTableStart + CP.SectionTableSize, in initializeOptionalHeader() local
361 uint32_t SizeOfImage = alignTo(SizeOfHeaders, Header->SectionAlignment); in initializeOptionalHeader()
394 Header->SizeOfHeaders = SizeOfHeaders; in initializeOptionalHeader()
/external/llvm-project/llvm/lib/ObjectYAML/
DCOFFEmitter.cpp359 uint32_t SizeOfHeaders = alignTo(CP.SectionTableStart + CP.SectionTableSize, in initializeOptionalHeader() local
361 uint32_t SizeOfImage = alignTo(SizeOfHeaders, Header->SectionAlignment); in initializeOptionalHeader()
394 Header->SizeOfHeaders = SizeOfHeaders; in initializeOptionalHeader()
/external/llvm-project/lld/test/COFF/
Dhello32.test44 HEADER-NEXT: SizeOfHeaders: 1024
/external/llvm/include/llvm/Support/
DCOFF.h506 uint32_t SizeOfHeaders; member
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCOFF.h511 uint32_t SizeOfHeaders; member
/external/llvm-project/llvm/lib/Object/
DMachOObjectFile.cpp280 uint32_t LoadCommandIndex, const char *CmdName, uint64_t SizeOfHeaders, in parseSegmentLoadCommand() argument
314 s.offset < SizeOfHeaders && s.size != 0) in parseSegmentLoadCommand()
1264 uint64_t SizeOfHeaders; in MachOObjectFile() local
1268 SizeOfHeaders = sizeof(MachO::mach_header_64); in MachOObjectFile()
1272 SizeOfHeaders = sizeof(MachO::mach_header); in MachOObjectFile()
1277 SizeOfHeaders += getHeader().sizeofcmds; in MachOObjectFile()
1278 if (getData().data() + SizeOfHeaders > getData().end()) { in MachOObjectFile()
1289 Elements.push_back({0, SizeOfHeaders, "Mach-O headers"}); in MachOObjectFile()
1396 "LC_SEGMENT_64", SizeOfHeaders, Elements))) in MachOObjectFile()
1402 "LC_SEGMENT", SizeOfHeaders, Elements))) in MachOObjectFile()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DMachOObjectFile.cpp280 uint32_t LoadCommandIndex, const char *CmdName, uint64_t SizeOfHeaders, in parseSegmentLoadCommand() argument
314 s.offset < SizeOfHeaders && s.size != 0) in parseSegmentLoadCommand()
1264 uint64_t SizeOfHeaders; in MachOObjectFile() local
1268 SizeOfHeaders = sizeof(MachO::mach_header_64); in MachOObjectFile()
1272 SizeOfHeaders = sizeof(MachO::mach_header); in MachOObjectFile()
1277 SizeOfHeaders += getHeader().sizeofcmds; in MachOObjectFile()
1278 if (getData().data() + SizeOfHeaders > getData().end()) { in MachOObjectFile()
1289 Elements.push_back({0, SizeOfHeaders, "Mach-O headers"}); in MachOObjectFile()
1396 "LC_SEGMENT_64", SizeOfHeaders, Elements))) in MachOObjectFile()
1402 "LC_SEGMENT", SizeOfHeaders, Elements))) in MachOObjectFile()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DCOFF.h561 uint32_t SizeOfHeaders; member
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DCOFF.h562 uint32_t SizeOfHeaders; member
/external/llvm/include/llvm/Object/
DCOFF.h112 support::ulittle32_t SizeOfHeaders; member
147 support::ulittle32_t SizeOfHeaders; member
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/
DCOFF.h125 support::ulittle32_t SizeOfHeaders; member
160 support::ulittle32_t SizeOfHeaders; member
/external/llvm-project/llvm/include/llvm/Object/
DCOFF.h125 support::ulittle32_t SizeOfHeaders; member
160 support::ulittle32_t SizeOfHeaders; member
/external/llvm/tools/llvm-readobj/
DCOFFDumper.cpp632 W.printNumber("SizeOfHeaders", Hdr->SizeOfHeaders); in printPEHeader()
/external/llvm-project/lld/COFF/
DWriter.cpp1394 pe->SizeOfHeaders = sizeOfHeaders; in writeHeader()
/external/llvm-project/llvm/tools/llvm-readobj/
DCOFFDumper.cpp691 W.printNumber("SizeOfHeaders", Hdr->SizeOfHeaders); in printPEHeader()