Home
last modified time | relevance | path

Searched refs:ContentsSize (Results 1 – 3 of 3) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/MC/
H A DMCELFStreamer.cpp637 const size_t ContentsSize = calculateContentSize(AttrsVec); in createAttributesSection() local
639 emitInt32(VendorHeaderSize + TagHeaderSize + ContentsSize); in createAttributesSection()
644 emitInt32(TagHeaderSize + ContentsSize); in createAttributesSection()
700 const size_t ContentsSize = calculateContentSize(SubSection.Content); in createAttributesWithSubsection() local
702 emitInt32(VendorHeaderSize + VendorParameters + ContentsSize); in createAttributesWithSubsection()
/freebsd/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/
H A DCSKYELFStreamer.cpp102 const size_t ContentsSize = calculateContentSize(); in finishAttributeSection() local
104 Streamer.emitInt32(VendorHeaderSize + TagHeaderSize + ContentsSize); in finishAttributeSection()
109 Streamer.emitInt32(TagHeaderSize + ContentsSize); in finishAttributeSection()
/freebsd/contrib/llvm-project/llvm/lib/Object/
H A DCOFFObjectFile.cpp2011 size_t ContentsSize = in validate() local
2020 if (HeaderSize > ContentsSize) in validate()
2031 if (Size < HeaderSize || Size > ContentsSize) in validate()
2040 if (Contents.size() > ContentsSize - HeaderSize) in validate()
2144 size_t ContentsSize = reinterpret_cast<const uint8_t *>(Table + 1) + in validate() local
2147 if (ContentsSize < sizeof(coff_base_reloc_block_header)) in validate()
2158 if (Header->BlockSize > ContentsSize) in validate()