| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/LogicalView/Core/ |
| H A D | LVLocation.cpp | 29 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 D | LVObject.cpp | 58 std::stringstream Stream; in lineAsString() local 61 Stream << std::setw(5) << LineNumber << "," << std::left << std::setw(2) in lineAsString() 64 Stream << std::setw(5) << LineNumber << " "; in lineAsString() 66 Stream << noLineAsString(ShowZero); in lineAsString() 69 Stream.str(noLineAsString(ShowZero)); in lineAsString() 71 return Stream.str(); in lineAsString() 82 raw_string_ostream Stream(String); in referenceAsString() local 84 Stream << "@" << LineNumber << (Spaces ? " " : ""); in referenceAsString() 150 std::stringstream Stream; in printAttributes() local 151 Stream.str(std::string()); in printAttributes() [all …]
|
| /openbsd-src/gnu/gcc/fixincludes/ |
| H A D | system.h | 63 # define putc(C, Stream) putc_unlocked (C, Stream) argument 71 # define getc(Stream) getc_unlocked (Stream) argument 79 # define fputc(C, Stream) fputc_unlocked (C, Stream) argument 84 # define clearerr(Stream) clearerr_unlocked (Stream) argument 91 # define feof(Stream) feof_unlocked (Stream) argument 98 # define fileno(Stream) fileno_unlocked (Stream) argument 105 # define fflush(Stream) fflush_unlocked (Stream) argument 112 # define fgetc(Stream) fgetc_unlocked (Stream) argument 119 # define fgets(S, n, Stream) fgets_unlocked (S, n, Stream) argument 126 # define fputs(String, Stream) fputs_unlocked (String, Stream) argument [all …]
|
| /openbsd-src/gnu/llvm/lldb/source/Utility/ |
| H A D | Stream.cpp | 25 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; 37 ByteOrder Stream::SetByteOrder(ByteOrder byte_order) { in SetByteOrder() 44 void Stream::Offset(uint32_t uval, const char *format) { Printf(format, uval); } in Offset() 47 size_t Stream::PutSLEB128(int64_t sval) { in PutSLEB128() 55 size_t Stream::PutULEB128(uint64_t uval) { in PutULEB128() 63 size_t Stream::PutCString(llvm::StringRef str) { in PutCString() 75 void Stream::QuotedCString(const char *cstr, const char *format) { in QuotedCString() 104 size_t Stream::PutChar(char ch) { return Write(&ch, 1); } in PutChar() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/IR/ |
| H A D | DiagnosticPrinter.cpp | 23 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 …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Language/ObjC/ |
| H A D | Cocoa.h | 22 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 …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ObjectYAML/ |
| H A D | MinidumpYAML.h | 27 struct Stream { struct 39 Stream(StreamKind Kind, minidump::StreamType Type) : Kind(Kind), Type(Type) {} in Stream() function 40 virtual ~Stream(); // anchor 49 static std::unique_ptr<Stream> create(minidump::StreamType Type); 52 static Expected<std::unique_ptr<Stream>> 61 template <typename EntryT> struct ListStream : public Stream { 67 : Stream(EntryT::Kind, EntryT::Type), Entries(std::move(Entries)) {} in Stream() function 69 static bool classof(const Stream *S) { return S->Kind == EntryT::Kind; } in classof() 74 static constexpr Stream::StreamKind Kind = Stream::StreamKind::ModuleList; 85 static constexpr Stream::StreamKind Kind = Stream::StreamKind::ThreadList; [all …]
|
| /openbsd-src/gnu/gcc/libcpp/ |
| H A D | system.h | 63 # define putc(C, Stream) putc_unlocked (C, Stream) argument 71 # define getc(Stream) getc_unlocked (Stream) argument 79 # define fputc(C, Stream) fputc_unlocked (C, Stream) argument 84 # define clearerr(Stream) clearerr_unlocked (Stream) argument 91 # define feof(Stream) feof_unlocked (Stream) argument 98 # define fileno(Stream) fileno_unlocked (Stream) argument 105 # define fflush(Stream) fflush_unlocked (Stream) argument 112 # define fgetc(Stream) fgetc_unlocked (Stream) argument 119 # define fgets(S, n, Stream) fgets_unlocked (S, n, Stream) argument 126 # define fputs(String, Stream) fputs_unlocked (String, Stream) argument [all …]
|
| /openbsd-src/gnu/llvm/lldb/include/lldb/Utility/ |
| H A D | Stream.h | 28 class Stream { 44 Stream *m_stream; 49 ByteDelta(Stream &s) : m_stream(&s), m_start(s.GetWrittenBytes()) {} in ByteDelta() 59 Stream(uint32_t flags, uint32_t addr_size, lldb::ByteOrder byte_order, 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); [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Frontend/ |
| H A D | SerializedDiagnosticReader.cpp | 37 llvm::BitstreamCursor Stream(**Buffer); in readDiagnostics() local 40 if (Stream.AtEndOfStream()) in readDiagnostics() 45 if (Expected<llvm::SimpleBitstreamCursor::word_t> Res = Stream.Read(8)) { in readDiagnostics() 56 while (!Stream.AtEndOfStream()) { in readDiagnostics() 57 if (Expected<unsigned> Res = Stream.ReadCode()) { in readDiagnostics() 67 Expected<unsigned> MaybeSubBlockID = Stream.ReadSubBlockID(); 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() [all …]
|
| H A D | SerializedDiagnosticPrinter.cpp | 248 : DiagOpts(Diags), Stream(Buffer), OutputFile(File.str()), in SharedState() 258 llvm::BitstreamWriter Stream; member 314 llvm::BitstreamWriter &Stream, in EmitBlockID() argument 318 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETBID, Record); in EmitBlockID() 329 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_BLOCKNAME, Record); in EmitBlockID() 334 llvm::BitstreamWriter &Stream, in EmitRecordID() argument 342 Stream.EmitRecord(llvm::bitc::BLOCKINFO_CODE_SETRECORDNAME, Record); in EmitRecordID() 387 State->Stream.EmitRecordWithBlob(State->Abbrevs.get(RECORD_FILENAME), Record, in getEmitFile() 398 State->Stream.EmitRecordWithAbbrev(State->Abbrevs.get(RECORD_SOURCE_RANGE), in EmitCharSourceRange() 405 State->Stream.Emit((unsigned)'D', 8); in EmitPreamble() [all …]
|
| /openbsd-src/gnu/llvm/llvm/docs/PDB/ |
| H A D | index.rst | 63 A PDB file is an MSF (Multi-Stream Format) file. An MSF file is a "file system 86 | Name | Stream Index | Contents | 88 | Old Directory | - Fixed Stream Index 0 | - Previous MSF Stream Directory | 90 | PDB Stream | - Fixed Stream Index 1 | - Basic File Information | 94 | TPI Stream | - Fixed Stream Index 2 | - CodeView Type Records | 95 | | | - Index of TPI Hash Stream | 97 | DBI Stream | - Fixed Stream Index 3 | - Module/Compiland Information | 105 | IPI Stream | - Fixed Stream Index 4 | - CodeView Type Records | 106 | | | - Index of IPI Hash Stream | 108 | /LinkInfo | - Contained in PDB Stream | - Unknown | [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/ObjectYAML/ |
| H A D | MinidumpYAML.cpp | 68 Stream::~Stream() = default; 70 Stream::StreamKind Stream::getKind(StreamType Type) { in getKind() 97 std::unique_ptr<Stream> Stream::create(StreamType Type) { in create() 290 static void streamMapping(yaml::IO &IO, RawContentStream &Stream) { in streamMapping() argument 291 IO.mapOptional("Content", Stream.Content); in streamMapping() 292 IO.mapOptional("Size", Stream.Size, Stream.Content.binary_size()); in streamMapping() 295 static std::string streamValidate(RawContentStream &Stream) { in streamValidate() argument 296 if (Stream.Size.value < Stream.Content.binary_size()) in streamValidate() 307 static void streamMapping(yaml::IO &IO, MemoryInfoListStream &Stream) { in streamMapping() argument 308 IO.mapRequired("Memory Ranges", Stream.Infos); in streamMapping() [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Support/ |
| H A D | BinaryStreamArray.h | 50 Error operator()(BinaryStreamRef Stream, uint32_t &Len, 102 explicit VarStreamArray(BinaryStreamRef Stream, uint32_t Skew = 0) 103 : Stream(Stream), Skew(Skew) {} in Stream() function 105 VarStreamArray(BinaryStreamRef Stream, const Extractor &E, uint32_t Skew = 0) 106 : Stream(Stream), E(E), Skew(Skew) {} in Stream() function 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 D | FormatProviders.h | 131 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 …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/Bitcode/ |
| H A D | BitcodeConvenience.h | 189 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 …]
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | CxxStringTypes.h | 19 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 D | LibCxx.h | 27 ValueObject &valobj, Stream &stream, 31 ValueObject &valobj, Stream &stream, 35 ValueObject &valobj, Stream &stream, 39 ValueObject &valobj, Stream &stream, 43 ValueObject &valueObj, Stream &stream, 47 ValueObject &valobj, Stream &stream, 51 ValueObject &valobj, Stream &stream, 55 ValueObject &valobj, Stream &stream, 59 ValueObject &valobj, Stream &stream, 63 ValueObject &valobj, Stream &stream, [all …]
|
| /openbsd-src/gnu/gcc/gcc/ |
| H A D | system.h | 71 # define putc(C, Stream) putc_unlocked (C, Stream) argument 79 # define getc(Stream) getc_unlocked (Stream) argument 87 # define fputc(C, Stream) fputc_unlocked (C, Stream) argument 92 # define clearerr(Stream) clearerr_unlocked (Stream) argument 99 # define feof(Stream) feof_unlocked (Stream) argument 106 # define fileno(Stream) fileno_unlocked (Stream) argument 113 # define fflush(Stream) fflush_unlocked (Stream) argument 120 # define fgetc(Stream) fgetc_unlocked (Stream) argument 127 # define fgets(S, n, Stream) fgets_unlocked (S, n, Stream) argument 134 # define fputs(String, Stream) fputs_unlocked (String, Stream) argument [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Remarks/ |
| H A D | BitstreamRemarkParser.cpp | 39 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 …]
|
| /openbsd-src/gnu/llvm/llvm/lib/DebugInfo/PDB/Native/ |
| H A D | NamedStreamMap.cpp | 49 Error NamedStreamMap::load(BinaryStreamReader &Stream) { in load() argument 51 if (auto EC = Stream.readInteger(StringBufferSize)) in load() 57 if (auto EC = Stream.readFixedString(Buffer, StringBufferSize)) in load() 61 return OffsetIndexMap.load(Stream); in load() 98 bool NamedStreamMap::get(StringRef Stream, uint32_t &StreamNo) const { in get() argument 99 auto Iter = OffsetIndexMap.find_as(Stream, HashTraits); in get() 109 StringRef Stream(NamesBuffer.data() + Entry.first); in entries() local 110 Result.try_emplace(Stream, Entry.second); in entries() 122 void NamedStreamMap::set(StringRef Stream, uint32_t StreamNo) { in set() argument 123 OffsetIndexMap.set_as(Stream, support::ulittle32_t(StreamNo), HashTraits); in set()
|
| /openbsd-src/gnu/llvm/llvm/tools/llvm-exegesis/lib/ |
| H A D | MCInstrDescView.cpp | 250 raw_ostream &Stream) const { in dump() 251 Stream << "- " << Name << "\n"; in dump() 253 Stream << "- Op" << Op.getIndex(); in dump() 255 Stream << " Explicit"; in dump() 257 Stream << " Implicit"; in dump() 259 Stream << " Use"; in dump() 261 Stream << " Def"; in dump() 263 Stream << " Immediate"; in dump() 265 Stream << " Memory"; in dump() 268 Stream << " Reg(" << RegInfo.getName(Op.getImplicitReg()) << ")"; in dump() [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Object/ |
| H A D | Minidump.cpp | 58 std::optional<ArrayRef<uint8_t>> Stream = in getMemoryInfoList() local 60 if (!Stream) in getMemoryInfoList() 63 getDataSliceAs<minidump::MemoryInfoListHeader>(*Stream, 0, 1); in getMemoryInfoList() 68 getDataSlice(*Stream, H.SizeOfHeader, H.SizeOfEntry * H.NumberOfEntries); in getMemoryInfoList() 77 std::optional<ArrayRef<uint8_t>> Stream = getRawStream(Type); in getListStream() local 78 if (!Stream) in getListStream() 80 auto ExpectedSize = getDataSliceAs<support::ulittle32_t>(*Stream, 0, 1); in getListStream() 90 if (ListOffset + sizeof(T) * ListSize < Stream->size()) in getListStream() 93 return getDataSliceAs<T>(*Stream, ListOffset, ListSize); in getListStream() 134 Expected<ArrayRef<uint8_t>> Stream = in create() local [all …]
|
| /openbsd-src/gnu/llvm/llvm/lib/Bitcode/Writer/ |
| H A D | BitcodeWriter.cpp | 137 BitstreamWriter &Stream; member in __anonef3ea4f30111::BitcodeWriterBase 144 BitcodeWriterBase(BitstreamWriter &Stream, StringTableBuilder &StrtabBuilder) in BitcodeWriterBase() argument 145 : Stream(Stream), StrtabBuilder(StrtabBuilder) {} in BitcodeWriterBase() 153 Stream.EmitRecord(bitc::MODULE_CODE_VERSION, ArrayRef<uint64_t>{2}); in writeModuleVersion() 185 BitstreamWriter &Stream, in ModuleBitcodeWriterBase() argument 188 : BitcodeWriterBase(Stream, StrtabBuilder), M(M), in ModuleBitcodeWriterBase() 269 BitstreamWriter &Stream, bool ShouldPreserveUseListOrder, in ModuleBitcodeWriter() argument 272 : ModuleBitcodeWriterBase(M, StrtabBuilder, Stream, in ModuleBitcodeWriter() 275 BitcodeStartBit(Stream.GetCurrentBitNo()) {} in ModuleBitcodeWriter() 438 IndexBitcodeWriter(BitstreamWriter &Stream, StringTableBuilder &StrtabBuilder, in IndexBitcodeWriter() argument [all …]
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/DebugInfo/CodeView/ |
| H A D | Formatters.h | 36 void format(raw_ostream &Stream, StringRef Style) override; 53 static void format(const codeview::TypeIndex &V, raw_ostream &Stream, 56 Stream << "<no type>"; 58 Stream << formatv("{0:X+4}", V.getIndex()); 60 Stream << " (" << codeview::TypeIndex::simpleTypeName(V) << ")"; 66 static void format(const codeview::GUID &V, llvm::raw_ostream &Stream, 68 Stream << V;
|