Home
last modified time | relevance | path

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

/system/core/debuggerd/libdebuggerd/test/
Ddump_memory_test.cpp176 log_.tfd = tombstone_fd; in SetUp()
186 if (log_.tfd >= 0) { in TearDown()
187 close(log_.tfd); in TearDown()
207 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
208 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
227 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
228 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
246 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
247 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
259 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
[all …]
Dtombstone_test.cpp57 log_.tfd = tombstone_fd; in SetUp()
68 if (log_.tfd >= 0) { in TearDown()
69 close(log_.tfd); in TearDown()
89 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
90 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
129 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
130 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
158 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
159 ASSERT_TRUE(android::base::ReadFdToString(log_.tfd, &tombstone_contents)); in TEST_F()
193 ASSERT_TRUE(lseek(log_.tfd, 0, SEEK_SET) == 0); in TEST_F()
[all …]
/system/core/debuggerd/libdebuggerd/
Dbacktrace.cpp65 log.tfd = output_fd; in dump_backtrace_thread()
83 log.tfd = output_fd.get(); in dump_backtrace()
106 log.tfd = output_fd; in dump_backtrace_header()
116 log.tfd = output_fd; in dump_backtrace_footer()
Dutility.cpp70 bool write_to_tombstone = (log->tfd != -1); in _LOG()
86 TEMP_FAILURE_RETRY(write(log->tfd, msg.c_str(), msg.size())); in _LOG()
Dtombstone.cpp626 log.tfd = tombstone_fd; in engrave_tombstone_ucontext()
668 log.tfd = output_fd.get(); in engrave_tombstone()
/system/core/debuggerd/libdebuggerd/include/libdebuggerd/
Dutility.h32 int tfd; member
43 : tfd(-1), in log_t()