Home
last modified time | relevance | path

Searched refs:Stream (Results 1 – 25 of 834) sorted by relevance

12345678910>>...34

/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVLocation.cpp29 raw_string_ostream Stream(String); in getOperandsDWARFInfo() local
36 Stream << format("lit%d", Code - dwarf::DW_OP_lit0); in getOperandsDWARFInfo()
45 Stream << format("breg%d+%d%s", Code - dwarf::DW_OP_breg0, Operands[0], in getOperandsDWARFInfo()
55 Stream << format("reg%d%s", Code - dwarf::DW_OP_reg0, in getOperandsDWARFInfo()
60 Stream << format("#0x%02x ", Code) << hexString(Operands[0]) << " " in getOperandsDWARFInfo()
69 Stream << "addr " << hexString(Operands[0]); in getOperandsDWARFInfo()
76 Stream << "const_u " << unsigned(Operands[0]); in getOperandsDWARFInfo()
83 Stream << "const_s " << int(Operands[0]); in getOperandsDWARFInfo()
86 Stream << "addrx " << unsigned(Operands[0]); in getOperandsDWARFInfo()
89 Stream << "constx " << unsigned(Operands[0]); in getOperandsDWARFInfo()
[all …]
H A DLVObject.cpp56 std::stringstream Stream; in lineAsString() local
59 Stream << std::setw(5) << LineNumber << "," << std::left << std::setw(2) in lineAsString()
62 Stream << std::setw(5) << LineNumber << " "; in lineAsString()
64 Stream << noLineAsString(ShowZero); in lineAsString()
67 Stream.str(noLineAsString(ShowZero)); in lineAsString()
69 return Stream.str(); in lineAsString()
80 raw_string_ostream Stream(String); in referenceAsString() local
82 Stream << "@" << LineNumber << (Spaces ? " " : ""); in referenceAsString()
146 std::stringstream Stream; in printAttributes() local
147 Stream.str(std::string()); in printAttributes()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDiagnosticPrinter.cpp23 Stream << C; in operator <<()
28 Stream << C; in operator <<()
33 Stream << C; in operator <<()
38 Stream << Str; in operator <<()
43 Stream << Str; in operator <<()
49 Stream << Str; in operator <<()
54 Stream << N; in operator <<()
58 Stream << N; in operator <<()
64 Stream << N; in operator <<()
69 Stream << N; in operator <<()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DStream.cpp1 //===-- Stream.cpp --------------------------------------------------------===//
9 #include "lldb/Utility/Stream.h"
27 Stream::Stream(uint32_t flags, uint32_t addr_size, ByteOrder byte_order, in Stream()
32 Stream::Stream(bool colors) in Stream()
37 Stream::~Stream() = default; in SetByteOrder()
39 ByteOrder Stream::SetByteOrder(ByteOrder byte_order) { in SetByteOrder()
46 void Stream
25 Stream::Stream(uint32_t flags, uint32_t addr_size, ByteOrder byte_order, Stream() function in Stream
30 Stream::Stream(bool colors) Stream() function in Stream
[all...]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/ObjC/
H A DCocoa.h22 bool NSIndexSetSummaryProvider(ValueObject &valobj, Stream &stream,
25 bool NSArraySummaryProvider(ValueObject &valobj, Stream &stream,
29 bool NSDataSummaryProvider(ValueObject &valobj, Stream &stream,
32 bool NSNumberSummaryProvider(ValueObject &valobj, Stream &stream,
35 bool NSDecimalNumberSummaryProvider(ValueObject &valobj, Stream &stream,
38 bool NSNotificationSummaryProvider(ValueObject &valobj, Stream &stream,
41 bool NSTimeZoneSummaryProvider(ValueObject &valobj, Stream &stream,
44 bool NSMachPortSummaryProvider(ValueObject &valobj, Stream &stream,
47 bool NSDateSummaryProvider(ValueObject &valobj, Stream &stream,
50 bool NSBundleSummaryProvider(ValueObject &valobj, Stream &stream,
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMinidumpYAML.h27 struct Stream { struct
40 Stream(StreamKind Kind, minidump::StreamType Type) : Kind(Kind), Type(Type) {} in Stream() function
41 virtual ~Stream(); // anchor
50 static std::unique_ptr<Stream> create(minidump::StreamType Type);
53 static Expected<std::unique_ptr<Stream>>
62 template <typename EntryT> struct ListStream : public Stream {
68 : Stream(EntryT::Kind, EntryT::Type), Entries(std::move(Entries)) {} in Stream() function
70 static bool classof(const Stream *S) { return S->Kind == EntryT::Kind; } in classof()
75 static constexpr Stream::StreamKind Kind = Stream::StreamKind::ModuleList;
86 static constexpr Stream::StreamKind Kind = Stream::StreamKind::ThreadList;
[all …]
/freebsd/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 {
55 Stream *m_stream;
60 ByteDelta(Stream &s) : m_stream(&s), m_start(s.GetWrittenBytes()) {}
61 /// Returns the number of bytes written to the given Stream since this
70 Stream(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order,
73 /// Construct a default Stream, no
68 Stream(const Stream &other) : m_forwarder(*this) { (*this) = other; } Stream() function
[all...]
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp35 llvm::BitstreamCursor Stream(**Buffer); in readDiagnostics() local
38 if (Stream.AtEndOfStream()) in readDiagnostics()
43 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in readDiagnostics()
54 while (!Stream.AtEndOfStream()) { in readDiagnostics()
55 if (Expected<unsigned> Res = Stream.ReadCode()) { in readDiagnostics()
65 Expected<unsigned> MaybeSubBlockID = Stream.ReadSubBlockID(); in readDiagnostics()
75 Stream.ReadBlockInfoBlock(); in readDiagnostics()
85 Stream.setBlockInfo(&*BlockInfo); in readDiagnostics()
88 if ((EC = readMetaBlock(Stream))) in readDiagnostics()
92 if ((EC = readDiagnosticBlock(Stream))) in readDiagnostics()
[all …]
H A DSerializedDiagnosticPrinter.cpp243 : DiagOpts(DiagOpts), Stream(Buffer), OutputFile(File.str()), in SharedState()
253 llvm::BitstreamWriter Stream; member
311 llvm::BitstreamWriter &Stream, in EmitBlockID() argument
315 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record); in EmitBlockID()
326 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record); in EmitBlockID()
331 llvm::BitstreamWriter &Stream, in EmitRecordID() argument
339 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record); in EmitRecordID()
384 State->Stream.EmitRecordWithBlob(State->Abbrevs.get(RECORD_FILENAME), Record, in getEmitFile()
395 State->Stream.EmitRecordWithAbbrev(State->Abbrevs.get(RECORD_SOURCE_RANGE), in EmitCharSourceRange()
402 State->Stream.Emit((unsigned)'D', 8); in EmitPreamble()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp67 Stream::~Stream() = default;
69 Stream::StreamKind Stream::getKind(StreamType Type) { in getKind()
98 std::unique_ptr<Stream> Stream::create(StreamType Type) { in create()
299 static void streamMapping(yaml::IO &IO, RawContentStream &Stream) { in streamMapping() argument
300 IO.mapOptional("Content", Stream.Content); in streamMapping()
301 IO.mapOptional("Size", Stream.Size, Stream.Content.binary_size()); in streamMapping()
304 static std::string streamValidate(RawContentStream &Stream) { in streamValidate() argument
305 if (Stream.Size.value < Stream.Content.binary_size()) in streamValidate()
316 static void streamMapping(yaml::IO &IO, MemoryInfoListStream &Stream) { in streamMapping() argument
317 IO.mapRequired("Memory Ranges", Stream.Infos); in streamMapping()
[all …]
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DLibCxx.h47 ValueObject &valobj, Stream &stream,
51 ValueObject &valobj, Stream &stream,
55 ValueObject &valobj, Stream &stream,
59 ValueObject &valobj, Stream &stream,
63 ValueObject &valueObj, Stream &stream,
67 ValueObject &valobj, Stream &stream,
71 ValueObject &valobj, Stream &stream,
75 ValueObject &valobj, Stream &stream,
79 ValueObject &valobj, Stream &stream,
83 ValueObject &valobj, Stream &stream,
[all …]
H A DCxxStringTypes.h20 bool Char8StringSummaryProvider(ValueObject &valobj, Stream &stream,
24 ValueObject &valobj, Stream &stream,
28 ValueObject &valobj, Stream &stream,
31 bool WCharStringSummaryProvider(ValueObject &valobj, Stream &stream,
34 bool Char8SummaryProvider(ValueObject &valobj, Stream &stream,
38 ValueObject &valobj, Stream &stream,
41 bool Char32SummaryProvider(ValueObject &valobj, Stream &stream,
44 bool WCharSummaryProvider(ValueObject &valobj, Stream &stream,
70 bool StringBufferSummaryProvider(Stream &stream,
H A DCxxStringTypes.cpp52 static bool CharStringSummaryProvider(ValueObject &valobj, Stream &stream) { in CharStringSummaryProvider()
70 static bool CharSummaryProvider(ValueObject &valobj, Stream &stream) { in CharSummaryProvider()
98 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in Char8StringSummaryProvider()
103 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in Char16StringSummaryProvider()
108 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in Char32StringSummaryProvider()
113 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in WCharStringSummaryProvider()
148 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in Char8SummaryProvider()
153 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in Char16SummaryProvider()
158 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in Char32SummaryProvider()
163 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &) { in WCharSummaryProvider()
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h50 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
102 explicit VarStreamArray(BinaryStreamRef Stream, uint32_t Skew = 0)
103 : Stream(Stream), Skew(Skew) {} in Stream() argument
105 VarStreamArray(BinaryStreamRef Stream, const Extractor &E, uint32_t Skew = 0)
106 : Stream(Stream), E(E), Skew(Skew) {} in Stream() argument
112 bool valid() const { return Stream.valid(); } in valid()
119 bool empty() const { return Stream.getLength() == 0; } in empty()
126 BinaryStreamRef NewStream = Stream.slice(0, End); in substream()
141 BinaryStreamRef getUnderlyingStream() const { return Stream; } in getUnderlyingStream()
143 Stream = NewStream;
[all …]
H A DFormatProviders.h134 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
138 write_hex(Stream, V, *HS, Digits);
150 write_integer(Stream, V, Digits, IS);
182 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
187 write_hex(Stream, reinterpret_cast<std::uintptr_t>(V), HS, Digits);
205 static void format(const T &V, llvm::raw_ostream &Stream, StringRef Style) {
211 Stream << S.substr(0, N);
220 static void format(const Twine &V, llvm::raw_ostream &Stream,
222 format_provider<std::string>::format(V.str(), Stream, Style);
238 static void format(const char &V, llvm::raw_ostream &Stream,
[all …]
H A DFormatAdapters.h39 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() argument
41 FmtAlign(Adapter, Where, Amount, Fill).format(Stream, Style); in format()
53 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() argument
55 Stream.indent(Left); in format()
56 Adapter.format(Stream, Style); in format()
57 Stream.indent(Right); in format()
68 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() argument
71 Adapter.format(Stream, Style); in format()
81 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() argument
82 Stream << Item; in format()
/freebsd/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h189 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit() argument
195 BCRecordCoding<Fields...>::emit(Stream, buffer, code, in emit()
226 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit() argument
232 Stream.EmitRecordWithAbbrev(code, buffer); in emit()
255 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit() argument
258 Stream.EmitRecordWithArray(code, buffer, data); in emit()
262 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit() argument
270 Stream.EmitRecordWithAbbrev(code, buffer); in emit()
274 static void emit(llvm::BitstreamWriter &Stream, BufferTy &buffer, in emit() argument
277 emit(Stream, buffer, code, array); in emit()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DBitstreamRemarkParser.cpp39 BitstreamCursor &Stream, BitstreamBlockInfo &BlockInfo) in BitstreamMetaParserHelper() argument
40 : Stream(Stream), BlockInfo(BlockInfo) {} in BitstreamMetaParserHelper()
44 BitstreamCursor &Stream = Parser.Stream; in parseRecord() local
49 Expected<unsigned> RecordID = Stream.readRecord(Code, Record, &Blob); in parseRecord()
86 BitstreamCursor &Stream) in BitstreamRemarkParserHelper() argument
87 : Stream(Stream) {} in BitstreamRemarkParserHelper()
91 BitstreamCursor &Stream = Parser.Stream; in parseRecord() local
96 Expected<unsigned> RecordID = Stream.readRecord(Code, Record, &Blob); in parseRecord()
161 BitstreamCursor &Stream = ParserHelper.Stream; in parseBlock() local
162 Expected<BitstreamEntry> Next = Stream.advance(); in parseBlock()
[all …]
/freebsd/contrib/llvm-project/clang/lib/APINotes/
H A DAPINotesWriter.cpp151 void writeBlockInfoBlock(llvm::BitstreamWriter &Stream);
152 void writeControlBlock(llvm::BitstreamWriter &Stream);
153 void writeIdentifierBlock(llvm::BitstreamWriter &Stream);
154 void writeContextBlock(llvm::BitstreamWriter &Stream);
155 void writeObjCPropertyBlock(llvm::BitstreamWriter &Stream);
156 void writeObjCMethodBlock(llvm::BitstreamWriter &Stream);
157 void writeCXXMethodBlock(llvm::BitstreamWriter &Stream);
158 void writeFieldBlock(llvm::BitstreamWriter &Stream);
159 void writeObjCSelectorBlock(llvm::BitstreamWriter &Stream);
160 void writeGlobalVariableBlock(llvm::BitstreamWriter &Stream);
[all …]
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNamedStreamMap.cpp47 Error NamedStreamMap::load(BinaryStreamReader &Stream) { in load() argument
49 if (auto EC = Stream.readInteger(StringBufferSize)) in load()
55 if (auto EC = Stream.readFixedString(Buffer, StringBufferSize)) in load()
59 return OffsetIndexMap.load(Stream); in load()
96 bool NamedStreamMap::get(StringRef Stream, uint32_t &StreamNo) const { in get() argument
97 auto Iter = OffsetIndexMap.find_as(Stream, HashTraits); in get()
107 StringRef Stream(NamesBuffer.data() + Entry.first); in entries() local
108 Result.try_emplace(Stream, Entry.second); in entries()
120 void NamedStreamMap::set(StringRef Stream, uint32_t StreamNo) { in set() argument
121 OffsetIndexMap.set_as(Stream, support::ulittle32_t(StreamNo), HashTraits); in set()
H A DNativeEnumInjectedSources.cpp22 Expected<std::string> readStreamData(BinaryStream &Stream, uint64_t Limit) { in readStreamData() argument
23 uint64_t Offset = 0, DataLength = std::min(Limit, Stream.getLength()); in readStreamData()
28 if (auto E = Stream.readLongestContiguousChunk(Offset, Data)) in readStreamData()
100 : File(File), Stream(IJS), Strings(Strings), Cur(Stream.begin()) {} in NativeEnumInjectedSources()
103 return static_cast<uint32_t>(Stream.size()); in getChildCount()
110 return std::make_unique<NativeInjectedSource>(std::next(Stream.begin(), N)->second, in getChildAtIndex()
115 if (Cur == Stream.end()) in getNext()
120 void NativeEnumInjectedSources::reset() { Cur = Stream.begin(); } in reset()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp168 BitstreamWriter &Stream; member in __anoneb218b5c0111::BitcodeWriterBase
175 BitcodeWriterBase(BitstreamWriter &Stream, StringTableBuilder &StrtabBuilder) in BitcodeWriterBase() argument
176 : Stream(Stream), StrtabBuilder(StrtabBuilder) {} in BitcodeWriterBase()
184 Stream.EmitRecord(bitc::MODULE_CODE_VERSION, ArrayRef<uint64_t>{2}); in writeModuleVersion()
216 BitstreamWriter &Stream, in ModuleBitcodeWriterBase() argument
219 : BitcodeWriterBase(Stream, StrtabBuilder), M(M), in ModuleBitcodeWriterBase()
307 BitstreamWriter &Stream, bool ShouldPreserveUseListOrder, in ModuleBitcodeWriter() argument
310 : ModuleBitcodeWriterBase(M, StrtabBuilder, Stream, in ModuleBitcodeWriter()
313 BitcodeStartBit(Stream.GetCurrentBitNo()) {} in ModuleBitcodeWriter()
499 BitstreamWriter &Stream, StringTableBuilder &StrtabBuilder, in IndexBitcodeWriter() argument
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DFormatters.h37 void format(raw_ostream &Stream, StringRef Style) override;
54 static void format(const codeview::TypeIndex &V, raw_ostream &Stream,
57 Stream << "<no type>";
59 Stream << formatv("{0:X+4}", V.getIndex());
61 Stream << " (" << codeview::TypeIndex::simpleTypeName(V) << ")";
67 static void format(const codeview::GUID &V, llvm::raw_ostream &Stream,
69 Stream << V;
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSymbolRewriter.h51 class Stream; variable
101 bool parseEntry(yaml::Stream &Stream, yaml::KeyValueNode &Entry,
103 bool parseRewriteFunctionDescriptor(yaml::Stream &Stream,
107 bool parseRewriteGlobalVariableDescriptor(yaml::Stream &Stream,
111 bool parseRewriteGlobalAliasDescriptor(yaml::Stream &YS, yaml::ScalarNode *K,
/freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/DXILWriter/
H A DDXILBitcodeWriter.cpp99 BitstreamWriter &Stream; member in llvm::dxil::DXILBitcodeWriter
134 StringTableBuilder &StrtabBuilder, BitstreamWriter &Stream) in DXILBitcodeWriter() argument
136 I8PtrTy(TypedPointerType::get(I8Ty, 0)), Stream(Stream), in DXILBitcodeWriter()
138 BitcodeStartBit(Stream.GetCurrentBitNo()), in DXILBitcodeWriter()
150 static void writeStringRecord(BitstreamWriter &Stream, unsigned Code,
152 static void writeIdentificationBlock(BitstreamWriter &Stream);
382 : Buffer(Buffer), Stream(new BitstreamWriter(Buffer)) { in BitcodeWriter()
384 Stream->Emit((unsigned)'B', 8); in BitcodeWriter()
385 Stream->Emit((unsigned)'C', 8); in BitcodeWriter()
386 Stream->Emit(0x0, 4); in BitcodeWriter()
[all …]

12345678910>>...34