Home
last modified time | relevance | path

Searched refs:SrcData (Results 1 – 4 of 4) sorted by relevance

/external/compiler-rt/lib/profile/
DInstrProfilingMerge.c45 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_check_compatibility() local
71 for (SrcData = SrcDataStart, in __llvm_profile_check_compatibility()
73 SrcData < SrcDataEnd; ++SrcData, ++DstData) { in __llvm_profile_check_compatibility()
74 if (SrcData->NameRef != DstData->NameRef || in __llvm_profile_check_compatibility()
75 SrcData->FuncHash != DstData->FuncHash || in __llvm_profile_check_compatibility()
76 SrcData->NumCounters != DstData->NumCounters) in __llvm_profile_check_compatibility()
87 __llvm_profile_data *SrcDataStart, *SrcDataEnd, *SrcData, *DstData; in __llvm_profile_merge_from_buffer() local
103 for (SrcData = SrcDataStart, in __llvm_profile_merge_from_buffer()
106 SrcData < SrcDataEnd; ++SrcData, ++DstData) { in __llvm_profile_merge_from_buffer()
111 NC = SrcData->NumCounters; in __llvm_profile_merge_from_buffer()
[all …]
/external/llvm/unittests/DebugInfo/PDB/
DMappedBlockStreamTest.cpp70 ArrayRef<uint8_t> SrcData) const override { in setBlockData()
73 if (Offset > getBlockSize() - SrcData.size()) in setBlockData()
75 ::memcpy(&Data[BlockIndex] + Offset, SrcData.data(), SrcData.size()); in setBlockData()
394 MutableArrayRef<uint8_t> SrcData(SrcDataBytes); in TEST() local
401 ByteStream<true> SourceStream(SrcData); in TEST()
426 MutableArrayRef<uint8_t> SrcData(SrcDataBytes); in TEST() local
430 DiscontiguousFile SrcFile(SrcBlocks, SrcData); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/DebugInfo/MSF/
DMappedBlockStreamTest.cpp58 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> SrcData) override { in writeBytes() argument
59 if (auto EC = checkOffsetForWrite(Offset, SrcData.size())) in writeBytes()
61 ::memcpy(&Data[Offset], SrcData.data(), SrcData.size()); in writeBytes()
409 MutableArrayRef<uint8_t> SrcData(SrcDataBytes); in TEST() local
416 MutableBinaryByteStream SourceStream(SrcData, little); in TEST()
441 MutableArrayRef<uint8_t> SrcData(SrcDataBytes); in TEST() local
445 DiscontiguousStream SrcF(SrcBlocks, SrcData); in TEST()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/Support/
DBinaryStreamTest.cpp65 Error writeBytes(uint32_t Offset, ArrayRef<uint8_t> SrcData) override { in writeBytes() argument
66 if (auto EC = checkOffsetForWrite(Offset, SrcData.size())) in writeBytes()
68 if (SrcData.empty()) in writeBytes()
74 if (Ref.size() >= SrcData.size()) { in writeBytes()
75 ::memcpy(Ref.data(), SrcData.data(), SrcData.size()); in writeBytes()
79 uint32_t BytesLeft = SrcData.size() - Ref.size(); in writeBytes()
80 ::memcpy(Ref.data(), SrcData.data(), Ref.size()); in writeBytes()
81 ::memcpy(&Data[0], SrcData.data() + Ref.size(), BytesLeft); in writeBytes()