Lines Matching refs:context

1372 var context = __w_pdfjs_require__(30);
1378 var that = context(this, searchString, STARTS_WITH);
1938 var context = __w_pdfjs_require__(30);
1944 var that = context(this, searchString, ENDS_WITH);
1973 var context = __w_pdfjs_require__(30);
1978 …return !!~context(this, searchString, INCLUDES).indexOf(searchString, arguments.length > 1 ? argum…
12258 var context = new Context(tryLocsList || []);
12259 generator._invoke = makeInvokeMethod(innerFn, self, context);
12400 function makeInvokeMethod(innerFn, self, context) {
12415 context.method = method;
12416 context.arg = arg;
12419 var delegate = context.delegate;
12422 var delegateResult = maybeInvokeDelegate(delegate, context);
12430 if (context.method === "next") {
12431 context.sent = context._sent = context.arg;
12432 } else if (context.method === "throw") {
12435 throw context.arg;
12438 context.dispatchException(context.arg);
12439 } else if (context.method === "return") {
12440 context.abrupt("return", context.arg);
12444 var record = tryCatch(innerFn, self, context);
12447 state = context.done ? GenStateCompleted : GenStateSuspendedYield;
12455 done: context.done
12459 context.method = "throw";
12460 context.arg = record.arg;
12466 function maybeInvokeDelegate(delegate, context) {
12467 var method = delegate.iterator[context.method];
12470 context.delegate = null;
12472 if (context.method === "throw") {
12474 context.method = "return";
12475 context.arg = undefined;
12476 maybeInvokeDelegate(delegate, context);
12478 if (context.method === "throw") {
12483 context.method = "throw";
12484 context.arg = new TypeError("The iterator does not provide a 'throw' method");
12490 var record = tryCatch(method, delegate.iterator, context.arg);
12493 context.method = "throw";
12494 context.arg = record.arg;
12495 context.delegate = null;
12502 context.method = "throw";
12503 context.arg = new TypeError("iterator result is not an object");
12504 context.delegate = null;
12509 context[delegate.resultName] = info.value;
12510 context.next = delegate.nextLoc;
12512 if (context.method !== "return") {
12513 context.method = "next";
12514 context.arg = undefined;
12520 context.delegate = null;
12673 var context = this;
12678 context.next = loc;
12681 context.method = "next";
12682 context.arg = undefined;
12901 var context = canvas.getContext('2d');
12906 context: context
12933 canvasAndContext.context = null;
13830 while (context.requests.length > 0 && context.requests[0].done) {
13831 var otherRequest = context.requests.shift();
13836 var context = this.loadingContext;
13838 id: "pdfjs-font-loading-".concat(context.nextRequestId++),
13843 context.requests.push(request);
14275 canvasEntry.context.setTransform(1, 0, 0, 1, 0, 0);
14282 addContextCurrentTransform(canvasEntry.context);
14798 var maskCtx = smask.context;
14843 this.ctx = transparentCanvas.context;
15063 var groupCtx = scratchCanvas.context;
15463 ctx = _this$cachedCanvases$.context;
15837 var groupCtx = scratchCanvas.context;
15845 context: groupCtx,
15969 var maskCtx = maskCanvas.context;
15984 var maskCtx = maskCanvas.context;
16011 var maskCtx = maskCanvas.context;
16078 var tmpCtx = tmpCanvas.context;
16102 tmpCtx = tmpCanvas.context;
16131 var tmpCtx = tmpCanvas.context;
16253 function drawTriangle(data, context, p1, p2, p3, c1, c2, c3) {
16254 var coords = context.coords,
16255 colors = context.colors;
16287 var x1 = (coords[p1] + context.offsetX) * context.scaleX;
16288 var y1 = (coords[p1 + 1] + context.offsetY) * context.scaleY;
16289 var x2 = (coords[p2] + context.offsetX) * context.scaleX;
16290 var y2 = (coords[p2 + 1] + context.offsetY) * context.scaleY;
16291 var x3 = (coords[p3] + context.offsetX) * context.scaleX;
16292 var y3 = (coords[p3 + 1] + context.offsetY) * context.scaleY;
16348 function drawFigure(data, figure, context) {
16363 …drawTriangle(data, context, ps[q], ps[q + 1], ps[q + verticesPerRow], cs[q], cs[q + 1], cs[q + ver…
16364 …drawTriangle(data, context, ps[q + verticesPerRow + 1], ps[q + 1], ps[q + verticesPerRow], cs[q + …
16372 drawTriangle(data, context, ps[i], ps[i + 1], ps[i + 2], cs[i], cs[i + 1], cs[i + 2]);
16394 var context = {
16412 context: context
16415 tmpCanvas.context.drawImage(canvas, BORDER_SIZE, BORDER_SIZE);
16419 var tmpCtx = tmpCanvas.context;
16434 drawFigure(data, figures[i], context);
16562 var tmpCtx = tmpCanvas.context;
16600 var context = graphics.ctx,
16606 context.fillStyle = ctx.fillStyle;
16607 context.strokeStyle = ctx.strokeStyle;
16615 context.fillStyle = cssColor;
16616 context.strokeStyle = cssColor;
18372 context = _ref3.context;
18373 return WebGLUtils.drawFigures(width, height, backgroundColor, figures, context);
18630 function drawFigures(width, height, backgroundColor, figures, context) {
18660 var coordsMap = context.coords,
18661 colorsMap = context.colors;
18748 gl.uniform2f(cache.scaleLocation, context.scaleX, context.scaleY);
18749 gl.uniform2f(cache.offsetLocation, context.offsetX, context.offsetY);