Lines Matching refs:tf
90 TemporaryFile tf; in VerifyReadMapFileAsyncSafe() local
91 ASSERT_TRUE(android::base::WriteStringToFd(maps_data, tf.fd)); in VerifyReadMapFileAsyncSafe()
119 android::procinfo::ReadMapFileAsyncSafe(tf.path, buffer.data(), buffer.size(), callback); in VerifyReadMapFileAsyncSafe()
266 TemporaryFile tf; in TEST() local
268 "0a0000-0c0000 rwxp 00000001 00:05 100 /fake/lib.so\n", tf.fd)); in TEST()
279 bool parsed = android::procinfo::ReadMapFileAsyncSafe(tf.path, buffer, sizeof(buffer), callback); in TEST()
292 ASSERT_NE(tf.fd, -1) << "open failed: " << strerror(errno); in SetUp()
293 ASSERT_EQ(ftruncate(tf.fd, kFileSize), 0) << "ftruncate failed: " << strerror(errno); in SetUp()
307 void *addr = mmap(nullptr, size, PROT_READ, MAP_PRIVATE, tf.fd, offset); in CreateFileMapping()
319 TemporaryFile tf; member in ProcessMapMappedFileSize
323 0 /* inode */, tf.path, false);