Home
last modified time | relevance | path

Searched defs:memory (Results 1 – 25 of 138) sorted by relevance

123456

/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/
H A Darm_exidx_test.cpp65 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); variable
83 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); variable
106 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); variable
164 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); variable
184 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); variable
204 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); variable
225 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); variable
248 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); variable
271 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); variable
294 std::shared_ptr<DfxMemory> memory = std::make_shared<DfxMemory>(acc); variable
[all …]
H A Dmemory_test.cpp60 auto memory = std::make_shared<DfxMemory>(acc); variable
82 auto memory = std::make_shared<DfxMemory>(acc); variable
115 auto memory = std::make_shared<DfxMemory>(acc); variable
154 auto memory = std::make_shared<DfxMemory>(acc); variable
184 auto memory = std::make_shared<DfxMemory>(acc); variable
211 auto memory = std::make_shared<DfxMemory>(acc); variable
233 auto memory = std::make_shared<DfxMemory>(acc); variable
259 auto memory = std::make_shared<DfxMemory>(acc); variable
302 auto memory = std::make_shared<DfxMemory>(acc); variable
352 auto memory = std::make_shared<DfxMemory>(acc); variable
[all …]
H A Ddwarf_test.cpp535 auto memory = std::make_shared<DfxMemory>(acc); variable
766 auto memory = std::make_shared<DfxMemory>(acc); variable
815 auto memory = std::make_shared<DfxMemoryTest>(); variable
838 auto memory = std::make_shared<DfxMemoryTest>(); variable
863 auto memory = std::make_shared<DfxMemoryTest>(); variable
897 auto memory = std::make_shared<DfxMemoryTest>(); variable
934 auto memory = std::make_shared<DfxMemoryTest>(); variable
968 auto memory = std::make_shared<DfxMemoryTest>(); variable
1004 auto memory = std::make_shared<DfxMemoryTest>(); variable
1169 auto memory = std::make_shared<DfxMemory>(); variable
[all …]
/ohos5.0/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
89 std::shared_ptr<Memory> memory = std::make_shared<Memory>(); in AllocMemoryInner() local
98 for (const auto &memory : memorys_) { in AllocMemory() local
123 std::shared_ptr<Memory> memory = AllocMemoryInner(allocMemInfo, allocBufferType); in AllocMemory() local
131 void EffectMemoryManager::AddMemory(std::shared_ptr<Memory> &memory) in AddMemory()
145 for (auto &memory : memorys_) { in GetAllocMemoryByAddr() local
169 void EffectMemoryManager::RemoveMemory(std::shared_ptr<Memory> &memory) in RemoveMemory()
/ohos5.0/foundation/multimedia/media_foundation/src/common/
H A Davsharedmemorypool.cpp58 auto memory = AllocMemory(option_.memSize); in Init() local
70 AVSharedMemoryBase *memory = new (std::nothrow) AVSharedMemoryBase(size, option_.flags, name_); in AllocMemory() local
81 void AVSharedMemoryPool::ReleaseMemory(AVSharedMemory *memory) in ReleaseMemory()
186 AVSharedMemory *memory = nullptr; in AcquireMemory() local
202 …t = std::shared_ptr<AVSharedMemory>(memory, [weakPool = weak_from_this()](AVSharedMemory *memory) { in AcquireMemory()
231 for (auto &memory : idleList_) { in Reset() local
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/
H A Dmemory_manager.cpp46 Memory memory {fd, addr, length}; in MapMemory() local
65 auto& memory = m_memorys[buffer]; in UnMapMemory() local
77 OH_NN_ReturnCode MemoryManager::GetMemory(const void* buffer, Memory& memory) in GetMemory()
H A Dneural_network_runtime_compat.cpp144 …_NNExecutor_DestroyInputMemory(OH_NNExecutor *executor, uint32_t inputIndex, OH_NN_Memory **memory) in OH_NNExecutor_DestroyInputMemory()
169 …NExecutor_DestroyOutputMemory(OH_NNExecutor *executor, uint32_t outputIndex, OH_NN_Memory **memory) in OH_NNExecutor_DestroyOutputMemory()
195 uint32_t inputIndex, const OH_NN_Tensor *tensor, const OH_NN_Memory *memory) in OH_NNExecutor_SetInputWithMemory()
215 uint32_t outputIndex, const OH_NN_Memory *memory) in OH_NNExecutor_SetOutputWithMemory()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/memory_manager/
H A Dmemory_manager_test.cpp121 void* memory = nullptr; variable
133 void* memory = malloc(10); variable
173 Memory memory; variable
187 Memory memory; variable
217 Memory memory; variable
/ohos5.0/foundation/multimedia/player_framework/services/services/common/
H A Davsharedmemory_ipc.cpp29 int32_t WriteAVSharedMemoryToParcel(const std::shared_ptr<AVSharedMemory> &memory, MessageParcel &p… in WriteAVSharedMemoryToParcel()
58 …std::shared_ptr<AVSharedMemory> memory = AVSharedMemoryBase::CreateFromRemote(fd, size, flags, nam… in ReadAVSharedMemoryFromParcel() local
75 … std::shared_ptr<AVSharedMemory> memory = AVDataSrcMemory::CreateFromRemote(fd, size, flags, name); in ReadAVDataSrcMemoryFromParcel() local
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/test/unittest/
H A Dav_sync_utils_test.cpp61 AVTransSharedMemory memory = { variable
72 AVTransSharedMemory memory = { variable
91 AVTransSharedMemory memory = { variable
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avshared_memory_pool/
H A Davshared_memory_pool_test.cpp47 AVSharedMemory *memory = nullptr; variable
62 AVSharedMemory *memory = nullptr; variable
91 std::shared_ptr<AVSharedMemory> memory = pool->AcquireMemory(size, blocking); variable
/ohos5.0/foundation/multimedia/av_codec/services/services/common/
H A Davsharedmemory_ipc.cpp29 int32_t WriteAVSharedMemoryToParcel(const std::shared_ptr<AVSharedMemory> &memory, MessageParcel &p… in WriteAVSharedMemoryToParcel()
55 …std::shared_ptr<AVSharedMemory> memory = Media::AVSharedMemoryBase::CreateFromRemote(fd, size, fla… in ReadAVSharedMemoryFromParcel() local
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avbuffer/
H A Davsharedmemorybase_func_unit_test.cpp56 std::shared_ptr<AVSharedMemoryBase> memory = variable
69 std::shared_ptr<AVSharedMemoryBase> memory = variable
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/
H A Dav_sync_utils.cpp65 void CloseAVTransSharedMemory(const AVTransSharedMemory &memory) noexcept in CloseAVTransSharedMemory()
78 int32_t WriteClockUnitToMemory(const AVTransSharedMemory &memory, AVSyncClockUnit &clockUnit) in WriteClockUnitToMemory()
119 int32_t ReadClockUnitFromMemory(const AVTransSharedMemory &memory, AVSyncClockUnit &clockUnit) in ReadClockUnitFromMemory()
166 int32_t WriteFrameInfoToMemory(const AVTransSharedMemory &memory, uint32_t frameNum, int64_t timest… in WriteFrameInfoToMemory()
198 int32_t ReadFrameInfoFromMemory(const AVTransSharedMemory &memory, uint32_t &frameNum, int64_t &tim… in ReadFrameInfoFromMemory()
229 int32_t ResetSharedMemory(const AVTransSharedMemory &memory) in ResetSharedMemory()
257 bool IsInValidSharedMemory(const AVTransSharedMemory &memory) in IsInValidSharedMemory()
268 std::string MarshalSharedMemory(const AVTransSharedMemory &memory) in MarshalSharedMemory()
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v1_0/executor/
H A Dexecutor_test.cpp646 OH_NN_Memory memory = {data, 0}; variable
800 OH_NN_Memory** memory = nullptr; variable
826 OH_NN_Memory** memory = nullptr; variable
853 OH_NN_Memory** memory = nullptr; variable
882 OH_NN_Memory** memory = &ptr; variable
903 OH_NN_Memory** memory = nullptr; variable
929 OH_NN_Memory** memory = nullptr; variable
954 OH_NN_Memory** memory = nullptr; variable
987 OH_NN_Memory** memory = nullptr; variable
1013 OH_NN_Memory** memory = nullptr; variable
[all …]
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/v2_0/executor/
H A Dexecutor_test.cpp646 OH_NN_Memory memory = {data, 0}; variable
800 OH_NN_Memory** memory = nullptr; variable
826 OH_NN_Memory** memory = nullptr; variable
853 OH_NN_Memory** memory = nullptr; variable
882 OH_NN_Memory** memory = &ptr; variable
903 OH_NN_Memory** memory = nullptr; variable
929 OH_NN_Memory** memory = nullptr; variable
954 OH_NN_Memory** memory = nullptr; variable
987 OH_NN_Memory** memory = nullptr; variable
1013 OH_NN_Memory** memory = nullptr; variable
[all …]
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/
H A Ddfx_regs_arm64.cpp95 bool DfxRegsArm64::SetPcFromReturnAddress(MAYBE_UNUSED std::shared_ptr<DfxMemory> memory) in SetPcFromReturnAddress()
141 bool DfxRegsArm64::StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) in StepIfSignalFrame()
H A Ddfx_instructions.cpp38 bool DfxInstructions::Flush(DfxRegs& regs, std::shared_ptr<DfxMemory> memory, uintptr_t cfa, RegLoc… in Flush()
78 bool DfxInstructions::Apply(std::shared_ptr<DfxMemory> memory, DfxRegs& regs, RegLocState& rsState,… in Apply()
H A Ddfx_regs_riscv64.cpp95 bool DfxRegsRiscv64::SetPcFromReturnAddress(MAYBE_UNUSED std::shared_ptr<DfxMemory> memory) in SetPcFromReturnAddress()
141 bool DfxRegsRiscv64::StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) in StepIfSignalFrame()
H A Ddfx_regs_x86_64.cpp64 bool DfxRegsX86_64::SetPcFromReturnAddress(std::shared_ptr<DfxMemory> memory) in SetPcFromReturnAddress()
97 bool DfxRegsX86_64::StepIfSignalFrame(uintptr_t pc, std::shared_ptr<DfxMemory> memory) in StepIfSignalFrame()
/ohos5.0/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()
87 AVTransSharedMemory memory; variable
/ohos5.0/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/
H A Ddwarf_cfa_instructions.h31 DwarfCfaInstructions(std::shared_ptr<DfxMemory> memory) : memory_(memory) {}; in DwarfCfaInstructions()
/ohos5.0/base/security/device_security_level/baselib/utils/src/
H A Dutils_mem.c35 void UtilsFree(void *memory) in UtilsFree()
/ohos5.0/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 int3… in WriteYuvDataStride()
96 int32_t WriteRgbDataStride(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int3… in WriteRgbDataStride()
115 int32_t WriteYuvData(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *s… in WriteYuvData()
142 int32_t WriteRgbData(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, const int32_t *s… in WriteRgbData()
153 int32_t WriteSurfaceData(const std::shared_ptr<AVMemory> &memory, struct SurfaceInfo &surfaceInfo, … in WriteSurfaceData()
183 int32_t WriteBufferData(const std::shared_ptr<AVMemory> &memory, uint8_t **scaleData, int32_t *scal… in WriteBufferData()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/2d_graphics/src/drawing/effect/
H A Dblur_draw_looper.cpp63 uint8_t* memory = static_cast<uint8_t*>(blurData->WritableData()); in Serialize() local
78 uint8_t* memory = reinterpret_cast<uint8_t*>(data->WritableData()); in Deserialize() local

123456