Home
last modified time | relevance | path

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

12345678910>>...29

/freebsd-13.1/contrib/llvm-project/lldb/source/Utility/
H A DStream.cpp25 Stream::Stream(uint32_t flags, uint32_t addr_size, ByteOrder byte_order, in Stream() function in Stream
30 Stream::Stream(bool colors) in Stream() function in Stream
35 Stream::~Stream() = default;
47 size_t Stream::PutSLEB128(int64_t sval) { in PutSLEB128()
55 size_t Stream::PutULEB128(uint64_t uval) { in PutULEB128()
137 Stream &Stream::operator<<(char ch) { in operator <<()
143 Stream &Stream::operator<<(const char *s) { in operator <<()
148 Stream &Stream::operator<<(llvm::StringRef str) { in operator <<()
154 Stream &Stream::operator<<(const void *p) { in operator <<()
234 size_t Stream::PutHex8(uint8_t uvalue) { in PutHex8()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DDiagnosticPrinter.cpp23 Stream << C; in operator <<()
28 Stream << C; in operator <<()
33 Stream << C; in operator <<()
54 Stream << N; in operator <<()
58 Stream << N; in operator <<()
64 Stream << N; in operator <<()
69 Stream << N; in operator <<()
74 Stream << P; in operator <<()
79 Stream << N; in operator <<()
84 Stream << N; in operator <<()
[all …]
/freebsd-13.1/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,
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,
53 bool NSURLSummaryProvider(ValueObject &valobj, Stream &stream,
75 bool ObjCBOOLSummaryProvider(ValueObject &valobj, Stream &stream,
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ObjectYAML/
H A DMinidumpYAML.h27 struct Stream { struct
40 virtual ~Stream(); // anchor
52 static Expected<std::unique_ptr<Stream>>
74 static constexpr Stream::StreamKind Kind = Stream::StreamKind::ModuleList;
85 static constexpr Stream::StreamKind Kind = Stream::StreamKind::ThreadList;
95 static constexpr Stream::StreamKind Kind = Stream::StreamKind::MemoryList;
108 struct ExceptionStream : public Stream {
121 static bool classof(const Stream *S) { in classof()
141 static bool classof(const Stream *S) { in classof()
156 static bool classof(const Stream *S) { in classof()
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/Utility/
H A DStream.h28 class Stream {
44 Stream *m_stream;
65 Stream(bool colors = false);
68 Stream(const Stream &other) : m_forwarder(*this) { (*this) = other; } in Stream() function
70 Stream &operator=(const Stream &rhs) {
79 virtual ~Stream();
193 Stream &operator<<(const char *cstr);
195 Stream &operator<<(llvm::StringRef str);
205 Stream &operator<<(const void *p);
215 Stream &operator<<(char ch);
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DSerializedDiagnosticReader.cpp37 llvm::BitstreamCursor Stream(**Buffer); in readDiagnostics() local
40 if (Stream.AtEndOfStream()) in readDiagnostics()
56 while (!Stream.AtEndOfStream()) { in readDiagnostics()
77 Stream.ReadBlockInfoBlock(); in readDiagnostics()
87 Stream.setBlockInfo(&*BlockInfo); in readDiagnostics()
90 if ((EC = readMetaBlock(Stream))) in readDiagnostics()
94 if ((EC = readDiagnosticBlock(Stream))) in readDiagnostics()
98 if (llvm::Error Err = Stream.SkipBlock()) { in readDiagnostics()
120 while (!Stream.AtEndOfStream()) { in skipUntilRecordOrBlock()
141 if (Stream.ReadBlockEnd()) in skipUntilRecordOrBlock()
[all …]
H A DSerializedDiagnosticPrinter.cpp259 llvm::BitstreamWriter Stream; member
406 State->Stream.Emit((unsigned)'D', 8); in EmitPreamble()
429 State->Stream.EnterBlockInfoBlock(); in EmitBlockInfoBlock()
432 llvm::BitstreamWriter &Stream = State->Stream; in EmitBlockInfoBlock() local
514 Stream.ExitBlock(); in EmitBlockInfoBlock()
518 llvm::BitstreamWriter &Stream = State->Stream; in EmitMetaBlock() local
521 Stream.EnterSubblock(BLOCK_META, 3); in EmitMetaBlock()
524 Stream.ExitBlock(); in EmitMetaBlock()
646 llvm::BitstreamWriter &Stream = State->Stream; in EmitDiagnosticMessage() local
683 State->Stream.ExitBlock(); in ExitDiagBlock()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/ObjectYAML/
H A DMinidumpYAML.cpp68 Stream::~Stream() = default;
70 Stream::StreamKind Stream::getKind(StreamType Type) { in getKind()
97 std::unique_ptr<Stream> Stream::create(StreamType Type) { in create()
291 IO.mapOptional("Content", Stream.Content); in streamMapping()
292 IO.mapOptional("Size", Stream.Size, Stream.Content.binary_size()); in streamMapping()
296 if (Stream.Size.value < Stream.Content.binary_size()) in streamValidate()
316 IO.mapRequired("Modules", Stream.Entries); in streamMapping()
320 SystemInfo &Info = Stream.Info; in streamMapping()
350 IO.mapOptional("Text", Stream.Text); in streamMapping()
408 S = MinidumpYAML::Stream::create(Type); in mapping()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DBinaryStreamArray.h50 Error operator()(BinaryStreamRef Stream, uint32_t &Len,
103 : Stream(Stream), Skew(Skew) {} in Stream() function
106 : Stream(Stream), E(E), Skew(Skew) {} in Stream() function
112 bool valid() const { return Stream.valid(); } in valid()
124 BinaryStreamRef NewStream = Stream.slice(0, End); in substream()
141 Stream = NewStream;
148 BinaryStreamRef Stream;
269 explicit FixedStreamArray(BinaryStreamRef Stream) : Stream(Stream) { in FixedStreamArray() argument
270 assert(Stream.getLength() % sizeof(T) == 0); in FixedStreamArray()
274 return Stream == Other.Stream;
[all …]
H A DFormatProviders.h136 write_hex(Stream, V, HS, Digits);
148 write_integer(Stream, V, Digits, IS);
208 Stream << S.substr(0, N);
235 static void format(const char &V, llvm::raw_ostream &Stream,
238 Stream << V;
241 format_provider<int>::format(X, Stream, Style);
263 static void format(const bool &B, llvm::raw_ostream &Stream,
265 Stream << StringSwitch<const char *>(Style)
408 Adapter.format(Stream, ArgStyle);
412 Stream << Sep;
[all …]
H A DFormatAdapters.h37 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() argument
39 FmtAlign(Adapter, Where, Amount, Fill).format(Stream, Style); in format()
51 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() argument
53 Stream.indent(Left); in format()
54 Adapter.format(Stream, Style); in format()
55 Stream.indent(Right); in format()
66 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() argument
69 Adapter.format(Stream, Style); in format()
79 void format(llvm::raw_ostream &Stream, StringRef Style) override { in format() argument
80 Stream << Item; in format()
H A DBinaryStreamWriter.h35 explicit BinaryStreamWriter(WritableBinaryStream &Stream);
40 : Stream(Other.Stream), Offset(Other.Offset) {} in BinaryStreamWriter()
43 Stream = Other.Stream;
69 Buffer, Value, Stream.getEndian()); in writeInteger()
185 uint32_t getLength() const { return Stream.getLength(); } in getLength()
190 WritableBinaryStreamRef Stream;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Bitcode/
H A DBitcodeConvenience.h231 Stream.EmitRecordWithAbbrev(code, buffer); in emit()
269 Stream.EmitRecordWithAbbrev(code, buffer); in emit()
276 emit(Stream, buffer, code, array); in emit()
282 Stream.EmitRecordWithAbbrev(code, Buffer); in emit()
357 llvm::BitstreamWriter &Stream;
368 : Stream(Stream), AbbrevCode(emitAbbrev(Stream)) {}
448 explicit BCRecordLayout(llvm::BitstreamWriter &Stream) : Base(Stream) {}
474 llvm::BitstreamWriter &Stream;
478 : Stream(Stream) {
479 Stream.EnterSubblock(block, abbrev);
[all …]
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
H A DCxxStringTypes.h19 bool Char8StringSummaryProvider(ValueObject &valobj, Stream &stream,
23 ValueObject &valobj, Stream &stream,
27 ValueObject &valobj, Stream &stream,
30 bool WCharStringSummaryProvider(ValueObject &valobj, Stream &stream,
33 bool Char8SummaryProvider(ValueObject &valobj, Stream &stream,
37 ValueObject &valobj, Stream &stream,
40 bool Char32SummaryProvider(ValueObject &valobj, Stream &stream,
43 bool WCharSummaryProvider(ValueObject &valobj, Stream &stream,
H A DLibCxx.h22 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 &stream,
/freebsd-13.1/contrib/llvm-project/llvm/lib/Remarks/
H A DBitstreamRemarkParser.cpp38 : Stream(Stream), BlockInfo(BlockInfo) {} in BitstreamMetaParserHelper()
42 BitstreamCursor &Stream = Parser.Stream; in parseRecord() local
84 BitstreamCursor &Stream) in BitstreamRemarkParserHelper() argument
85 : Stream(Stream) {} in BitstreamRemarkParserHelper()
89 BitstreamCursor &Stream = Parser.Stream; in parseRecord() local
159 BitstreamCursor &Stream = ParserHelper.Stream; in parseBlock() local
175 while (!Stream.AtEndOfStream()) { in parseBlock()
176 Next = Stream.advance(); in parseBlock()
209 : Stream(Buffer) {} in BitstreamParserHelper()
233 Stream.ReadBlockInfoBlock(); in parseBlockInfoBlock()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/PDB/Native/
H A DNamedStreamMap.cpp51 Error NamedStreamMap::load(BinaryStreamReader &Stream) { in load() argument
53 if (auto EC = Stream.readInteger(StringBufferSize)) in load()
59 if (auto EC = Stream.readFixedString(Buffer, StringBufferSize)) in load()
63 return OffsetIndexMap.load(Stream); in load()
100 bool NamedStreamMap::get(StringRef Stream, uint32_t &StreamNo) const { in get() argument
101 auto Iter = OffsetIndexMap.find_as(Stream, HashTraits); in get()
111 StringRef Stream(NamesBuffer.data() + Entry.first); in entries() local
112 Result.try_emplace(Stream, Entry.second); in entries()
124 void NamedStreamMap::set(StringRef Stream, uint32_t StreamNo) { in set() argument
125 OffsetIndexMap.set_as(Stream, support::ulittle32_t(StreamNo), HashTraits); in set()
H A DNativeEnumInjectedSources.cpp20 Expected<std::string> readStreamData(BinaryStream &Stream, uint32_t Limit) { in readStreamData() argument
21 uint32_t Offset = 0, DataLength = std::min(Limit, Stream.getLength()); in readStreamData()
26 if (auto E = Stream.readLongestContiguousChunk(Offset, Data)) in readStreamData()
98 : File(File), Stream(IJS), Strings(Strings), Cur(Stream.begin()) {} in NativeEnumInjectedSources()
101 return static_cast<uint32_t>(Stream.size()); in getChildCount()
108 return std::make_unique<NativeInjectedSource>(std::next(Stream.begin(), N)->second, in getChildAtIndex()
113 if (Cur == Stream.end()) in getNext()
118 void NativeEnumInjectedSources::reset() { Cur = Stream.begin(); } in reset()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DBitcodeWriter.cpp142 : Stream(Stream), StrtabBuilder(StrtabBuilder) {} in BitcodeWriterBase()
826 Stream.ExitBlock(); in writeAttributeGroupTable()
848 Stream.ExitBlock(); in writeAttributeTable()
1026 Stream.ExitBlock(); in writeTypeTable()
2269 Stream.ExitBlock(); in writeModuleMetadata()
2280 Stream.ExitBlock(); in writeFunctionMetadata()
2326 Stream.ExitBlock(); in writeFunctionMetadataAttachment()
2350 Stream.ExitBlock(); in writeModuleMetadataKinds()
2377 Stream.ExitBlock(); in writeOperandBundleTags()
3911 Stream.EmitRecord( in writePerModuleGlobalValueSummary()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DMinidump.cpp59 if (!Stream) in getMemoryInfoList()
62 getDataSliceAs<minidump::MemoryInfoListHeader>(*Stream, 0, 1); in getMemoryInfoList()
67 getDataSlice(*Stream, H.SizeOfHeader, H.SizeOfEntry * H.NumberOfEntries); in getMemoryInfoList()
76 Optional<ArrayRef<uint8_t>> Stream = getRawStream(Type); in getListStream() local
77 if (!Stream) in getListStream()
79 auto ExpectedSize = getDataSliceAs<support::ulittle32_t>(*Stream, 0, 1); in getListStream()
89 if (ListOffset + sizeof(T) * ListSize < Stream->size()) in getListStream()
92 return getDataSliceAs<T>(*Stream, ListOffset, ListSize); in getListStream()
133 Expected<ArrayRef<uint8_t>> Stream = in create() local
135 if (!Stream) in create()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/CodeView/
H A DFormatters.h34 void format(raw_ostream &Stream, StringRef Style) override;
51 static void format(const codeview::TypeIndex &V, raw_ostream &Stream,
54 Stream << "<no type>";
56 Stream << formatv("{0:X+4}", V.getIndex());
58 Stream << " (" << codeview::TypeIndex::simpleTypeName(V) << ")";
64 static void format(const codeview::GUID &V, llvm::raw_ostream &Stream,
66 Stream << V;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSymbolRewriter.h51 class Stream; variable
100 bool parseEntry(yaml::Stream &Stream, yaml::KeyValueNode &Entry,
102 bool parseRewriteFunctionDescriptor(yaml::Stream &Stream,
106 bool parseRewriteGlobalVariableDescriptor(yaml::Stream &Stream,
110 bool parseRewriteGlobalAliasDescriptor(yaml::Stream &YS, yaml::ScalarNode *K,
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Remarks/
H A DBitstreamRemarkParser.h31 BitstreamCursor &Stream; member
45 BitstreamMetaParserHelper(BitstreamCursor &Stream,
56 BitstreamCursor &Stream; member
81 BitstreamRemarkParserHelper(BitstreamCursor &Stream);
91 BitstreamCursor Stream; member
108 bool atEndOfStream() { return Stream.AtEndOfStream(); } in atEndOfStream()
110 void skipToEnd() { return Stream.skipToEnd(); } in skipToEnd()
/freebsd-13.1/contrib/llvm-project/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/
H A DRenderScriptRuntime.h71 void Dump(Stream *s) const override {} in Dump()
121 void Dump(Stream *s) const override {} in Dump()
148 void Dump(Stream &strm) const;
160 void Dump(Stream &strm) const;
179 void Dump(Stream &strm) const;
228 void Dump(Stream &strm) const;
267 void Dump(Stream *s) const override {} in Dump()
357 void DumpModules(Stream &strm) const;
359 void DumpContexts(Stream &strm) const;
361 void DumpKernels(Stream &strm) const;
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DBinaryStreamReader.cpp18 BinaryStreamReader::BinaryStreamReader(BinaryStreamRef Ref) : Stream(Ref) {} in BinaryStreamReader()
20 BinaryStreamReader::BinaryStreamReader(BinaryStream &Stream) : Stream(Stream) {} in BinaryStreamReader() argument
24 : Stream(Data, Endian) {} in BinaryStreamReader()
27 : Stream(Data, Endian) {} in BinaryStreamReader()
31 if (auto EC = Stream.readLongestContiguousChunk(Offset, Buffer)) in readLongestContiguousChunk()
38 if (auto EC = Stream.readBytes(Offset, Size, Buffer)) in readBytes()
137 Ref = Stream.slice(Offset, Length); in readStreamRef()
162 auto EC = Stream.readBytes(Offset, 1, Buffer); in peek()
172 BinaryStreamRef First = Stream.drop_front(Offset); in split()

12345678910>>...29