Home
last modified time | relevance | path

Searched refs:SizeOfRawData (Results 1 – 25 of 38) sorted by relevance

12

/external/llvm/tools/yaml2obj/
Dyaml2coff.cpp187 S.Header.SizeOfRawData = S.SectionData.binary_size(); in layoutCOFF()
189 S.Header.SizeOfRawData = in layoutCOFF()
190 alignTo(S.Header.SizeOfRawData, CP.getFileAlignment()); in layoutCOFF()
192 CurrentSectionDataOffset += S.Header.SizeOfRawData; in layoutCOFF()
200 S.Header.SizeOfRawData = 0; in layoutCOFF()
310 SizeOfCode += S.Header.SizeOfRawData; in initializeOptionalHeader()
312 SizeOfInitializedData += S.Header.SizeOfRawData; in initializeOptionalHeader()
314 SizeOfUninitializedData += S.Header.SizeOfRawData; in initializeOptionalHeader()
432 << binary_le(i->Header.SizeOfRawData) in writeCOFF()
453 if (!S.Header.SizeOfRawData) in writeCOFF()
[all …]
/external/llvm-project/llvm/tools/llvm-objcopy/COFF/
DWriter.cpp96 if (S.Header.SizeOfRawData > 0) in layoutSections()
98 FileSize += S.Header.SizeOfRawData; // For executables, this is already in layoutSections()
114 SizeOfInitializedData += S.Header.SizeOfRawData; in layoutSections()
312 S.Header.SizeOfRawData > Contents.size()) in writeSections()
314 S.Header.SizeOfRawData - Contents.size()); in writeSections()
316 Ptr += S.Header.SizeOfRawData; in writeSections()
389 RVA < S.Header.VirtualAddress + S.Header.SizeOfRawData) in virtualAddressToFileAddress()
408 S.Header.VirtualAddress + S.Header.SizeOfRawData) { in patchDebugDirectory()
410 S.Header.VirtualAddress + S.Header.SizeOfRawData) in patchDebugDirectory()
DObject.cpp141 Sec.Header.SizeOfRawData = 0; in truncateSections()
DCOFFObjcopy.cpp70 Sec.Header.SizeOfRawData = in addSection()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ObjectYAML/
DCOFFEmitter.cpp255 S.Header.SizeOfRawData = S.SectionData.binary_size(); in layoutCOFF()
257 S.Header.SizeOfRawData = in layoutCOFF()
258 alignTo(S.Header.SizeOfRawData, CP.getFileAlignment()); in layoutCOFF()
260 CurrentSectionDataOffset += S.Header.SizeOfRawData; in layoutCOFF()
365 SizeOfCode += S.Header.SizeOfRawData; in initializeOptionalHeader()
367 SizeOfInitializedData += S.Header.SizeOfRawData; in initializeOptionalHeader()
369 SizeOfUninitializedData += S.Header.SizeOfRawData; in initializeOptionalHeader()
484 << binary_le(i->Header.SizeOfRawData) in writeCOFF()
505 if (S.Header.SizeOfRawData == 0 || S.Header.PointerToRawData == 0) in writeCOFF()
510 assert(S.Header.SizeOfRawData >= S.SectionData.binary_size()); in writeCOFF()
[all …]
DCOFFYAML.cpp585 IO.mapOptional("SizeOfRawData", Sec.Header.SizeOfRawData); in mapping()
/external/llvm-project/llvm/lib/ObjectYAML/
DCOFFEmitter.cpp255 S.Header.SizeOfRawData = S.SectionData.binary_size(); in layoutCOFF()
257 S.Header.SizeOfRawData = in layoutCOFF()
258 alignTo(S.Header.SizeOfRawData, CP.getFileAlignment()); in layoutCOFF()
260 CurrentSectionDataOffset += S.Header.SizeOfRawData; in layoutCOFF()
365 SizeOfCode += S.Header.SizeOfRawData; in initializeOptionalHeader()
367 SizeOfInitializedData += S.Header.SizeOfRawData; in initializeOptionalHeader()
369 SizeOfUninitializedData += S.Header.SizeOfRawData; in initializeOptionalHeader()
484 << binary_le(i->Header.SizeOfRawData) in writeCOFF()
505 if (S.Header.SizeOfRawData == 0 || S.Header.PointerToRawData == 0) in writeCOFF()
510 assert(S.Header.SizeOfRawData >= S.SectionData.binary_size()); in writeCOFF()
[all …]
DCOFFYAML.cpp585 IO.mapOptional("SizeOfRawData", Sec.Header.SizeOfRawData); in mapping()
/external/llvm-project/lld/COFF/
DWriter.h64 uint64_t getRawSize() { return header.SizeOfRawData; } in getRawSize()
DICF.cpp173 a->header->SizeOfRawData == b->header->SizeOfRawData && in equalsConstant()
DInputFiles.cpp560 if (leaderChunk->getSize() != getSection(sym)->SizeOfRawData) { in handleComdatSelection()
590 if (leaderChunk->getSize() < getSection(sym)->SizeOfRawData) { in handleComdatSelection()
DChunks.h203 size_t getSize() const { return header->SizeOfRawData; } in getSize()
/external/llvm-project/llvm/tools/obj2yaml/
Dcoff2yaml.cpp174 NewYAMLSection.Header.SizeOfRawData = COFFSection->SizeOfRawData; in dumpSections()
/external/llvm/lib/MC/
DWinCOFFObjectWriter.cpp592 writeLE32(S.SizeOfRawData); in writeSectionHeader()
932 Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(&Section); in writeObject()
939 offset += Sec->Header.SizeOfRawData; in writeObject()
972 Aux.Aux.SectionDefinition.Length = Sec->Header.SizeOfRawData; in writeObject()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/MC/
DWinCOFFObjectWriter.cpp574 W.write<uint32_t>(S.SizeOfRawData); in writeSectionHeaders()
905 Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(&Section); in assignFileOffsets()
909 Offset += Sec->Header.SizeOfRawData; in assignFileOffsets()
942 Aux.Aux.SectionDefinition.Length = Sec->Header.SizeOfRawData; in assignFileOffsets()
/external/llvm-project/llvm/lib/MC/
DWinCOFFObjectWriter.cpp585 W.write<uint32_t>(S.SizeOfRawData); in writeSectionHeaders()
964 Sec->Header.SizeOfRawData = Layout.getSectionAddressSize(&Section); in assignFileOffsets()
968 Offset += Sec->Header.SizeOfRawData; in assignFileOffsets()
1001 Aux.Aux.SectionDefinition.Length = Sec->Header.SizeOfRawData; in assignFileOffsets()
/external/llvm-project/lld/test/COFF/
Dsort-debug.test48 SizeOfRawData: 4
/external/llvm/include/llvm/Support/
DCOFF.h239 uint32_t SizeOfRawData; member
/external/swiftshader/third_party/llvm-subzero/include/llvm/Support/
DCOFF.h244 uint32_t SizeOfRawData; member
/external/icu/icu4c/source/tools/toolutil/
Dpkg_genc.cpp1284 objHeader.sections[0].SizeOfRawData=length; in writeObjectCode()
1290 objHeader.sections[1].SizeOfRawData=size; in writeObjectCode()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/BinaryFormat/
DCOFF.h274 uint32_t SizeOfRawData; member
/external/llvm-project/llvm/include/llvm/BinaryFormat/
DCOFF.h274 uint32_t SizeOfRawData; member
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DWindowsResource.cpp750 SectionOneHeader->SizeOfRawData = SectionOneSize; in writeFirstSectionHeader()
768 SectionTwoHeader->SizeOfRawData = SectionTwoSize; in writeSecondSectionHeader()
/external/llvm-project/llvm/lib/Object/
DWindowsResource.cpp752 SectionOneHeader->SizeOfRawData = SectionOneSize; in writeFirstSectionHeader()
770 SectionTwoHeader->SizeOfRawData = SectionTwoSize; in writeSecondSectionHeader()
/external/llvm/lib/Object/
DCOFFObjectFile.cpp1028 return std::min(Sec->VirtualSize, Sec->SizeOfRawData); in getSectionSize()
1029 return Sec->SizeOfRawData; in getSectionSize()

12