Lines Matching refs:MappedFile
55 MappedFile* f = new MappedFile; in MakeTestFile()
56 CHECK(f->Open(good_path_, MappedFile::kReadWriteMode)); in MakeTestFile()
64 MappedFile* f = ::art::down_cast<MappedFile*>(file); in CleanUp()
74 MappedFile file; in TEST_F()
81 MappedFile file; in TEST_F()
82 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F()
94 MappedFile file(fileno(f), false); in TEST_F()
101 MappedFile file; in TEST_F()
102 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F()
113 MappedFile file; in TEST_F()
114 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadWriteMode)); in TEST_F()
130 MappedFile file; in TEST_F()
131 ASSERT_TRUE(file.Open(new_path, MappedFile::kReadWriteMode)); in TEST_F()
150 MappedFile file; in TEST_F()
151 EXPECT_FALSE(file.Open(bad_path, MappedFile::kReadOnlyMode)); in TEST_F()
156 MappedFile file; in TEST_F()
157 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F()
162 MappedFile file; in TEST_F()
163 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F()
169 MappedFile file; in TEST_F()
170 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadWriteMode)); in TEST_F()
197 MappedFile file; in TEST_F()
198 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F()
204 MappedFile file; in TEST_F()
205 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadWriteMode)); in TEST_F()
213 MappedFile file; in TEST_F()
214 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadWriteMode)); in TEST_F()
242 MappedFile file;
243 EXPECT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode));
248 MappedFile file;
249 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode));
255 MappedFile file;
256 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadWriteMode));
262 MappedFile file;
263 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadWriteMode));
270 MappedFile file;
271 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode));
278 MappedFile file;
279 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode));