Searched refs:headerSize (Results 1 – 10 of 10) sorted by relevance
| /developtools/profiler/device/services/shared_memory/src/ |
| D | share_memory_block.cpp | 282 bool ShareMemoryBlock::PutWithPayloadTimeout(const int8_t* header, uint32_t headerSize, in PutWithPayloadTimeout() argument 293 int8_t* rawMemory = GetFreeMemory(headerSize + payloadSize); in PutWithPayloadTimeout() 298 if (memcpy_s(rawMemory, headerSize, header, headerSize) != EOK) { in PutWithPayloadTimeout() 303 if (memcpy_s(rawMemory + headerSize, payloadSize, payload, payloadSize) != EOK) { in PutWithPayloadTimeout() 308 UseFreeMemory(rawMemory, headerSize + payloadSize); in PutWithPayloadTimeout() 411 bool ShareMemoryBlock::PutWithPayloadSync(const int8_t* header, uint32_t headerSize, in PutWithPayloadSync() argument 416 int8_t* rawMemory = GetFreeMemory(headerSize + payloadSize); in PutWithPayloadSync() 427 rawMemory = GetFreeMemory(headerSize + payloadSize); in PutWithPayloadSync() 433 if (memcpy_s(rawMemory, headerSize + payloadSize, header, headerSize) != EOK) { in PutWithPayloadSync() 438 if (memcpy_s(rawMemory + headerSize, payloadSize, payload, payloadSize) != EOK) { in PutWithPayloadSync() [all …]
|
| /developtools/profiler/device/services/shared_memory/include/ |
| D | share_memory_block.h | 36 …bool PutWithPayloadTimeout(const int8_t* header, uint32_t headerSize, const int8_t* payload, uint3… 37 …bool PutWithPayloadSync(const int8_t* header, uint32_t headerSize, const int8_t* payload, uint32_t…
|
| /developtools/hiperf/src/ |
| D | perf_file_reader.cpp | 278 size_t headerSize = sizeof(perf_event_header); in ReadRecord() local 279 if (Read(buf + headerSize, header->size - headerSize)) { in ReadRecord() 301 HLOGE("read record data size failed %zu", header->size - headerSize); in ReadRecord()
|
| D | perf_file_writer.cpp | 180 size_t headerSize = sizeof(perf_event_header); in ReadRecords() local 181 if (Read(buf + headerSize, header->size - headerSize)) { in ReadRecords()
|
| D | utilities.cpp | 744 bool NeedAdaptSandboxPath(char *filename, int pid, u16 &headerSize) in NeedAdaptSandboxPath() argument 753 headerSize += newFilename.size() - oldFilename.size(); in NeedAdaptSandboxPath()
|
| D | virtual_runtime.cpp | 1228 void VirtualRuntime::FixHMBundleMmap(char *filename, int pid, u16 &headerSize) in FixHMBundleMmap() argument 1242 headerSize += newFilename.size() - oldSize; in FixHMBundleMmap()
|
| /developtools/profiler/device/cmds/test/unittest/ |
| D | hiprofiler_cmd_test.cpp | 832 const int headerSize = 1024 + 1024; // htrace header + hiperf header variable 835 EXPECT_GT(perfSplitFileSize, perfFileSize + headerSize); 866 const int headerSize = 1024 + 1024; // htrace header + hiebpf header variable 869 EXPECT_GT(ebpfSplitFileSize, ebpfFileSize + headerSize);
|
| /developtools/hiperf/include/ |
| D | virtual_runtime.h | 82 void FixHMBundleMmap(char *filename, int pid, u16 &headerSize);
|
| D | utilities.h | 341 bool NeedAdaptSandboxPath(char *filename, int pid, u16 &headerSize);
|
| /developtools/profiler/hiebpf/include/ |
| D | vmlinux.h | 65338 unsigned int headerSize; member 65536 size_t headerSize; member
|