Lines Matching refs:slice
1462 actualValue = actualValue.slice(0, -2);
1464 actualValue = actualValue.slice(0, -1);
2920 data = data.slice(r);
2976 this.emit("trailer", data.slice(start + i, end));
3014 shouldWriteMore = this._part.push(data.slice(start, end));
3022 r = this._hparser.push(data.slice(start, end));
3792 path = path.slice(i + 1);
3983 file.push(data.slice(0, extralen));
4574 input = input.slice(5);
4587 const encodedBody = input.slice(mimeTypeLength + 1);
4595 mimeType = mimeType.slice(0, -6);
4597 mimeType = mimeType.slice(0, -1);
4632 return input.slice(start);
4635 return input.slice(start, position.position);
4794 return input.slice(positionStart, position.position);
4830 return str.slice(lead, trail + 1);
4848 return str.slice(lead, trail + 1);
4942 slice(...args) {
4944 return this[kState].blobLike.slice(...args);
5140 ...this[kState].slice(0, idx),
5142 ...this[kState].slice(idx + 1).filter((entry2) => entry2.name !== name)
5282 source = new Uint8Array(object.slice());
5284 source = new Uint8Array(object.buffer.slice(object.byteOffset, object.byteOffset + object.byteLength));
5481 chunks.push(Buffer.from(base64chunk.slice(0, end), "base64"));
5482 base64chunk = base64chunk.slice(end);
8860 this.onUpgrade(data.slice(offset));
8863 socket.unshift(data.slice(offset));
8871 throw new HTTPParserError(message, constants.ERROR[ret], data.slice(offset));