Lines Matching refs:TotalSize
592 static std::unique_ptr<ValueProfData> allocValueProfData(uint32_t TotalSize) {
593 return std::unique_ptr<ValueProfData>(new (::operator new(TotalSize))
601 if (TotalSize % sizeof(uint64_t))
609 if ((char *)VR - (char *)this > (ptrdiff_t)TotalSize)
624 uint32_t TotalSize = swapToHostOrder<uint32_t>(Header, Endianness);
625 if (D + TotalSize > BufferEnd)
628 std::unique_ptr<ValueProfData> VPD = allocValueProfData(TotalSize);
629 memcpy(VPD.get(), D, TotalSize);
645 sys::swapByteOrder<uint32_t>(TotalSize);
666 sys::swapByteOrder<uint32_t>(TotalSize);