Lines Matching refs:raw_fd
63 int raw_fd = open(kNullFilename, O_RDONLY); in TEST() local
64 ASSERT_GE(raw_fd, 0); in TEST()
66 ScopedFile scoped_file(raw_fd); in TEST()
67 ASSERT_EQ(raw_fd, scoped_file.get()); in TEST()
68 ASSERT_EQ(raw_fd, *scoped_file); in TEST()
72 ASSERT_NE(0, close(raw_fd)); // Should fail when closing twice. in TEST()
111 int raw_fd = open(kNullFilename, O_RDONLY); in TEST() local
112 ASSERT_GE(raw_fd, 0); in TEST()
114 ScopedFile scoped_file(raw_fd); in TEST()
115 ASSERT_EQ(raw_fd, scoped_file.release()); in TEST()
118 ASSERT_EQ(0, close(raw_fd)); in TEST()
173 int raw_fd = open(kNullFilename, O_RDONLY); in TEST() local
176 ScopedFile scoped_file(raw_fd); in TEST()
177 ASSERT_EQ(0, close(raw_fd)); in TEST()