Searched refs:ReadOnlyMode (Results 1 – 4 of 4) sorted by relevance
74 EXPECT_FALSE(file.ReadOnlyMode()); in TEST_F()81 EXPECT_TRUE(file2.ReadOnlyMode()); in TEST_F()93 EXPECT_TRUE(file.ReadOnlyMode()); in TEST_F()110 EXPECT_FALSE(file.ReadOnlyMode()); in TEST_F()139 EXPECT_FALSE(file.ReadOnlyMode()); in TEST_F()212 ASSERT_TRUE(file.ReadOnlyMode()); in TEST_F()215 ASSERT_FALSE(file2.ReadOnlyMode()); in TEST_F()218 ASSERT_TRUE(file2.ReadOnlyMode()); in TEST_F()
96 bool ReadOnlyMode() const;
403 bool FdFile::ReadOnlyMode() const { in ReadOnlyMode() function in unix_file::FdFile
1428 if (!file->ReadOnlyMode()) { in EraseOutputFiles()2287 if ((file->get() != nullptr) && !file->get()->ReadOnlyMode()) { in FlushOutputFile()2297 if ((file != nullptr) && !file->ReadOnlyMode()) { in FlushCloseOutputFile()