Lines Matching refs:copy

654             var copy = file._data;
657 file._data = new Uint8Array(copy.length);
659 if (copy.length !== 0) {
660 file._data.set(copy, 0);
6399 function updatewindow(strm, src, end, copy) { argument
6413 if (copy >= state.wsize) {
6420 if (dist > copy) {
6421 dist = copy;
6424 utils.arraySet(state.window,src, end - copy, dist, state.wnext);
6425 copy -= dist;
6426 if (copy) {
6428 utils.arraySet(state.window,src, end - copy, copy, 0);
6429 state.wnext = copy;
6450 var copy; /* number of stored or match bytes to copy */
6682 copy = state.length;
6683 if (copy > have) { copy = have; }
6684 if (copy) {
6697 copy,
6706 state.check = crc32(state.check, input, copy, next);
6708 have -= copy;
6709 next += copy;
6710 state.length -= copy;
6720 copy = 0;
6723 len = input[next + copy++];
6729 } while (len && copy < have);
6732 state.check = crc32(state.check, input, copy, next);
6734 have -= copy;
6735 next += copy;
6747 copy = 0;
6749 len = input[next + copy++];
6755 } while (len && copy < have);
6757 state.check = crc32(state.check, input, copy, next);
6759 have -= copy;
6760 next += copy;
6917 copy = state.length;
6918 if (copy) {
6919 if (copy > have) { copy = have; }
6920 if (copy > left) { copy = left; }
6921 if (copy === 0) { break inf_leave; }
6923 utils.arraySet(output, input, next, copy, put);
6925 have -= copy;
6926 next += copy;
6927 left -= copy;
6928 put += copy;
6929 state.length -= copy;
7053 copy = 3 + (hold & 0x03);//BITS(2);
7074 copy = 3 + (hold & 0x07);//BITS(3);
7095 copy = 11 + (hold & 0x7f);//BITS(7);
7101 if (state.have + copy > state.nlen + state.ndist) {
7106 while (copy--) {
7363 copy = _out - left;
7364 if (state.offset > copy) { /* copy from window */
7365 copy = state.offset - copy;
7366 if (copy > state.whave) {
7388 if (copy > state.wnext) {
7389 copy -= state.wnext;
7390 from = state.wsize - copy;
7393 from = state.wnext - copy;
7395 if (copy > state.length) { copy = state.length; }
7401 copy = state.length;
7403 if (copy > left) { copy = left; }
7404 left -= copy;
7405 state.length -= copy;
7408 } while (--copy);