/ohos5.0/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | arm_exidx_test.cpp | 65 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 D | memory_test.cpp | 60 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 D | dwarf_test.cpp | 535 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 …]
|
/aosp12/system/unwinding/libunwindstack/tests/ |
H A D | DexFileTest.cpp | 62 MemoryFake memory; in TEST() local 70 MemoryFake memory; in TEST() local 90 MemoryFake memory; in TEST() local 103 MemoryFake memory; in TEST() local 116 MemoryFake memory; in TEST() local 122 MemoryFake memory; in TEST() local 129 MemoryFake memory; in TEST() local 142 MemoryFake memory; in TEST() local 155 MemoryFake memory; in TEST() local 162 MemoryFake memory; in TEST() local [all …]
|
H A D | MemoryTest.cpp | 32 MemoryFakeAlwaysReadZero memory; in TEST() local 40 MemoryFakeAlwaysReadZero memory; in TEST() local 57 MemoryFake memory; in TEST() local 78 MemoryFake memory; in TEST() local 111 MemoryFake memory; in TEST() local
|
H A D | MapInfoCreateMemoryTest.cpp | 94 std::unique_ptr<Memory> memory(info.CreateMemory(process_memory_)); in TEST_F() local 113 std::unique_ptr<Memory> memory(info.CreateMemory(process_memory_)); in TEST_F() local 183 std::unique_ptr<Memory> memory(info.CreateMemory(process_memory_)); in TEST_F() local 208 std::unique_ptr<Memory> memory(info.CreateMemory(process_memory_)); in TEST_F() local 226 std::unique_ptr<Memory> memory(info.CreateMemory(process_memory_)); in TEST_F() local 249 std::unique_ptr<Memory> memory(info.CreateMemory(process_memory_)); in TEST_F() local 268 std::unique_ptr<Memory> memory(info.CreateMemory(process_memory_)); in TEST_F() local 417 std::unique_ptr<Memory> memory(map_info->CreateMemory(process_memory_)); in TEST_F() local
|
H A D | GlobalDebugImplTest.cpp | 35 std::shared_ptr<Memory> memory; in TEST() local 44 std::shared_ptr<Memory> memory; in TEST() local
|
/aosp12/packages/modules/NeuralNetworks/common/ |
H A D | SharedMemoryAndroid.cpp | 116 GeneralResult<Mapping> map(const Memory::Ashmem& memory) { in map() 169 size_t getSize(const Memory::Ashmem& memory) { in getSize() 173 size_t getSize(const Memory::Fd& memory) { in getSize() 177 size_t getSize(const Memory::HardwareBuffer& memory) { in getSize() 183 size_t getSize(const Memory::Unknown& memory) { in getSize() 192 GeneralResult<Mapping> map(const Memory::Fd& memory) { in map() 212 GeneralResult<Mapping> map(const Memory::HardwareBuffer& memory) { in map() 279 size_t getSize(const SharedMemory& memory) { in getSize() 284 bool isAhwbBlob(const Memory::HardwareBuffer& memory) { in isAhwbBlob() 291 bool isAhwbBlob(const SharedMemory& memory) { in isAhwbBlob() [all …]
|
/aosp12/system/unwinding/libunwindstack/ |
H A D | MapInfo.cpp | 37 bool MapInfo::InitFileMemoryFromPreviousReadOnlyMap(MemoryFileAtOffset* memory) { in InitFileMemoryFromPreviousReadOnlyMap() 64 std::unique_ptr<MemoryFileAtOffset> memory(new MemoryFileAtOffset); in GetFileMemory() local 150 Memory* memory = GetFileMemory(); in CreateMemory() local 167 std::unique_ptr<MemoryRange> memory(new MemoryRange(process_memory, start(), end() - start(), 0)); in CreateMemory() local 234 Memory* memory = CreateMemory(process_memory); in GetElf() local 312 std::unique_ptr<Memory> memory(CreateMemory(process_memory)); in GetLoadBias() local 348 std::unique_ptr<Memory> memory(GetFileMemory()); in GetBuildID() local
|
H A D | DexFiles.cpp | 30 bool GlobalDebugInterface<DexFile>::Load(Maps* maps, std::shared_ptr<Memory>& memory, uint64_t addr, in Load() 36 std::unique_ptr<DexFiles> CreateDexFiles(ArchEnum arch, std::shared_ptr<Memory>& memory, in CreateDexFiles()
|
H A D | JitDebug.cpp | 27 bool GlobalDebugInterface<Elf>::Load(Maps*, std::shared_ptr<Memory>& memory, uint64_t addr, in Load() 37 std::unique_ptr<JitDebug> CreateJitDebug(ArchEnum arch, std::shared_ptr<Memory>& memory, in CreateJitDebug()
|
/ohos5.0/foundation/multimedia/image_effect/frameworks/native/effect/manager/memory_manager/ |
H A D | effect_memory_manager.cpp | 51 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 D | avsharedmemorypool.cpp | 58 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
|
/aosp12/system/extras/memory_replay/ |
H A D | Alloc.cpp | 102 void* memory = malloc(entry.size); in MallocExecute() local 114 void* memory = calloc(entry.u.n_elements, entry.size); in CallocExecute() local 131 void* memory = realloc(old_memory, entry.size); in ReallocExecute() local 143 void* memory = memalign(entry.u.align, entry.size); in MemalignExecute() local 157 void* memory = pointers->Remove(entry.ptr); in FreeExecute() local
|
/ohos5.0/foundation/ai/neural_network_runtime/frameworks/native/neural_network_runtime/ |
H A D | memory_manager.cpp | 46 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()
|
/ohos5.0/foundation/ai/neural_network_runtime/test/unittest/components/memory_manager/ |
H A D | memory_manager_test.cpp | 121 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 D | avsharedmemory_ipc.cpp | 29 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 D | av_sync_utils_test.cpp | 61 AVTransSharedMemory memory = { variable 72 AVTransSharedMemory memory = { variable 91 AVTransSharedMemory memory = { variable
|
/aosp12/hardware/interfaces/neuralnetworks/utils/common/test/ |
H A D | ResilientBufferTest.cpp | 118 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local 132 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local 147 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local 164 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local 178 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local 192 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local 207 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local 224 const nn::SharedMemory memory = std::make_shared<const nn::Memory>(); in TEST() local
|
/ohos5.0/foundation/multimedia/media_foundation/tests/unittest/avshared_memory_pool/ |
H A D | avshared_memory_pool_test.cpp | 47 AVSharedMemory *memory = nullptr; variable 62 AVSharedMemory *memory = nullptr; variable 91 std::shared_ptr<AVSharedMemory> memory = pool->AcquireMemory(size, blocking); variable
|
/aosp12/frameworks/base/apct-tests/perftests/core/src/android/graphics/perftests/ |
H A D | TypefaceSerializationPerfTest.java | 55 SharedMemory memory = Typeface.serializeFontMap(Typeface.getSystemFontMap()); in testDeserializeFontMap() local 68 SharedMemory memory = null; in testSetSystemFontMap() local
|
/aosp12/hardware/interfaces/neuralnetworks/utils/common/src/ |
H A D | CommonUtils.cpp | 109 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Ashmem& memory) { in createHidlMemoryFrom() 115 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Fd& memory) { in createHidlMemoryFrom() 125 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::HardwareBuffer& memory) { in createHidlMemoryFrom() 141 nn::GeneralResult<hidl_memory> createHidlMemoryFrom(const nn::Memory::Unknown& memory) { in createHidlMemoryFrom() 195 auto memory = NN_TRY(memoryBuilder.finish()); in flushDataFromPointerToShared() local 258 auto memory = NN_TRY(inputBuilder.finish()); in convertRequestFromPointerToShared() local 282 auto memory = NN_TRY(outputBuilder.finish()); in convertRequestFromPointerToShared() local 298 nn::GeneralResult<hidl_memory> createHidlMemoryFromSharedMemory(const nn::SharedMemory& memory) { in createHidlMemoryFromSharedMemory() 309 nn::GeneralResult<nn::SharedMemory> createSharedMemoryFromHidlMemory(const hidl_memory& memory) { in createSharedMemoryFromHidlMemory()
|
/aosp12/system/libhidl/transport/allocator/1.0/vts/functional/ |
H A D | VtsHidlAllocatorV1_0TargetTest.cpp | 44 sp<IMemory> memory; in expectAllocateSuccess() local 71 for (const sp<IMemory>& memory : memories) { in expectBatchAllocateSuccess() local 99 sp<IMemory> memory = expectAllocateSuccess(kSize); in TEST_P() local
|
/aosp12/system/unwinding/libunwindstack/tests/fuzz/ |
H A D | UnwinderComponentCreator.cpp | 185 void WriteDescriptor32(MemoryFake* memory, uint64_t addr, uint32_t entry) { in WriteDescriptor32() 197 void WriteDescriptor64(MemoryFake* memory, uint64_t addr, uint64_t entry) { in WriteDescriptor64() 209 void WriteEntry32Pack(MemoryFake* memory, uint64_t addr, uint32_t prev, uint32_t next, in WriteEntry32Pack() 222 void WriteEntry32Pad(MemoryFake* memory, uint64_t addr, uint32_t prev, uint32_t next, in WriteEntry32Pad() 237 void WriteEntry64(MemoryFake* memory, uint64_t addr, uint64_t prev, uint64_t next, in WriteEntry64() 251 void PutElfInMemory(MemoryFake* memory, uint64_t offset, uint8_t class_type, uint8_t machine_type, in PutElfInMemory() 325 void PutElfFilesInMemory(MemoryFake* memory, FuzzedDataProvider* data_provider) { in PutElfFilesInMemory() 390 std::shared_ptr<Memory> memory, uint max_library_length, in GetDexFiles()
|
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/av_transport/common/src/ |
H A D | av_sync_utils.cpp | 65 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()
|