Home
last modified time | relevance | path

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

/src/contrib/llvm-project/lldb/include/lldb/Utility/
H A DDataBuffer.h42 class DataBuffer {
44 virtual ~DataBuffer() = default;
67 static bool classof(const DataBuffer *data_buffer) { in classof()
90 class WritableDataBuffer : public DataBuffer {
100 using DataBuffer::GetBytes;
101 using DataBuffer::GetData;
118 return ClassID == &ID || DataBuffer::isA(ClassID); in isA()
120 static bool classof(const DataBuffer *data_buffer) { in classof()
140 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()
/src/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h236 std::unique_ptr<MemoryBuffer> DataBuffer;
248 : DataBuffer(std::move(DataBuffer_)), Line(*DataBuffer, true, '#') {} in TextInstrProfReader()
313 std::unique_ptr<MemoryBuffer> DataBuffer;
352 RawInstrProfReader(std::unique_ptr<MemoryBuffer> DataBuffer, in RawInstrProfReader() argument
355 : DataBuffer(std::move(DataBuffer)), in RawInstrProfReader()
362 static bool hasFormat(const MemoryBuffer &DataBuffer);
481 std::vector<NamedInstrProfRecord> DataBuffer; variable
684 std::unique_ptr<MemoryBuffer> DataBuffer;
714 std::unique_ptr<MemoryBuffer> DataBuffer,
716 : DataBuffer(std::move(DataBuffer)), in DataBuffer() argument
[all …]
H A DMemProfReader.h147 static bool hasFormat(const MemoryBuffer &DataBuffer);
162 static std::vector<std::string> peekBuildIds(MemoryBuffer *DataBuffer);
190 Error initialize(std::unique_ptr<MemoryBuffer> DataBuffer);
192 Error readRawProfile(std::unique_ptr<MemoryBuffer> DataBuffer);
/src/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp93 readBinaryIdsInternal(const MemoryBuffer &DataBuffer, in readBinaryIdsInternal() argument
108 reinterpret_cast<const uint8_t *>(DataBuffer.getBufferEnd()); in readBinaryIdsInternal()
490 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() argument
491 if (DataBuffer.getBufferSize() < sizeof(uint64_t)) in hasFormat()
494 *reinterpret_cast<const uint64_t *>(DataBuffer.getBufferStart()); in hasFormat()
501 if (!hasFormat(*DataBuffer)) in readHeader()
503 if (DataBuffer->getBufferSize() < sizeof(RawInstrProf::Header)) in readHeader()
506 DataBuffer->getBufferStart()); in readHeader()
513 const char *End = DataBuffer->getBufferEnd(); in readNextHeader()
586 const uint8_t *BufferEnd = (const uint8_t *)DataBuffer->getBufferEnd(); in readHeader()
[all …]
H A DMemProfReader.cpp367 Error RawMemProfReader::initialize(std::unique_ptr<MemoryBuffer> DataBuffer) { in initialize() argument
423 if (Error E = readRawProfile(std::move(DataBuffer))) in initialize()
650 RawMemProfReader::peekBuildIds(MemoryBuffer *DataBuffer) { in peekBuildIds() argument
651 const char *Next = DataBuffer->getBufferStart(); in peekBuildIds()
661 while (Next < DataBuffer->getBufferEnd()) { in peekBuildIds()
689 std::unique_ptr<MemoryBuffer> DataBuffer) { in readRawProfile() argument
690 const char *Next = DataBuffer->getBufferStart(); in readRawProfile()
692 while (Next < DataBuffer->getBufferEnd()) { in readRawProfile()
/src/contrib/llvm-project/lldb/source/Utility/
H A DDataBufferHeap.cpp29 DataBufferHeap::DataBufferHeap(const DataBuffer &data_buffer) : m_data() { in DataBufferHeap()
71 char DataBuffer::ID;
H A DDataExtractor.cpp205 const DataBuffer *data = m_data_sp.get(); in GetSharedDataOffset()
/src/contrib/llvm-project/lldb/include/lldb/Host/
H A DFileSystem.h155 std::shared_ptr<DataBuffer> CreateDataBuffer(const llvm::Twine &path,
158 std::shared_ptr<DataBuffer> CreateDataBuffer(const FileSpec &file_spec,
/src/sys/contrib/edk2/Include/Protocol/
H A DScsiPassThru.h78 VOID *DataBuffer; member
/src/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp295 std::shared_ptr<DataBuffer>
312 std::shared_ptr<DataBuffer>
/src/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-forward.h69 class DataBuffer; variable
333 typedef std::shared_ptr<lldb_private::DataBuffer> DataBufferSP;
/src/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h73 unsigned char DataBuffer[1]; member
/src/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
H A DObjectContainerBSDArchive.cpp410 std::shared_ptr<DataBuffer> child_data_sp = in GetObjectFile()
/src/contrib/libarchive/test_utils/
H A Dtest_main.c210 UCHAR DataBuffer[1]; member