Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lldb/include/lldb/Utility/
H A DDataBuffer.h1 //===-- DataBuffer.h --------------------------------------------*- C++ -*-===//
21 /// \class DataBuffer DataBuffer.h "lldb/Core/DataBuffer.h"
24 /// DataBuffer is an abstract class that gets packaged into a shared
42 class DataBuffer {
44 virtual ~DataBuffer() = default;
67 static bool classof(const DataBuffer *data_buffer) { in isA()
81 /// \class DataBuffer DataBuffer
[all...]
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()
/freebsd/contrib/llvm-project/llvm/include/llvm/CGData/
H A DCodeGenDataReader.h104 std::unique_ptr<MemoryBuffer> DataBuffer; variable
109 IndexedCodeGenDataReader(std::unique_ptr<MemoryBuffer> DataBuffer) in IndexedCodeGenDataReader() argument
110 : DataBuffer(std::move(DataBuffer)) {} in IndexedCodeGenDataReader()
145 std::unique_ptr<MemoryBuffer> DataBuffer; variable
153 : DataBuffer(std::move(DataBuffer_)), Line(*DataBuffer, true, '#') {} in TextCodeGenDataReader()
/freebsd/contrib/llvm-project/llvm/lib/CGData/
H A DCodeGenDataReader.cpp96 if (DataBuffer->getBufferSize() < MinHeaderSize) in read()
100 reinterpret_cast<const unsigned char *>(DataBuffer->getBufferStart()); in read()
102 reinterpret_cast<const unsigned char *>(DataBuffer->getBufferEnd()); in read()
152 bool IndexedCodeGenDataReader::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() argument
154 if (DataBuffer.getBufferSize() < sizeof(IndexedCGData::Magic)) in hasFormat()
158 DataBuffer.getBufferStart()); in hasFormat()
198 size_t Size = reinterpret_cast<size_t>(DataBuffer->getBufferEnd()) - in read()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h249 std::unique_ptr<MemoryBuffer> DataBuffer;
261 : DataBuffer(std::move(DataBuffer_)), Line(*DataBuffer, true, '#') {} in TextInstrProfReader()
331 std::unique_ptr<MemoryBuffer> DataBuffer;
379 std::unique_ptr<MemoryBuffer> DataBuffer, in RawInstrProfReader() argument
384 : DataBuffer(std::move(DataBuffer)), in RawInstrProfReader()
393 static bool hasFormat(const MemoryBuffer &DataBuffer);
516 std::vector<NamedInstrProfRecord> DataBuffer; variable
742 std::unique_ptr<MemoryBuffer> DataBuffer;
772 std::unique_ptr<MemoryBuffer> DataBuffer,
774 : DataBuffer(std::move(DataBuffer)), in DataBuffer() argument
[all …]
H A DMemProfReader.h120 static bool hasFormat(const MemoryBuffer &DataBuffer);
135 static std::vector<std::string> peekBuildIds(MemoryBuffer *DataBuffer);
163 Error initialize(std::unique_ptr<MemoryBuffer> DataBuffer);
165 Error readRawProfile(std::unique_ptr<MemoryBuffer> DataBuffer);
220 LLVM_ABI static bool hasFormat(const MemoryBuffer &DataBuffer);
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp96 readBinaryIdsInternal(const MemoryBuffer &DataBuffer, in readBinaryIdsInternal() argument
111 reinterpret_cast<const uint8_t *>(DataBuffer.getBufferEnd()); in readBinaryIdsInternal()
502 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() argument
503 if (DataBuffer.getBufferSize() < sizeof(uint64_t)) in hasFormat()
506 *reinterpret_cast<const uint64_t *>(DataBuffer.getBufferStart()); in hasFormat()
513 if (!hasFormat(*DataBuffer)) in readHeader()
515 if (DataBuffer->getBufferSize() < sizeof(RawInstrProf::Header)) in readHeader()
518 DataBuffer->getBufferStart()); in readHeader()
525 const char *End = DataBuffer->getBufferEnd(); in readNextHeader()
598 const uint8_t *BufferEnd = (const uint8_t *)DataBuffer->getBufferEnd(); in readHeader()
[all …]
H A DMemProfReader.cpp350 Error RawMemProfReader::initialize(std::unique_ptr<MemoryBuffer> DataBuffer) { in initialize() argument
406 if (Error E = readRawProfile(std::move(DataBuffer))) in initialize()
627 RawMemProfReader::peekBuildIds(MemoryBuffer *DataBuffer) { in peekBuildIds() argument
628 const char *Next = DataBuffer->getBufferStart(); in peekBuildIds()
638 while (Next < DataBuffer->getBufferEnd()) { in peekBuildIds()
666 std::unique_ptr<MemoryBuffer> DataBuffer) { in readRawProfile() argument
667 const char *Next = DataBuffer->getBufferStart(); in readRawProfile()
669 while (Next < DataBuffer->getBufferEnd()) { in readRawProfile()
/freebsd/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()
/freebsd/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,
/freebsd/sys/contrib/edk2/Include/Protocol/
H A DScsiPassThru.h78 VOID *DataBuffer; member
/freebsd/contrib/llvm-project/lldb/source/Host/common/
H A DFileSystem.cpp295 std::shared_ptr<DataBuffer>
312 std::shared_ptr<DataBuffer>
/freebsd/contrib/llvm-project/lldb/include/lldb/
H A Dlldb-forward.h69 class DataBuffer; variable
338 typedef std::shared_ptr<lldb_private::DataBuffer> DataBufferSP;
/freebsd/contrib/llvm-project/libcxx/src/filesystem/
H A Dposix_compat.h74 unsigned char DataBuffer[1]; member
/freebsd/contrib/llvm-project/lldb/docs/design/
H A Doverview.rst
/freebsd/contrib/llvm-project/lldb/source/Plugins/ObjectContainer/BSD-Archive/
H A DObjectContainerBSDArchive.cpp412 std::shared_ptr<DataBuffer> child_data_sp = in GetObjectFile()
/freebsd/contrib/libarchive/test_utils/
H A Dtest_main.c224 UCHAR DataBuffer[1]; member