Home
last modified time | relevance | path

Searched refs:binary_size (Results 1 – 13 of 13) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpEmitter.cpp48 return allocateCallback(Data.binary_size(), [Data](raw_ostream &OS) { in allocateBytes()
118 return {support::ulittle32_t(Data.binary_size()), in layout()
200 assert(Raw.Content.binary_size() <= Raw.Size); in layout()
201 OS << std::string(Raw.Size - Raw.Content.binary_size(), '\0'); in layout()
H A DCOFFEmitter.cpp211 if (S.Name == ".debug$S" && S.SectionData.binary_size() == 0) { in layoutCOFF()
223 if (S.SectionData.binary_size() == 0) { in layoutCOFF()
231 if (S.SectionData.binary_size() == 0) in layoutCOFF()
234 if (S.SectionData.binary_size() == 0) in layoutCOFF()
237 if (S.DebugH && S.SectionData.binary_size() == 0) in layoutCOFF()
241 size_t DataSize = S.SectionData.binary_size(); in layoutCOFF()
501 assert(S.Header.SizeOfRawData >= S.SectionData.binary_size()); in writeCOFF()
594 size_t Size = Binary.binary_size(); in size()
H A DXCOFFEmitter.cpp161 InitSections[I].Size = InitSections[I].SectionData.binary_size(); in initSectionHeaders()
191 if (InitSections[I].SectionData.binary_size()) { in initSectionHeaders()
205 CurrentOffset += InitSections[I].SectionData.binary_size(); in initSectionHeaders()
234 size_t RawSize = Obj.StrTbl.RawContent->binary_size(); in initStringTable()
561 if (YamlSec.SectionData.binary_size()) { in writeSectionData()
830 assert(*Obj.StrTbl.ContentSize >= Obj.StrTbl.RawContent->binary_size() && in writeStringTable()
833 Obj.StrTbl.RawContent->binary_size()); in writeStringTable()
H A DYAML.cpp55 if (binary_size() == 0) in writeAsHex()
H A DELFEmitter.cpp100 if (!checkLimit(Bin.binary_size())) in writeAsBinary()
731 ContentSize = Content->binary_size(); in writeContent()
1814 if (NE.Desc.binary_size() == 0) in writeSectionContent()
1817 CBA.write<uint32_t>(NE.Desc.binary_size(), ELFT::Endianness); in writeSectionContent()
1830 if (NE.Desc.binary_size() != 0) { in writeSectionContent()
1893 size_t PatternSize = Fill.Pattern ? Fill.Pattern->binary_size() : 0; in writeFill()
H A DMinidumpYAML.cpp292 IO.mapOptional("Size", Stream.Size, Stream.Content.binary_size()); in streamMapping()
296 if (Stream.Size.value < Stream.Content.binary_size()) in streamValidate()
H A DMachOEmitter.cpp350 ZeroFillBytes(OS, Sec.size - Content.binary_size()); in writeSectionData()
H A DMachOYAML.cpp351 if (Section.content && Section.size < Section.content->binary_size()) in validate()
H A DWasmEmitter.cpp555 encodeULEB128(Segment.Content.binary_size(), OS); in writeSectionContent()
H A DCOFFYAML.cpp687 if (!Sec.StructuredData.empty() && Sec.SectionData.binary_size()) { in mapping()
H A DELFYAML.cpp1729 if (F->Pattern && F->Pattern->binary_size() != 0 && !F->Size) in validate()
1742 (uint64_t)(*Sec.Size) < Sec.Content->binary_size()) in validate()
H A DDWARFEmitter.cpp1129 Length += List.Content->binary_size(); in writeDWARFLists()
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DYAML.h80 ArrayRef<uint8_t>::size_type binary_size() const { in binary_size() function