Home
last modified time | relevance | path

Searched refs:GetGlobalVariable (Results 1 – 7 of 7) sorted by relevance

/system/core/libunwindstack/tests/
DElfTest.cpp320 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 …]
DElfFake.cpp46 bool ElfInterfaceFake::GetGlobalVariable(const std::string& global, uint64_t* offset) { in GetGlobalVariable() function in unwindstack::ElfInterfaceFake
DElfFake.h74 bool GetGlobalVariable(const std::string&, uint64_t*) override;
/system/core/libunwindstack/include/unwindstack/
DElfInterface.h63 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
DElf.h66 bool GetGlobalVariable(const std::string& name, uint64_t* memory_address);
/system/core/libunwindstack/
DElf.cpp115 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()
DGlobal.cpp60 if (elf->GetGlobalVariable(variable, &ptr) && ptr != 0) { in GetVariableOffset()