Lines Matching refs:DataBuffer

91 readBinaryIdsInternal(const MemoryBuffer &DataBuffer,  in readBinaryIdsInternal()  argument
104 reinterpret_cast<const uint8_t *>(DataBuffer.getBufferEnd()); in readBinaryIdsInternal()
485 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() argument
486 if (DataBuffer.getBufferSize() < sizeof(uint64_t)) in hasFormat()
489 *reinterpret_cast<const uint64_t *>(DataBuffer.getBufferStart()); in hasFormat()
496 if (!hasFormat(*DataBuffer)) in readHeader()
498 if (DataBuffer->getBufferSize() < sizeof(RawInstrProf::Header)) in readHeader()
501 DataBuffer->getBufferStart()); in readHeader()
508 const char *End = DataBuffer->getBufferEnd(); in readNextHeader()
565 const uint8_t *BufferEnd = (const uint8_t *)DataBuffer->getBufferEnd(); in readHeader()
570 readBinaryIdsInternal(*DataBuffer, BinaryIdSize, BinaryIdStart, in readHeader()
600 if (Start + ValueDataOffset > DataBuffer->getBufferEnd()) in readHeader()
773 ValueDataStart, (const unsigned char *)DataBuffer->getBufferEnd(), in readValueProfilingData()
859 VDataPtrOrErr.get()->deserializeTo(DataBuffer.back(), nullptr); in readValueProfilingData()
873 DataBuffer.clear(); in ReadData()
922 DataBuffer.emplace_back(K, Hash, std::move(CounterBuffer), in ReadData()
928 DataBuffer.clear(); in ReadData()
932 return DataBuffer; in ReadData()
1101 bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() argument
1104 if (DataBuffer.getBufferSize() < 8) in hasFormat()
1107 DataBuffer.getBufferStart()); in hasFormat()
1170 (const unsigned char *)DataBuffer->getBufferStart(); in readHeader()
1172 if ((const unsigned char *)DataBuffer->getBufferEnd() - Cur < 24) in readHeader()
1258 if (BinaryIdsStart > (const unsigned char *)DataBuffer->getBufferEnd()) in readHeader()
1269 const auto *PtrEnd = (const unsigned char *)DataBuffer->getBufferEnd(); in readHeader()
1465 return readBinaryIdsInternal(*DataBuffer, BinaryIdsSize, BinaryIdsStart, in readBinaryIds()