Lines Matching refs:buffered
181 state.buffered = [];
188 return this.buffered.slice(this.bufferedIndex);
193 return this.buffered.length - this.bufferedIndex;
346 state.buffered.push({ chunk, encoding, callback });
429 if (state.buffered.length > state.bufferedIndex) {
482 for (let n = state.bufferedIndex; n < state.buffered.length; ++n) {
483 const { chunk, callback } = state.buffered[n];
498 const { buffered, bufferedIndex, objectMode } = state;
499 const bufferedLength = buffered.length - bufferedIndex;
512 for (let n = i; n < buffered.length; ++n) {
513 buffered[n].callback(err);
518 const chunks = state.allNoop && i === 0 ? buffered : buffered.slice(i);
526 const { chunk, encoding, callback } = buffered[i];
527 buffered[i++] = null;
530 } while (i < buffered.length && !state.writing);
532 if (i === buffered.length) {
535 buffered.splice(0, i);
604 state.buffered.length === 0 &&