Lines Matching refs:pos
1802 var pos;
1808 pos = max-1;
1809 while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }
1813 if (pos < 0) { return max; }
1817 if (pos === 0) { return max; }
1819 return (pos + _utf8len[buf[pos]] > max) ? pos : max;
3583 var i, l, len, pos, chunk, result;
3593 pos = 0;
3596 result.set(chunk, pos);
3597 pos += chunk.length;
3801 var pos;
3807 pos = max-1;
3808 while (pos >= 0 && (buf[pos] & 0xC0) === 0x80) { pos--; }
3812 if (pos < 0) { return max; }
3816 if (pos === 0) { return max; }
3818 return (pos + _utf8len[buf[pos]] > max) ? pos : max;
3828 function adler32(adler, buf, len, pos) { argument
3841 s1 = (s1 + buf[pos++]) |0;
3929 function crc32(crc, buf, len, pos) { argument
3931 , end = pos + len;
3935 for (var i = pos; i < end; i++ ) {