Lines Matching refs:pObjDef
88 …CJS_ObjDefintion* pObjDef = new CJS_ObjDefintion(isolate, sObjName, eObjType, pConstructor, pDestr… in JS_DefineObj() local
89 pArray->Add(pObjDef); in JS_DefineObj()
106 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(nObjDefnID); in JS_DefineObjMethod() local
107 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjMethod()
109 pObjDef->m_objTemplate.Reset(isolate,objTemp); in JS_DefineObjMethod()
126 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(nObjDefnID); in JS_DefineObjProperty() local
127 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjProperty()
129 pObjDef->m_objTemplate.Reset(isolate,objTemp); in JS_DefineObjProperty()
143 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(nObjDefnID); in JS_DefineObjAllProperties() local
144 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjAllProperties()
146 pObjDef->m_objTemplate.Reset(isolate,objTemp); in JS_DefineObjAllProperties()
163 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(nObjDefnID); in JS_DefineObjConst() local
164 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_DefineObjConst()
166 pObjDef->m_objTemplate.Reset(isolate,objTemp); in JS_DefineObjConst()
180 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(i); in _getGlobalObjectTemplate() local
181 if(pObjDef->m_bSetAsGlobalObject) in _getGlobalObjectTemplate()
182 return pObjDef->m_objTemplate; in _getGlobalObjectTemplate()
254 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(i); in JS_InitialRuntime() local
255 CFX_WideString ws = CFX_WideString(pObjDef->objName); in JS_InitialRuntime()
260 if(pObjDef->objType == JS_DYNAMIC) in JS_InitialRuntime()
271 if(pObjDef->m_pConstructor) in JS_InitialRuntime()
272 …pObjDef->m_pConstructor(context, v8Context->Global()->GetPrototype()->ToObject(v8Context).ToLocalC… in JS_InitialRuntime()
279 pObjDef->m_StaticObj.Reset(isolate, obj); in JS_InitialRuntime()
298 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(i); in JS_ReleaseRuntime() local
299 if(!pObjDef->m_StaticObj.IsEmpty()) in JS_ReleaseRuntime()
301 v8::Local<v8::Object> pObj = v8::Local<v8::Object>::New(isolate, pObjDef->m_StaticObj); in JS_ReleaseRuntime()
302 if(pObjDef->m_pDestructor) in JS_ReleaseRuntime()
303 pObjDef->m_pDestructor(pObj); in JS_ReleaseRuntime()
306 delete pObjDef; in JS_ReleaseRuntime()
380 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(nObjDefnID); in JS_NewFxDynamicObj() local
382 …v8::Local<v8::ObjectTemplate> objTemp = v8::Local<v8::ObjectTemplate>::New(isolate, pObjDef->m_obj… in JS_NewFxDynamicObj()
390 if(pObjDef->m_pConstructor) in JS_NewFxDynamicObj()
391 …pObjDef->m_pConstructor(pJSContext, obj, context->Global()->GetPrototype()->ToObject(context).ToLo… in JS_NewFxDynamicObj()
405 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(nObjDefnID); in JS_GetStaticObj() local
406 v8::Local<v8::Object> obj = v8::Local<v8::Object>::New(isolate,pObjDef->m_StaticObj); in JS_GetStaticObj()
454 CJS_ObjDefintion* pObjDef = (CJS_ObjDefintion*)pArray->GetAt(i); in JS_GetObjDefnID() local
455 if(FXSYS_wcscmp(pObjDef->objName, pObjName) == 0) in JS_GetObjDefnID()