Home
last modified time | relevance | path

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

123

/system/core/libunwindstack/
DMapInfo.cpp37 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
165 std::unique_ptr<MemoryRange> memory(new MemoryRange(process_memory, start, end - start, 0)); in CreateMemory() local
214 Memory* memory = CreateMemory(process_memory); in GetElf() local
289 std::unique_ptr<Memory> memory(CreateMemory(process_memory)); in GetLoadBias() local
324 std::unique_ptr<Memory> memory(GetFileMemory()); in GetBuildID() local
DElf.cpp201 bool Elf::IsValidElf(Memory* memory) { in IsValidElf()
218 bool Elf::GetInfo(Memory* memory, uint64_t* size) { in GetInfo()
256 ElfInterface* Elf::CreateInterfaceFromMemory(Memory* memory) { in CreateInterfaceFromMemory()
311 int64_t Elf::GetLoadBias(Memory* memory) { in GetLoadBias()
403 std::string Elf::GetBuildID(Memory* memory) { in GetBuildID()
DGlobal.cpp31 Global::Global(std::shared_ptr<Memory>& memory) : memory_(memory) {} in Global()
32 Global::Global(std::shared_ptr<Memory>& memory, std::vector<std::string>& search_libs) in Global()
DMemoryOffline.h50 void Add(MemoryOffline* memory) { memories_.push_back(memory); } in Add()
DDwarfDebugFrame.h31 DwarfDebugFrame(Memory* memory) : DwarfSectionImpl<AddressType>(memory) { in DwarfDebugFrame()
DDexFile.h63 std::vector<uint8_t>&& memory) in DexFileFromMemory()
DDwarfEhFrame.h30 DwarfEhFrame(Memory* memory) : DwarfSectionImpl<AddressType>(memory) {} in DwarfEhFrame()
DDexFile.cpp51 std::unique_ptr<DexFile> DexFile::Create(uint64_t dex_file_offset_in_memory, Memory* memory, in Create()
112 Memory* memory, in Create()
DMemoryCache.h32 MemoryCache(Memory* memory) : impl_(memory) {} in MemoryCache()
/system/core/libunwindstack/tests/
DDexFileTest.cpp109 MemoryFake memory; in TEST() local
117 MemoryFake memory; in TEST() local
125 MemoryFake memory; in TEST() local
133 MemoryFake memory; in TEST() local
153 MemoryFake memory; in TEST() local
166 MemoryFake memory; in TEST() local
179 MemoryFake memory; in TEST() local
185 MemoryFake memory; in TEST() local
192 MemoryFake memory; in TEST() local
205 MemoryFake memory; in TEST() local
[all …]
DMemoryTest.cpp32 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
DMapInfoCreateMemoryTest.cpp94 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
386 std::unique_ptr<Memory> memory(map_info->CreateMemory(process_memory_)); in TEST_F() local
DMemoryFake.cpp37 void MemoryFake::SetMemory(uint64_t addr, const void* memory, size_t length) { in SetMemory()
49 size_t MemoryFake::Read(uint64_t addr, void* memory, size_t size) { in Read()
DElfFake.h51 ElfFake(Memory* memory) : Elf(memory) { valid_ = true; } in ElfFake()
68 ElfInterfaceFake(Memory* memory) : ElfInterface(memory) {} in ElfInterfaceFake()
124 ElfInterface32Fake(Memory* memory) : ElfInterface32(memory) {} in ElfInterface32Fake()
135 ElfInterface64Fake(Memory* memory) : ElfInterface64(memory) {} in ElfInterface64Fake()
146 ElfInterfaceArmFake(Memory* memory) : ElfInterfaceArm(memory) {} in ElfInterfaceArmFake()
/system/extras/memory_replay/
DAlloc.cpp102 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
/system/core/libunwindstack/tests/fuzz/
DUnwinderComponentCreator.cpp142 void WriteDescriptor32(MemoryFake* memory, uint64_t addr, uint32_t entry) { in WriteDescriptor32()
154 void WriteDescriptor64(MemoryFake* memory, uint64_t addr, uint64_t entry) { in WriteDescriptor64()
166 void WriteEntry32Pack(MemoryFake* memory, uint64_t addr, uint32_t prev, uint32_t next, in WriteEntry32Pack()
179 void WriteEntry32Pad(MemoryFake* memory, uint64_t addr, uint32_t prev, uint32_t next, in WriteEntry32Pad()
194 void WriteEntry64(MemoryFake* memory, uint64_t addr, uint64_t prev, uint64_t next, in WriteEntry64()
208 void PutElfInMemory(MemoryFake* memory, uint64_t offset, uint8_t class_type, uint8_t machine_type, in PutElfInMemory()
282 void PutElfFilesInMemory(MemoryFake* memory, FuzzedDataProvider* data_provider) { in PutElfFilesInMemory()
347 std::shared_ptr<Memory> memory, uint max_library_length, in GetDexFiles()
/system/libhidl/transport/memory/1.0/default/
DAshmemMemory.cpp23 namespace memory { namespace
27 AshmemMemory::AshmemMemory(const hidl_memory& memory, void* data) in AshmemMemory()
DHidlFetch.cpp27 namespace memory { namespace
DAshmemMapper.cpp28 namespace memory { namespace
/system/libhidl/transport/allocator/1.0/vts/functional/
DVtsHidlAllocatorV1_0TargetTest.cpp53 sp<IMemory> memory; in expectAllocateSuccess() local
80 for (const sp<IMemory>& memory : memories) { in expectBatchAllocateSuccess() local
108 sp<IMemory> memory = expectAllocateSuccess(kSize); in TEST_F() local
/system/libhidl/transport/allocator/1.0/default/
DAshmemAllocator.cpp44 static void cleanup(hidl_memory&& memory) { in cleanup()
54 hidl_memory memory = allocateOne(size); in allocate() local
/system/core/libunwindstack/include/unwindstack/
DElfInterface.h52 ElfInterface(Memory* memory) : memory_(memory) {} in ElfInterface()
73 Memory* memory() { return memory_; } in memory() function
188 ElfInterface32(Memory* memory) : ElfInterface(memory) {} in ElfInterface32()
209 static void GetMaxSize(Memory* memory, uint64_t* size) { in GetMaxSize()
216 ElfInterface64(Memory* memory) : ElfInterface(memory) {} in ElfInterface64()
237 static void GetMaxSize(Memory* memory, uint64_t* size) { in GetMaxSize()
DElf.h53 Elf(Memory* memory) : memory_(memory) {} in Elf()
94 Memory* memory() { return memory_.get(); } in memory() function
/system/libhidl/libhidlmemory/
DHidlMemoryToken.cpp21 HidlMemoryToken::HidlMemoryToken(sp<HidlMemory> memory) : mMemory(memory) {} in HidlMemoryToken()
Dmapping.cpp53 sp<IMemory> mapMemory(const hidl_memory& memory) { in mapMemory()

123