Home
last modified time | relevance | path

Searched refs:copySize (Results 1 – 2 of 2) sorted by relevance

/developtools/hiperf/src/
Dperf_event_record.cpp514 size_t copySize = GetSize() - sizeof(header); in PerfRecordMmap() local
515 …if (memcpy_s(reinterpret_cast<uint8_t *>(&data_), sizeof(data_), p + sizeof(header), copySize) != … in PerfRecordMmap()
566 size_t copySize = GetSize() - sizeof(header); in PerfRecordMmap2() local
567 …if (memcpy_s(reinterpret_cast<uint8_t *>(&data_), sizeof(data_), p + sizeof(header), copySize) != … in PerfRecordMmap2()
663 size_t copySize = GetSize() - sizeof(header); in PerfRecordLost() local
664 …if (memcpy_s(reinterpret_cast<uint8_t *>(&data_), sizeof(data_), p + sizeof(header), copySize) != … in PerfRecordLost()
691 size_t copySize = GetSize() - sizeof(header); in PerfRecordComm() local
692 …if (memcpy_s(reinterpret_cast<uint8_t *>(&data_), sizeof(data_), p + sizeof(header), copySize) != … in PerfRecordComm()
737 size_t copySize = GetSize() - sizeof(header); in PerfRecordExit() local
738 …if (memcpy_s(reinterpret_cast<uint8_t *>(&data_), sizeof(data_), p + sizeof(header), copySize) != … in PerfRecordExit()
[all …]
Dperf_events.cpp1260 size_t copySize = std::min(size, tailSize); in GetRecordFieldFromMmap() local
1261 if (memcpy_s(dest, copySize, mmap.buf + pos, copySize) != 0) { in GetRecordFieldFromMmap()
1262 HLOGEP("memcpy_s %p to %p failed. size %zd", mmap.buf + pos, dest, copySize); in GetRecordFieldFromMmap()
1264 if (copySize < size) { in GetRecordFieldFromMmap()
1265 size -= copySize; in GetRecordFieldFromMmap()
1266 if (memcpy_s(static_cast<uint8_t *>(dest) + copySize, size, mmap.buf, size) != 0) { in GetRecordFieldFromMmap()
1359 size_t copySize = stackSizePos - sizeof(perf_event_header) + sizeof(stackSize) + newStackSize; in CutStackAndMove() local
1361 GetRecordFieldFromMmap(mmap, buf + copyPos, mmap.mmapPage->data_tail + copyPos, copySize); in CutStackAndMove()
1362 copyPos += copySize; in CutStackAndMove()