Home
last modified time | relevance | path

Searched refs:BinaryStreamRef (Results 1 – 25 of 48) sorted by relevance

12

/freebsd-12.1/contrib/llvm/include/llvm/Support/
H A DBinaryStreamRef.h157 class BinaryStreamRef
166 BinaryStreamRef() = default;
167 BinaryStreamRef(BinaryStream &Stream);
170 explicit BinaryStreamRef(ArrayRef<uint8_t> Data,
174 BinaryStreamRef(const BinaryStreamRef &Other) = default;
175 BinaryStreamRef &operator=(const BinaryStreamRef &Other) = default;
176 BinaryStreamRef(BinaryStreamRef &&Other) = default;
177 BinaryStreamRef &operator=(BinaryStreamRef &&Other) = default;
180 BinaryStreamRef(BinaryStreamRef &S, uint32_t Offset,
203 BinaryStreamRef StreamData; // Stream Data
[all …]
H A DBinaryStreamArray.h47 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
99 explicit VarStreamArray(BinaryStreamRef Stream, uint32_t Skew = 0)
102 VarStreamArray(BinaryStreamRef Stream, const Extractor &E, uint32_t Skew = 0)
121 BinaryStreamRef NewStream = Stream.slice(0, End); in substream()
136 BinaryStreamRef getUnderlyingStream() const { return Stream; } in getUnderlyingStream()
137 void setUnderlyingStream(BinaryStreamRef S, uint32_t Skew = 0) {
145 BinaryStreamRef Stream;
243 BinaryStreamRef IterRef;
266 explicit FixedStreamArray(BinaryStreamRef Stream) : Stream(Stream) { in FixedStreamArray()
312 BinaryStreamRef getUnderlyingStream() const { return Stream; } in getUnderlyingStream()
[all …]
H A DBinaryStreamReader.h35 explicit BinaryStreamReader(BinaryStreamRef Ref);
129 Error readStreamRef(BinaryStreamRef &Ref);
138 Error readStreamRef(BinaryStreamRef &Ref, uint32_t Length);
208 BinaryStreamRef S;
234 BinaryStreamRef View; in readArray()
266 BinaryStreamRef Stream;
H A DBinaryStreamWriter.h106 Error writeStreamRef(BinaryStreamRef Ref);
114 Error writeStreamRef(BinaryStreamRef Ref, uint32_t Size);
/freebsd-12.1/contrib/llvm/lib/Support/
H A DBinaryStreamRef.cpp68 BinaryStreamRef::BinaryStreamRef(BinaryStream &Stream) in BinaryStreamRef() function in BinaryStreamRef
70 BinaryStreamRef::BinaryStreamRef(BinaryStream &Stream, uint32_t Offset, in BinaryStreamRef() function in BinaryStreamRef
73 BinaryStreamRef::BinaryStreamRef(ArrayRef<uint8_t> Data, endianness Endian) in BinaryStreamRef() function in BinaryStreamRef
76 BinaryStreamRef::BinaryStreamRef(StringRef Data, endianness Endian) in BinaryStreamRef() function in BinaryStreamRef
77 : BinaryStreamRef(makeArrayRef(Data.bytes_begin(), Data.bytes_end()), in BinaryStreamRef()
80 Error BinaryStreamRef::readBytes(uint32_t Offset, uint32_t Size, in readBytes()
87 Error BinaryStreamRef::readLongestContiguousChunk( in readLongestContiguousChunk()
126 WritableBinaryStreamRef::operator BinaryStreamRef() const { in operator BinaryStreamRef()
127 return BinaryStreamRef(*BorrowedImpl, ViewOffset, Length); in operator BinaryStreamRef()
H A DBinaryStreamReader.cpp18 BinaryStreamReader::BinaryStreamReader(BinaryStreamRef Ref) : Stream(Ref) {} in BinaryStreamReader()
100 Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref) { in readStreamRef()
104 Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref, uint32_t Length) { in readStreamRef()
142 BinaryStreamRef First = Stream.drop_front(Offset); in split()
144 BinaryStreamRef Second = First.drop_front(Off); in split()
H A DBinaryStreamWriter.cpp49 Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref) { in writeStreamRef()
53 Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref, uint32_t Length) { in writeStreamRef()
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiModuleList.h73 Error initialize(BinaryStreamRef ModInfo, BinaryStreamRef FileInfo);
86 Error initializeModInfo(BinaryStreamRef ModInfo);
87 Error initializeFileInfo(BinaryStreamRef FileInfo);
110 BinaryStreamRef ModInfoSubstream;
111 BinaryStreamRef FileInfoSubstream;
112 BinaryStreamRef NamesBuffer;
H A DDbiModuleDescriptor.h33 static Error initialize(BinaryStreamRef Stream, DbiModuleDescriptor &Info);
61 Error operator()(BinaryStreamRef Stream, uint32_t &Length,
H A DPDBFile.h83 BinaryStreamRef getMsfBuffer() const { return *Buffer; } in getMsfBuffer()
120 BinaryStreamRef MsfData,
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugSubsectionRecord.h39 DebugSubsectionRecord(DebugSubsectionKind Kind, BinaryStreamRef Data,
42 static Error initialize(BinaryStreamRef Stream, DebugSubsectionRecord &Info,
47 BinaryStreamRef getRecordData() const;
52 BinaryStreamRef Data;
82 Error operator()(BinaryStreamRef Stream, uint32_t &Length,
H A DDebugUnknownSubsection.h21 DebugUnknownSubsectionRef(DebugSubsectionKind Kind, BinaryStreamRef Data) in DebugUnknownSubsectionRef()
24 BinaryStreamRef getData() const { return Data; } in getData()
27 BinaryStreamRef Data;
H A DDebugStringTableSubsection.h40 Error initialize(BinaryStreamRef Contents);
47 BinaryStreamRef getBuffer() const { return Stream; } in getBuffer()
50 BinaryStreamRef Stream;
H A DDebugCrossImpSubsection.h40 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
61 Error initialize(BinaryStreamRef Stream);
H A DDebugChecksumsSubsection.h44 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
65 Error initialize(BinaryStreamRef Stream);
H A DCVRecord.h85 inline Expected<CVRecord<Kind>> readCVRecordFromStream(BinaryStreamRef Stream, in readCVRecordFromStream()
108 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
H A DDebugCrossExSubsection.h38 Error initialize(BinaryStreamRef Stream);
/freebsd-12.1/contrib/llvm/include/llvm/DebugInfo/MSF/
H A DMappedBlockStream.h46 BinaryStreamRef MsfData, BumpPtrAllocator &Allocator);
49 createIndexedStream(const MSFLayout &Layout, BinaryStreamRef MsfData,
53 createFpmStream(const MSFLayout &Layout, BinaryStreamRef MsfData,
57 createDirectoryStream(const MSFLayout &Layout, BinaryStreamRef MsfData,
81 BinaryStreamRef MsfData, BumpPtrAllocator &Allocator);
93 BinaryStreamRef MsfData;
/freebsd-12.1/contrib/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionRecord.cpp27 BinaryStreamRef Data, in DebugSubsectionRecord()
31 Error DebugSubsectionRecord::initialize(BinaryStreamRef Stream, in initialize()
54 BinaryStreamRef DebugSubsectionRecord::getRecordData() const { return Data; } in getRecordData()
H A DDebugCrossImpSubsection.cpp27 operator()(BinaryStreamRef Stream, uint32_t &Len, in operator ()()
50 Error DebugCrossModuleImportsSubsectionRef::initialize(BinaryStreamRef Stream) { in initialize()
H A DDebugChecksumsSubsection.cpp36 operator()(BinaryStreamRef Stream, uint32_t &Len, FileChecksumEntry &Item) { in operator ()()
59 Error DebugChecksumsSubsectionRef::initialize(BinaryStreamRef Section) { in initialize()
H A DDebugCrossExSubsection.cpp30 Error DebugCrossModuleExportsSubsectionRef::initialize(BinaryStreamRef Stream) { in initialize()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/PDB/Native/
H A DDbiModuleList.cpp163 Error DbiModuleList::initialize(BinaryStreamRef ModInfo, in initialize()
164 BinaryStreamRef FileInfo) { in initialize()
173 Error DbiModuleList::initializeModInfo(BinaryStreamRef ModInfo) { in initializeModInfo()
187 Error DbiModuleList::initializeFileInfo(BinaryStreamRef FileInfo) { in initializeFileInfo()
/freebsd-12.1/contrib/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp48 BinaryStreamRef MsfData, in MappedBlockStream()
54 uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData, in createStream()
61 const MSFLayout &Layout, BinaryStreamRef MsfData, uint32_t StreamIndex, in createIndexedStream()
73 BinaryStreamRef MsfData, in createDirectoryStream()
83 BinaryStreamRef MsfData, in createFpmStream()
/freebsd-12.1/contrib/llvm/include/llvm/Object/
H A DWindowsResource.h114 ResourceEntryRef(BinaryStreamRef Ref, const WindowsResource *Owner);
117 static Expected<ResourceEntryRef> create(BinaryStreamRef Ref,

12