Searched refs:lastNeed (Results 1 – 13 of 13) sorted by relevance
102 this.lastNeed = 0;111 if (this.lastNeed) {114 i = this.lastNeed;115 this.lastNeed = 0;130 if (this.lastNeed <= buf.length) {131 buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);134 buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);135 this.lastNeed -= buf.length;153 if (nb > 0) self.lastNeed = nb - 1;159 if (nb > 0) self.lastNeed = nb - 2;[all …]
148 lastNeed: { property
127 (this[DECODER] && this[DECODER].lastNeed || this[BUFFERLENGTH]))218 !(encoding === this[ENCODING] && !this[DECODER].lastNeed)) {
152 ((this[DECODER] && this[DECODER].lastNeed) || this[BUFFERLENGTH])258 !(encoding === this[ENCODING] && !this[DECODER].lastNeed)
95 assert.strictEqual(decoder.lastNeed, 2);
30515 …if (this[ENCODING] && enc !== this[ENCODING] && (this[DECODER] && this[DECODER].lastNeed || this[B…30599 !(encoding === this[ENCODING] && !this[DECODER].lastNeed)) {31217 …if (this[ENCODING] && enc !== this[ENCODING] && (this[DECODER] && this[DECODER].lastNeed || this[B…31285 !(encoding === this[ENCODING] && !this[DECODER].lastNeed)) {