Lines Matching defs:stream

45       StreamBase* stream,
57 StreamBase* stream() const { return stream_; }
80 StreamBase* stream,
88 // Call stream()->EmitAfterShutdown() and dispose of this request wrap.
97 StreamBase* stream,
105 // Call stream()->EmitAfterWrite() and dispose of this request wrap.
114 // For example, the default `EmitToJSStreamListener` emits a stream's data
115 // as Buffers in JS, or `TLSWrap` reads and decrypts data from a stream.
120 // This is called when a stream wants to allocate memory before
156 // This is called by the stream if it determines that it wants more data
159 // It is not supported by all streams; `stream->HasWantsWrite()` returns
160 // true if it is supported by a stream.
163 // This is called immediately before the stream is destroyed.
166 // The stream this is currently associated with, or nullptr if there is none.
167 StreamResource* stream() const { return stream_; }
183 // An (incomplete) stream listener class that calls the `.oncomplete()`
219 // A generic stream, comparable to JS land’s `Duplex` streams.
220 // A stream is always controlled through one `StreamListener` instance.
225 // These need to be implemented on the readable side of this stream:
235 // These need to be implemented on the writable side of this stream:
265 // Returns true if the stream supports the `OnStreamWantsWrite()` interface.
274 // Transfer ownership of this stream to `listener`. The previous listener
285 // stream's read byte counter.
338 // Shut down the current stream. This request can use an existing
346 // Write data to the current stream. This request can use an existing
432 SimpleShutdownWrap(StreamBase* stream,
449 SimpleWriteWrap(StreamBase* stream,