Home
last modified time | relevance | path

Searched refs:dataBuffer (Results 1 – 19 of 19) sorted by relevance

/developtools/profiler/device/plugins/cpu_plugin/src/
Dtest_main.cpp35 static void Report(PluginModuleStruct*& cpuPlugin, std::vector<uint8_t>& dataBuffer) in Report() argument
38 …int len = cpuPlugin->callbacks->onPluginReportResult(dataBuffer.data(), cpuPlugin->resultBufferSiz… in Report()
43 cpuData.ParseFromArray(dataBuffer.data(), len); in Report()
110 std::vector<uint8_t> dataBuffer(cpuPlugin->resultBufferSizeHint); in main() local
113 Report(cpuPlugin, dataBuffer); in main()
117 int len = cpuPlugin->callbacks->onPluginReportResult(dataBuffer.data(), in main()
121 cpuData.ParseFromArray(dataBuffer.data(), len); in main()
/developtools/profiler/device/plugins/network_plugin/test/unittest/
Dnetwork_plugin_test.cpp272 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
300 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
303 EXPECT_LT(plugin->callbacks->onPluginReportResult(dataBuffer.data(), dataBuffer.size()), 0);
305 EXPECT_EQ(plugin->callbacks->onPluginReportResult(dataBuffer.data(), dataBuffer.size()), 0);
332 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
334 EXPECT_GT(plugin->callbacks->onPluginReportResult(dataBuffer.data(), dataBuffer.size()), 0);
/developtools/profiler/device/plugins/gpu_plugin/src/
Dtest_main.cpp48 std::vector<uint8_t> dataBuffer(gpuPlugin->resultBufferSizeHint); in main() local
51 int len = gpuPlugin->callbacks->onPluginReportResult(dataBuffer.data(), in main()
57 gpuData.ParseFromArray(dataBuffer.data(), len); in main()
/developtools/smartperf_host/ide/src/hdc/common/
DSerialize.ts243 let dataBuffer = lengthBuffer.slice(1);
244 let buf = this.parseString(dataBuffer, bufSize);
251 let dataBuffer = uint8Array.buffer;
252 let channelTag = this.getTag(WireType.VARINT, new DataView(dataBuffer));
253 let channelDataBuffer = dataBuffer.slice(1);
263 let dataBuffer = uint8Array.buffer;
264 let channelTag = this.getTag(WireType.VARINT, new DataView(dataBuffer));
265 let channelDataBuffer = dataBuffer.slice(1);
/developtools/profiler/device/plugins/diskio_plugin/src/
Dtest_main.cpp89 std::vector<uint8_t> dataBuffer(diskioPlugin->resultBufferSizeHint); in main() local
92 int len = diskioPlugin->callbacks->onPluginReportResult(dataBuffer.data(), in main()
98 diskioData.ParseFromArray(dataBuffer.data(), len); in main()
/developtools/hapsigner/hapsigntool/hap_sign_tool_lib/src/main/java/com/ohos/hapsigntool/codesigning/fsverity/
DMerkleTreeBuilder.java296 private MerkleTree getMerkleTree(ByteBuffer dataBuffer, long inputDataSize, in getMerkleTree() argument
299 dataBuffer.flip(); in getMerkleTree()
303 ByteBuffer fsVerityHashPageBuffer = slice(dataBuffer, 0, digestSize); in getMerkleTree()
307 tree = dataBuffer.array(); in getMerkleTree()
308 …ByteBuffer fsVerityHashPageBuffer = slice(dataBuffer.asReadOnlyBuffer(), 0, FSVERITY_HASH_PAGE_SIZ… in getMerkleTree()
/developtools/smartperf_host/ide/test/hdc/common/
DSerialize.test.ts71 let dataBuffer = uint8Array.buffer; variable
84 let dataBuffer = uint8Array.buffer; variable
/developtools/profiler/device/plugins/gpu_plugin/test/unittest/
Dgpu_data_plugin_unittest.cpp182 std::vector<uint8_t> dataBuffer(gpuPlugin->resultBufferSizeHint); variable
184 …ASSERT_GT(gpuPlugin->callbacks->onPluginReportResult(dataBuffer.data(), gpuPlugin->resultBufferSiz…
/developtools/profiler/device/plugins/diskio_plugin/test/unittest/
Ddiskio_data_plugin_unittest.cpp187 std::vector<uint8_t> dataBuffer(diskioPlugin->resultBufferSizeHint); variable
189 …ASSERT_GT(diskioPlugin->callbacks->onPluginReportResult(dataBuffer.data(), diskioPlugin->resultBuf…
/developtools/profiler/device/plugins/memory_plugin/test/unittest/
Dmemory_data_plugin_unittest.cpp803 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
853 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
855 EXPECT_EQ(plugin->callbacks->onPluginReportResult(dataBuffer.data(), dataBuffer.size()), 0);
896 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
901 int ret = plugin->callbacks->onPluginReportResult(dataBuffer.data(), dataBuffer.size());
903 OutputData(dataBuffer.data(), (uint32_t)ret);
/developtools/profiler/device/plugins/xpower_plugin/test/unittest/
Dxpower_plugin_unittest.cpp96 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
/developtools/profiler/device/plugins/process_plugin/test/unittest/
Dprocess_plugin_unittest.cpp401 std::vector<uint8_t> dataBuffer(processPlugin->resultBufferSizeHint); variable
403 …int len = processPlugin->callbacks->onPluginReportResult(dataBuffer.data(), processPlugin->resultB…
/developtools/profiler/device/plugins/hiperf_plugin/test/unittest/
Dhiperf_plugin_unittest.cpp91 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
/developtools/profiler/device/plugins/hisysevent_plugin/test/unittest/
Dhisysevent_plugin_unittest.cpp154 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
/developtools/profiler/device/plugins/hidump_plugin/test/unittest/
Dhidump_plugin_unittest.cpp108 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
/developtools/profiler/device/plugins/ftrace_plugin/test/unittest/
Dflow_controller_test.cpp304 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable
/developtools/profiler/device/plugins/cpu_plugin/test/unittest/
Dcpu_data_plugin_unittest.cpp414 std::vector<uint8_t> dataBuffer(cpuPlugin->resultBufferSizeHint); variable
416 …ASSERT_GT(cpuPlugin->callbacks->onPluginReportResult(dataBuffer.data(), cpuPlugin->resultBufferSiz…
/developtools/profiler/device/services/profiler_service/test/unittest/
Dprofiler_service_performance_test.cpp416 std::vector<uint8_t> dataBuffer(cpuPlugin->resultBufferSizeHint); in StartActiveProcess() local
421 int len = cpuPlugin->callbacks->onPluginReportResult(dataBuffer.data(), in StartActiveProcess()
425 cpuData.ParseFromArray(dataBuffer.data(), len); in StartActiveProcess()
/developtools/profiler/device/plugins/hilog_plugin/test/unittest/
Dhilog_plugin_unittest.cpp868 std::vector<uint8_t> dataBuffer(plugin->resultBufferSizeHint); variable