Searched refs:IsMapped (Results 1 – 3 of 3) sorted by relevance
35 if (IsMapped()) { in Close()43 CHECK(!IsMapped()); in MapReadOnly()69 CHECK(!IsMapped()); in MapReadWrite()99 CHECK(IsMapped()); in Unmap()113 if (IsMapped()) { in Read()130 CHECK(!IsMapped()); in SetLength()135 if (IsMapped()) { in GetLength()144 int rc = IsMapped() ? TEMP_FAILURE_RETRY(msync(mapped_file_, file_size_, 0)) : FdFile::Flush(); in Flush()149 if (IsMapped()) { in Write()171 bool MappedFile::IsMapped() const { in IsMapped() function in unix_file::MappedFile[all …]
77 EXPECT_FALSE(file.IsMapped()); in TEST_F()103 EXPECT_FALSE(file.IsMapped()); in TEST_F()105 EXPECT_TRUE(file.IsMapped()); in TEST_F()115 EXPECT_FALSE(file.IsMapped()); in TEST_F()117 EXPECT_TRUE(file.IsMapped()); in TEST_F()133 EXPECT_TRUE(file.IsMapped()); in TEST_F()139 EXPECT_FALSE(file.IsMapped()); in TEST_F()
82 bool IsMapped() const;