Lines Matching full:stream
27 /// contents are badly corrupted (i.e. we cannot read the stream directory).
35 /// Returns the list of streams (stream directory entries) in this file.
38 /// Returns the raw contents of the stream given by the directory entry.
39 ArrayRef<uint8_t> getRawStream(const minidump::Directory &Stream) const { in getRawStream() argument
40 return getData().slice(Stream.Location.RVA, Stream.Location.DataSize); in getRawStream()
43 /// Returns the raw contents of the stream of the given type, or std::nullopt
44 /// if the file does not contain a stream of this type.
59 /// Returns the contents of the SystemInfo stream, cast to the appropriate
60 /// type. An error is returned if the file does not contain this stream, or
61 /// the stream is smaller than the size of the SystemInfo structure. The
62 /// internal consistency of the stream is not checked in any way.
67 /// Returns the module list embedded in the ModuleList stream. An error is
68 /// returned if the file does not contain this stream, or if the stream is
69 /// not large enough to contain the number of modules declared in the stream
76 /// Returns the thread list embedded in the ThreadList stream. An error is
77 /// returned if the file does not contain this stream, or if the stream is
78 /// not large enough to contain the number of threads declared in the stream
85 /// Returns the contents of the Exception stream. An error is returned if the
86 /// file does not contain this stream, or the stream is smaller than the size
87 /// of the ExceptionStream structure. The internal consistency of the stream
94 /// Returns the list of descriptors embedded in the MemoryList stream. The
97 /// contain this stream, or if the stream is not large enough to contain the
98 /// number of memory descriptors declared in the stream header. The
135 /// Returns the list of descriptors embedded in the MemoryInfoList stream. The
138 /// file does not contain this stream, or if the stream is not large enough to
139 /// contain the number of memory descriptors declared in the stream header.
175 /// Return the stream of the given type, cast to the appropriate type. Checks
176 /// that the stream is large enough to hold an object of this type.
178 Expected<const T &> getStream(minidump::StreamType Stream) const;
180 /// Return the contents of a stream which contains a list of fixed-size items,
183 Expected<ArrayRef<T>> getListStream(minidump::StreamType Stream) const;
192 if (std::optional<ArrayRef<uint8_t>> Stream = getRawStream(Type)) { in getStream() local
193 if (Stream->size() >= sizeof(T)) in getStream()
194 return *reinterpret_cast<const T *>(Stream->data()); in getStream()
197 return createError("No such stream"); in getStream()