Lines Matching refs:FileState
23 class FileState { class
27 FileState() : refs_(0), size_(0) {} in FileState() function in leveldb::__anon3158ea580111::FileState
30 FileState(const FileState&) = delete;
31 FileState& operator=(const FileState&) = delete;
142 ~FileState() { Truncate(); } in ~FileState()
154 explicit SequentialFileImpl(FileState* file) : file_(file), pos_(0) { in SequentialFileImpl()
181 FileState* file_;
187 explicit RandomAccessFileImpl(FileState* file) : file_(file) { file_->Ref(); } in RandomAccessFileImpl()
197 FileState* file_;
202 WritableFileImpl(FileState* file) : file_(file) { file_->Ref(); } in WritableFileImpl()
213 FileState* file_;
261 FileState* file; in NewWritableFile()
264 file = new FileState(); in NewWritableFile()
279 FileState** sptr = &file_map_[fname]; in NewAppendableFile()
280 FileState* file = *sptr; in NewAppendableFile()
282 file = new FileState(); in NewAppendableFile()
380 typedef std::map<std::string, FileState*> FileSystem;