Searched refs:FileState (Results 1 – 5 of 5) sorted by relevance
/external/leveldb/helpers/memenv/ |
D | memenv.cc | 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() [all …]
|
/external/leveldb/db/ |
D | fault_injection_test.cc | 85 struct FileState { struct 91 FileState(const std::string& filename) in FileState() argument 97 FileState() : pos_(-1), pos_at_last_sync_(-1), pos_at_last_flush_(-1) {} in FileState() argument 110 TestWritableFile(const FileState& state, WritableFile* f, 119 FileState state_; 139 void WritableFileClosed(const FileState& state); 161 std::map<std::string, FileState> db_file_state_ GUARDED_BY(mutex_); 166 TestWritableFile::TestWritableFile(const FileState& state, WritableFile* f, in TestWritableFile() 235 FileState state(fname); in NewWritableFile() 253 FileState state(fname); in NewAppendableFile() [all …]
|
/external/giflib/ |
D | gif_lib_private.h | 29 #define IS_READABLE(Private) (Private->FileState & FILE_STATE_READ) 30 #define IS_WRITEABLE(Private) (Private->FileState & FILE_STATE_WRITE) 33 GifWord FileState, FileHandle, /* Where all this data goes to! */ member
|
D | egif_lib.c | 126 Private->FileState = FILE_STATE_WRITE; in EGifOpenFileHandle() 178 Private->FileState = FILE_STATE_WRITE; in EGifOpen() 276 if (Private->FileState & FILE_STATE_SCREEN) { in EGifPutScreenDesc() 348 Private->FileState |= FILE_STATE_SCREEN; in EGifPutScreenDesc() 369 if (Private->FileState & FILE_STATE_IMAGE && in EGifPutImageDesc() 432 Private->FileState |= FILE_STATE_IMAGE; in EGifPutImageDesc()
|
D | dgif_lib.c | 113 Private->FileState = FILE_STATE_READ; in DGifOpenFileHandle() 190 Private->FileState = FILE_STATE_READ; in DGifOpen()
|