Lines Matching refs:cache
3238 cache = newf.cache = newf.cache || {},
3241 if (hasProperty(cache, args)) {
3243 return cache[args];
3246 count.length >= 1e3 && delete cache[count.shift()];
3248 cache[args] = f.apply(0, arg);
3250 return cache[args];
8207 var cache = this.typeCache;
8211 var type = cache[name];
8215 type = cache[name] = this.factory.createType(descriptor);
33092 var cache = {};
33106 if (cache[ descriptor.parent ]) {
33107 attrs.parent = cache[ descriptor.parent ];
33113 cache: cache,
33120 attrs.source = cache[ descriptor.source ];
33121 attrs.target = cache[ descriptor.target ];
33123 element = cache[ descriptor.id ] = self.createConnection(attrs);
33131 attrs.labelTarget = cache[ attrs.labelTarget ];
33133 element = cache[ descriptor.id ] = self.createLabel(attrs);
33141 attrs.host = cache[ attrs.host ];
33144 element = cache[ descriptor.id ] = self.createShape(attrs);
33498 function resolveReferences(descriptor, cache) { argument
33515 getBusinessObject(descriptor).attachedToRef = getBusinessObject(cache[ descriptor.host ]);
33537 var cache = context.cache,
33544 descriptor.businessObject = getBusinessObject(cache[ descriptor.labelTarget ]);
33557 resolveReferences(descriptor, cache);
49248 var cache = {};
49252 cache[ element.id ] = isNumber(parentIndex) ?
49254 cache[ element.source.id ],
49255 cache[ element.target.id ],
49262 cache[ element.source.id ],
49263 cache[ element.target.id ],
49278 cache[ element.id ] = isNumber(parentIndex) ?
49294 context.elements = values(cache);