Home
last modified time | relevance | path

Searched refs:DataBuffer (Results 1 – 21 of 21) sorted by relevance

/llvm-project-15.0.7/lldb/include/lldb/Utility/
H A DDataBuffer.h43 class DataBuffer {
45 virtual ~DataBuffer() = default;
68 static bool classof(const DataBuffer *data_buffer) { in classof()
91 class WritableDataBuffer : public DataBuffer {
101 using DataBuffer::GetBytes;
102 using DataBuffer::GetData;
119 return ClassID == &ID || DataBuffer::isA(ClassID); in isA()
121 static bool classof(const DataBuffer *data_buffer) { in classof()
141 static bool classof(const DataBuffer *data_buffer) { in classof()
H A DDataBufferLLVM.h27 class DataBufferLLVM : public DataBuffer {
38 return ClassID == &ID || DataBuffer::isA(ClassID); in isA()
40 static bool classof(const DataBuffer *data_buffer) { in classof()
66 static bool classof(const DataBuffer *data_buffer) { in classof()
H A DDataBufferHeap.h61 DataBufferHeap(const DataBuffer &data_buffer);
112 static bool classof(const DataBuffer *data_buffer) { in classof()
/llvm-project-15.0.7/lldb/unittests/Utility/
H A DDataBufferTest.cpp24 DataBuffer *data_buffer = data_buffer_sp.get(); in TEST()
26 EXPECT_TRUE(llvm::isa<DataBuffer>(data_buffer)); in TEST()
36 DataBuffer *data_buffer = data_buffer_sp.get(); in TEST()
38 EXPECT_TRUE(llvm::isa<DataBuffer>(data_buffer)); in TEST()
48 DataBuffer *data_buffer = data_buffer_sp.get(); in TEST()
50 EXPECT_TRUE(llvm::isa<DataBuffer>(data_buffer)); in TEST()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h198 std::unique_ptr<MemoryBuffer> DataBuffer;
208 : DataBuffer(std::move(DataBuffer_)), Line(*DataBuffer, true, '#') {} in TextInstrProfReader()
261 std::unique_ptr<MemoryBuffer> DataBuffer;
288 RawInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer, in RawInstrProfReader() argument
290 : DataBuffer(std::move(DataBuffer)), in RawInstrProfReader()
296 static bool hasFormat(const MemoryBuffer &DataBuffer);
402 std::vector<NamedInstrProfRecord> DataBuffer; variable
555 std::unique_ptr<MemoryBuffer> DataBuffer;
584 std::unique_ptr<MemoryBuffer> DataBuffer,
586 : DataBuffer(std::move(DataBuffer)), in DataBuffer() function
[all …]
H A DRawMemProfReader.h49 static bool hasFormat(const MemoryBuffer &DataBuffer);
107 Error initialize(std::unique_ptr<MemoryBuffer> DataBuffer);
109 Error readRawProfile(std::unique_ptr<MemoryBuffer> DataBuffer);
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DInstrProfReader.cpp323 if (DataBuffer.getBufferSize() < sizeof(uint64_t)) in hasFormat()
333 if (!hasFormat(*DataBuffer)) in readHeader()
338 DataBuffer->getBufferStart()); in readHeader()
345 const char *End = DataBuffer->getBufferEnd(); in readNextHeader()
419 if (Start + ValueDataOffset > DataBuffer->getBufferEnd()) in readHeader()
605 if (BI > (const uint8_t *)DataBuffer->getBufferEnd()) in printBinaryIds()
617 if (BI > (const uint8_t *)DataBuffer->getBufferEnd()) in printBinaryIds()
661 DataBuffer.clear(); in ReadData()
693 DataBuffer.clear(); in ReadData()
697 return DataBuffer; in ReadData()
[all …]
H A DRawMemProfReader.cpp254 Error RawMemProfReader::initialize(std::unique_ptr<MemoryBuffer> DataBuffer) { in initialize() argument
299 if (Error E = readRawProfile(std::move(DataBuffer))) in initialize()
467 std::unique_ptr<MemoryBuffer> DataBuffer) { in readRawProfile() argument
468 const char *Next = DataBuffer->getBufferStart(); in readRawProfile()
470 while (Next < DataBuffer->getBufferEnd()) { in readRawProfile()
/llvm-project-15.0.7/lldb/source/Utility/
H A DDataBufferHeap.cpp29 DataBufferHeap::DataBufferHeap(const DataBuffer &data_buffer) : m_data() { in DataBufferHeap()
71 char DataBuffer::ID;
H A DDataExtractor.cpp204 const DataBuffer *data = m_data_sp.get(); in GetSharedDataOffset()
/llvm-project-15.0.7/lldb/include/lldb/Host/
H A DFileSystem.h145 std::shared_ptr<DataBuffer> CreateDataBuffer(const llvm::Twine &path,
148 std::shared_ptr<DataBuffer> CreateDataBuffer(const FileSpec &file_spec,
/llvm-project-15.0.7/lldb/unittests/Process/minidump/
H A DRegisterContextMinidumpTest.cpp21 static uint32_t reg32(const DataBuffer &Buf, const RegisterInfo &Info) { in reg32()
25 static uint64_t reg64(const DataBuffer &Buf, const RegisterInfo &Info) { in reg64()
/llvm-project-15.0.7/clang-tools-extra/test/clang-tidy/checkers/readability/
H A Didentifier-naming-hungarian-notation-cfgfile.cpp591 struct DataBuffer { struct
H A Didentifier-naming-hungarian-notation.cpp591 struct DataBuffer { struct
/llvm-project-15.0.7/lldb/source/Host/common/
H A DFileSystem.cpp307 std::shared_ptr<DataBuffer>
324 std::shared_ptr<DataBuffer>
/llvm-project-15.0.7/lldb/include/lldb/
H A Dlldb-forward.h70 class DataBuffer; variable
313 typedef std::shared_ptr<lldb_private::DataBuffer> DataBufferSP;
/llvm-project-15.0.7/libcxx/src/filesystem/
H A Dposix_compat.h68 unsigned char DataBuffer[1]; member
/llvm-project-15.0.7/lldb/docs/design/
H A Doverview.rst185 - Data buffers (DataBuffer, DataEncoder, DataExtractor)
/llvm-project-15.0.7/lldb/source/Plugins/ObjectContainer/BSD-Archive/
H A DObjectContainerBSDArchive.cpp564 std::shared_ptr<DataBuffer> child_data_sp = in GetObjectFile()
/llvm-project-15.0.7/clang-tools-extra/docs/clang-tidy/checks/readability/
H A Didentifier-naming.rst2624 void *DataBuffer = NULL;
/llvm-project-15.0.7/clang/docs/tools/
H A Dclang-formatted-files.txt3861 lldb/include/lldb/Utility/DataBuffer.h