/test/xts/hats/ai/nnrt/hdi/v1_0/common/ |
H A D | hdi_nnrt_test_utils.cpp | 120 int32_t hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in ConvertModel() 147 int ret = device->AllocateBuffer(ADDEND_BUFFER_LENGTH, buffer); in CreateIOTensor() 166 auto ret = device->AllocateBuffer(length, buffer); in CreateInputIOTensor() 194 int ret = device->AllocateBuffer(length, buffer); in CreateOutputIOTensor()
|
/test/xts/hats/ai/nnrt/hdi/v2_0/common/ |
H A D | hdi_nnrt_test_utils.cpp | 120 int32_t hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in ConvertModel() 147 int ret = device->AllocateBuffer(ADDEND_BUFFER_LENGTH, buffer); in CreateIOTensor() 166 auto ret = device->AllocateBuffer(length, buffer); in CreateInputIOTensor() 194 int ret = device->AllocateBuffer(length, buffer); in CreateOutputIOTensor()
|
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtFunctionTest/src/ |
H A D | hdi_device_test.cpp | 259 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F() 274 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F() 300 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()
|
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/ |
H A D | hdi_device_test.cpp | 259 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F() 274 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F() 300 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()
|
/test/xts/hats/hdf/codec/benchmarktest/ |
H A D | codec_benchmark_omx_test.cpp | 316 BENCHMARK_F(CodecBenchmarkOmxTest, AllocateBuffer)(benchmark::State &state)
in BENCHMARK_F() 324 ret = component_->AllocateBuffer(inputIndex, allocBuffer, outBuffer);
in BENCHMARK_F() 329 BENCHMARK_REGISTER_F(CodecBenchmarkOmxTest, AllocateBuffer)->
|
/test/xts/hats/hdf/codec/hdi_component_additional/ |
H A D | codec_component_test.cpp | 1427 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F() 1449 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F() 1469 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F() 1497 err = g_component->AllocateBuffer(OUTPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F() 1518 * @tc.desc : Set the component status to OMX first_ StateLoaded, call the AllocateBuffer function to apply for space, 1531 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F() 1551 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F() 1572 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F() 1593 err = g_component->AllocateBuffer(INPUT_INDEX, allocBuffer, outBuffer); in HWTEST_F() 1614 err = g_component->AllocateBuffer(INPUT_INDE in HWTEST_F() [all...] |
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
H A D | mock_idevice.h | 57 int32_t AllocateBuffer(uint32_t length, SharedBuffer &buffer) override;
|
H A D | mock_idevice.cpp | 238 int32_t MockIDevice::AllocateBuffer(uint32_t length, SharedBuffer &buffer) in AllocateBuffer() function in OHOS::HDI::Nnrt::V2_0::MockIDevice
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
H A D | mock_idevice.h | 57 int32_t AllocateBuffer(uint32_t length, SharedBuffer &buffer) override;
|
H A D | mock_idevice.cpp | 220 int32_t MockIDevice::AllocateBuffer(uint32_t length, SharedBuffer &buffer) in AllocateBuffer() function in OHOS::HDI::Nnrt::V1_0::MockIDevice
|
/test/xts/acts/ai/nncore/opstest/include/ |
H A D | mock_idevice.h | 57 int32_t AllocateBuffer(uint32_t length, SharedBuffer &buffer) override;
|
/test/xts/acts/ai/nncore/common/ |
H A D | mock_idevice.h | 57 int32_t AllocateBuffer(uint32_t length, SharedBuffer &buffer) override;
|
H A D | mock_idevice.cpp | 236 int32_t MockIDevice::AllocateBuffer(uint32_t length, SharedBuffer &buffer) in AllocateBuffer() function in OHOS::HDI::Nnrt::V2_0::MockIDevice
|
/test/xts/hats/hdf/codec/hdi_omx/ |
H A D | codec_hdi_omx_test.cpp | 741 auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_INPUT, &allocBuffer); in HWTEST_F() 753 auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_INPUT, &allocBuffer); in HWTEST_F() 765 auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &allocBuffer); in HWTEST_F() 777 auto ret = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &allocBuffer); in HWTEST_F() 1030 err = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_INPUT, &allocBuffer); in HWTEST_F() 1047 err = component_->AllocateBuffer(component_, (uint32_t)PortIndex::PORT_INDEX_OUTPUT, &allocBuffer); in HWTEST_F()
|
/test/xts/acts/ai/nncore/opstest/src/ |
H A D | mock_idevice.cpp | 236 int32_t MockIDevice::AllocateBuffer(uint32_t length, SharedBuffer &buffer) in AllocateBuffer() function in OHOS::HDI::Nnrt::V2_1::MockIDevice
|
/test/xts/hats/hdf/codec/hdi_idlomx/ |
H A D | codec_function_utils.cpp | 243 auto err = component->AllocateBuffer(static_cast<uint32_t>(port), *omxBuffer.get(), outBuffer);
in AllocateBufferOnPort() 245 HDF_LOGE("AllocateBuffer error");
in AllocateBufferOnPort()
|
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/ |
H A D | hdi_device_test.cpp | 2898 * @tc.desc: Call function V2 AllocateBuffer, tensorSize is -1 2904 auto hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F() 2925 hdiRet = device_->AllocateBuffer(tensorSize, tensorBuffer); in HWTEST_F()
|