Searched refs:GetGlobalVariable (Results 1 – 7 of 7) sorted by relevance
/system/core/libunwindstack/tests/ |
D | ElfTest.cpp | 320 MOCK_METHOD2(GetGlobalVariable, bool(const std::string&, uint64_t*)); 351 ASSERT_FALSE(elf.GetGlobalVariable(global, &offset)); in TEST_F() 363 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset)).WillOnce(::testing::Return(false)); in TEST_F() 365 ASSERT_FALSE(elf.GetGlobalVariable(global, &offset)); in TEST_F() 378 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset)) in TEST_F() 381 ASSERT_FALSE(elf.GetGlobalVariable(global, &offset)); in TEST_F() 394 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset)) in TEST_F() 397 ASSERT_TRUE(elf.GetGlobalVariable(global, &offset)); in TEST_F() 413 EXPECT_CALL(*interface, GetGlobalVariable(global, &offset)).WillOnce(::testing::Return(false)); in TEST_F() 415 EXPECT_CALL(*gnu_interface, GetGlobalVariable(global, &offset)) in TEST_F() [all …]
|
D | ElfFake.cpp | 46 bool ElfInterfaceFake::GetGlobalVariable(const std::string& global, uint64_t* offset) { in GetGlobalVariable() function in unwindstack::ElfInterfaceFake
|
D | ElfFake.h | 74 bool GetGlobalVariable(const std::string&, uint64_t*) override;
|
/system/core/libunwindstack/include/unwindstack/ |
D | ElfInterface.h | 63 virtual bool GetGlobalVariable(const std::string& name, uint64_t* memory_address) = 0; 192 bool GetGlobalVariable(const std::string& name, uint64_t* memory_address) override { in GetGlobalVariable() function 222 bool GetGlobalVariable(const std::string& name, uint64_t* memory_address) override { in GetGlobalVariable() function
|
D | Elf.h | 66 bool GetGlobalVariable(const std::string& name, uint64_t* memory_address);
|
/system/core/libunwindstack/ |
D | Elf.cpp | 115 bool Elf::GetGlobalVariable(const std::string& name, uint64_t* memory_address) { in GetGlobalVariable() function in unwindstack::Elf 120 if (!interface_->GetGlobalVariable(name, memory_address) && in GetGlobalVariable() 122 !gnu_debugdata_interface_->GetGlobalVariable(name, memory_address))) { in GetGlobalVariable()
|
D | Global.cpp | 60 if (elf->GetGlobalVariable(variable, &ptr) && ptr != 0) { in GetVariableOffset()
|