Home
last modified time | relevance | path

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

/system/unwinding/libunwindstack/tests/
DMemoryFileTest.cpp31 tf_ = new TemporaryFile; in SetUp()
35 delete tf_; in TearDown()
39 ASSERT_TRUE(android::base::WriteStringToFd("0123456789abcdefghijklmnopqrstuvxyz", tf_->fd)); in WriteTestData()
44 TemporaryFile* tf_ = nullptr; member in unwindstack::MemoryFileTest
50 ASSERT_TRUE(memory_.Init(tf_->path, 0)); in TEST_F()
60 ASSERT_TRUE(memory_.Init(tf_->path, 10)); in TEST_F()
74 ASSERT_TRUE(android::base::WriteStringToFd(large_string, tf_->fd)); in TEST_F()
76 ASSERT_TRUE(memory_.Init(tf_->path, pagesize + 15)); in TEST_F()
90 ASSERT_TRUE(android::base::WriteStringToFd(data, tf_->fd)); in TEST_F()
92 ASSERT_TRUE(memory_.Init(tf_->path, 2 * pagesize)); in TEST_F()
[all …]
DMapInfoGetBuildIDTest.cpp46 tf_.reset(new TemporaryFile); in SetUp()
54 new MapInfo(nullptr, nullptr, 0x1000, 0x20000, 0, PROT_READ | PROT_WRITE, tf_->path)); in SetUp()
66 std::unique_ptr<TemporaryFile> tf_; member in unwindstack::MapInfoGetBuildIDTest
187 InitElfData(tf_->fd); in TEST_F()
194 InitElfData(tf_->fd); in TEST_F()