Home
last modified time | relevance | path

Searched refs:NumberOfSections (Results 1 – 20 of 20) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DCOFFImportFile.cpp264 const uint32_t NumberOfSections = 2; in createImportDescriptor() local
271 u16(NumberOfSections), in createImportDescriptor()
273 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createImportDescriptor()
286 const coff_section SectionTable[NumberOfSections] = { in createImportDescriptor()
291 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section)), in createImportDescriptor()
292 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor()
303 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor()
404 const uint32_t NumberOfSections = 1; in createNullImportDescriptor() local
410 u16(NumberOfSections), in createNullImportDescriptor()
412 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullImportDescriptor()
[all …]
H A DMachOUniversalWriter.cpp46 unsigned NumberOfSections = in calculateFileAlignment() local
49 P2CurrentAlignment = NumberOfSections ? 2 : P2MinAlignment; in calculateFileAlignment()
50 for (unsigned SI = 0; SI < NumberOfSections; ++SI) { in calculateFileAlignment()
H A DXCOFFObjectFile.cpp582 const uint16_t NumberOfSections = getNumberOfSections(); in getRelocationOffset() local
583 for (uint16_t I = 0; I < NumberOfSections; ++I) { in getRelocationOffset()
596 const uint16_t NumberOfSections = getNumberOfSections(); in getRelocationOffset() local
597 for (uint16_t I = 0; I < NumberOfSections; ++I) { in getRelocationOffset()
851 return is64Bit() ? fileHeader64()->NumberOfSections in getNumberOfSections()
852 : fileHeader32()->NumberOfSections; in getNumberOfSections()
H A DWindowsResource.cpp733 Header->NumberOfSections = 2; in writeCOFFHeader()
H A DCOFFObjectFile.cpp869 COFFHeader->NumberOfSections == uint16_t(0xffff) && in initialize()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DCOFF.cpp83 COFFHeader->NumberOfSections == uint16_t(0xffff) && in createLinkGraphFromCOFFObject()
/freebsd/contrib/llvm-project/llvm/include/llvm/BinaryFormat/
H A DCOFF.h66 int32_t NumberOfSections; member
87 uint32_t NumberOfSections; member
/freebsd/contrib/llvm-project/llvm/include/llvm/Object/
H A DCOFF.h77 support::ulittle16_t NumberOfSections; member
84 bool isImportLibrary() const { return NumberOfSections == 0xffff; } in isImportLibrary()
98 support::ulittle32_t NumberOfSections; member
943 return COFFHeader->isImportLibrary() ? 0 : COFFHeader->NumberOfSections; in getNumberOfSections()
945 return COFFBigObjHeader->NumberOfSections; in getNumberOfSections()
H A DXCOFFObjectFile.h31 support::ubig16_t NumberOfSections; member
45 support::ubig16_t NumberOfSections; member
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DXCOFFEmitter.cpp310 InitFileHdr.NumberOfSections = Obj.Sections.size(); in initFileHeader()
441 W.write<uint16_t>(Obj.Header.NumberOfSections ? Obj.Header.NumberOfSections in writeFileHeader()
442 : InitFileHdr.NumberOfSections); in writeFileHeader()
H A DCOFFEmitter.cpp295 CP.Obj.Header.NumberOfSections = CP.Obj.Sections.size(); in layoutCOFF()
430 << zeros(uint32_t(0)) << binary_le(CP.Obj.Header.NumberOfSections) in writeCOFF()
435 << binary_le(static_cast<int16_t>(CP.Obj.Header.NumberOfSections)) in writeCOFF()
H A DXCOFFYAML.cpp194 IO.mapOptional("NumberOfSections", FileHdr.NumberOfSections); in mapping()
/freebsd/contrib/llvm-project/llvm/lib/ObjCopy/COFF/
H A DCOFFWriter.cpp199 Obj.CoffFileHeader.NumberOfSections = Obj.getSections().size(); in finalize()
284 BigObjHeader.NumberOfSections = Obj.getSections().size(); in writeHeaders()
/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp477 W.write<uint32_t>(Header.NumberOfSections); in WriteFileHeader()
482 W.write<uint16_t>(static_cast<int16_t>(Header.NumberOfSections)); in WriteFileHeader()
740 Offset += COFF::SectionSize * Header.NumberOfSections; in assignFileOffsets()
989 Header.NumberOfSections = Sections.size(); in writeObject()
/freebsd/stand/efi/include/amd64/
H A Dpe.h75 UINT16 NumberOfSections; member
/freebsd/stand/efi/include/i386/
H A Dpe.h75 UINT16 NumberOfSections; member
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DXCOFFYAML.h25 uint16_t NumberOfSections; member
/freebsd/contrib/llvm-project/libunwind/src/
H A DAddressSpace.hpp565 for (unsigned j = 0; j < pifh->NumberOfSections; j++, pish++) { in findUnwindSections()
/freebsd/contrib/llvm-project/lld/COFF/
H A DWriter.cpp1602 coff->NumberOfSections = ctx.outputSections.size(); in writeHeader()
/freebsd/contrib/file/magic/Magdir/
H A Dmsdos394 # NumberOfSections; Normal Dynamic Link libraries have a few sections for code, data and resource e…