Lines Matching refs:name

150 	           if (e.name == "InvalidStateError") {
3282 support.funcNames = typeof Function.name == 'string';
5654 return object.name == other.name && object.message == other.message;
5914 result = !(support.funcNames ? func.name : support.funcDecomp);
13294 this.name = fontName;
13315 var pseudoName = this.name + index;
13323 this.postscriptName = this.pdfFonts[index].name;
17100 var method, name, _results;
17102 for (name in methods) {
17103 method = methods[name];
17104 _results.push(PDFDocument.prototype[name] = method);
17212 var font, key, name, val, _ref, _ref1;
17225 for (name in _ref1) {
17226 font = _ref1[name];
18800 process.binding = function (name) {
22685 (!s.gzhead.name ? 0 : 8) +
22769 if (s.gzhead.name/* != Z_NULL*/) {
22786 if (s.gzindex < s.gzhead.name.length) {
22787 val = s.gzhead.name.charCodeAt(s.gzindex++) & 0xff;
25075 state.head.name += String.fromCharCode(len);
25087 state.head.name = null;
26904 var name = value.name ? ': ' + value.name : '';
26905 return ctx.stylize('[Function' + name + ']', 'special');
26928 var n = value.name ? ': ' + value.name : '';
27021 var name, str, desc;
27035 name = '[' + key + ']';
27059 if (isUndefined(name)) {
27063 name = JSON.stringify('' + key);
27064 if (name.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)) {
27065 name = name.substr(1, name.length - 2);
27066 name = ctx.stylize(name, 'name');
27068 name = name.replace(/'/g, "\\'")
27071 name = ctx.stylize(name, 'string');
27075 return name + ': ' + str;
27330 this.name = 'AssertionError';
27353 var fn_name = stackStartFunction.name;
27607 message = (expected && expected.name ? ' (' + expected.name + ').' : '.') +
27882 var gstate, name, op, space;
27893 name = "Gs" + (++this._opacityCount);
27894 this.page.ext_gstates[name] = gstate;
27895 this.addContent("/" + name + " gs");
27951 var dictionary, id, key, name, _ref1;
27963 _ref1 = this._opacityRegistry[key], dictionary = _ref1[0], name = _ref1[1];
27977 name = "Gs" + id;
27978 this._opacityRegistry[key] = [dictionary, name];
27980 this.page.ext_gstates[name] = dictionary;
27981 return this.addContent("/" + name + " gs");
28173 …d, group, gstate, i, last, m, m0, m1, m11, m12, m2, m21, m22, m3, m4, m5, name, pattern, resources…
28284 name = "Gs" + this.opacity_id;
28285 this.doc.page.ext_gstates[name] = gstate;
29043 if (font = this._fontFamilies[this._font.name]) {
29050 this._fontFamilies[this._font.name] = this._font;
29063 registerFont: function(name, src, family) {
29064 this._registeredFonts[name] = {
29206 this.name = this.font.name.postscriptName;
29328 PDFFont.prototype.registerAFM = function(name) {
29330 this.name = name;
29337 BaseFont: this.name,
29412 TTFFont.open = function(filename, name) {
29415 return new TTFFont(contents, name);
29428 if (!(ttf.head.exists && ttf.name.exists && ttf.cmap.exists)) {
29431 if (!(ttf.head.exists && ttf.name.exists && ttf.cmap.exists)) {
29442 function TTFFont(rawData, name) {
29447 if (!name) {
29460 if (this.name.postscriptName === name) {
29464 throw new Error("Font " + name + " not found in TTC file.");
29474 this.name = new NameTable(this);
29736 …dle, i, id, j, len, length, mapLength, mapOffset, maxIndex, maxTypeIndex, name, nameListOffset, na…
29776 entry.name = data.readString(len);
29783 name = new NameTable(font);
29784 entry.name = name.fontName[0].raw;
29788 if (entry.name) {
29789 this.map[type].named[entry.name] = entry;
29796 DFont.prototype.getNamedFont = function(name) {
29800 entry = (_ref = this.map.sfnt) != null ? _ref.named[name] : void 0;
29802 throw new Error("Font " + name + " not found in DFont file.");
29946 var count, entries, entry, format, i, name, stringOffset, strings, text, _i, _j, _len, _name;
29967 name = new NameEntry(text, entry);
29971 strings[entry.nameID].push(name);
31346 var a, key, line, match, name, section, value, _i, _len, _ref;
31376 name = line.match(/\bN\s+(\.?\w+)\s*;/)[1];
31377 this.glyphWidths[name] = +line.match(/\bWX\s+(\d+)\s*;/)[1];
31539 …var cmap, code, glyf, glyphs, id, ids, loca, name, new2old, newIDs, nextGlyphID, old2new, oldID, o…
31571 name = this.font.name.encode();
31572 this.postscriptName = name.postscriptName;
31587 name: name.table,
66375 , FileSaver = function(blob, name) {
66416 if (!name) {
66417 name = "download";
66422 save_link.download = name;
66442 if (webkit_req_fs && name !== "download") {
66443 name += ".download";
66456 dir.getFile(name, create_if_not_found, abortable(function(file) {
66482 dir.getFile(name, {create: false}, abortable(function(file) {
66497 , saveAs = function(blob, name) {
66498 return new FileSaver(blob, name);