Lines Matching full:data
23 // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
44 function Instantiate(data, name) {
45 if (!%IsTemplate(data)) return data;
46 var tag = %GetTemplateField(data, kApiTagOffset);
49 return InstantiateFunction(data, name);
51 var Constructor = %GetTemplateField(data, kApiConstructorOffset);
56 ConfigureTemplateInstance(result, data);
65 function InstantiateFunction(data, name) {
69 var serialNumber = %GetTemplateField(data, kApiSerialNumberOffset);
75 var fun = %CreateApiFunction(data);
78 var prototype = %GetTemplateField(data, kApiPrototypeTemplateOffset);
79 var flags = %GetTemplateField(data, kApiFlagOffset);
88 var parent = %GetTemplateField(data, kApiParentTemplateOffset);
95 ConfigureTemplateInstance(fun, data);
105 function ConfigureTemplateInstance(obj, data) {
106 var properties = %GetTemplateField(data, kApiPropertyListOffset);