/llvm-project/llvm/test/tools/llvm-pdbutil/ |
H A D | explain-dbi-stream.test | 31 CHECK-NEXT: Address is at offset 0/781 of Stream 3 (DBI Stream). 32 CHECK-NEXT: Within the DBI stream: 33 CHECK-NEXT: address is at offset 0/64 of the DBI Stream Header. 34 CHECK-NEXT: which contains the DBI Stream Version Signature. 39 CHECK-NEXT: Address is at offset 4/781 of Stream 3 (DBI Stream). 40 CHECK-NEXT: Within the DBI stream: 41 CHECK-NEXT: address is at offset 4/64 of the DBI Stream Header. 42 CHECK-NEXT: which contains the DBI Stream Version Header. 47 CHECK-NEXT: Address is at offset 8/781 of Stream 3 (DBI Stream). 48 CHECK-NEXT: Within the DBI stream: [all …]
|
H A D | explain-pdb-stream.test | 14 CHECK-NEXT: Address is at offset 0/202 of Stream 1 (PDB Stream). 15 CHECK-NEXT: Within the PDB stream: 16 CHECK-NEXT: address is at offset 0/28 of the PDB Stream Header. 17 CHECK-NEXT: which contains the PDB Stream Version Signature. 22 CHECK-NEXT: Address is at offset 4/202 of Stream 1 (PDB Stream). 23 CHECK-NEXT: Within the PDB stream: 24 CHECK-NEXT: address is at offset 4/28 of the PDB Stream Header. 25 CHECK-NEXT: which contains the signature of the PDB Stream. 30 CHECK-NEXT: Address is at offset 8/202 of Stream 1 (PDB Stream). 31 CHECK-NEXT: Within the PDB stream: [all …]
|
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/utils/ |
H A D | PrettyOutputBase.py | 52 class Stream(object): class 61 stdout = Stream(sys.stdout) 62 stderr = Stream(sys.stderr) 77 def _set_valid_stream(self, stream): argument 78 if stream is None: 80 return stream 82 def _write(self, text, stream): argument 103 # No tags. Just write the text to the current stream and return. 107 stream = self._set_valid_stream(stream) 108 stream.py.write(text.replace(r"\>", ">")) [all …]
|
/llvm-project/libc/benchmarks/automemcpy/lib/ |
H A D | CodeGen.cpp |
|
/llvm-project/lldb/source/Plugins/Language/ObjC/ |
H A D | Cocoa.h | 15 #include "lldb/Utility/Stream.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 [all...] |
H A D | Cocoa.cpp | 27 #include "lldb/Utility/Stream.h" 39 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in NSBundleSummaryProvider() 81 stream.Printf("%s", summary_stream.GetData()); in NSBundleSummaryProvider() 90 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in NSTimeZoneSummaryProvider() 130 stream.Printf("%s", summary_stream.GetData()); in NSTimeZoneSummaryProvider() 139 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in NSNotificationSummaryProvider() 179 stream in NSNotificationSummaryProvider() 40 NSBundleSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSBundleSummaryProvider() argument 91 NSTimeZoneSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSTimeZoneSummaryProvider() argument 140 NSNotificationSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSNotificationSummaryProvider() argument 189 NSMachPortSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSMachPortSummaryProvider() argument 235 NSIndexSetSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSIndexSetSummaryProvider() argument 342 NSNumber_FormatChar(ValueObject & valobj,Stream & stream,char value,lldb::LanguageType lang) NSNumber_FormatChar() argument 355 NSNumber_FormatShort(ValueObject & valobj,Stream & stream,short value,lldb::LanguageType lang) NSNumber_FormatShort() argument 368 NSNumber_FormatInt(ValueObject & valobj,Stream & stream,int value,lldb::LanguageType lang) NSNumber_FormatInt() argument 381 NSNumber_FormatLong(ValueObject & valobj,Stream & stream,int64_t value,lldb::LanguageType lang) NSNumber_FormatLong() argument 394 NSNumber_FormatInt128(ValueObject & valobj,Stream & stream,const llvm::APInt & value,lldb::LanguageType lang) NSNumber_FormatInt128() argument 411 NSNumber_FormatFloat(ValueObject & valobj,Stream & stream,float value,lldb::LanguageType lang) NSNumber_FormatFloat() argument 424 NSNumber_FormatDouble(ValueObject & valobj,Stream & stream,double value,lldb::LanguageType lang) NSNumber_FormatDouble() argument 438 NSNumberSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSNumberSummaryProvider() argument 731 NSDecimalNumberSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSDecimalNumberSummaryProvider() argument 780 NSURLSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSURLSummaryProvider() argument 904 NSDateSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSDateSummaryProvider() argument 1006 ObjCClassSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) ObjCClassSummaryProvider() argument 1066 NSDataSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) NSDataSummaryProvider() argument 1129 ObjCBOOLSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) ObjCBOOLSummaryProvider() argument 1160 ObjCBooleanSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) ObjCBooleanSummaryProvider() argument 1190 ObjCSELSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) ObjCSELSummaryProvider() argument [all...] |
/llvm-project/cross-project-tests/debuginfo-tests/dexter/dex/utils/windows/ |
H A D | PrettyOutput.py | 14 from ..PrettyOutputBase import PrettyOutputBase, Stream, _lock, _null_lock 30 stdout = Stream(sys.stdout, ctypes.windll.kernel32.GetStdHandle(-11)) 31 stderr = Stream(sys.stderr, ctypes.windll.kernel32.GetStdHandle(-12)) 46 def _restore_orig_color(self, stream, lock=_lock): argument 47 if not stream.color_enabled: 51 stream = self._set_valid_stream(stream) 52 self.flush(stream) 53 if stream.orig_color: 55 stream.os, stream.orig_color 58 def _color(self, text, color, stream, lock=_lock): argument [all …]
|
/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | MinidumpYAML.h | 20 /// The base class for all minidump streams. The "Type" of the stream 21 /// corresponds to the Stream Type field in the minidump file. The "Kind" field 24 /// one stream Kind can be used to represent multiple stream Types (e.g. any 25 /// unrecognised stream Type will be handled via RawContentStream). The mapping 27 struct Stream { struct 40 Stream(StreamKind Kind, minidump::StreamType Type) : Kind(Kind), Type(Type) {} 41 virtual ~Stream(); // anchor 46 /// Get the stream Kind used for representing streams of a given Type. 49 /// Create an empty stream o 28 StreamKindStream global() argument 39 StreamStream Stream() argument 42 KindStream global() argument 43 TypeStream global() argument 67 : Stream(EntryT::Kind, EntryT::Type), Entries(std::move(Entries)) {} Stream() function 153 : Stream(StreamKind::RawContent, Type), Content(Content), Stream() function 190 : Stream(StreamKind::TextContent, Type), Text(Text) {} Stream() function [all...] |
/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | LibCxx.h | 15 #include "lldb/Utility/Stream.h" 32 ValueObject &valobj, Stream &stream, 36 ValueObject &valobj, Stream &stream, 40 ValueObject &valobj, Stream &stream, 44 ValueObject &valobj, Stream &stream, 48 ValueObject &valueObj, Stream [all...] |
H A D | LibCxx.cpp | 23 #include "lldb/Utility/Stream.h" 107 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in LibcxxFunctionSummaryProvider() 130 stream.Printf(" __f_ = %" PRIu64, callable_info.member_f_pointer_value); in LibcxxSmartPointerSummaryProvider() 134 stream.Printf( in LibcxxSmartPointerSummaryProvider() 140 stream.Printf( in LibcxxSmartPointerSummaryProvider() 146 stream.Printf(" Function = %s ", in LibcxxSmartPointerSummaryProvider() 155 ValueObject &valobj, Stream &stream, const TypeSummaryOptions &options) { in LibcxxSmartPointerSummaryProvider() 169 stream 80 LibcxxFunctionSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxFunctionSummaryProvider() argument 128 LibcxxSmartPointerSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxSmartPointerSummaryProvider() argument 170 LibcxxUniquePointerSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxUniquePointerSummaryProvider() argument 394 LibcxxContainerSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxContainerSummaryProvider() argument 504 LibcxxWStringSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options,ValueObjectSP location_sp,size_t size) LibcxxWStringSummaryProvider() argument 568 LibcxxWStringSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options) LibcxxWStringSummaryProvider() argument 583 LibcxxStringSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options,std::string prefix_token,ValueObjectSP location_sp,uint64_t size) LibcxxStringSummaryProvider() argument 627 LibcxxStringSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options,std::string prefix_token) LibcxxStringSummaryProvider() argument 641 formatStringImpl(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options,std::string prefix_token) formatStringImpl() argument 655 LibcxxStringSummaryProviderASCII(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options) LibcxxStringSummaryProviderASCII() argument 662 LibcxxStringSummaryProviderUTF16(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options) LibcxxStringSummaryProviderUTF16() argument 669 LibcxxStringSummaryProviderUTF32(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options) LibcxxStringSummaryProviderUTF32() argument 696 formatStringViewImpl(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options,std::string prefix_token) formatStringViewImpl() argument 715 LibcxxStringViewSummaryProviderASCII(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options) LibcxxStringViewSummaryProviderASCII() argument 722 LibcxxStringViewSummaryProviderUTF16(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options) LibcxxStringViewSummaryProviderUTF16() argument 729 LibcxxStringViewSummaryProviderUTF32(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options) LibcxxStringViewSummaryProviderUTF32() argument 736 LibcxxWStringViewSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & summary_options) LibcxxWStringViewSummaryProvider() argument 754 LibcxxChronoTimePointSecondsSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options,const char * fmt) LibcxxChronoTimePointSecondsSummaryProvider() argument 798 LibcxxChronoSysSecondsSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxChronoSysSecondsSummaryProvider() argument 804 LibcxxChronoLocalSecondsSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxChronoLocalSecondsSummaryProvider() argument 810 LibcxxChronoTimepointDaysSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options,const char * fmt) LibcxxChronoTimepointDaysSummaryProvider() argument 852 LibcxxChronoSysDaysSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxChronoSysDaysSummaryProvider() argument 858 LibcxxChronoLocalDaysSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxChronoLocalDaysSummaryProvider() argument 864 LibcxxChronoMonthSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxChronoMonthSummaryProvider() argument 885 LibcxxChronoWeekdaySummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxChronoWeekdaySummaryProvider() argument 906 LibcxxChronoYearMonthDaySummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions & options) LibcxxChronoYearMonthDaySummaryProvider() argument [all...] |
H A D | CxxStringTypes.cpp | 24 #include "lldb/Utility/Stream.h" 52 static bool CharStringSummaryProvider(ValueObject &valobj, Stream &stream) { in CharStringSummaryProvider() argument 60 options.SetStream(&stream); in CharStringSummaryProvider() 64 stream.Printf("Summary Unavailable"); in CharStringSummaryProvider() 70 static bool CharSummaryProvider(ValueObject &valobj, Stream &stream) { in CharSummaryProvider() argument 85 stream.Printf("%s ", value.c_str()); in CharSummaryProvider() 88 options.SetStream(&stream); in CharSummaryProvider() 98 ValueObject &valobj, Stream in Char8StringSummaryProvider() argument 103 Char16StringSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions &) Char16StringSummaryProvider() argument 108 Char32StringSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions &) Char32StringSummaryProvider() argument 113 WCharStringSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions &) WCharStringSummaryProvider() argument 155 Char8SummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions &) Char8SummaryProvider() argument 160 Char16SummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions &) Char16SummaryProvider() argument 165 Char32SummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions &) Char32SummaryProvider() argument 170 WCharSummaryProvider(ValueObject & valobj,Stream & stream,const TypeSummaryOptions &) WCharSummaryProvider() argument [all...] |
/llvm-project/lldb/source/Utility/ |
H A D | Stream.cpp | 1 //===-- Stream.cpp --------------------------------------------------------===// 9 #include "lldb/Utility/Stream.h" 27 Stream::Stream(uint32_t flags, uint32_t addr_size, ByteOrder byte_order, in Stream() function in Stream 32 Stream::Stream(bool colors) in Stream() function in Stream 37 Stream::~Stream() = default; 39 ByteOrder Stream::SetByteOrder(ByteOrder byte_order) { in SetByteOrder() 45 // Put an offset "uval" out to the stream using the printf format in "format". 46 void Stream::Offset(uint32_t uval, const char *format) { Printf(format, uval); } in Offset() 48 // Put an SLEB128 "uval" out to the stream using the printf format in "format". 49 size_t Stream::PutSLEB128(int64_t sval) { in PutSLEB128() [all …]
|
/llvm-project/lldb/include/lldb/Utility/ |
H A D | Stream.h | 1 //===-- Stream.h ------------------------------------------------*- C++ -*-===// 26 /// \class Stream Stream.h "lldb/Utility/Stream.h" 27 /// A stream class that can stream formatted output to a file. 28 class Stream { 36 /// Struct to store information for color highlighting in the stream. 47 /// Utility class for counting the bytes that were written to a stream in a 55 Stream *m_stream; 60 ByteDelta(Stream &s) : m_stream(&s), m_start(s.GetWrittenBytes()) {} in ByteDelta() 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, [all …]
|
/llvm-project/clang/test/Analysis/ |
H A D | stream-stdlibraryfunctionargs.c | 1 // RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.Stream,unix.StdCLibraryFunctions,debug.ExprI… 2 // RUN: -analyzer-config unix.Stream:Pedantic=true \ 3 // RUN: -analyzer-config unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any %s 5 // RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.Stream,debug.ExprInspection \ 6 // RUN: -analyzer-config unix.Stream:Pedantic=true \ 7 // RUN: -analyzer-config unix.StdCLibraryFunctions:ModelPOSIX=true -verify=stream,any %s 10 // RUN: -analyzer-config unix.Stream:Pedantic=true \ 25 // stream-warning{{Stream pointer might be NULL}} \ in test_fopen() 33 // stream-warning{{Stream pointer might be NULL}} \ in test_fdopen() 41 // stream-warning{{Stream pointer might be NULL}} \ in test_tmpfile() [all …]
|
H A D | stream.c | 1 // RUN: %clang_analyze_cc1 -triple=x86_64-pc-linux-gnu -analyzer-checker=core,unix.Stream,debug.ExprInspection \ 2 // RUN: -analyzer-config eagerly-assume=false,unix.Stream:Pedantic=true -verify %s 3 // RUN: %clang_analyze_cc1 -triple=armv8-none-linux-eabi -analyzer-checker=core,unix.Stream,debug.ExprInspection \ 4 // RUN: -analyzer-config eagerly-assume=false,unix.Stream:Pedantic=true -verify %s 5 // RUN: %clang_analyze_cc1 -triple=aarch64-linux-gnu -analyzer-checker=core,unix.Stream,debug.ExprInspection \ 6 // RUN: -analyzer-config eagerly-assume=false,unix.Stream:Pedantic=true -verify %s 7 // RUN: %clang_analyze_cc1 -triple=hexagon -analyzer-checker=core,unix.Stream,debug.ExprInspection \ 8 // RUN: -analyzer-config eagerly-assume=false,unix.Stream:Pedantic=true -verify %s 18 fread(0, 0, 0, fp); // expected-warning {{Stream pointer might be NULL}} in check_fread() 24 fwrite(0, 0, 0, fp); // expected-warning {{Stream pointe in check_fwrite() 253 pr8081(FILE * stream,long offset,int whence) pr8081() argument [all...] |
H A D | stream-notes-missing-close.cpp | 3 // RUN: -analyzer-checker=unix.Stream 30 // expected-note@-1{{Stream opened here}} in f() 31 } // expected-warning{{Opened stream never closed. Potential resource leak [unix.Stream]}} in f() 32 // expected-note@-1{{Opened stream never closed. Potential resource leak}} 43 } // expected-note{{Returning without closing stream object or storing it for later release}} in expectedClose() 46 FILE *f = fopen("input.txt", "w"); // expected-note{{Stream opened here}} in f() 55 return; // expected-warning{{Opened stream never closed. Potential resource leak [unix.Stream]}} in f() 56 // expected-note@-1{{Opened stream never closed. Potential resource leak}} in f() 70 } // expected-note{{Returning without closing stream object or storing it for later release}} in sink() 73 FILE *f = fopen("input.txt", "w"); // expected-note{{Stream opened here}} in foo() [all …]
|
/llvm-project/llvm/test/DebugInfo/PDB/ |
H A D | pdbdump-raw-stream.test | 1 ; RUN: llvm-pdbutil bytes -stream-data=1 %p/Inputs/empty.pdb | FileCheck --check-prefix=STREAM %s 2 ; RUN: llvm-pdbutil bytes -stream-data=100 %p/Inputs/empty.pdb 2>&1 | FileCheck --check-prefix=INVA… 3 ; RUN: llvm-pdbutil bytes -stream-data=1,100 %p/Inputs/empty.pdb 2>&1 | FileCheck --check-prefix=BO… 5 ; RUN: llvm-pdbutil bytes -stream-data=1:10 %p/Inputs/empty.pdb | FileCheck --check-prefix=OFFSET %s 6 ; RUN: llvm-pdbutil bytes -stream-data=1@20 %p/Inputs/empty.pdb | FileCheck --check-prefix=SIZED %s 7 ; RUN: llvm-pdbutil bytes -stream-data=1:8@20 %p/Inputs/empty.pdb | FileCheck --check-prefix=SLICE … 8 ; RUN: llvm-pdbutil bytes -stream-data=1:0x8@0x14 %p/Inputs/empty.pdb | FileCheck --check-prefix=SL… 9 ; RUN: llvm-pdbutil bytes -stream-data=2:4050@100 %p/Inputs/empty.pdb 2>&1 | FileCheck --check-pref… 11 STREAM: Stream Data 12 STREAM-NEXT: ============================================================ [all …]
|
H A D | pdbdump-yaml.test | 1 ; RUN: llvm-pdbutil pdb2yaml -stream-metadata -stream-directory -string-table -pdb-stream \ 3 ; RUN: llvm-pdbutil pdb2yaml -no-file-headers -stream-metadata -stream-directory -pdb-stream \ 22 ; YAML-NEXT: - Stream: [ 8 ] 23 ; YAML-NEXT: - Stream: [ 19 ] 24 ; YAML-NEXT: - Stream: [ 18, 17 ] 25 ; YAML-NEXT: - Stream: [ 14 ] 26 ; YAML-NEXT: - Stream: [ 20 ] 27 ; YAML-NEXT: - Stream: [ ] 28 ; YAML-NEXT: - Stream: [ 11 ] 29 ; YAML-NEXT: - Stream: [ 13 ] [all …]
|
/llvm-project/llvm/include/llvm/Object/ |
H A D | Minidump.h | 28 /// contents are badly corrupted (i.e. we cannot read the stream directory). 36 /// Returns the list of streams (stream directory entries) in this file. in streams() 39 /// Returns the raw contents of the stream given by the directory entry. in getRawStream() argument 40 ArrayRef<uint8_t> getRawStream(const minidump::Directory &Stream) const { in getRawStream() 41 return getData().slice(Stream.Location.RVA, Stream.Location.DataSize); in getRawStream() 44 /// Returns the raw contents of the stream of the given type, or std::nullopt 45 /// if the file does not contain a stream of this type. 60 /// Returns the contents of the SystemInfo stream, cast to the appropriate 61 /// type. An error is returned if the file does not contain this stream, o 192 if (std::optional<ArrayRef<uint8_t>> Stream = getRawStream(Type)) { getStream() local [all...] |
/llvm-project/libcxx/include/ |
H A D | stdio.h | 42 int fclose(FILE* stream); 43 int fflush(FILE* stream); 46 FILE * restrict stream); 47 void setbuf(FILE* restrict stream, char* restrict buf); 48 int setvbuf(FILE* restrict stream, char* restrict buf, int mode, size_t size); 49 int fprintf(FILE* restrict stream, const char* restrict format, ...); 50 int fscanf(FILE* restrict stream, const char * restrict format, ...); 56 int vfprintf(FILE* restrict stream, const char* restrict format, va_list arg); 57 int vfscanf(FILE* restrict stream, const char* restrict format, va_list arg); // C99 64 int fgetc(FILE* stream); [all...] |
/llvm-project/lldb/source/Plugins/SymbolFile/NativePDB/ |
H A D | DWARFLocationExpression.cpp | 118 StreamBuffer<32> stream(Stream::eBinary, address_size, byte_order); in MakeLocationExpressionInternal() local 120 if (!writer(stream, register_kind)) in MakeLocationExpressionInternal() 124 std::make_shared<DataBufferHeap>(stream.GetData(), stream.GetSize()); in MakeLocationExpressionInternal() 133 Stream &stream, llvm::codeview::RegisterId reg, RegisterKind ®ister_kind, in MakeRegisterBasedLocationExpressionInternal() argument 143 stream.PutHex8(base); in MakeRegisterBasedLocationExpressionInternal() 144 stream.PutULEB128(reg_num); in MakeRegisterBasedLocationExpressionInternal() 148 stream.PutHex8(base + reg_num); in MakeRegisterBasedLocationExpressionInternal() 152 stream.PutSLEB128(*relative_offset); in MakeRegisterBasedLocationExpressionInternal() 161 module, [&](Stream &stream, RegisterKind ®ister_kind) -> bool { in MakeRegisterBasedLocationExpressionInternal() argument 163 stream, reg, register_kind, relative_offset, module); in MakeRegisterBasedLocationExpressionInternal() [all …]
|
/llvm-project/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 67 Additionally, the MSF contains a stream directory (aka MFT) which describes how 70 For more information about the MSF container format, stream directory, and 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 | 92 | | | - Map of named streams to stream indices | 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 | [all …]
|
/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | StreamUtil.cpp | 1 //===- StreamUtil.cpp - PDB stream utilities --------------------*- C++ -*-===// 25 return formatv("Named Stream \"{0}\"", Name).str(); in getLongName() 50 static inline StreamInfo stream(StreamPurpose Purpose, StringRef Label, in stream() function 100 stream(StreamPurpose::Other, "Old MSF Directory", StreamIdx); in discoverStreamPurposes() 102 Streams[StreamIdx] = stream(StreamPurpose::PDB, "PDB Stream", StreamIdx); in discoverStreamPurposes() 104 Streams[StreamIdx] = stream(StreamPurpose::DBI, "DBI Stream", StreamIdx); in discoverStreamPurposes() 106 Streams[StreamIdx] = stream(StreamPurpose::TPI, "TPI Stream", StreamIdx); in discoverStreamPurposes() 108 Streams[StreamIdx] = stream(StreamPurpose::IPI, "IPI Stream", StreamIdx); in discoverStreamPurposes() 111 stream(StreamPurpose::GlobalHash, "Global Symbol Hash", StreamIdx); in discoverStreamPurposes() 114 stream(StreamPurpose::PublicHash, "Public Symbol Hash", StreamIdx); in discoverStreamPurposes() [all …]
|
/llvm-project/libcxx/test/libcxx/input.output/iostream.format/output.streams/ostream.formatted/ostream.formatted.print/ |
H A D | vprint_unicode.pass.cpp | 57 // When the stream is not a file stream, cout, clog, or cerr the stream does not 58 // considered to be backed by a FILE*. Then the stream should never check 64 std::stringstream stream; in test_is_terminal_not_a_file_stream() 65 std::print(stream, "test"); in test_is_terminal_not_a_file_stream() 68 std::ostringstream stream; in test_is_terminal_not_a_file_stream() 69 std::print(stream, "test"); in test_is_terminal_not_a_file_stream() 74 // When the stream is a file stream, it 63 std::stringstream stream; test_is_terminal_not_a_file_stream() local 67 std::ostringstream stream; test_is_terminal_not_a_file_stream() local 79 std::fstream stream(filename); test_is_terminal_file_stream() local 86 std::ofstream stream(filename); test_is_terminal_file_stream() local 105 std::ostream stream(&buf); test_is_terminal_rdbuf_derived_from_filebuf() local 149 std::ostream stream(&buf); test_is_terminal_is_flushed() local [all...] |
/llvm-project/llvm/include/llvm/Support/ |
H A D | BinaryStreamReader.h | 1 //===- BinaryStreamReader.h - Reads objects from a binary stream *- C++ -*-===// 33 explicit BinaryStreamReader(BinaryStream &Stream); 45 /// Updates the stream's offset to point after the newly read data. 51 /// Read \p Size bytes from the underlying stream at the current offset and 53 /// depends on the implementation of the underlying stream. Updates the 54 /// stream's offset to point after the newly read data. 61 /// stream's offset. The data is always copied from the stream's underlying 62 /// buffer into \p Dest. Updates the stream's offset to point after the newly 75 Dest = llvm::support::endian::read<T>(Bytes.data(), Stream.getEndian()); in readInteger() 103 /// on the implementation of the underlying stream. Updates the stream's [all …]
|