Searched refs:dex_file (Results 1 – 4 of 4) sorted by relevance
/system/unwinding/libunwindstack/tests/ |
D | DexFileTest.cpp | 145 std::shared_ptr<DexFile> dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, &info); in TEST() local 146 ASSERT_TRUE(dex_file != nullptr); in TEST() 150 dex_file = DexFile::Create(0x4000, sizeof(kDexData), &memory, &info); in TEST() 151 EXPECT_TRUE(dex_file == nullptr); in TEST() 172 std::shared_ptr<DexFile> dex_file(DexFile::Create(0x4000, sizeof(kDexData), &memory, &info)); in TEST() local 173 ASSERT_TRUE(dex_file != nullptr); in TEST() 177 ASSERT_TRUE(dex_file->GetFunctionName(0x4102, &method, &method_offset)); in TEST() 181 ASSERT_TRUE(dex_file->GetFunctionName(0x4118, &method, &method_offset)); in TEST() 190 std::shared_ptr<DexFile> dex_file(DexFile::Create(0x4000, sizeof(kDexData), &memory, &info)); in TEST() local 191 ASSERT_TRUE(dex_file != nullptr); in TEST() [all …]
|
D | DexFilesTest.cpp | 104 void WriteEntry32(uint64_t entry_addr, uint32_t next, uint32_t prev, uint32_t dex_file, 106 void WriteEntry64(uint64_t entry_addr, uint64_t next, uint64_t prev, uint64_t dex_file, 108 void WriteDex(uint64_t dex_file); 148 uint32_t dex_file, uint64_t dex_size) { in WriteEntry32() argument 155 memory_->SetData32(entry_addr + 8, dex_file); in WriteEntry32() 162 uint64_t dex_file, uint64_t dex_size) { in WriteEntry64() argument 169 memory_->SetData64(entry_addr + 16, dex_file); in WriteEntry64() 174 void DexFilesTest::WriteDex(uint64_t dex_file) { in WriteDex() argument 175 memory_->SetMemory(dex_file, kDexData, sizeof(kDexData)); in WriteDex()
|
/system/extras/simpleperf/ |
D | read_dex_file.cpp | 41 std::unique_ptr<art_api::dex::DexFile> dex_file = open_file_cb(dex_offset); in ReadSymbols() local 42 if (dex_file == nullptr) { in ReadSymbols() 53 dex_file->ForEachMethod(callback); in ReadSymbols() 70 std::unique_ptr<art_api::dex::DexFile> dex_file; in ReadSymbolsFromDexFileInMemory() local 72 art_api::dex::DexFile::Create(file_addr, max_file_size, nullptr, "", &dex_file); in ReadSymbolsFromDexFileInMemory() 73 if (dex_file == nullptr) { in ReadSymbolsFromDexFileInMemory() 77 return dex_file; in ReadSymbolsFromDexFileInMemory()
|
/system/unwinding/libunwindstack/ |
D | DexFile.cpp | 107 std::shared_ptr<DexFile> dex_file = CreateFromDisk(base_addr, file_size, info); in Create() local 108 if (dex_file != nullptr) { in Create() 109 return dex_file; in Create()
|