Searched refs:Stream (Results 26 - 50 of 667) sorted by relevance

1234567891011>>

/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStream.h1 //===-- Stream.h ------------------------------------------------*- C++ -*-===//
26 /// \class Stream Stream.h "lldb/Utility/Stream.h"
28 class Stream { class in namespace:lldb_private
44 Stream *m_stream;
49 ByteDelta(Stream &s) : m_stream(&s), m_start(s.GetWrittenBytes()) {}
50 /// Returns the number of bytes written to the given Stream since this
59 Stream(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order,
62 /// Construct a default Stream, no
68 Stream(const Stream &other) : m_forwarder(*this) { (*this) = other; } function in class:lldb_private::Stream
[all...]
H A DUserID.h16 class Stream;
88 /// Stream the UserID object to a Stream.
89 Stream &operator<<(Stream &strm, const UserID &uid);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNamedStreamMap.cpp1 //===- NamedStreamMap.cpp - PDB Named Stream Map --------------------------===//
51 Error NamedStreamMap::load(BinaryStreamReader &Stream) { argument
53 if (auto EC = Stream.readInteger(StringBufferSize))
59 if (auto EC = Stream.readFixedString(Buffer, StringBufferSize))
63 return OffsetIndexMap.load(Stream);
100 bool NamedStreamMap::get(StringRef Stream, uint32_t &StreamNo) const { argument
101 auto Iter = OffsetIndexMap.find_as(Stream, HashTraits);
111 StringRef Stream(NamesBuffer.data() + Entry.first);
112 Result.try_emplace(Stream, Entry.second);
124 void NamedStreamMap::set(StringRef Stream, uint32_ argument
[all...]
H A DNativeEnumInjectedSources.cpp20 Expected<std::string> readStreamData(BinaryStream &Stream, uint32_t Limit) { argument
21 uint32_t Offset = 0, DataLength = std::min(Limit, Stream.getLength());
26 if (auto E = Stream.readLongestContiguousChunk(Offset, Data))
98 : File(File), Stream(IJS), Strings(Strings), Cur(Stream.begin()) {}
101 return static_cast<uint32_t>(Stream.size());
108 return std::make_unique<NativeInjectedSource>(std::next(Stream.begin(), N)->second,
113 if (Cur == Stream.end())
118 void NativeEnumInjectedSources::reset() { Cur = Stream.begin(); }
H A DInjectedSourceStream.cpp1 //===- InjectedSourceStream.cpp - PDB Headerblock Stream Access -----------===//
25 std::unique_ptr<MappedBlockStream> Stream)
26 : Stream(std::move(Stream)) {}
29 BinaryStreamReader Reader(*Stream);
24 InjectedSourceStream( std::unique_ptr<MappedBlockStream> Stream) argument
H A DPublicsStream.cpp1 //===- PublicsStream.cpp - PDB Public Symbol Stream -----------------------===//
40 PublicsStream::PublicsStream(std::unique_ptr<MappedBlockStream> Stream) argument
41 : Stream(std::move(Stream)) {}
59 BinaryStreamReader Reader(*Stream);
65 "Publics Stream does not contain a header.");
70 "Publics Stream does not contain a header.");
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp37 llvm::BitstreamCursor Stream(**Buffer);
40 if (Stream.AtEndOfStream())
45 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) {
56 while (!Stream.AtEndOfStream()) {
57 if (Expected<unsigned> Res = Stream.ReadCode()) {
67 Expected<unsigned> MaybeSubBlockID = Stream.ReadSubBlockID();
77 Stream.ReadBlockInfoBlock();
87 Stream.setBlockInfo(&*BlockInfo);
90 if ((EC = readMetaBlock(Stream)))
94 if ((EC = readDiagnosticBlock(Stream)))
116 skipUntilRecordOrBlock( llvm::BitstreamCursor &Stream, unsigned &BlockOrRecordID) argument
162 readMetaBlock(llvm::BitstreamCursor &Stream) argument
211 readDiagnosticBlock(llvm::BitstreamCursor &Stream) argument
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Core/
H A DStreamBuffer.h12 #include "lldb/Utility/Stream.h"
19 template <unsigned N> class StreamBuffer : public Stream {
21 StreamBuffer() : Stream(0, 4, lldb::eByteOrderBig), m_packet() {}
24 : Stream(flags, addr_size, byte_order), m_packet() {}
H A DMangled.h116 /// Dump a description of this object to a Stream \a s.
123 void Dump(Stream *s) const;
125 /// Dump a debug description of this object to a Stream \a s.
129 void DumpDebug(Stream *s) const;
278 Stream &operator<<(Stream &s, const Mangled &obj);
H A DUserSettingsController.h28 class Stream;
59 Stream &strm, llvm::StringRef property_path,
63 Stream &strm, uint32_t dump_mask);
66 Stream &strm) const;
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Object/
H A DMinidump.cpp58 Optional<ArrayRef<uint8_t>> Stream = getRawStream(StreamType::MemoryInfoList); local
59 if (!Stream)
62 getDataSliceAs<minidump::MemoryInfoListHeader>(*Stream, 0, 1);
67 getDataSlice(*Stream, H.SizeOfHeader, H.SizeOfEntry * H.NumberOfEntries);
76 Optional<ArrayRef<uint8_t>> Stream = getRawStream(Type); local
77 if (!Stream)
79 auto ExpectedSize = getDataSliceAs<support::ulittle32_t>(*Stream, 0, 1);
89 if (ListOffset + sizeof(T) * ListSize < Stream->size())
92 return getDataSliceAs<T>(*Stream, ListOffset, ListSize);
133 Expected<ArrayRef<uint8_t>> Stream local
[all...]
/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-pdbutil/
H A DExplainOutputStyle.h51 void explainPdbStreamOffset(uint32_t Stream);
54 void explainStreamOffset(DbiStream &Stream, uint32_t OffsetInStream);
55 void explainStreamOffset(InfoStream &Stream, uint32_t OffsetInStream);
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h47 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
99 explicit VarStreamArray(BinaryStreamRef Stream, uint32_t Skew = 0) argument
100 : Stream(Stream), Skew(Skew) {}
102 VarStreamArray(BinaryStreamRef Stream, const Extractor &E, uint32_t Skew = 0) argument
103 : Stream(Stream), E(E), Skew(Skew) {}
109 bool valid() const { return Stream.valid(); }
114 bool empty() const { return Stream.getLength() == 0; }
121 BinaryStreamRef NewStream = Stream
145 BinaryStreamRef Stream; member in class:llvm::VarStreamArray
266 FixedStreamArray(BinaryStreamRef Stream) argument
[all...]
H A Dcircular_raw_ostream.h70 /// flushBuffer - Dump the contents of the buffer to Stream.
98 /// As a side effect, if BuffSize is nonzero, the given Stream is
107 circular_raw_ostream(raw_ostream &Stream, const char *Header, argument
115 setStream(Stream, Owns);
134 void setStream(raw_ostream &Stream, bool Owns = REFERENCE_ONLY) { argument
136 TheStream = &Stream;
H A DFormatAdapters.h37 void format(llvm::raw_ostream &Stream, StringRef Style) override {
39 FmtAlign(Adapter, Where, Amount, Fill).format(Stream, Style);
51 void format(llvm::raw_ostream &Stream, StringRef Style) override {
53 Stream.indent(Left);
54 Adapter.format(Stream, Style);
55 Stream.indent(Right);
66 void format(llvm::raw_ostream &Stream, StringRef Style) override {
69 Adapter.format(Stream, Style);
79 void format(llvm::raw_ostream &Stream, StringRef Style) override {
80 Stream << Ite
[all...]
H A DFormatProviders.h131 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
136 write_hex(Stream, V, HS, Digits);
148 write_integer(Stream, V, Digits, IS);
180 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
184 write_hex(Stream, reinterpret_cast<std::uintptr_t>(V), HS, Digits);
202 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
208 Stream << S.substr(0, N);
217 static void format(const Twine &V, llvm::raw_ostream &Stream,
219 format_provider<std::string>::format(V.str(), Stream, Style);
235 static void format(const char &V, llvm::raw_ostream &Stream,
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/include/lldb/Target/
H A DThreadPlanCallOnFunctionExit.h34 void GetDescription(Stream *s, lldb::DescriptionLevel level) override;
36 bool ValidatePlan(Stream *error) override;
/freebsd-13-stable/contrib/llvm-project/llvm/include/llvm/DebugInfo/PDB/Native/
H A DInjectedSourceStream.h1 //===- InjectedSourceStream.h - PDB Headerblock Stream Access ---*- C++ -*-===//
26 InjectedSourceStream(std::unique_ptr<msf::MappedBlockStream> Stream);
36 std::unique_ptr<msf::MappedBlockStream> Stream; member in class:llvm::pdb::InjectedSourceStream
H A DSymbolStream.h1 //===- SymbolStream.cpp - PDB Symbol Stream Access --------------*- C++ -*-===//
25 SymbolStream(std::unique_ptr<msf::MappedBlockStream> Stream);
42 std::unique_ptr<msf::MappedBlockStream> Stream; member in class:llvm::pdb::SymbolStream
/freebsd-13-stable/contrib/llvm-project/lldb/source/Breakpoint/
H A DBreakpointPrecondition.cpp19 void BreakpointPrecondition::GetDescription(Stream &stream,
/freebsd-13-stable/contrib/llvm-project/lldb/source/Core/
H A DStreamFile.cpp19 : Stream(flags, addr_size, byte_order) {
23 StreamFile::StreamFile(int fd, bool transfer_ownership) : Stream() {
28 StreamFile::StreamFile(FILE *fh, bool transfer_ownership) : Stream() {
34 : Stream() {
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxxAtomic.h16 #include "lldb/Utility/Stream.h"
23 bool LibCxxAtomicSummaryProvider(ValueObject &valobj, Stream &stream,
H A DLibCxx.h16 #include "lldb/Utility/Stream.h"
22 ValueObject &valobj, Stream &stream,
26 ValueObject &valobj, Stream &stream,
30 ValueObject &valobj, Stream &stream,
34 ValueObject &valobj, Stream &stream,
38 ValueObject &valobj, Stream &stream,
42 ValueObject &valobj, Stream &stream,
47 bool LibcxxUniquePointerSummaryProvider(ValueObject &valobj, Stream &stream,
51 ValueObject &valobj, Stream &stream,
58 bool LibcxxContainerSummaryProvider(ValueObject &valobj, Stream
[all...]
/freebsd-13-stable/contrib/llvm-project/lldb/source/Plugins/StructuredData/DarwinLog/
H A DStructuredDataDarwinLog.h62 lldb_private::Stream &stream) override;
96 void DumpTimestamp(Stream &stream, uint64_t timestamp);
98 size_t DumpHeader(Stream &stream, const StructuredData::Dictionary &event);
101 Stream &stream);
/freebsd-13-stable/contrib/llvm-project/llvm/lib/Support/
H A DBinaryStreamWriter.cpp19 : Stream(Ref) {}
21 BinaryStreamWriter::BinaryStreamWriter(WritableBinaryStream &Stream) argument
22 : Stream(Stream) {}
26 : Stream(Data, Endian) {}
29 if (auto EC = Stream.writeBytes(Offset, Buffer))
86 WritableBinaryStreamRef First = Stream.drop_front(Offset);

Completed in 523 milliseconds

1234567891011>>