Lines Matching refs:FileStream

122 class MockFileDescriptor : public FileStream::FileDescriptorInterface {
153 stream_.reset(new FileStream(std::move(fd), access_mode)); in CreateStream()
181 std::unique_ptr<FileStream> stream_;
376 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F()
515 FileStream::FileDescriptorInterface::DataCallback data_callback; in TEST_F()
698 StreamPtr stream = FileStream::CreateTemporary(nullptr); in TEST_F()
712 StreamPtr stream = FileStream::Open(path, in TEST_F()
714 FileStream::Disposition::OPEN_EXISTING, in TEST_F()
738 StreamPtr stream = FileStream::Open(path, in TEST_F()
740 FileStream::Disposition::CREATE_ALWAYS, in TEST_F()
768 StreamPtr stream = FileStream::Open(path, in TEST_F()
770 FileStream::Disposition::OPEN_EXISTING, in TEST_F()
788 StreamPtr stream = FileStream::Open(path, in TEST_F()
790 FileStream::Disposition::OPEN_EXISTING, in TEST_F()
802 StreamPtr stream = FileStream::Open(path, in TEST_F()
804 FileStream::Disposition::CREATE_ALWAYS, in TEST_F()
824 StreamPtr stream = FileStream::Open(path, in TEST_F()
826 FileStream::Disposition::CREATE_ALWAYS, in TEST_F()
843 StreamPtr stream = FileStream::Open(path, in TEST_F()
845 FileStream::Disposition::CREATE_NEW_ONLY, in TEST_F()
866 StreamPtr stream = FileStream::Open(path, in TEST_F()
868 FileStream::Disposition::CREATE_NEW_ONLY, in TEST_F()
881 StreamPtr stream = FileStream::Open( in TEST_F()
884 FileStream::Disposition::TRUNCATE_EXISTING, in TEST_F()
899 StreamPtr stream = FileStream::Open( in TEST_F()
902 FileStream::Disposition::TRUNCATE_EXISTING, in TEST_F()
916 FileStream::FromFileDescriptor(STDIN_FILENO, false, nullptr); in TEST_F()
926 FileStream::FromFileDescriptor(STDOUT_FILENO, false, nullptr); in TEST_F()
936 FileStream::FromFileDescriptor(STDERR_FILENO, false, nullptr); in TEST_F()
948 StreamPtr stream = FileStream::FromFileDescriptor(fds[0], true, nullptr); in TEST_F()
987 StreamPtr stream = FileStream::FromFileDescriptor(fds[1], true, nullptr); in TEST_F()
1053 StreamPtr stream = FileStream::FromFileDescriptor(fds[0], true, nullptr); in TEST_F()
1098 StreamPtr stream = FileStream::FromFileDescriptor(fds[1], true, nullptr); in TEST_F()