Home
last modified time | relevance | path

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

123

/openbsd-src/gnu/llvm/llvm/include/llvm/Support/
H A DBinaryStreamRef.h155 class BinaryStreamRef
156 : public BinaryStreamRefBase<BinaryStreamRef, BinaryStream> {
157 friend BinaryStreamRefBase<BinaryStreamRef, BinaryStream>;
159 BinaryStreamRef(std::shared_ptr<BinaryStream> Impl, uint64_t ViewOffset, in BinaryStreamRef() function
164 BinaryStreamRef() = default;
165 BinaryStreamRef(BinaryStream &Stream);
166 BinaryStreamRef(BinaryStream &Stream, uint64_t Offset,
168 explicit BinaryStreamRef(ArrayRef<uint8_t> Data,
170 explicit BinaryStreamRef(StringRef Data, llvm::support::endianness Endian);
172 BinaryStreamRef(const BinaryStreamRef &Other) = default;
[all …]
H A DBinaryStreamArray.h50 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
102 explicit VarStreamArray(BinaryStreamRef Stream, uint32_t Skew = 0)
105 VarStreamArray(BinaryStreamRef Stream, const Extractor &E, uint32_t Skew = 0)
126 BinaryStreamRef NewStream = Stream.slice(0, End); in substream()
141 BinaryStreamRef getUnderlyingStream() const { return Stream; } in getUnderlyingStream()
142 void setUnderlyingStream(BinaryStreamRef NewStream, uint32_t NewSkew = 0) {
150 BinaryStreamRef Stream;
243 BinaryStreamRef IterRef;
266 explicit FixedStreamArray(BinaryStreamRef Stream) : Stream(Stream) { in FixedStreamArray()
313 BinaryStreamRef getUnderlyingStream() const { return Stream; } in getUnderlyingStream()
[all …]
H A DBinaryStreamReader.h32 explicit BinaryStreamReader(BinaryStreamRef Ref);
133 Error readStreamRef(BinaryStreamRef &Ref);
142 Error readStreamRef(BinaryStreamRef &Ref, uint32_t Length);
212 BinaryStreamRef S;
238 BinaryStreamRef View; in readArray()
270 BinaryStreamRef Stream;
H A DBinaryStreamWriter.h113 Error writeStreamRef(BinaryStreamRef Ref);
121 Error writeStreamRef(BinaryStreamRef Ref, uint64_t Size);
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DBinaryStreamRef.cpp67 BinaryStreamRef::BinaryStreamRef(BinaryStream &Stream) in BinaryStreamRef() function in BinaryStreamRef
69 BinaryStreamRef::BinaryStreamRef(BinaryStream &Stream, uint64_t Offset, in BinaryStreamRef() function in BinaryStreamRef
72 BinaryStreamRef::BinaryStreamRef(ArrayRef<uint8_t> Data, endianness Endian) in BinaryStreamRef() function in BinaryStreamRef
75 BinaryStreamRef::BinaryStreamRef(StringRef Data, endianness Endian) in BinaryStreamRef() function in BinaryStreamRef
76 : BinaryStreamRef(ArrayRef(Data.bytes_begin(), Data.bytes_end()), Endian) {} in BinaryStreamRef()
78 Error BinaryStreamRef::readBytes(uint64_t Offset, uint64_t Size, in readBytes()
85 Error BinaryStreamRef::readLongestContiguousChunk( in readLongestContiguousChunk()
123 WritableBinaryStreamRef::operator BinaryStreamRef() const { in operator BinaryStreamRef()
124 return BinaryStreamRef(*BorrowedImpl, ViewOffset, Length); in operator BinaryStreamRef()
H A DBinaryStreamReader.cpp18 BinaryStreamReader::BinaryStreamReader(BinaryStreamRef Ref) : Stream(Ref) {} in BinaryStreamReader()
130 Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref) { in readStreamRef()
134 Error BinaryStreamReader::readStreamRef(BinaryStreamRef &Ref, uint32_t Length) { in readStreamRef()
172 BinaryStreamRef First = Stream.drop_front(Offset); in split()
174 BinaryStreamRef Second = First.drop_front(Off); in split()
H A DBinaryStreamWriter.cpp60 Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref) { in writeStreamRef()
64 Error BinaryStreamWriter::writeStreamRef(BinaryStreamRef Ref, uint64_t Length) { in writeStreamRef()
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/PDB/Native/
H A DDbiModuleList.h71 Error initialize(BinaryStreamRef ModInfo, BinaryStreamRef FileInfo);
84 Error initializeModInfo(BinaryStreamRef ModInfo);
85 Error initializeFileInfo(BinaryStreamRef FileInfo);
108 BinaryStreamRef ModInfoSubstream;
109 BinaryStreamRef FileInfoSubstream;
110 BinaryStreamRef NamesBuffer;
H A DDbiModuleDescriptor.h31 static Error initialize(BinaryStreamRef Stream, DbiModuleDescriptor &Info);
59 Error operator()(BinaryStreamRef Stream, uint32_t &Length,
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/
H A DDebugSubsectionRecord.h38 DebugSubsectionRecord(DebugSubsectionKind Kind, BinaryStreamRef Data);
40 static Error initialize(BinaryStreamRef Stream, DebugSubsectionRecord &Info);
44 BinaryStreamRef getRecordData() const;
48 BinaryStreamRef Data;
75 Error operator()(BinaryStreamRef Stream, uint32_t &Length,
H A DDebugUnknownSubsection.h20 DebugUnknownSubsectionRef(DebugSubsectionKind Kind, BinaryStreamRef Data) in DebugUnknownSubsectionRef()
23 BinaryStreamRef getData() const { return Data; } in getData()
26 BinaryStreamRef Data;
H A DDebugStringTableSubsection.h39 Error initialize(BinaryStreamRef Contents);
46 BinaryStreamRef getBuffer() const { return Stream; } in getBuffer()
49 BinaryStreamRef Stream;
H A DDebugCrossImpSubsection.h40 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
61 Error initialize(BinaryStreamRef Stream);
H A DDebugChecksumsSubsection.h45 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
66 Error initialize(BinaryStreamRef Stream);
H A DDebugInlineeLinesSubsection.h52 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
72 Error initialize(BinaryStreamRef Section) {
H A DCVRecord.h92 inline Expected<CVRecord<Kind>> readCVRecordFromStream(BinaryStreamRef Stream, in readCVRecordFromStream()
114 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
H A DDebugCrossExSubsection.h38 Error initialize(BinaryStreamRef Stream);
H A DDebugFrameDataSubsection.h33 Error initialize(BinaryStreamRef Stream);
/openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/MSF/
H A DMappedBlockStream.h43 BinaryStreamRef MsfData, BumpPtrAllocator &Allocator);
46 createIndexedStream(const MSFLayout &Layout, BinaryStreamRef MsfData,
50 createFpmStream(const MSFLayout &Layout, BinaryStreamRef MsfData,
54 createDirectoryStream(const MSFLayout &Layout, BinaryStreamRef MsfData,
78 BinaryStreamRef MsfData, BumpPtrAllocator &Allocator);
90 BinaryStreamRef MsfData;
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/CodeView/
H A DDebugSubsectionRecord.cpp25 BinaryStreamRef Data) in DebugSubsectionRecord()
28 Error DebugSubsectionRecord::initialize(BinaryStreamRef Stream, in initialize()
49 BinaryStreamRef DebugSubsectionRecord::getRecordData() const { return Data; } in getRecordData()
H A DDebugCrossImpSubsection.cpp26 operator()(BinaryStreamRef Stream, uint32_t &Len, in operator ()()
49 Error DebugCrossModuleImportsSubsectionRef::initialize(BinaryStreamRef Stream) { in initialize()
H A DDebugChecksumsSubsection.cpp35 operator()(BinaryStreamRef Stream, uint32_t &Len, FileChecksumEntry &Item) { in operator ()()
58 Error DebugChecksumsSubsectionRef::initialize(BinaryStreamRef Section) { in initialize()
H A DDebugCrossExSubsection.cpp30 Error DebugCrossModuleExportsSubsectionRef::initialize(BinaryStreamRef Stream) { in initialize()
/openbsd-src/gnu/llvm/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()
/openbsd-src/gnu/llvm/llvm/lib/DebugInfo/MSF/
H A DMappedBlockStream.cpp46 BinaryStreamRef MsfData, in MappedBlockStream()
52 uint32_t BlockSize, const MSFStreamLayout &Layout, BinaryStreamRef MsfData, in createStream()
59 const MSFLayout &Layout, BinaryStreamRef MsfData, uint32_t StreamIndex, in createIndexedStream()
71 BinaryStreamRef MsfData, in createDirectoryStream()
81 BinaryStreamRef MsfData, in createFpmStream()

123