/llvm-project/clang-tools-extra/test/clang-tidy/checkers/performance/ |
H A D | avoid-endl.cpp | 56 // CHECK-MESSAGES: :[[@LINE-1]]:27: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] in bad() 59 // CHECK-MESSAGES: :[[@LINE-1]]:28: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] in bad() 62 // CHECK-MESSAGES: :[[@LINE-1]]:27: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] in bad() 65 // CHECK-MESSAGES: :[[@LINE-1]]:28: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] in bad() 68 // CHECK-MESSAGES: :[[@LINE-1]]:27: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] in bad() 71 // CHECK-MESSAGES: :[[@LINE-1]]:28: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] in bad() 77 // CHECK-MESSAGES: :[[@LINE-1]]:16: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] in bad_single_argument() 80 // CHECK-MESSAGES: :[[@LINE-1]]:17: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] in bad_single_argument() 83 // CHECK-MESSAGES: :[[@LINE-1]]:16: warning: do not use 'std::endl' with streams; use '\n' instead [performance-avoid-endl] in bad_single_argument() 86 // CHECK-MESSAGES: :[[@LINE-1]]:17: warning: do not use 'std::endl' with streams; us in bad_single_argument() [all...] |
/llvm-project/llvm/tools/llvm-pdbutil/ |
H A D | StreamUtil.cpp | 66 SmallVectorImpl<StreamInfo> &Streams) { in discoverStreamPurposes() argument 67 // It's OK if we fail to load some of these streams, we still attempt to print in discoverStreamPurposes() 96 Streams.resize(StreamCount); in discoverStreamPurposes() 99 Streams[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() 110 Streams[StreamIdx] = in discoverStreamPurposes() 113 Streams[StreamIdx] = in discoverStreamPurposes() [all …]
|
/llvm-project/llvm/unittests/ObjectYAML/ |
H A D | MinidumpYAMLTest.cpp | 34 Streams: in TEST() 50 ASSERT_EQ(3u, File.streams().size()); in TEST() 52 EXPECT_EQ(StreamType::SystemInfo, File.streams()[0].Type); in TEST() 60 EXPECT_EQ(StreamType::LinuxMaps, File.streams()[1].Type); in TEST() 67 EXPECT_EQ(StreamType::LinuxAuxv, File.streams()[2].Type); in TEST() 76 Streams: in TEST() 92 Streams: in TEST() 104 ASSERT_EQ(1u, File.streams().size()); in TEST() 122 Streams: in TEST() 131 ASSERT_EQ(1u, File.streams() in TEST() [all...] |
/llvm-project/llvm/docs/PDB/ |
H A D | index.rst | 27 of the file, the various streams contained within, the format of individual 64 within a file". It contains multiple streams (aka files) which can represent 65 arbitrary data, and these streams are divided into blocks which may not 68 the streams (files) are laid out within the MSF. 75 Streams section in File Layout 77 The PDB format contains a number of streams which describe various information 79 of a program, as well as some additional streams containing hash tables that are 82 as the specific toolchain used, and more. A summary of streams contained in a 92 | | | - Map of named streams to stream indices | 98 | | | - Indices of individual module streams | [all …]
|
H A D | PdbStream.rst | 45 the other streams, will change if the value is something other than ``VC70``. 69 file. Note that not all streams are named (for example, the 72 of named streams and these are enumerated in the table of streams in :doc:`index`. 75 discover the stream's MSF stream index. Several important streams (such as the 81 Some streams are located by fixed indices (e.g TPI Stream has index 2), but 82 other streams are located by fixed names (e.g. the string table is called
|
/llvm-project/llvm/unittests/Support/ |
H A D | BinaryStreamTest.cpp | 116 Streams.clear(); in SetUp() 117 Streams.resize(NumStreams); in SetUp() 119 Streams[I].IsContiguous = (I % 2 == 0); in SetUp() 152 Streams[I * 2].Input = std::move(InByteStream); in initializeInput() 153 Streams[I * 2 + 1].Input = std::move(InBrokenStream); in initializeInput() 162 Streams[I * 2].Output = in initializeOutput() 164 Streams[I * 2 + 1].Output = std::make_unique<BrokenStream>( in initializeOutput() 171 Streams[I * 2].Output = in initializeOutputFromInput() 173 Streams[I * 2 + 1].Output = std::make_unique<BrokenStream>( in initializeOutputFromInput() 180 Streams[I * 2].Input = in initializeInputFromOutput() [all …]
|
/llvm-project/clang-tools-extra/docs/clang-tidy/checks/performance/ |
H A D | avoid-endl.rst | 6 Checks for uses of ``std::endl`` on streams and suggests using the newline 10 Using ``std::endl`` on streams can be less efficient than using the newline 15 cause additional overhead when working with streams that are buffered. 42 Additionally, it is important to note that the standard C++ streams (like 46 Therefore, using ``'\n'`` with these streams will not
|
/llvm-project/llvm/include/llvm/ObjectYAML/ |
H A D | MinidumpYAML.h | 20 /// The base class for all minidump streams. The "Type" of the stream 22 /// specifies how are we going to treat it. For highly specialized streams (e.g. 46 /// Get the stream Kind used for representing streams of a given Type. 61 /// streams with a similar structure. 217 /// minidump header, and zero or more streams. To construct an Object from a 228 std::vector<std::unique_ptr<Stream>> Streams) 229 : Header(Header), Streams(std::move(Streams)) {} 234 /// The list of streams in this minidump object. 235 std::vector<std::unique_ptr<Stream>> Streams; 216 std::vector<std::unique_ptr<Stream>> Streams; global() member [all...] |
/llvm-project/lldb/include/lldb/Utility/ |
H A D | StreamTee.h | 63 // Allow for our collection to contain NULL streams. This allows the in Flush() 65 // want N total streams with only a few that are set to valid values. in Flush() 98 // Resize our stream vector as necessary to fit as many streams as needed. in SetStreamAtIndex() 100 // be used contain many streams, not all of which are valid. in SetStreamAtIndex() 119 // Allow for our collection to contain NULL streams. This allows the in WriteImpl() 121 // want N total streams with only a few that are set to valid values. in WriteImpl()
|
/llvm-project/lldb/unittests/Process/minidump/ |
H A D | MinidumpParserTest.cpp | 79 Streams: in TEST_F() 95 Streams: in TEST_F() 122 Streams: in TEST_F() 147 Streams: in TEST_F() 157 Streams: in TEST_F() 192 Streams: in TEST_F() 226 Streams: in TEST_F() 274 Streams: in TEST_F() 300 Streams: in TEST_F() 344 Streams in TEST_F() [all...] |
/llvm-project/llvm/include/llvm/Object/ |
H A D | Minidump.h | 36 /// Returns the list of streams (stream directory entries) in this file. in streams() function 37 ArrayRef<minidump::Directory> streams() const { return Streams; } 104 return createError("No exception streams"); in getMemoryList() 234 ExceptionStreamsIterator(ArrayRef<minidump::Directory> Streams, 236 : Streams(Streams), File(File) {} 239 return Streams.size() == R.Streams.size(); 247 return File->getExceptionStream(Streams 166 MinidumpFile(MemoryBufferRef Source,const minidump::Header & Header,ArrayRef<minidump::Directory> Streams,DenseMap<minidump::StreamType,std::size_t> StreamMap) MinidumpFile() argument 186 ArrayRef<minidump::Directory> Streams; global() variable [all...] |
/llvm-project/third-party/unittest/googletest/include/gtest/ |
H A D | gtest-message.h | 104 // narrow streams. 121 // Streams a non-pointer value to this object. If building a version of 157 // Streams a non-pointer value with an AbslStringify definition to this 172 // Streams a pointer value to this object. 200 // and wide streams, we have to provide this specialized definition 220 // encoding, and streams the result to this Message object. 239 // Streams a Message to an ostream.
|
/llvm-project/llvm/unittests/DebugInfo/PDB/ |
H A D | HashTableTest.cpp | 170 std::vector<StringRef> Streams = {"One", "Two", "Three", "Four", in TEST() local 173 for (uint32_t I = 0; I < Streams.size(); ++I) in TEST() 174 ExpectedIndices[Streams[I]] = I + 1; in TEST() 180 for (StringRef S : Streams) in TEST() 183 EXPECT_EQ(Streams.size(), NSM.size()); in TEST() 206 } while (std::next_permutation(Streams.begin(), Streams.end())); in TEST()
|
/llvm-project/libcxx/test/std/experimental/iterator/ostream.joiner/ostream.joiner.cons/ |
H A D | ostream_joiner.cons.pass.cpp | 36 // Narrow streams w/rvalues in main() 44 // Narrow streams w/lvalues in main() 53 // Wide streams w/rvalues in main() 59 // Wide streams w/lvalues in main()
|
/llvm-project/llvm/lib/Object/ |
H A D | Minidump.cpp | 20 return getRawStream(Streams[It->second]); in getRawStream() 120 // Ignore dummy streams. This is technically ill-formed, but a number of in create() 121 // existing minidumps seem to contain such streams. in create() 125 // Exceptions can be treated as a special case of streams. Other streams in create() 134 return createError("Cannot handle one of the minidump streams"); in create()
|
/llvm-project/llvm/test/DebugInfo/PDB/ |
H A D | obj-globalhash.test | 28 ; same TypeIndex in both streams. Same global hash, since they represent the 36 ; both occur at different TypeIndices in their respective input streams. Same 38 ; both streams.
|
/llvm-project/llvm/lib/ObjectYAML/ |
H A D | MinidumpYAML.cpp | 492 IO.mapRequired("Streams", O.Streams); in create() 599 std::vector<std::unique_ptr<Stream>> Streams; 600 Streams.reserve(File.streams().size()); 601 for (const Directory &StreamDesc : File.streams()) { 605 Streams.push_back(std::move(*ExpectedStream)); 607 return Object(File.header(), std::move(Streams)); 554 std::vector<std::unique_ptr<Stream>> Streams; create() local
|
/llvm-project/llvm/docs/CommandGuide/ |
H A D | llvm-pdbutil.rst | 33 file, including CodeView records, hash tables, PDB streams, etc. 34 * :ref:`bytes_subcommand` - Dump data from the PDB file's streams, records, 272 .. option:: -streams 274 dump a summary of all of the streams in the PDB file. 278 In conjunction with :option:`-streams`, add information to the output about 460 Dump binary data from the specified streams. Format is SN[:Start][@Size].
|
/llvm-project/libcxx/test/std/input.output/file.streams/fstreams/ifstream.cons/ |
H A D | pointer.pass.cpp | 41 // test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp in main() 58 // test/std/input.output/file.streams/fstreams/ofstream.cons/pointer.pass.cpp
|
H A D | string.pass.cpp | 41 // test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp in main() 58 // test/std/input.output/file.streams/fstreams/ofstream.cons/string.pass.cpp
|
/llvm-project/libcxx/test/libcxx/input.output/file.streams/fstreams/ifstream.cons/ |
H A D | wchar_pointer.pass.cpp | 35 // test/libcxx/input.output/file.streams/fstreams/ofstream.cons/wchar_pointer.pass.cpp in main() 44 // test/libcxx/input.output/file.streams/fstreams/ofstream.cons/wchar_pointer.pass.cpp in main()
|
/llvm-project/llvm/include/llvm/DebugInfo/MSF/ |
H A D | MSFBuilder.h | 41 /// all streams mapped to their original block numbers. To ensure that this 43 /// streams can be assigned to them. 87 /// Get the total number of streams in the MSF layout. This should return 1
|
/llvm-project/lldb/test/Shell/Minidump/ |
H A D | memory-region-from-module.yaml | 29 Streams: 59 Streams:
|
/llvm-project/llvm/test/DebugInfo/PDB/Inputs/ |
H A D | merge-ids-and-types-1.yaml | 10 # streams (while still maintaining the topological sorting required by CodeView 11 # type streams), to make sure the merging algorithm is sufficiently exercised.
|
/llvm-project/clang/lib/Analysis/FlowSensitive/ |
H A D | HTMLLogger.cpp | 158 StreamFactory Streams; 177 explicit HTMLLogger(StreamFactory Streams) : Streams(std::move(Streams)) {} 180 OS = Streams(); in beginAnalysis() 579 Logger::html(std::function<std::unique_ptr<llvm::raw_ostream>()> Streams) { 580 return std::make_unique<HTMLLogger>(std::move(Streams)); in html() argument 159 StreamFactory Streams; global() member in clang::dataflow::__anon80792ab60111::HTMLLogger 178 HTMLLogger(StreamFactory Streams) HTMLLogger() argument
|