Lines Matching refs:FileStream
29 class FileDescriptor : public FileStream::FileDescriptorInterface {
208 StreamPtr FileStream::Open(const base::FilePath& path, in Open()
256 stream.reset(new FileStream{std::move(fd_interface), mode}); in Open()
260 StreamPtr FileStream::CreateTemporary(ErrorPtr* error) { in CreateTemporary()
287 StreamPtr FileStream::FromFileDescriptor(int file_descriptor, in FromFileDescriptor()
323 stream.reset(new FileStream{std::move(fd_interface), access_mode}); in FromFileDescriptor()
327 FileStream::FileStream(std::unique_ptr<FileDescriptorInterface> fd_interface, in FileStream() function in brillo::FileStream
353 bool FileStream::IsOpen() const { in IsOpen()
357 bool FileStream::CanRead() const { in CanRead()
361 bool FileStream::CanWrite() const { in CanWrite()
365 bool FileStream::CanSeek() const { in CanSeek()
369 bool FileStream::CanGetSize() const { in CanGetSize()
373 uint64_t FileStream::GetSize() const { in GetSize()
377 bool FileStream::SetSizeBlocking(uint64_t size, ErrorPtr* error) { in SetSizeBlocking()
391 uint64_t FileStream::GetRemainingSize() const { in GetRemainingSize()
399 uint64_t FileStream::GetPosition() const { in GetPosition()
408 bool FileStream::Seek(int64_t offset, in Seek()
442 bool FileStream::ReadNonBlocking(void* buffer, in ReadNonBlocking()
470 bool FileStream::WriteNonBlocking(const void* buffer, in WriteNonBlocking()
493 bool FileStream::FlushBlocking(ErrorPtr* error) { in FlushBlocking()
501 bool FileStream::CloseBlocking(ErrorPtr* error) { in CloseBlocking()
513 bool FileStream::WaitForData( in WaitForData()
523 bool FileStream::WaitForDataBlocking(AccessMode in_mode, in WaitForDataBlocking()
541 void FileStream::CancelPendingAsyncOperations() { in CancelPendingAsyncOperations()