Lines Matching refs:end

92 		doc.end();
565 function slowToString (encoding, start, end) {
569 end = end === undefined || end === Infinity ? this.length : end | 0
573 if (end > this.length) end = this.length
574 if (end <= start) return ''
579 return hexSlice(this, start, end)
583 return utf8Slice(this, start, end)
586 return asciiSlice(this, start, end)
589 return binarySlice(this, start, end)
592 return base64Slice(this, start, end)
598 return utf16leSlice(this, start, end)
816 function base64Slice (buf, start, end) {
817 if (start === 0 && end === buf.length) {
820 return base64.fromByteArray(buf.slice(start, end))
824 function utf8Slice (buf, start, end) {
825 end = Math.min(buf.length, end)
829 while (i < end) {
837 if (i + bytesPerSequence <= end) {
920 function asciiSlice (buf, start, end) {
922 end = Math.min(buf.length, end)
924 for (var i = start; i < end; i++) {
930 function binarySlice (buf, start, end) {
932 end = Math.min(buf.length, end)
934 for (var i = start; i < end; i++) {
940 function hexSlice (buf, start, end) {
944 if (!end || end < 0 || end > len) end = len
947 for (var i = start; i < end; i++) {
953 function utf16leSlice (buf, start, end) {
954 var bytes = buf.slice(start, end)
962 Buffer.prototype.slice = function slice (start, end) {
965 end = end === undefined ? len : ~~end
974 if (end < 0) {
975 end += len
976 if (end < 0) end = 0
977 } else if (end > len) {
978 end = len
981 if (end < start) end = start
985 newBuf = Buffer._augment(this.subarray(start, end))
987 var sliceLen = end - start
1427 Buffer.prototype.copy = function copy (target, targetStart, start, end) {
1429 if (!end && end !== 0) end = this.length
1432 if (end > 0 && end < start) end = start
1435 if (end === start) return 0
1443 if (end < 0) throw new RangeError('sourceEnd out of bounds')
1446 if (end > this.length) end = this.length
1447 if (target.length - targetStart < end - start) {
1448 end = target.length - targetStart + start
1451 var len = end - start
1454 if (this === target && start < targetStart && targetStart < end) {
1472 Buffer.prototype.fill = function fill (value, start, end) {
1475 if (!end) end = this.length
1477 if (end < start) throw new RangeError('end < start')
1480 if (end === start) return
1484 if (end < 0 || end > this.length) throw new RangeError('end out of bounds')
1488 for (i = start; i < end; i++) {
1494 for (i = start; i < end; i++) {
2111 printActionRef.end();
3456 end = view.end,
3457 length = end - start,
3460 index = isRight ? end : start - 1,
4854 function baseSlice(array, start, end) {
4862 end = (typeof end == 'undefined' || end > length) ? length : (+end || 0);
4863 if (end < 0) {
4864 end += length;
4866 length = start > end ? 0 : (end - start) >>> 0;
5813 function getView(start, end, transforms) {
5823 case 'dropRight': end -= size; break;
5824 case 'take': end = nativeMin(end, start + size); break;
5825 case 'takeRight': start = nativeMax(start, end - size); break;
5828 return { 'start': start, 'end': end };
7053 function slice(array, start, end) {
7058 if (end && typeof end != 'number' && isIterateeCall(array, start, end)) {
7060 end = length;
7062 return baseSlice(array, start, end);
12198 var end = length - omission.length;
12199 if (end < 1) {
12202 var result = string.slice(0, end);
12207 if (string.slice(end).search(separator)) {
12210 substring = string.slice(0, end);
12219 result = result.slice(0, newEnd == null ? end : newEnd);
12221 } else if (string.indexOf(separator, end) != end) {
12624 function range(start, end, step) {
12625 if (step && isIterateeCall(start, end, step)) {
12626 end = step = null;
12631 if (end == null) {
12632 end = start;
12635 end = +end || 0;
12640 length = nativeMax(ceil((end - start) / (step || 1)), 0),
13070 LazyWrapper.prototype.slice = function(start, end) {
13074 if (typeof end != 'undefined') {
13075 end = (+end || 0);
13076 result = end < 0 ? result.dropRight(-end) : result.take(end - start);
17163 page.end();
17203 this.end();
17211 PDFDocument.prototype.end = function() {
17223 this._info.end();
17229 this._root.end();
17230 this._root.data.Pages.end();
17348 if (!dest._isStdio && (!options || options.end !== false)) {
17358 dest.end();
18185 var chunk = state.decoder.end();
18278 var doEnd = (!pipeOpts || pipeOpts.end !== false) &&
18298 dest.end();
18558 var chunk = state.decoder.end();
19054 process.nextTick(this.end.bind(this));
19481 Writable.prototype.end = function(chunk, encoding, cb) {
19685 var end = buffer.length;
19688 buffer.copy(this.charBuffer, 0, buffer.length - this.charReceived, end);
19689 end -= this.charReceived;
19692 charStr += buffer.toString(this.encoding, 0, end);
19694 var end = charStr.length - 1;
19695 var charCode = charStr.charCodeAt(end);
19703 return charStr.substring(0, end);
19746 StringDecoder.prototype.end = function(buffer) {
20294 PDFReference.prototype.end = function(chunk) {
20299 return this.deflate.end();
20544 engine.end(buffer);
24408 end = pos + len;
24412 for (var i = pos; i < end; i++) {
24747 function updatewindow(strm, src, end, copy) {
24762 utils.arraySet(state.window,src, end - state.wsize, state.wsize, 0);
24772 utils.arraySet(state.window,src, end - copy, dist, state.wnext);
24776 utils.arraySet(state.window,src, end - copy, copy, 0);
25983 var end; /* while out < end, enough space available */
26017 end = _out + (strm.avail_out - 257);
26244 } while (_in < last && _out < end);
26256 strm.avail_out = (_out < end ? 257 + (end - _out) : 257 - (_out - end));
26325 var end; /* use base and extra for symbol > end */
26464 end = 19;
26471 end = 256;
26476 end = -1;
26502 if (work[sym] < end) {
26506 else if (work[sym] > end) {
27748 PDFPage.prototype.end = function() {
27749 this.dictionary.end();
27750 this.resources.end();
27751 return this.content.end();
27892 gstate.end();
27975 dictionary.end();
28198 fn.end();
28210 fn.end();
28223 shader.end();
28239 pattern.end();
28256 group.end();
28263 resources.end();
28272 form.end("/Sh1 sh");
28278 sMask.end();
28286 gstate.end();
29263 fontfile.end();
29277 descriptor.end();
29290 cmap.end(toUnicodeCmap(this.subset.subset));
29302 return this.dictionary.end();
29341 return this.dictionary.end();
29675 Data.prototype.slice = function(start, end) {
29676 return this.data.slice(start, end);
65389 this.obj.end(this.data);
65446 params.end();
65452 palette.end(new Buffer(this.image.palette));
65488 sMask.end(this.alphaChannel);
65491 this.obj.end(this.imgData);
65918 ref.end();
65942 options.A.end();