Searched refs:CachedFileDescriptor (Results 1 – 4 of 4) sorted by relevance
29 off64_t CachedFileDescriptor::Seek(off64_t offset, int whence) { in Seek()51 ssize_t CachedFileDescriptor::Write(const void* buf, size_t count) { in Write()75 bool CachedFileDescriptor::Flush() { in Flush()79 bool CachedFileDescriptor::Close() { in Close()84 bool CachedFileDescriptor::FlushCache() { in FlushCache()
32 class CachedFileDescriptor : public FileDescriptor {34 CachedFileDescriptor(FileDescriptorPtr fd, size_t cache_size) : fd_(fd) { in CachedFileDescriptor() function37 ~CachedFileDescriptor() override = default;71 DISALLOW_COPY_AND_ASSIGN(CachedFileDescriptor);
46 cfd_.reset(new CachedFileDescriptor(fd_, kCacheSize)); in Open()
95 fd = FileDescriptorPtr(new CachedFileDescriptor(fd, kCacheSize)); in OpenFile()