Lines Matching defs:write
94 // The point at which write() starts returning false
96 // the entire buffer is not flushed immediately on write().
132 // A flag to see when we're in the middle of a write.
141 // not happen before the first write call.
152 // The callback that the user supplies to write(chunk, encoding, cb).
164 // Number of pending user-supplied write callbacks
187 // Indicates whether the stream has errored. When true all write() calls
239 if (typeof options.write === 'function')
240 this._write = options.write;
324 err = new ERR_STREAM_DESTROYED('write');
336 Writable.prototype.write = function(chunk, encoding, cb) {
397 // any synchronous while(stream.write(data)) loops.
407 state.onwrite(new ERR_STREAM_DESTROYED('write'));
421 // it's related to one specific write, not to the buffered
468 // It is a common case that the callback passed to .write() is always
520 callback(state.errored ?? new ERR_STREAM_DESTROYED('write'));