Searched refs:ReadOnlyMode (Results 1 – 4 of 4) sorted by relevance
92 EXPECT_FALSE(file.ReadOnlyMode()); in TEST_F()99 EXPECT_TRUE(file2.ReadOnlyMode()); in TEST_F()111 EXPECT_TRUE(file.ReadOnlyMode()); in TEST_F()128 EXPECT_FALSE(file.ReadOnlyMode()); in TEST_F()157 EXPECT_FALSE(file.ReadOnlyMode()); in TEST_F()560 ASSERT_TRUE(file.ReadOnlyMode()); in TEST_F()563 ASSERT_FALSE(file2.ReadOnlyMode()); in TEST_F()566 ASSERT_TRUE(file2.ReadOnlyMode()); in TEST_F()
94 bool ReadOnlyMode() const;
412 bool FdFile::ReadOnlyMode() const { in ReadOnlyMode() function in unix_file::FdFile
1408 if (!file->ReadOnlyMode()) { in EraseOutputFiles()2269 if ((file->get() != nullptr) && !file->get()->ReadOnlyMode()) { in FlushOutputFile()2279 if ((file != nullptr) && !file->ReadOnlyMode()) { in FlushCloseOutputFile()