Searched refs:method_offset (Results 1 – 4 of 4) sorted by relevance
/system/unwinding/libunwindstack/tests/ |
D | DexFilesTest.cpp | 180 uint64_t method_offset = 0x124; in TEST_F() local 182 dex_files_->GetFunctionName(maps_.get(), 0, &method_name, &method_offset); in TEST_F() 184 EXPECT_EQ(0x124U, method_offset); in TEST_F() 189 uint64_t method_offset = 0x124; in TEST_F() local 195 dex_files_->GetFunctionName(maps_.get(), 0x300100, &method_name, &method_offset); in TEST_F() 197 EXPECT_EQ(0U, method_offset); in TEST_F() 204 uint64_t method_offset = 0x124; in TEST_F() local 210 dex_files_->GetFunctionName(maps_.get(), 0x301102, &method_name, &method_offset); in TEST_F() 212 EXPECT_EQ(2U, method_offset); in TEST_F() 217 uint64_t method_offset = 0x124; in TEST_F() local [all …]
|
D | DexFileTest.cpp | 186 uint64_t method_offset; in TEST() local 187 ASSERT_TRUE(dex_file->GetFunctionName(0x4102, &method, &method_offset)); in TEST() 189 EXPECT_EQ(2U, method_offset); in TEST() 191 ASSERT_TRUE(dex_file->GetFunctionName(0x4118, &method, &method_offset)); in TEST() 193 EXPECT_EQ(0U, method_offset); in TEST() 204 uint64_t method_offset; in TEST() local 205 EXPECT_FALSE(dex_file->GetFunctionName(0x100000, &method, &method_offset)); in TEST() 207 EXPECT_FALSE(dex_file->GetFunctionName(0x98, &method, &method_offset)); in TEST() 224 uint64_t method_offset; in TEST() local 225 ASSERT_TRUE(dex_file->GetFunctionName(0x4118, &method, &method_offset)); in TEST() [all …]
|
/system/unwinding/libunwindstack/ |
D | DexFile.cpp | 125 bool DexFile::GetFunctionName(uint64_t dex_pc, SharedString* method_name, uint64_t* method_offset) { in GetFunctionName() argument 145 *method_offset = dex_offset - it->second.offset; in GetFunctionName()
|
D | DexFile.h | 48 bool GetFunctionName(uint64_t dex_pc, SharedString* method_name, uint64_t* method_offset);
|