Home
last modified time | relevance | path

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

12

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/
H A DCOFFImportFile.cpp181 const uint32_t NumberOfSections = 2; in createImportDescriptor() local
188 u16(NumberOfSections), in createImportDescriptor()
190 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createImportDescriptor()
203 const coff_section SectionTable[NumberOfSections] = { in createImportDescriptor()
208 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section)), in createImportDescriptor()
209 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor()
220 u32(sizeof(coff_file_header) + NumberOfSections * sizeof(coff_section) + in createImportDescriptor()
321 const uint32_t NumberOfSections = 1; in createNullImportDescriptor() local
327 u16(NumberOfSections), in createNullImportDescriptor()
329 u32(sizeof(Header) + (NumberOfSections * sizeof(coff_section)) + in createNullImportDescriptor()
[all …]
H A DMachOUniversalWriter.cpp39 unsigned NumberOfSections = in calculateFileAlignment() local
42 P2CurrentAlignment = NumberOfSections ? 2 : P2MinAlignment; in calculateFileAlignment()
43 for (unsigned SI = 0; SI < NumberOfSections; ++SI) { in calculateFileAlignment()
H A DXCOFFObjectFile.cpp356 const uint16_t NumberOfSections = getNumberOfSections(); in getRelocationOffset() local
357 for (uint16_t i = 0; i < NumberOfSections; ++i) { in getRelocationOffset()
529 return is64Bit() ? fileHeader64()->NumberOfSections in getNumberOfSections()
530 : fileHeader32()->NumberOfSections; in getNumberOfSections()
H A DWindowsResource.cpp734 Header->NumberOfSections = 2; in writeCOFFHeader()
H A DCOFFObjectFile.cpp758 COFFHeader->NumberOfSections == uint16_t(0xffff) && in initialize()
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/libdruntime/gcc/sections/
H A Dwin64.d267 ushort NumberOfSections; variable
316 for (ushort i = 0; i < nthdr.FileHeader.NumberOfSections; i++) in findImageSection()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ObjectYAML/
H A DXCOFFYAML.h24 uint16_t NumberOfSections; member
/netbsd-src/external/apache2/llvm/dist/llvm/tools/obj2yaml/
H A Dxcoff2yaml.cpp39 YAMLObj.Header.NumberOfSections = Obj.getNumberOfSections(); in dumpHeader()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/BinaryFormat/
H A DCOFF.h67 int32_t NumberOfSections; member
88 uint32_t NumberOfSections; member
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/windows/
H A Dimagehlp.d118 ULONG NumberOfSections; variable
137 DWORD NumberOfSections; member
H A Dwinnt.d2956 WORD NumberOfSections;
3603 DWORD NumberOfSections;
/netbsd-src/external/apache2/llvm/dist/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
897 return COFFHeader->isImportLibrary() ? 0 : COFFHeader->NumberOfSections; in getNumberOfSections()
899 return COFFBigObjHeader->NumberOfSections; in getNumberOfSections()
H A DXCOFFObjectFile.h28 support::ubig16_t NumberOfSections; member
42 support::ubig16_t NumberOfSections; member
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ObjectYAML/
H A DXCOFFYAML.cpp85 IO.mapRequired("NumberOfSections", FileHdr.NumberOfSections); in mapping()
H A DCOFFEmitter.cpp302 CP.Obj.Header.NumberOfSections = CP.Obj.Sections.size(); in layoutCOFF()
437 << zeros(uint32_t(0)) << binary_le(CP.Obj.Header.NumberOfSections) in writeCOFF()
442 << binary_le(static_cast<int16_t>(CP.Obj.Header.NumberOfSections)) in writeCOFF()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/MC/
H A DWinCOFFObjectWriter.cpp505 W.write<uint32_t>(Header.NumberOfSections); in WriteFileHeader()
510 W.write<uint16_t>(static_cast<int16_t>(Header.NumberOfSections)); in WriteFileHeader()
961 Offset += COFF::SectionSize * Header.NumberOfSections; in assignFileOffsets()
1025 Header.NumberOfSections = Sections.size(); in writeObject()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/COFF/
H A DWriter.cpp192 Obj.CoffFileHeader.NumberOfSections = Obj.getSections().size(); in finalize()
273 BigObjHeader.NumberOfSections = Obj.getSections().size(); in writeHeaders()
/netbsd-src/external/gpl3/binutils.old/dist/include/coff/
H A Dpe.h360 char NumberOfSections[4]; member
/netbsd-src/external/gpl3/binutils/dist/include/coff/
H A Dpe.h363 char NumberOfSections[4]; member
/netbsd-src/sys/external/bsd/gnu-efi/dist/inc/x86_64/
H A Dpe.h77 UINT16 NumberOfSections; member
/netbsd-src/sys/external/bsd/gnu-efi/dist/inc/ia64/
H A Dpe.h92 UINT16 NumberOfSections; member
/netbsd-src/sys/external/bsd/gnu-efi/dist/inc/ia32/
H A Dpe.h77 UINT16 NumberOfSections; member
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/gcc/sections/
H A Dpecoff.d822 const length = nthdr.FileHeader.NumberOfSections; in getSectionHeader()
/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Dcoffcode.h5571 filehdr_dst->f_nscns = H_GET_32 (abfd, filehdr_src->NumberOfSections); in coff_bigobj_swap_filehdr_in()
5603 H_PUT_32 (abfd, filehdr_in->f_nscns, filehdr_out->NumberOfSections); in coff_bigobj_swap_filehdr_out()
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Dcoffcode.h5729 filehdr_dst->f_nscns = H_GET_32 (abfd, filehdr_src->NumberOfSections); in coff_bigobj_swap_filehdr_in()
5761 H_PUT_32 (abfd, filehdr_in->f_nscns, filehdr_out->NumberOfSections); in coff_bigobj_swap_filehdr_out()

12