Home
last modified time | relevance | path

Searched refs:dex_file (Results 1 – 5 of 5) sorted by relevance

/system/core/libunwindstack/
DDexFiles.cpp48 uint32_t dex_file; member
54 uint64_t dex_file; member
105 if (!memory_->ReadFully(entry_addr_, &entry, sizeof(entry)) || entry.dex_file == 0) { in ReadEntry32()
110 addrs_.push_back(entry.dex_file); in ReadEntry32()
117 if (!memory_->ReadFully(entry_addr_, &entry, sizeof(entry)) || entry.dex_file == 0) { in ReadEntry64()
122 addrs_.push_back(entry.dex_file); in ReadEntry64()
145 DexFile* dex_file; in GetDexFile() local
149 dex_file = new_dex_file.get(); in GetDexFile()
152 dex_file = entry->second.get(); in GetDexFile()
154 return dex_file; in GetDexFile()
[all …]
DDexFile.cpp70 std::unique_ptr<DexFile> dex_file = in Create() local
72 if (dex_file) { in Create()
73 return dex_file; in Create()
/system/extras/simpleperf/
Dread_dex_file.cpp35 std::unique_ptr<art_api::dex::DexFile> dex_file = open_file_cb(offset); in ReadSymbols() local
36 if (dex_file == nullptr) { in ReadSymbols()
40 std::vector<art_api::dex::MethodInfo> file_syms = dex_file->GetAllMethodInfos(false); in ReadSymbols()
69 std::unique_ptr<art_api::dex::DexFile> dex_file = in ReadSymbolsFromDexFileInMemory() local
71 if (dex_file == nullptr) { in ReadSymbolsFromDexFileInMemory()
75 return dex_file; in ReadSymbolsFromDexFileInMemory()
89 std::unique_ptr<art_api::dex::DexFile> dex_file = in ReadSymbolsFromDexFile() local
91 if (dex_file == nullptr) { in ReadSymbolsFromDexFile()
96 return dex_file; in ReadSymbolsFromDexFile()
/system/core/libunwindstack/tests/
DDexFileTest.cpp208 std::unique_ptr<DexFile> dex_file = DexFile::Create(0x4000, &memory, &info); in TEST() local
209 ASSERT_TRUE(dex_file != nullptr); in TEST()
213 dex_file = DexFile::Create(0x4000, &memory, &info); in TEST()
214 EXPECT_TRUE(dex_file == nullptr); in TEST()
258 std::unique_ptr<DexFile> dex_file(DexFile::Create(0x4000, &memory, &info)); in TEST() local
259 ASSERT_TRUE(dex_file != nullptr); in TEST()
263 ASSERT_TRUE(dex_file->GetMethodInformation(0x102, &method, &method_offset)); in TEST()
267 ASSERT_TRUE(dex_file->GetMethodInformation(0x118, &method, &method_offset)); in TEST()
276 std::unique_ptr<DexFile> dex_file(DexFile::Create(0x4000, &memory, &info)); in TEST() local
277 ASSERT_TRUE(dex_file != nullptr); in TEST()
[all …]
DDexFilesTest.cpp104 void WriteEntry32(uint64_t entry_addr, uint32_t next, uint32_t prev, uint32_t dex_file);
105 void WriteEntry64(uint64_t entry_addr, uint64_t next, uint64_t prev, uint64_t dex_file);
106 void WriteDex(uint64_t dex_file);
134 uint32_t dex_file) { in WriteEntry32() argument
141 memory_->SetData32(entry_addr + 8, dex_file); in WriteEntry32()
145 uint64_t dex_file) { in WriteEntry64() argument
152 memory_->SetData64(entry_addr + 16, dex_file); in WriteEntry64()
155 void DexFilesTest::WriteDex(uint64_t dex_file) { in WriteDex() argument
156 memory_->SetMemory(dex_file, kDexData, sizeof(kDexData) * sizeof(uint32_t)); in WriteDex()