Lines Matching refs:DataBuffer

322 bool RawInstrProfReader<IntPtrT>::hasFormat(const MemoryBuffer &DataBuffer) {  in hasFormat()  argument
323 if (DataBuffer.getBufferSize() < sizeof(uint64_t)) in hasFormat()
326 *reinterpret_cast<const uint64_t *>(DataBuffer.getBufferStart()); in hasFormat()
333 if (!hasFormat(*DataBuffer)) in readHeader()
335 if (DataBuffer->getBufferSize() < sizeof(RawInstrProf::Header)) in readHeader()
338 DataBuffer->getBufferStart()); in readHeader()
345 const char *End = DataBuffer->getBufferEnd(); in readNextHeader()
419 if (Start + ValueDataOffset > DataBuffer->getBufferEnd()) in readHeader()
446 const uint8_t *BufferEnd = (const uint8_t *)DataBuffer->getBufferEnd(); in readHeader()
532 ValueDataStart, (const unsigned char *)DataBuffer->getBufferEnd(), in readValueProfilingData()
605 if (BI > (const uint8_t *)DataBuffer->getBufferEnd()) in printBinaryIds()
617 if (BI > (const uint8_t *)DataBuffer->getBufferEnd()) in printBinaryIds()
647 VDataPtrOrErr.get()->deserializeTo(DataBuffer.back(), nullptr); in readValueProfilingData()
661 DataBuffer.clear(); in ReadData()
688 DataBuffer.emplace_back(K, Hash, std::move(CounterBuffer)); in ReadData()
693 DataBuffer.clear(); in ReadData()
697 return DataBuffer; in ReadData()
865 bool IndexedInstrProfReader::hasFormat(const MemoryBuffer &DataBuffer) { in hasFormat() argument
868 if (DataBuffer.getBufferSize() < 8) in hasFormat()
871 endian::read<uint64_t, little, aligned>(DataBuffer.getBufferStart()); in hasFormat()
934 (const unsigned char *)DataBuffer->getBufferStart(); in readHeader()
936 if ((const unsigned char *)DataBuffer->getBufferEnd() - Cur < 24) in readHeader()