Home
last modified time | relevance | path

Searched refs:pMemory (Results 1 - 4 of 4) sorted by relevance

/foundation/ai/neural_network_runtime/test/system_test/common/
H A Dnnrt_test.cpp155 OH_NN_Memory** pMemory) in SetInputFromMemory()
162 if (pMemory == nullptr) { in SetInputFromMemory()
163 LOGE("NNRtTest::SetInputFromMemory failed, passed nullptr to pMemory."); in SetInputFromMemory()
190 *pMemory = memory; in SetInputFromMemory()
194 OH_NN_ReturnCode NNRtTest::SetOutputFromMemory(uint32_t index, size_t length, OH_NN_Memory** pMemory) in SetOutputFromMemory() argument
196 if (pMemory == nullptr) { in SetOutputFromMemory()
197 LOGE("NNRtTest::SetOutputFromMemory failed, passed nullptr to pMemory."); in SetOutputFromMemory()
213 *pMemory = memory; in SetOutputFromMemory()
151 SetInputFromMemory(uint32_t index, const std::vector<int32_t>& dimensions, const void* buffer, size_t length, OH_NN_Memory** pMemory) SetInputFromMemory() argument
H A Dnnrt_test.h69 OH_NN_Memory** pMemory);
70 virtual OH_NN_ReturnCode SetOutputFromMemory(uint32_t index, size_t length, OH_NN_Memory** pMemory);
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp1612 OH_NN_Memory* pMemory = &memory; in HWTEST_F() local
1613 OH_NNExecutor_DestroyInputMemory(nnExecutor, inputIndex, &pMemory); in HWTEST_F()
1653 OH_NN_Memory** pMemory = &memory; in HWTEST_F() local
1654 OH_NNExecutor_DestroyInputMemory(nnExecutor, inputIndex, pMemory); in HWTEST_F()
1676 OH_NN_Memory* pMemory = &memory; in HWTEST_F() local
1677 OH_NNExecutor_DestroyInputMemory(nnExecutor, inputIndex, &pMemory); in HWTEST_F()
1678 EXPECT_NE(nullptr, pMemory); in HWTEST_F()
1699 OH_NN_Memory* pMemory = &memory; in HWTEST_F() local
1700 OH_NNExecutor_DestroyInputMemory(nnExecutor, inputIndex, &pMemory); in HWTEST_F()
1701 EXPECT_NE(nullptr, pMemory); in HWTEST_F()
1716 OH_NN_Memory* pMemory = &memory; HWTEST_F() local
1757 OH_NN_Memory** pMemory = &memory; HWTEST_F() local
1780 OH_NN_Memory* pMemory = &memory; HWTEST_F() local
1802 OH_NN_Memory* pMemory = &memory; HWTEST_F() local
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/neural_network_runtime_test/
H A Dneural_network_runtime_test.cpp2096 OH_NN_Memory* pMemory = &memory; in HWTEST_F() local
2097 OH_NNExecutor_DestroyInputMemory(nnExecutor, inputIndex, &pMemory); in HWTEST_F()
2149 OH_NN_Memory** pMemory = &memory; in HWTEST_F() local
2150 OH_NNExecutor_DestroyInputMemory(nnExecutor, inputIndex, pMemory); in HWTEST_F()
2179 OH_NN_Memory* pMemory = &memory; in HWTEST_F() local
2180 OH_NNExecutor_DestroyInputMemory(nnExecutor, inputIndex, &pMemory); in HWTEST_F()
2181 EXPECT_NE(nullptr, pMemory); in HWTEST_F()
2198 OH_NN_Memory* pMemory = &memory; in HWTEST_F() local
2199 OH_NNExecutor_DestroyOutputMemory(nnExecutor, outputIndex, &pMemory); in HWTEST_F()
2251 OH_NN_Memory** pMemory in HWTEST_F() local
2281 OH_NN_Memory* pMemory = &memory; HWTEST_F() local
2310 OH_NN_Memory* pMemory = &memory; HWTEST_F() local
[all...]

Completed in 10 milliseconds