Lines Matching refs:tf
84 TemporaryFile tf; in TEST() local
85 path = tf.path; in TEST()
178 TemporaryFile tf; in TEST() local
180 ASSERT_EQ(0, fchmodat(AT_FDCWD, tf.path, 0751, 0)); in TEST()
181 AssertFileModeEquals(0751, tf.path); in TEST()
185 TemporaryFile tf; in TEST() local
187 int result = fchmodat(AT_FDCWD, tf.path, 0751, AT_SYMLINK_NOFOLLOW); in TEST()
192 AssertFileModeEquals(0751, tf.path); in TEST()
202 TemporaryFile tf; in TEST() local
205 snprintf(linkname, sizeof(linkname), "%s.link", tf.path); in TEST()
207 ASSERT_EQ(0, symlink(tf.path, linkname)); in TEST()
209 AssertFileModeEquals(0751, tf.path); in TEST()
214 TemporaryFile tf; in TEST() local
218 snprintf(linkname, sizeof(linkname), "%s.link", tf.path); in TEST()
219 snprintf(target, sizeof(target), "%s.doesnotexist", tf.path); in TEST()
235 TemporaryFile tf; in TEST() local
237 ASSERT_EQ(0, stat(tf.path, &tf_sb)); in TEST()
240 snprintf(linkname, sizeof(linkname), "%s.link", tf.path); in TEST()
242 ASSERT_EQ(0, symlink(tf.path, linkname)); in TEST()
253 AssertFileModeEquals(tf_sb.st_mode, tf.path); in TEST()
258 TemporaryFile tf; in TEST() local
262 snprintf(linkname, sizeof(linkname), "%s.link", tf.path); in TEST()
263 snprintf(target, sizeof(target), "%s.doesnotexist", tf.path); in TEST()