Lines Matching refs:copy

1286       var copy = {};
1292 copy[name] = value;
1301 return copy;
6287 value: function copy(target, targetOffset, offset, length) {
6288 return this.toBuffer().copy(target, targetOffset, offset, length);
6319 value: function copy(target, targetOffset, offset, length) {
6321 return this._data._buf.copy(target, targetOffset, offset, length);
6348 value: function copy(target, targetOffset, offset, length) {
6349 this._data.copy(target, targetOffset, offset, length);
6389 this.buffer.copy(buf, 0, this.iRead, this.iWrite);
6411 this.buffer.copy(buf, 0, this.iRead, size);
6421 chunk.copy(this.buffer, this.iWrite, offset, offset + size);
6806 this._buf.copy(this._buffer, 0, 0, this.length);
6829 this._buf.copy(buf, 0);
6861 inBuf._buf.copy(this._buf, this._inPos, 0, inBuf.length);
28104 …) out.write(this.value, offset);else if (Buffer.isBuffer(this.value)) this.value.copy(out, offset);
29338 num.copy(_out);
29743 BN.prototype.copy = function copy(dest) {
29757 this.copy(r);
33343 BN.prototype.copy = function copy(dest) {
33368 this.copy(r);
39027 obj.copy(buf, 0, 0, len);
39145 buf.copy(buffer, pos);
40281 Buffer.prototype.copy = function copy(target, targetStart, start, end) {
49029 var copy = new Array(n);
49032 copy[i] = arr[i];
49035 return copy;
49107 tmp.copy(key, keyStart, 0, used);
49114 tmp.copy(iv, ivStart, used, used + length);
66281 function updatewindow(strm, src, end, copy) {
66295 if (copy >= state.wsize) {
66302 if (dist > copy) {
66303 dist = copy;
66307 utils.arraySet(state.window, src, end - copy, dist, state.wnext);
66308 copy -= dist;
66310 if (copy) {
66312 utils.arraySet(state.window, src, end - copy, copy, 0);
66313 state.wnext = copy;
66354 var copy;
66658 copy = state.length;
66660 if (copy > have) {
66661 copy = have;
66664 if (copy) {
66675 copy,
66683 state.check = crc32(state.check, input, copy, next);
66686 have -= copy;
66687 next += copy;
66688 state.length -= copy;
66707 copy = 0;
66711 len = input[next + copy++];
66719 } while (len && copy < have);
66722 state.check = crc32(state.check, input, copy, next);
66725 have -= copy;
66726 next += copy;
66746 copy = 0;
66749 len = input[next + copy++];
66757 } while (len && copy < have);
66760 state.check = crc32(state.check, input, copy, next);
66763 have -= copy;
66764 next += copy;
66978 copy = state.length;
66980 if (copy) {
66981 if (copy > have) {
66982 copy = have;
66985 if (copy > left) {
66986 copy = left;
66989 if (copy === 0) {
66994 utils.arraySet(output, input, next, copy, put); //---//
66996 have -= copy;
66997 next += copy;
66998 left -= copy;
66999 put += copy;
67000 state.length -= copy;
67162 copy = 3 + (hold & 0x03); //BITS(2);
67187 copy = 3 + (hold & 0x07); //BITS(3);
67212 copy = 11 + (hold & 0x7f); //BITS(7);
67219 if (state.have + copy > state.nlen + state.ndist) {
67225 while (copy--) {
67566 copy = _out - left;
67568 if (state.offset > copy) {
67570 copy = state.offset - copy;
67572 if (copy > state.whave) {
67595 if (copy > state.wnext) {
67596 copy -= state.wnext;
67597 from = state.wsize - copy;
67599 from = state.wnext - copy;
67602 if (copy > state.length) {
67603 copy = state.length;
67611 copy = state.length;
67614 if (copy > left) {
67615 copy = left;
67618 left -= copy;
67619 state.length -= copy;
67623 } while (--copy);
70446 ipad.copy(ipad1, 0, 0, blocksize);
70457 data.copy(ipad, this.blocksize);
70459 h.copy(this.opad, this.blocksize);
70485 salt.copy(block1, 0, 0, salt.length);
70503 T.copy(DK, destPos);
71275 bytes.copy(buf, offset);
71282 bytes.copy(buf, offset);
73963 Buffer.prototype.copy.call(src, target, offset);
74106 p.data.copy(ret);
74112 buf.copy(ret, ret.length - n, 0, nb);
80156 p.data.copy(ret);
80162 buf.copy(ret, ret.length - n, 0, nb);
81115 src.copy(target, offset);
81461 buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, this.lastNeed);
81465 buf.copy(this.lastChar, this.lastTotal - this.lastNeed, 0, buf.length);
81547 buf.copy(this.lastChar, p, 0, this.lastNeed);
81551 buf.copy(this.lastChar, p, 0, buf.length);
81563 buf.copy(this.lastChar, 0, end);
81841 …return arg && _typeof(arg) === 'object' && typeof arg.copy === 'function' && typeof arg.fill === '…