Lines Matching refs:sink
86 NS_ASSERTION(rv != NS_BASE_STREAM_WOULD_BLOCK, "sink must be a blocking stream");
181 nsInputStreamTee::SetSink(nsIOutputStream *sink)
184 if (sink) {
186 nsresult rv = sink->IsNonBlocking(&nonBlocking);
188 NS_ERROR("sink should be a blocking stream");
191 mSink = sink;
196 nsInputStreamTee::GetSink(nsIOutputStream **sink)
198 NS_IF_ADDREF(*sink = mSink);
207 nsIOutputStream *sink)
219 rv = tee->SetSink(sink);