Home
last modified time | relevance | path

Searched refs:memory (Results 1 - 25 of 3146) sorted by relevance

12345678910>>...126

/foundation/multimedia/image_effect/frameworks/native/effect/manager/memory_manager/
H A Deffect_memory_manager.cpp51 std::shared_ptr<Memory> memory = std::make_shared<Memory>(); in AddFilterMemory() local
52 memory->memoryData_ = std::make_shared<MemoryData>(); in AddFilterMemory()
53 memory->memoryData_->data = effectBuffer->buffer_; in AddFilterMemory()
54 memory->memoryData_->memoryInfo.bufferInfo = *effectBuffer->bufferInfo_; in AddFilterMemory()
55 memory->memoryData_->memoryInfo.extra = effectBuffer->extraInfo_->surfaceBuffer; in AddFilterMemory()
56 memory->memoryData_->memoryInfo.bufferType = effectBuffer->extraInfo_->bufferType; in AddFilterMemory()
57 memory->memDataType_ = memDataType; in AddFilterMemory()
58 memory->isAllowModify_ = isAllowModify; in AddFilterMemory()
59 AddMemory(memory); in AddFilterMemory()
89 std::shared_ptr<Memory> memory in AllocMemoryInner() local
123 std::shared_ptr<Memory> memory = AllocMemoryInner(allocMemInfo, allocBufferType); AllocMemory() local
131 AddMemory(std::shared_ptr<Memory> &memory) AddMemory() argument
169 RemoveMemory(std::shared_ptr<Memory> &memory) RemoveMemory() argument
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_sync_utils.cpp34 AVTRANS_LOGE("create av trans shared memory failed, name=%{public}s, fd=%{public}" PRId32, name.c_str(), fd); in CreateAVTransSharedMemory()
48 AVTRANS_LOGE("shared memory mmap failed, name=%{public}s, fd=%{public}" PRId32, name.c_str(), fd); in CreateAVTransSharedMemory()
60 AVTRANS_LOGI("create av trans shared memory success, name=%{public}s, size=%{public}" PRIu64 ", fd=%{public}" in CreateAVTransSharedMemory()
65 void CloseAVTransSharedMemory(const AVTransSharedMemory &memory) noexcept
67 AVTRANS_LOGI("close shared memory, name=%{public}s, size=%{public}" PRId32 ", fd=%{public}" PRId32,
68 memory.name.c_str(), memory.size, memory.fd);
69 if (IsInValidSharedMemory(memory)) {
70 AVTRANS_LOGE("invalid input shared memory");
78 WriteClockUnitToMemory(const AVTransSharedMemory &memory, AVSyncClockUnit &clockUnit) WriteClockUnitToMemory() argument
[all...]
/foundation/multimedia/media_foundation/src/common/
H A Davsharedmemorypool.cpp46 FALSE_RETURN_V_MSG_E(!inited_, -1, "memory pool has inited."); in Init()
58 auto memory = AllocMemory(option_.memSize); in Init() local
59 FALSE_RETURN_V_MSG_E(memory != nullptr, -1, "failed to AllocMemory"); in Init()
60 idleList_.push_back(memory); in Init()
70 AVSharedMemoryBase *memory = new (std::nothrow) AVSharedMemoryBase(size, option_.flags, name_); in AllocMemory() local
71 FALSE_RETURN_V_MSG_E(memory != nullptr, nullptr, "create object failed"); in AllocMemory()
72 ON_SCOPE_EXIT(0) { delete memory; }; in AllocMemory()
73 memory->Init(); in AllocMemory()
74 int32_t ret = memory->Init(); in AllocMemory()
78 return memory; in AllocMemory()
81 ReleaseMemory(AVSharedMemory *memory) ReleaseMemory() argument
186 AVSharedMemory *memory = nullptr; AcquireMemory() local
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/include/
H A Dav_sync_utils.h19 #include <memory>
41 * @brief create shared memory space for av sync.
42 * @param name name for the shared memory.
43 * @return shared memory struct, include fd, size and name.
48 * @brief close shared memory space.
49 * @param memory shared memory.
51 void CloseAVTransSharedMemory(const AVTransSharedMemory &memory) noexcept;
54 * @brief write the clock unit into the shared memory space.
55 * @param memory share
[all...]
/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dneural_network_runtime_compat.cpp115 LOGE("OH_NNExecutor_AllocateInputMemory failed, error happened when creating input memory in executor."); in OH_NNExecutor_AllocateInputMemory()
137 LOGE("OH_NNExecutor_AllocateOutputMemory failed, error happened when creating output memory in executor."); in OH_NNExecutor_AllocateOutputMemory()
144 NNRT_API void OH_NNExecutor_DestroyInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, OH_NN_Memory **memory) in OH_NNExecutor_DestroyInputMemory() argument
150 if (memory == nullptr) { in OH_NNExecutor_DestroyInputMemory()
151 LOGW("OH_NNExecutor_DestroyInputMemory has no effect, passed nullptr to memory."); in OH_NNExecutor_DestroyInputMemory()
154 if (*memory == nullptr) { in OH_NNExecutor_DestroyInputMemory()
155 LOGW("OH_NNExecutor_DestroyInputMemory has no effect, passed nullptr to *memory."); in OH_NNExecutor_DestroyInputMemory()
160 OH_NN_ReturnCode ret = executorImpl->DestroyInputMemory(inputIndex, memory); in OH_NNExecutor_DestroyInputMemory()
162 LOGE("OH_NNExecutor_DestroyInputMemory failed, error happened when destroying input memory."); in OH_NNExecutor_DestroyInputMemory()
166 *memory in OH_NNExecutor_DestroyInputMemory()
169 OH_NNExecutor_DestroyOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, OH_NN_Memory **memory) OH_NNExecutor_DestroyOutputMemory() argument
194 OH_NNExecutor_SetInputWithMemory(OH_NNExecutor *executor, uint32_t inputIndex, const OH_NN_Tensor *tensor, const OH_NN_Memory *memory) OH_NNExecutor_SetInputWithMemory() argument
214 OH_NNExecutor_SetOutputWithMemory(OH_NNExecutor *executor, uint32_t outputIndex, const OH_NN_Memory *memory) OH_NNExecutor_SetOutputWithMemory() argument
[all...]
H A Dmemory_manager.cpp46 Memory memory {fd, addr, length}; in MapMemory()
47 m_memorys.emplace(addr, memory); in MapMemory()
65 auto& memory = m_memorys[buffer]; in UnMapMemory() local
66 auto unmapResult = munmap(const_cast<void*>(memory.data), memory.length); in UnMapMemory()
68 LOGE("Unmap memory failed. Please try again."); in UnMapMemory()
71 memory.data = nullptr; in UnMapMemory()
77 OH_NN_ReturnCode MemoryManager::GetMemory(const void* buffer, Memory& memory) in GetMemory() argument
91 memory.fd = iter->second.fd; in GetMemory()
92 memory in GetMemory()
[all...]
/foundation/multimedia/player_framework/services/services/common/
H A Davsharedmemory_ipc.cpp29 int32_t WriteAVSharedMemoryToParcel(const std::shared_ptr<AVSharedMemory> &memory, MessageParcel &parcel) in WriteAVSharedMemoryToParcel() argument
31 std::shared_ptr<AVSharedMemoryBase> baseMem = std::static_pointer_cast<AVSharedMemoryBase>(memory); in WriteAVSharedMemoryToParcel()
32 CHECK_AND_RETURN_RET_LOG(baseMem != nullptr, MSERR_INVALID_VAL, "memory is nullptr"); in WriteAVSharedMemoryToParcel()
52 std::shared_ptr<AVSharedMemory> memory = AVSharedMemoryBase::CreateFromRemote(fd, size, flags, name); in ReadAVSharedMemoryFromParcel() local
53 if (memory == nullptr || memory->GetBase() == nullptr) { in ReadAVSharedMemoryFromParcel()
60 return memory; in ReadAVSharedMemoryFromParcel()
70 std::shared_ptr<AVSharedMemory> memory = AVDataSrcMemory::CreateFromRemote(fd, size, flags, name); in ReadAVDataSrcMemoryFromParcel() local
71 if (memory == nullptr || memory in ReadAVDataSrcMemoryFromParcel()
[all...]
/foundation/multimedia/media_foundation/test/unittest/
H A DTestPluginCommon.cpp32 std::shared_ptr<Memory> memory = audioBuffer->GetMemory(0); in HWTEST() local
34 memory->Write(&in, 10, -1); in HWTEST()
35 memory->Write(&in, 10, 0); in HWTEST()
36 memory->Read(&in, 10, 0); in HWTEST()
37 ASSERT_TRUE(nullptr == memory->GetReadOnlyData(17)); in HWTEST()
38 ASSERT_TRUE(nullptr == memory->GetWritableAddr(8, 9)); in HWTEST()
39 memory->UpdateDataSize(8, 9); in HWTEST()
/foundation/multimedia/media_foundation/tests/unittest/avbuffer/
H A Davsharedmemorybase_func_unit_test.cpp56 std::shared_ptr<AVSharedMemoryBase> memory = in HWTEST_F() local
58 EXPECT_EQ(memory->Read(nullptr, 0, 0), 0); in HWTEST_F()
63 * @tc.desc: Test Read interface, read data from memory.
69 std::shared_ptr<AVSharedMemoryBase> memory = in HWTEST_F() local
71 ASSERT_TRUE(memory != nullptr); in HWTEST_F()
72 int32_t ret = memory->Init(); in HWTEST_F()
77 ret = memory->Write(buffer, SIZE); in HWTEST_F()
82 ret = memory->Read(readBuffer, SIZE); in HWTEST_F()
/foundation/multimedia/av_codec/services/services/common/
H A Davsharedmemory_ipc.cpp29 int32_t WriteAVSharedMemoryToParcel(const std::shared_ptr<AVSharedMemory> &memory, MessageParcel &parcel) in WriteAVSharedMemoryToParcel() argument
31 std::shared_ptr<Media::AVSharedMemoryBase> baseMem = std::static_pointer_cast<Media::AVSharedMemoryBase>(memory); in WriteAVSharedMemoryToParcel()
55 std::shared_ptr<AVSharedMemory> memory = Media::AVSharedMemoryBase::CreateFromRemote(fd, size, flags, name); in ReadAVSharedMemoryFromParcel() local
56 if (memory == nullptr || memory->GetBase() == nullptr) { in ReadAVSharedMemoryFromParcel()
58 memory = nullptr; in ReadAVSharedMemoryFromParcel()
64 return memory; in ReadAVSharedMemoryFromParcel()
/foundation/ai/neural_network_runtime/test/unittest/components/memory_manager/
H A Dmemory_manager_test.cpp94 std::string filename = "/data/log/memory-001.dat"; in HWTEST_F()
121 void* memory = nullptr; in HWTEST_F() local
122 EXPECT_EQ(OH_NN_INVALID_PARAMETER, memoryManager->UnMapMemory(memory)); in HWTEST_F()
133 void* memory = malloc(10); in HWTEST_F() local
134 EXPECT_EQ(OH_NN_INVALID_PARAMETER, memoryManager->UnMapMemory(memory)); in HWTEST_F()
135 free(memory); in HWTEST_F()
149 std::string filename = "/data/log/memory-001.dat"; in HWTEST_F()
173 Memory memory; in HWTEST_F() local
174 OH_NN_ReturnCode result = memoryManager->GetMemory(buffer, memory); in HWTEST_F()
187 Memory memory; in HWTEST_F() local
217 Memory memory; HWTEST_F() local
[all...]
/foundation/multimedia/media_foundation/src/plugin/
H A Dplugin_buffer.cpp135 std::shared_ptr<Memory> memory = std::shared_ptr<Memory>(new Memory(capacity, allocator, align)); in CreateDefaultBuffer() local
136 buffer->data.push_back(memory); in CreateDefaultBuffer()
142 auto memory = std::shared_ptr<Memory>(new Memory(capacity, std::shared_ptr<uint8_t>(data, [](void* ptr) {}))); in WrapMemory() local
143 memory->size = size; in WrapMemory()
144 this->data.push_back(memory); in WrapMemory()
145 return memory; in WrapMemory()
150 auto memory = std::shared_ptr<Memory>(new Memory(capacity, data)); in WrapMemoryPtr() local
151 memory->size = size; in WrapMemoryPtr()
152 this->data.push_back(memory); in WrapMemoryPtr()
153 return memory; in WrapMemoryPtr()
159 std::shared_ptr<Memory> memory = nullptr; AllocMemory() local
[all...]
/foundation/multimedia/av_codec/services/engine/common/
H A Dcodec_utils.cpp48 int32_t WriteYuvDataStride(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *scaleLineSize, in WriteYuvDataStride() argument
64 memory->Write(scaleData[0] + srcPos, writeSize, dstPos); in WriteYuvDataStride()
73 memory->Write(scaleData[1] + srcPos, writeSize, dstPos); in WriteYuvDataStride()
79 memory->Write(scaleData[INDEX_ARRAY] + srcPos, writeSize, dstPos); in WriteYuvDataStride()
87 memory->Write(scaleData[1] + srcPos, writeSize, dstPos); in WriteYuvDataStride()
96 int32_t WriteRgbDataStride(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *scaleLineSize, in WriteRgbDataStride() argument
106 memory->Write(scaleData[0] + srcPos, writeSize, dstPos); in WriteRgbDataStride()
115 int32_t WriteYuvData(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *scaleLineSize, in WriteYuvData() argument
126 CHECK_AND_RETURN_RET_LOG(memory->GetCapacity() >= frameSize, AVCS_ERR_NO_MEMORY, in WriteYuvData()
128 memory in WriteYuvData()
142 WriteRgbData(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *scaleLineSize, int32_t &height) WriteRgbData() argument
153 WriteSurfaceData(const std::shared_ptr<AVMemory> &memory, struct SurfaceInfo &surfaceInfo, const Format &format) WriteSurfaceData() argument
183 WriteBufferData(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, int32_t *scaleLineSize, const Format &format) WriteBufferData() argument
[all...]
/foundation/multimedia/media_foundation/tests/unittest/avshared_memory_pool/
H A Davshared_memory_pool_test.cpp47 AVSharedMemory *memory = nullptr; in HWTEST_F() local
48 pool->ReleaseMemory(memory); in HWTEST_F()
49 bool result = pool->DoAcquireMemory(size, &memory); in HWTEST_F()
62 AVSharedMemory *memory = nullptr; in HWTEST_F() local
63 bool result = pool->DoAcquireMemory(size, &memory); in HWTEST_F()
91 std::shared_ptr<AVSharedMemory> memory = pool->AcquireMemory(size, blocking); in HWTEST_F() local
92 EXPECT_TRUE(memory == nullptr); in HWTEST_F()
/foundation/multimedia/player_framework/services/services/media_data_source/ipc/
H A Dmedia_data_source_stub.cpp34 int32_t ReadFromParcel(MessageParcel &parcel, std::shared_ptr<AVSharedMemory> &memory) in ReadFromParcel() argument
39 memory = caches_; in ReadFromParcel()
43 memory = ReadAVDataSrcMemoryFromParcel(parcel); in ReadFromParcel()
44 CHECK_AND_RETURN_RET(memory != nullptr, MSERR_INVALID_VAL); in ReadFromParcel()
45 caches_ = memory; in ReadFromParcel()
80 std::shared_ptr<AVSharedMemory> memory = nullptr; in OnRemoteRequest() local
82 int32_t ret = BufferCache_->ReadFromParcel(data, memory); in OnRemoteRequest()
88 std::static_pointer_cast<AVDataSrcMemory>(memory)->SetOffset(offset); in OnRemoteRequest()
90 int32_t realLen = ReadAt(memory, length, pos); in OnRemoteRequest()
/foundation/ai/neural_network_runtime/test/system_test/common/
H A Dnnrt_test.cpp167 OH_NN_Memory* memory = OH_NNExecutor_AllocateInputMemory(m_executor, index, length); in SetInputFromMemory() local
168 if (memory == nullptr) { in SetInputFromMemory()
169 LOGE("NNRtTest::SetInputFromMemory failed, error happened when creating input memory."); in SetInputFromMemory()
176 OH_NN_ReturnCode status = OH_NNExecutor_SetInputWithMemory(m_executor, index, &tensor, memory); in SetInputFromMemory()
179 OH_NNExecutor_DestroyInputMemory(m_executor, index, &memory); in SetInputFromMemory()
182 errno_t error_code = memcpy_s(const_cast<void*>(memory->data), memory->length, buffer, length); in SetInputFromMemory()
186 OH_NNExecutor_DestroyInputMemory(m_executor, index, &memory); in SetInputFromMemory()
190 *pMemory = memory; in SetInputFromMemory()
201 OH_NN_Memory* memory in SetOutputFromMemory() local
[all...]
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/test/unittest/
H A Dav_sync_utils_test.cpp61 AVTransSharedMemory memory = { in HWTEST_F() local
66 CloseAVTransSharedMemory(memory); in HWTEST_F()
67 EXPECT_EQ(0, memory.size); in HWTEST_F()
72 AVTransSharedMemory memory = { in HWTEST_F() local
77 CloseAVTransSharedMemory(memory); in HWTEST_F()
78 EXPECT_EQ(0, memory.size); in HWTEST_F()
91 AVTransSharedMemory memory = { in HWTEST_F() local
96 auto ret = MarshalSharedMemory(memory); in HWTEST_F()
/foundation/multimedia/player_framework/services/utils/
H A Davdatasrcmemory.cpp35 std::shared_ptr<AVDataSrcMemory> memory = std::make_shared<AVDataSrcMemory>(size, flags, name); in CreateFromLocal() local
36 int32_t ret = memory->Init(); in CreateFromLocal()
39 return memory; in CreateFromLocal()
45 std::shared_ptr<AVDataSrcMemory> memory = std::make_shared<AVSharedMemoryBaseImpl>(fd, size, flags, name); in CreateFromRemote() local
46 int32_t ret = memory->Init(); in CreateFromRemote()
52 return memory; in CreateFromRemote()
/foundation/multimedia/media_foundation/engine/plugin/common/
H A Dplugin_buffer.cpp203 std::shared_ptr<Memory> memory = std::shared_ptr<Memory>(new Memory(capacity, allocator, align)); in CreateDefaultBuffer() local
204 buffer->data.push_back(memory); in CreateDefaultBuffer()
210 auto memory = std::shared_ptr<Memory>(new Memory(capacity, std::shared_ptr<uint8_t>(data, [](void* ptr) {}))); in WrapMemory() local
211 memory->size = size; in WrapMemory()
212 this->data.push_back(memory); in WrapMemory()
213 return memory; in WrapMemory()
218 auto memory = std::shared_ptr<Memory>(new Memory(capacity, data)); in WrapMemoryPtr() local
219 memory->size = size; in WrapMemoryPtr()
220 this->data.push_back(memory); in WrapMemoryPtr()
221 return memory; in WrapMemoryPtr()
232 auto memory = std::shared_ptr<SurfaceMemory>(new SurfaceMemory(surfaceBuffer, bufferSize)); WrapSurfaceMemory() local
241 std::shared_ptr<Memory> memory = nullptr; AllocMemory() local
[all...]
/foundation/multimedia/av_codec/test/moduletest/demuxer/src/
H A Dapi_test.cpp48 static OH_AVMemory *memory = nullptr; member
60 memory = OH_AVMemory_Create(g_width * g_height); in SetUp()
76 if (memory != nullptr) { in TearDown()
77 OH_AVMemory_Destroy(memory); in TearDown()
78 memory = nullptr; in TearDown()
282 ASSERT_EQ(AV_ERR_INVALID_VAL, OH_AVDemuxer_ReadSample(nullptr, trackIndex, memory, &bufferAttr)); in HWTEST_F()
298 ASSERT_EQ(AV_ERR_OPERATE_NOT_PERMIT, OH_AVDemuxer_ReadSample(demuxer, trackIndex, memory, &bufferAttr)); in HWTEST_F()
450 ASSERT_EQ(AV_ERR_INVALID_VAL, OH_AVDemuxer_ReadSample(demuxer, trackIndex, memory, nullptr)); in HWTEST_F()
470 memory = OH_AVMemory_Create(-1); in HWTEST_F()
471 ASSERT_EQ(nullptr, memory); in HWTEST_F()
[all...]
/foundation/multimedia/av_codec/services/engine/codec/audio/decoder/
H A Daudio_g711mu_decoder_plugin.cpp80 auto memory = inputBuffer->GetBuffer(); in ProcessSendData() local
81 if (attr.size > memory->GetSize()) { in ProcessSendData()
83 attr.size, memory->GetSize()); in ProcessSendData()
89 uint8_t *muValueToDecode = reinterpret_cast<uint8_t *>(memory->GetBase()); in ProcessSendData()
103 auto memory = outBuffer->GetBuffer(); in ProcessRecieveData() local
104 if (memory->GetSize() < OUTPUT_BUFFER_SIZE_DEFAULT) { in ProcessRecieveData()
105 AVCODEC_LOGE("AudioG711muDecoder outBuffer size not enough, buffer size: %{public}d", memory->GetSize()); in ProcessRecieveData()
108 memory->Write(reinterpret_cast<const uint8_t *>(decodeResult_.data()), in ProcessRecieveData()
/foundation/distributedhardware/distributed_hardware_fwk/av_transport/av_trans_control_center/test/unittest/inner_kits/
H A Dav_trans_control_center_callback_stub_test.cpp47 const AVTransSharedMemory &memory) in SetSharedMemory()
49 (void) memory; in SetSharedMemory()
78 * @tc.desc: set shared memory function.
87 AVTransSharedMemory memory; in HWTEST_F() local
88 memory.name = "AVTransSharedMemory"; in HWTEST_F()
89 int32_t ret = callbackProxy.SetSharedMemory(memory); in HWTEST_F()
46 SetSharedMemory( const AVTransSharedMemory &memory) SetSharedMemory() argument
/foundation/multimedia/av_codec/services/media_engine/plugins/ffmpeg_adapter/audio_encoder/g711mu/
H A Daudio_g711mu_encoder_plugin.cpp164 auto memory = inputBuffer->memory_; in QueueInputBuffer() local
165 CHECK_AND_RETURN_RET_LOG(memory->GetSize() >= 0, Status::ERROR_UNKNOWN, in QueueInputBuffer()
166 "SendEncoder buffer size is less than 0. size : %{public}d", memory->GetSize()); in QueueInputBuffer()
167 if (memory->GetSize() > memory->GetCapacity()) { in QueueInputBuffer()
169 memory->GetSize(), memory->GetCapacity()); in QueueInputBuffer()
174 int32_t sampleNum = memory->GetSize() / sizeof(int16_t); in QueueInputBuffer()
175 int16_t* pcmToEncode = reinterpret_cast<int16_t*>(memory->GetAddr()); in QueueInputBuffer()
180 if (memory in QueueInputBuffer()
197 auto memory = outputBuffer->memory_; QueueOutputBuffer() local
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/executor/
H A Dexecutor_test.cpp269 OH_NN_Memory memory = {data, 9 * sizeof(float)}; in HWTEST_F() local
271 EXPECT_EQ(OH_NN_SUCCESS, executorTest.SetInputFromMemory(m_index, tensor, memory)); in HWTEST_F()
346 OH_NN_Memory memory = {data, 9 * sizeof(float)}; in HWTEST_F() local
348 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); in HWTEST_F()
368 OH_NN_Memory memory = {data, 9 * sizeof(float)}; in HWTEST_F() local
370 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); in HWTEST_F()
396 OH_NN_Memory memory = {data, 1 * sizeof(float)}; in HWTEST_F() local
398 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); in HWTEST_F()
417 OH_NN_Memory memory = {data, 9 * sizeof(float)}; in HWTEST_F() local
419 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); in HWTEST_F()
438 OH_NN_Memory memory = {data, 1 * sizeof(float)}; HWTEST_F() local
536 OH_NN_Memory memory = {data, 9 * sizeof(float)}; HWTEST_F() local
607 OH_NN_Memory memory = {data, 9 * sizeof(float)}; HWTEST_F() local
628 OH_NN_Memory memory = {data, 9 * sizeof(float)}; HWTEST_F() local
646 OH_NN_Memory memory = {data, 0}; HWTEST_F() local
667 OH_NN_Memory memory = {data, 9 * sizeof(float)}; HWTEST_F() local
691 OH_NN_Memory memory = {data, 9 * sizeof(float)}; HWTEST_F() local
800 OH_NN_Memory** memory = nullptr; HWTEST_F() local
826 OH_NN_Memory** memory = nullptr; HWTEST_F() local
853 OH_NN_Memory** memory = nullptr; HWTEST_F() local
882 OH_NN_Memory** memory = &ptr; HWTEST_F() local
903 OH_NN_Memory** memory = nullptr; HWTEST_F() local
929 OH_NN_Memory** memory = nullptr; HWTEST_F() local
954 OH_NN_Memory** memory = nullptr; HWTEST_F() local
987 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1013 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1039 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1064 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1091 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1116 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1141 OH_NN_Memory** memory = nullptr; HWTEST_F() local
[all...]
/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/executor/
H A Dexecutor_test.cpp269 OH_NN_Memory memory = {data, 9 * sizeof(float)}; in HWTEST_F() local
271 EXPECT_EQ(OH_NN_SUCCESS, executorTest.SetInputFromMemory(m_index, tensor, memory)); in HWTEST_F()
346 OH_NN_Memory memory = {data, 9 * sizeof(float)}; in HWTEST_F() local
348 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); in HWTEST_F()
368 OH_NN_Memory memory = {data, 9 * sizeof(float)}; in HWTEST_F() local
370 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); in HWTEST_F()
396 OH_NN_Memory memory = {data, 1 * sizeof(float)}; in HWTEST_F() local
398 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); in HWTEST_F()
417 OH_NN_Memory memory = {data, 9 * sizeof(float)}; in HWTEST_F() local
419 OH_NN_ReturnCode ret = executorTest.SetInputFromMemory(m_index, tensor, memory); in HWTEST_F()
438 OH_NN_Memory memory = {data, 1 * sizeof(float)}; HWTEST_F() local
536 OH_NN_Memory memory = {data, 9 * sizeof(float)}; HWTEST_F() local
607 OH_NN_Memory memory = {data, 9 * sizeof(float)}; HWTEST_F() local
628 OH_NN_Memory memory = {data, 9 * sizeof(float)}; HWTEST_F() local
646 OH_NN_Memory memory = {data, 0}; HWTEST_F() local
667 OH_NN_Memory memory = {data, 9 * sizeof(float)}; HWTEST_F() local
691 OH_NN_Memory memory = {data, 9 * sizeof(float)}; HWTEST_F() local
800 OH_NN_Memory** memory = nullptr; HWTEST_F() local
826 OH_NN_Memory** memory = nullptr; HWTEST_F() local
853 OH_NN_Memory** memory = nullptr; HWTEST_F() local
882 OH_NN_Memory** memory = &ptr; HWTEST_F() local
903 OH_NN_Memory** memory = nullptr; HWTEST_F() local
929 OH_NN_Memory** memory = nullptr; HWTEST_F() local
954 OH_NN_Memory** memory = nullptr; HWTEST_F() local
987 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1013 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1039 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1064 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1091 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1116 OH_NN_Memory** memory = nullptr; HWTEST_F() local
1141 OH_NN_Memory** memory = nullptr; HWTEST_F() local
[all...]

Completed in 23 milliseconds

12345678910>>...126