Lines Matching refs:type

146 	           blob = new Blob([result], { type: 'application/pdf' });
152 blob = new Blob([byteArray.buffer], { type: 'application/pdf' });
402 if (object.type === 'Buffer' && isArray(object.data)) {
811 type: 'Buffer',
2219 switch(item.type) {
2308 switch(vector.type) {
3477 type = data.type;
3479 if (type == LAZY_MAP_FLAG) {
3482 if (type == LAZY_FILTER_FLAG) {
4004 var type = typeof func;
4005 if (type == 'function') {
4014 return type == 'object'
5821 switch (data.type) {
5957 var type = typeof index;
5958 if (type == 'number') {
5962 prereq = type == 'string' && index in object;
10181 var type = typeof value;
10182 return type == 'function' || (value && type == 'object') || false;
13220 var type = 'normal';
13221 if (bold && italics) type = 'bolditalics';
13222 else if (bold) type = 'bold';
13223 else if (italics) type = 'italics';
13224 return type;
13247 var type = typeName(bold, italics);
13248 if (!this.fonts[familyName] || !this.fonts[familyName][type]) {
13249 …throw new Error('Font \''+ familyName + '\' in style \''+type+ '\' is not defined in the font sect…
13254 if (!this.fontWrappers[familyName][type]) {
13255 …this.fontWrappers[familyName][type] = new FontWrapper(this.pdfDoc, this.fonts[familyName][type], f…
13258 return this.fontWrappers[familyName][type];
14269 type: 'ellipse',
14506 switch(vector.type) {
15149 switch(vector.type) {
15899 type: 'rect',
15907 type: 'rect',
16418 type: 'line',
16477 type: 'image',
16538 type: 'vector',
16564 switch(item.type) {
16572 type: 'line',
16582 type: 'vector',
16594 type: 'image',
16835 type: 'line',
16856 type: 'line',
16934 type: 'rect',
17459 EventEmitter.prototype.emit = function(type) {
17466 if (type === 'error') {
17477 handler = this._events[type];
17517 EventEmitter.prototype.addListener = function(type, listener) {
17529 this.emit('newListener', type,
17533 if (!this._events[type])
17535 this._events[type] = listener;
17536 else if (isObject(this._events[type]))
17538 this._events[type].push(listener);
17541 this._events[type] = [this._events[type], listener];
17544 if (isObject(this._events[type]) && !this._events[type].warned) {
17552 if (m && m > 0 && this._events[type].length > m) {
17553 this._events[type].warned = true;
17557 this._events[type].length);
17570 EventEmitter.prototype.once = function(type, listener) {
17577 this.removeListener(type, g);
17586 this.on(type, g);
17592 EventEmitter.prototype.removeListener = function(type, listener) {
17598 if (!this._events || !this._events[type])
17601 list = this._events[type];
17607 delete this._events[type];
17609 this.emit('removeListener', type, listener);
17625 delete this._events[type];
17631 this.emit('removeListener', type, listener);
17637 EventEmitter.prototype.removeAllListeners = function(type) {
17647 else if (this._events[type])
17648 delete this._events[type];
17663 listeners = this._events[type];
17666 this.removeListener(type, listeners);
17670 this.removeListener(type, listeners[listeners.length - 1]);
17672 delete this._events[type];
17677 EventEmitter.prototype.listeners = function(type) {
17679 if (!this._events || !this._events[type])
17681 else if (isFunction(this._events[type]))
17682 ret = [this._events[type]];
17684 ret = this._events[type].slice();
17688 EventEmitter.listenerCount = function(emitter, type) {
17690 if (!emitter._events || !emitter._events[type])
17692 else if (isFunction(emitter._events[type]))
17695 ret = emitter._events[type].length;
17799 if (!EE.listenerCount) EE.listenerCount = function(emitter, type) {
17800 return emitter.listeners(type).length;
26303 …module.exports = function inflate_table(type, lens, lens_index, codes, table, table_index, work, o…
26411 if (left > 0 && (type === CODES || max !== 1)) {
26462 if (type === CODES) {
26466 } else if (type === LENS) {
26491 if ((type === LENS && used > ENOUGH_LENS) ||
26492 (type === DISTS && used > ENOUGH_DISTS)) {
26565 if ((type === LENS && used > ENOUGH_LENS) ||
26566 (type === DISTS && used > ENOUGH_DISTS)) {
29736 …ndex, maxTypeIndex, name, nameListOffset, nameOfs, p, pos, refListOffset, type, typeListOffset, _i…
29748 type = data.readString(4);
29751 this.map[type] = {
29777 } else if (type === 'sfnt') {
29787 this.map[type].list.push(entry);
29789 this.map[type].named[entry.name] = entry;
30254 table.writeShort(loca.type);
30970 this.type = data.readShort();
66379 , type = blob.type
66434 if (view.chrome && type && type !== force_saveable_type) {
66445 if (type === force_saveable_type || webkit_req_fs) {