Searched refs:kReadOnlyMode (Results 1 – 2 of 2) sorted by relevance
/art/runtime/base/unix_file/ |
D | mapped_file_test.cc | 82 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F() 102 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F() 151 EXPECT_FALSE(file.Open(bad_path, MappedFile::kReadOnlyMode)); in TEST_F() 157 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F() 163 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F() 198 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); in TEST_F() 243 EXPECT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 249 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 271 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode)); 279 ASSERT_TRUE(file.Open(good_path_, MappedFile::kReadOnlyMode));
|
D | mapped_file.h | 36 kReadOnlyMode = O_RDONLY | O_LARGEFILE, enumerator 39 kReadOnlyMode = O_RDONLY,
|