Lines Matching refs:tf
114 TemporaryFile tf; in TEST() local
115 ASSERT_TRUE(tf.fd != -1); in TEST()
116 ASSERT_TRUE(::android::base::WriteStringToFd(rollup, tf.fd)); in TEST()
119 ASSERT_EQ(SmapsOrRollupFromFile(tf.path, &stats), true); in TEST()
154 TemporaryFile tf; in TEST() local
155 ASSERT_TRUE(tf.fd != -1); in TEST()
156 ASSERT_TRUE(::android::base::WriteStringToFd(smaps, tf.fd)); in TEST()
159 ASSERT_EQ(SmapsOrRollupFromFile(tf.path, &stats), true); in TEST()
195 TemporaryFile tf; in TEST() local
196 ASSERT_TRUE(tf.fd != -1); in TEST()
197 ASSERT_TRUE(::android::base::WriteStringToFd(smaps, tf.fd)); in TEST()
200 ASSERT_EQ(SmapsOrRollupPssFromFile(tf.path, &pss), true); in TEST()
452 TemporaryFile tf; in TEST() local
453 ASSERT_TRUE(tf.fd != -1); in TEST()
454 ASSERT_TRUE(::android::base::WriteStringToFd(meminfo, tf.fd)); in TEST()
457 ASSERT_TRUE(mi.ReadMemInfo(tf.path)); in TEST()
475 TemporaryFile tf; in TEST() local
477 ASSERT_TRUE(tf.fd != -1); in TEST()
478 ASSERT_TRUE(::android::base::WriteStringToFd(empty_string, tf.fd)); in TEST()
481 EXPECT_TRUE(mi.ReadMemInfo(tf.path)); in TEST()
561 TemporaryFile tf; in TEST() local
562 ASSERT_TRUE(tf.fd != -1); in TEST()
563 ASSERT_TRUE(::android::base::WriteStringToFd(meminfo, tf.fd)); in TEST()
564 std::string file = std::string(tf.path); in TEST()
597 TemporaryFile tf; in TEST() local
598 ASSERT_TRUE(tf.fd != -1); in TEST()
599 ASSERT_TRUE(::android::base::WriteStringToFd(vmallocinfo, tf.fd)); in TEST()
600 std::string file = std::string(tf.path); in TEST()
609 TemporaryFile tf; in TEST() local
610 ASSERT_TRUE(tf.fd != -1); in TEST()
611 ASSERT_TRUE(::android::base::WriteStringToFd(vmallocinfo, tf.fd)); in TEST()
612 std::string file = std::string(tf.path); in TEST()
621 TemporaryFile tf; in TEST() local
622 ASSERT_TRUE(tf.fd != -1); in TEST()
623 ASSERT_TRUE(::android::base::WriteStringToFd(vmallocinfo, tf.fd)); in TEST()
624 std::string file = std::string(tf.path); in TEST()
638 TemporaryFile tf; in TEST() local
639 ASSERT_TRUE(tf.fd != -1); in TEST()
640 ASSERT_TRUE(::android::base::WriteStringToFd(vmallocinfo, tf.fd)); in TEST()
641 std::string file = std::string(tf.path); in TEST()