Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DDwarfMemoryTest.cpp34 dwarf_mem_.reset(new DwarfMemory(&memory_)); in SetUp()
61 std::unique_ptr<DwarfMemory> dwarf_mem_; member in unwindstack::DwarfMemoryTest
68 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); in TEST_F()
70 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); in TEST_F()
72 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); in TEST_F()
74 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); in TEST_F()
76 ASSERT_EQ(4U, dwarf_mem_->cur_offset()); in TEST_F()
78 dwarf_mem_->set_cur_offset(2); in TEST_F()
79 ASSERT_TRUE(dwarf_mem_->ReadBytes(&byte, 1)); in TEST_F()
81 ASSERT_EQ(3U, dwarf_mem_->cur_offset()); in TEST_F()
[all …]