/test/xts/acts/ai/neural_network_runtime/v1_0/interface/src/ |
H A D | ExecutorTest.cpp | 295 uint32_t outputIndex = 0; in HWTEST_F() local 310 OH_NNExecutor_SetOutput(nullptr, outputIndex, operandTem.data, operandTem.length)); in HWTEST_F() 311 outputIndex += 1; in HWTEST_F() 319 * @tc.name : 设置输出,outputIndex不存在 335 uint32_t outputIndex = 10000; in HWTEST_F() local 350 OH_NNExecutor_SetOutput(executor, outputIndex, operandTem.data, operandTem.length)); in HWTEST_F() 351 outputIndex += 1; in HWTEST_F() 375 uint32_t outputIndex = 0; in HWTEST_F() local 390 OH_NNExecutor_SetOutput(executor, outputIndex, nullptr, operandTem.length)); in HWTEST_F() 391 outputIndex in HWTEST_F() 415 uint32_t outputIndex = 0; HWTEST_F() local 454 uint32_t outputIndex = 0; HWTEST_F() local 504 uint32_t outputIndex = 0; HWTEST_F() local 573 uint32_t outputIndex = 0; HWTEST_F() local 837 uint32_t outputIndex = 0; HWTEST_F() local 1027 uint32_t outputIndex = 0; HWTEST_F() local 1074 uint32_t outputIndex = 0; HWTEST_F() local 1123 uint32_t outputIndex = 0; HWTEST_F() local 1179 uint32_t outputIndex = 0; HWTEST_F() local [all...] |
H A D | MemoryTest.cpp | 46 void CheckCreateOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, size_t length) in CheckCreateOutputMemory() argument 48 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, length); in CheckCreateOutputMemory() 50 OH_NNExecutor_DestroyOutputMemory(executor, outputIndex, &OHNNMemory); in CheckCreateOutputMemory() 248 * @tc.name : 创建输出共享内存,outputIndex重复创建 726 * @tc.name : 设置输出共享内存,outputIndex不存在 772 * @tc.name : 设置输出共享内存,重复设置相同outputIndex 810 uint32_t outputIndex = 0; in HWTEST_F() local 827 OH_NN_Memory *outputMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, operandTem.length); in HWTEST_F() 829 ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_SetOutputWithMemory(executor, outputIndex, outputMemory)); in HWTEST_F() 830 OH_NNExecutor_DestroyOutputMemory(executor, outputIndex, in HWTEST_F() 897 auto outputIndex = graphArgs.inputIndices.size() + j; HWTEST_F() local 941 auto outputIndex = graphArgs.inputIndices.size() + j; HWTEST_F() local [all...] |
/test/xts/acts/ai/neural_network_runtime/v2_0/interface/src/ |
H A D | ExecutorTest.cpp | 400 uint32_t outputIndex = 0; in HWTEST_F() local 415 OH_NNExecutor_SetOutput(nullptr, outputIndex, operandTem.data, operandTem.length)); in HWTEST_F() 416 outputIndex += 1; in HWTEST_F() 424 * @tc.name : 设置输出,outputIndex不存在 440 uint32_t outputIndex = 10000; in HWTEST_F() local 455 OH_NNExecutor_SetOutput(executor, outputIndex, operandTem.data, operandTem.length)); in HWTEST_F() 456 outputIndex += 1; in HWTEST_F() 480 uint32_t outputIndex = 0; in HWTEST_F() local 495 OH_NNExecutor_SetOutput(executor, outputIndex, nullptr, operandTem.length)); in HWTEST_F() 496 outputIndex in HWTEST_F() 520 uint32_t outputIndex = 0; HWTEST_F() local 559 uint32_t outputIndex = 0; HWTEST_F() local 609 uint32_t outputIndex = 0; HWTEST_F() local 678 uint32_t outputIndex = 0; HWTEST_F() local 942 uint32_t outputIndex = 0; HWTEST_F() local 1132 uint32_t outputIndex = 0; HWTEST_F() local 1179 uint32_t outputIndex = 0; HWTEST_F() local 1228 uint32_t outputIndex = 0; HWTEST_F() local 1284 uint32_t outputIndex = 0; HWTEST_F() local [all...] |
H A D | MemoryTest.cpp | 46 void CheckCreateOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, size_t length) in CheckCreateOutputMemory() argument 48 OH_NN_Memory *OHNNMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, length); in CheckCreateOutputMemory() 50 OH_NNExecutor_DestroyOutputMemory(executor, outputIndex, &OHNNMemory); in CheckCreateOutputMemory() 248 * @tc.name : 创建输出共享内存,outputIndex重复创建 726 * @tc.name : 设置输出共享内存,outputIndex不存在 772 * @tc.name : 设置输出共享内存,重复设置相同outputIndex 810 uint32_t outputIndex = 0; in HWTEST_F() local 827 OH_NN_Memory *outputMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, operandTem.length); in HWTEST_F() 829 ASSERT_EQ(OH_NN_SUCCESS, OH_NNExecutor_SetOutputWithMemory(executor, outputIndex, outputMemory)); in HWTEST_F() 830 OH_NNExecutor_DestroyOutputMemory(executor, outputIndex, in HWTEST_F() 897 auto outputIndex = graphArgs.inputIndices.size() + j; HWTEST_F() local 941 auto outputIndex = graphArgs.inputIndices.size() + j; HWTEST_F() local [all...] |
/test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
H A D | nnrt_utils.cpp | 222 uint32_t outputIndex = 0; in ExecuteGraphMock() local 240 ret = OH_NNExecutor_SetOutput(executor, outputIndex, operandTem.data, operandTem.length); in ExecuteGraphMock() 252 outputIndex += 1; in ExecuteGraphMock() 265 uint32_t outputIndex = 0; in ExecutorWithMemory() local 286 OH_NN_Memory *outputMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, in ExecutorWithMemory() 288 ret = OH_NNExecutor_SetOutputWithMemory(executor, outputIndex, outputMemory); in ExecutorWithMemory() 298 OHNNMemory[inputIndex + outputIndex] = outputMemory; in ExecutorWithMemory() 299 outputIndex += 1; in ExecutorWithMemory()
|
/test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
H A D | nnrt_utils.cpp | 222 uint32_t outputIndex = 0; in ExecuteGraphMock() local 240 ret = OH_NNExecutor_SetOutput(executor, outputIndex, operandTem.data, operandTem.length); in ExecuteGraphMock() 252 outputIndex += 1; in ExecuteGraphMock() 265 uint32_t outputIndex = 0; in ExecutorWithMemory() local 286 OH_NN_Memory *outputMemory = OH_NNExecutor_AllocateOutputMemory(executor, outputIndex, in ExecutorWithMemory() 288 ret = OH_NNExecutor_SetOutputWithMemory(executor, outputIndex, outputMemory); in ExecutorWithMemory() 298 OHNNMemory[inputIndex + outputIndex] = outputMemory; in ExecutorWithMemory() 299 outputIndex += 1; in ExecutorWithMemory()
|
/test/xts/hats/hdf/codec/hdi_idlomx/ |
H A D | codec_hdi_omx_enc_test.cpp | 106 const static uint32_t outputIndex = static_cast<uint32_t>(PortIndex::INDEX_OUTPUT); member in __anon454::CodecHdiOmxEncTest 127 * @tc.desc : Verify the GetParameter function when the input parameter pixFormat.portIndex is outputIndex. 135 pixFormat.portIndex = outputIndex; in HWTEST_F() 393 bufferType.portIndex = outputIndex; in HWTEST_F() 516 auto ret = g_component->FreeBuffer(outputIndex, omxBuffer); in HWTEST_F() 602 param.nPortIndex = outputIndex; in HWTEST_F() 657 param.nPortIndex = outputIndex; in HWTEST_F() 669 * @tc.desc : Verify param is nPortIndex is outputIndex and nEncodeBitrate is FRAMERATE. 677 param.nPortIndex = outputIndex; in HWTEST_F() 731 param.nPortIndex = outputIndex; in HWTEST_F() [all...] |
H A D | codec_hdi_omx_dec_test.cpp | 106 const static uint32_t outputIndex = static_cast<uint32_t>(PortIndex::INDEX_OUTPUT); member in __anon453::CodecHdiOmxDecTest 131 err = func_->InitBufferHandleParameter(g_component, param, outputIndex, CODEC_BUFFER_TYPE_HANDLE); in HWTEST_F()
|
/test/xts/hats/hdf/codec/benchmarktest/ |
H A D | codec_benchmark_omx_test.cpp | 152 const static uint32_t outputIndex = static_cast<uint32_t>(PortIndex::PORT_INDEX_OUTPUT);
member in __anon449::CodecBenchmarkOmxTest::PortIndex 215 param.nPortIndex = outputIndex;
in BENCHMARK_F() 286 ret = component_->ComponentTunnelRequest(outputIndex, tunneledComp, tunneledPort,
in BENCHMARK_F() 440 ret = component_->FreeBuffer(outputIndex, omxBuffer);
in BENCHMARK_F()
|
/test/xts/device_attest/services/core/security/ |
H A D | attest_security_token.c | 193 int32_t outputIndex = 0; in FormatUUID() local 199 outputData[outputIndex++] = '-'; in FormatUUID() 201 outputData[outputIndex++] = inputData[i]; in FormatUUID()
|
/test/xts/device_attest_lite/services/core/security/ |
H A D | attest_security_token.c | 193 int32_t outputIndex = 0; in FormatUUID() local 199 outputData[outputIndex++] = '-'; in FormatUUID() 201 outputData[outputIndex++] = inputData[i]; in FormatUUID()
|
/test/xts/acts/ai/nnrtndk/entry/src/main/cpp/ |
H A D | nnrtndk.cpp | 1063 uint32_t outputIndex = PARAM_0; in OHNNExecutorSetOutputOne() local 1074 OH_NNExecutor_SetOutput(executor, outputIndex, operandOut.data, operandOut.length); in OHNNExecutorSetOutputOne() 1134 uint32_t outputIndex = PARAM_0; in OHNNExecutorGetOutputShapeOne() local 1146 OH_NNExecutor_SetOutput(executor, outputIndex, operandTem.data, operandTem.length); in OHNNExecutorGetOutputShapeOne() 1147 outputIndex += 1; in OHNNExecutorGetOutputShapeOne() 1219 uint32_t outputIndex = PARAM_0; in OHNNExecutorRunOne() local 1231 OH_NNExecutor_SetOutput(executor, outputIndex, operandTem.data, operandTem.length); in OHNNExecutorRunOne() 1232 outputIndex += 1; in OHNNExecutorRunOne()
|
/test/xts/acts/ai/nncore/nncoretest/src/ |
H A D | HdiExecutorTest.cpp | 444 uint32_t outputIndex = 0;
in HWTEST_F() local 445 ASSERT_EQ(OH_NN_INVALID_PARAMETER, OH_NNExecutor_GetOutputShape(nullptr, outputIndex,
in HWTEST_F()
|
/test/xts/hats/ai/nnrt/hdi/v1_0/nnrtFunctionTest/src/ |
H A D | hdi_model_prepare_test.cpp | 217 * @tc.name : 编译模型,model中outputIndex为空 229 // set outputIndex to empty in HWTEST_F() 230 iModel->outputIndex = {}; in HWTEST_F() 231 // prepare model with empty outputIndex in HWTEST_F()
|
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest/src/ |
H A D | hdi_model_prepare_test.cpp | 224 * @tc.name : 编译模型,model中outputIndex为空 236 // set outputIndex to empty in HWTEST_F() 237 iModel->outputIndex = {}; in HWTEST_F() 238 // prepare model with empty outputIndex in HWTEST_F()
|
/test/xts/hats/ai/nnrt/hdi/v2_0/nnrtFunctionTest_additional/src/ |
H A D | hdi_device_test.cpp | 2435 * @tc.desc: Call function V2 GetSupportedOperation, outputIndex is empty 2447 iModel->outputIndex = {}; in HWTEST_F() 2786 * @tc.desc: Call function V2 GetSupportedOperation, node.outputIndex is empty 2799 node.outputIndex = {}; in HWTEST_F()
|
H A D | hdi_model_prepare_test.cpp | 4607 * @tc.desc: Call function V2 PrepareModel, node.outputIndex is null 4620 node.outputIndex = {}; in HWTEST_F() [all...] |