Lines Matching refs:args

175 …nction () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var…
4704 var args = [];
4708 args.push(arguments[i++]);
4712 invoke(typeof fn == 'function' ? fn : Function(fn), args);
4768 module.exports = function (fn, args, that) {
4771 switch (args.length) {
4776 return un ? fn(args[0]) : fn.call(that, args[0]);
4779 return un ? fn(args[0], args[1]) : fn.call(that, args[0], args[1]);
4782 return un ? fn(args[0], args[1], args[2]) : fn.call(that, args[0], args[1], args[2]);
4785 …return un ? fn(args[0], args[1], args[2], args[3]) : fn.call(that, args[0], args[1], args[2], args
4788 return fn.apply(that, args);
6140 var args = [it];
6145 args.push(arguments[i++]);
6148 $replacer = replacer = args[1];
6154 args[1] = replacer;
6155 return _stringify.apply($JSON, args);
6608 function Call(F, V, args) {
6613 return Function.prototype.apply.call(F, V, args);
6616 exports.InvokeOrNoop = function (O, P, args) {
6619 assert(Array.isArray(args));
6626 return Call(method, O, args);
6629 exports.PromiseInvokeOrNoop = function (O, P, args) {
6632 assert(Array.isArray(args));
6635 return Promise.resolve(exports.InvokeOrNoop(O, P, args));
6641 exports.PromiseInvokeOrPerformFallback = function (O, P, args, F, argsF) {
6644 assert(Array.isArray(args));
6659 return Promise.resolve(Call(method, O, args));
11298 …nction () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var…
11324 value: function ensureDoc(prop, args) {
11325 return this.ensure(this.pdfDocument, prop, args);
11329 value: function ensureXRef(prop, args) {
11330 return this.ensure(this.pdfDocument.xref, prop, args);
11334 value: function ensureCatalog(prop, args) {
11335 return this.ensure(this.pdfDocument.catalog, prop, args);
11357 _regenerator["default"].mark(function _callee(obj, prop, args) {
11461 _regenerator["default"].mark(function _callee2(obj, prop, args) {
11474 return _context2.abrupt("return", value.apply(obj, args));
11521 function NetworkPdfManager(docId, pdfNetworkStream, args, evaluatorOptions, docBaseUrl) {
11528 _this2._password = args.password;
11530 _this2.msgHandler = args.msgHandler;
11533 msgHandler: args.msgHandler,
11534 length: args.length,
11535 disableAutoFetch: args.disableAutoFetch,
11536 rangeChunkSize: args.rangeChunkSize
11547 _regenerator["default"].mark(function _callee3(obj, prop, args) {
11561 return _context3.abrupt("return", value.apply(obj, args));
11582 return _context3.abrupt("return", this.ensure(obj, prop, args));
11953 function ChunkedStreamManager(pdfNetworkStream, args) {
11956 this.length = args.length;
11957 this.chunkSize = args.rangeChunkSize;
11960 this.disableAutoFetch = args.disableAutoFetch;
11961 this.msgHandler = args.msgHandler;
12218 value: function onProgress(args) {
12220 loaded: this.stream.numChunksLoaded * this.chunkSize + args.loaded,
12226 value: function onReceiveData(args) {
12227 var chunk = args.chunk;
12228 var isProgressive = args.begin === undefined;
12229 var begin = isProgressive ? this.progressiveDataLength : args.begin;
13367 …nction () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var…
13911 return pagesBeforeRef(ref).then(function (args) {
13912 if (!args) {
13916 var _args = _slicedToArray(args, 2),
20374 var args, at, i, atLength;
20425 args = [dictionary, header.number, header.referredTo, data, position, end];
20475 args = [textRegion, header.referredTo, data, position, end];
20487 args = [patternDictionary, header.number, data, position, end];
20513 args = [halftoneRegion, header.referredTo, data, position, end];
20541 args = [genericRegion, data, position, end];
20564 args = [pageInfo];
20577 args = [header.number, data, position, end];
20590 visitor[callbackName].apply(visitor, args);
29997 var args = [firstPIXOArg0, firstTransformArg0, firstTransformArg3, positions];
29999 argsArray.splice(iFirstSave, count * 4, args);
30144 push: function push(fn, args) {
30146 this.queue.argsArray.push(args);
30175 push: function push(fn, args) {
30177 this.queue.argsArray.push(args);
30216 addOp: function addOp(fn, args) {
30217 this.optimizer.push(fn, args);
30368 …nction () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var…
30682 …eDisableNativeImageDecoder, dict, w, h, maxImageSize, imageMask, imgData, args, width, height, bit…
30733 args = [imgData];
30734 operatorList.addOp(_util.OPS.paintImageMaskXObject, args);
30739 args: args
30782 args = [objId, w, h];
30783 operatorList.addOp(_util.OPS.paintJpegXObject, args);
30788 args: args
30818 args = [objId, w, h];
30858 operatorList.addOp(_util.OPS.paintImageXObject, args);
30863 args: args
30907 …handleTilingType: function handleTilingType(fn, args, resources, pattern, patternDict, operatorLis…
30924 }, patternDict, args);
31204 buildPath: function buildPath(operatorList, fn, args) {
31208 if (!args) {
31209 args = [];
31218 operatorList.addOp(_util.OPS.constructPath, [[fn], args]);
31226 Array.prototype.push.apply(opArgs[1], args);
31232 …_regenerator["default"].mark(function _callee3(operatorList, fn, args, cs, patterns, resources, ta…
31238 patternName = args[args.length - 1];
31253 color = cs.base ? cs.base.getRgb(args, 0) : null;
31343 operation.args = null;
31349 var args = operation.args;
31354 var name = args[0].name;
31357 operatorList.addOp(imageCache[name].fn, imageCache[name].args);
31358 args = null;
31370 operatorList.addOp(fn, args);
31422 var fontSize = args[1];
31423 …next(self.handleSetFont(resources, args, null, operatorList, task, stateManager.state).then(functi…
31438 var cacheKey = args[0].cacheKey;
31444 operatorList.addOp(cacheEntry.fn, cacheEntry.args);
31445 args = null;
31452 image: args[0],
31461 args[0] = self.handleText(args[0], stateManager.state);
31465 var arr = args[0];
31480 args[0] = combinedGlyphs;
31486 args[0] = self.handleText(args[0], stateManager.state);
31492 operatorList.addOp(_util.OPS.setWordSpacing, [args.shift()]);
31493 operatorList.addOp(_util.OPS.setCharSpacing, [args.shift()]);
31494 args[0] = self.handleText(args[0], stateManager.state);
31499 stateManager.state.textRenderingMode = args[0];
31503 …stateManager.state.fillColorSpace = _colorspace.ColorSpace.parse(args[0], xref, resources, self.pd…
31507 …stateManager.state.strokeColorSpace = _colorspace.ColorSpace.parse(args[0], xref, resources, self.…
31512 args = cs.getRgb(args, 0);
31518 args = cs.getRgb(args, 0);
31524 args = _colorspace.ColorSpace.singletons.gray.getRgb(args, 0);
31530 args = _colorspace.ColorSpace.singletons.gray.getRgb(args, 0);
31536 args = _colorspace.ColorSpace.singletons.cmyk.getRgb(args, 0);
31542 args = _colorspace.ColorSpace.singletons.cmyk.getRgb(args, 0);
31548 args = _colorspace.ColorSpace.singletons.rgb.getRgb(args, 0);
31553 args = _colorspace.ColorSpace.singletons.rgb.getRgb(args, 0);
31560 …next(self.handleColorN(operatorList, _util.OPS.setFillColorN, args, cs, patterns, resources, task)…
31564 args = cs.getRgb(args, 0);
31572 …next(self.handleColorN(operatorList, _util.OPS.setStrokeColorN, args, cs, patterns, resources, tas…
31576 args = cs.getRgb(args, 0);
31587 var shading = shadingRes.get(args[0].name);
31596 args = [patternIR];
31601 var dictName = args[0];
31619 self.buildPath(operatorList, fn, args, parsingText);
31632 if (args !== null) {
31633 for (i = 0, ii = args.length; i < ii; i++) {
31634 if (args[i] instanceof _primitives.Dict) {
31647 operatorList.addOp(fn, args);
31947 args = [];
31950 args.length = 0;
31951 operation.args = args;
31959 args = operation.args;
31964 var fontNameArg = args[0].name,
31965 fontSizeArg = args[1];
31979 textState.textRise = args[0];
31984 textState.textHScale = args[0] / 100;
31989 textState.leading = args[0];
31993 …var isSameTextLine = !textState.font ? false : (textState.font.vertical ? args[0] : args[1]) === 0;
31994 advance = args[0] - args[1];
31997 textState.translateTextLineMatrix(args[0], args[1]);
31998 textContentItem.width += args[0] - textContentItem.lastAdvanceWidth;
31999 textContentItem.height += args[1] - textContentItem.lastAdvanceHeight;
32000 … diff = args[0] - textContentItem.lastAdvanceWidth - (args[1] - textContentItem.lastAdvanceHeight);
32006 textState.translateTextLineMatrix(args[0], args[1]);
32012 textState.leading = -args[1];
32013 textState.translateTextLineMatrix(args[0], args[1]);
32023 …advance = textState.calcTextLineMatrixAdvance(args[0], args[1], args[2], args[3], args[4], args[5]…
32035 textState.setTextMatrix(args[0], args[1], args[2], args[3], args[4], args[5]);
32036 textState.setTextLineMatrix(args[0], args[1], args[2], args[3], args[4], args[5]);
32040 textState.charSpacing = args[0];
32044 textState.wordSpacing = args[0];
32054 var items = args[0];
32095 buildTextContentItem(args[0]);
32101 buildTextContentItem(args[0]);
32106 textState.wordSpacing = args[0];
32107 textState.charSpacing = args[1];
32109 buildTextContentItem(args[2]);
32119 var name = args[0].name;
32210 var dictName = args[0];
33118 transform: function transform(args) {
33119 this.state.ctm = _util.Util.transform(this.state.ctm, args);
33641 var args = operation.args;
33657 var argsLength = args !== null ? args.length : 0;
33664 nonProcessedArgs.push(args.shift());
33669 if (args === null) {
33670 args = [];
33673 args.unshift(nonProcessedArgs.pop());
33687 if (args !== null) {
33688 args.length = 0;
33697 this.preprocessCommand(fn, args);
33699 operation.args = args;
33708 if (args === null) {
33709 args = [];
33712 args.push(obj);
33714 if (args.length > 33) {
33720 preprocessCommand: function EvaluatorPreprocessor_preprocessCommand(fn, args) {
33731 this.stateManager.transform(args);
47182 args: [x, y]
47189 args: [x, y]
47196 args: [xa, ya, x, y]
47259 args: [scaleX, scale01, scale10, scaleY, x, y]
47381 args: [x, y]
47388 args: [x, y]
47395 args: [x1, y1, x2, y2, x, y]
47603 args: [x, y]
47870 args: fontMatrix.slice()
47874 args: ['size', '-size']
49605 function getTilingPatternIR(operatorList, dict, args) {
49619 return ['TilingPattern', args, operatorList, matrix, bbox, xstep, ystep, paintType, tilingType];
55450 …nction () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var…
55459 _regenerator["default"].mark(function _callee(fn, args) {
55476 return _context.abrupt("return", fn.apply(thisArg, args));
55954 …nction () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var…