Lines Matching refs:pObjDef
129 CFXJS_ObjDefinition* pObjDef = CFXJS_ObjDefinition::ForID(pIsolate, i); in GetGlobalObjectTemplate() local
130 if (pObjDef->m_ObjType == FXJSOBJTYPE_GLOBAL) in GetGlobalObjectTemplate()
131 return pObjDef->GetInstanceTemplate(); in GetGlobalObjectTemplate()
168 CFXJS_ObjDefinition* pObjDef = CFXJS_ObjDefinition::ForID(isolate, id); in Dispose() local
169 if (!pObjDef) in Dispose()
171 if (pObjDef->m_pDestructor) in Dispose()
172 pObjDef->m_pDestructor(pEngine, obj); in Dispose()
288 CFXJS_ObjDefinition* pObjDef = new CFXJS_ObjDefinition( in DefineObj() local
290 return pObjDef->AssignID(); in DefineObj()
298 CFXJS_ObjDefinition* pObjDef = in DefineObjMethod() local
301 m_isolate, pMethodCall, v8::Local<v8::Value>(), pObjDef->GetSignature()); in DefineObjMethod()
303 pObjDef->GetInstanceTemplate()->Set( in DefineObjMethod()
316 CFXJS_ObjDefinition* pObjDef = in DefineObjProperty() local
318 pObjDef->GetInstanceTemplate()->SetAccessor( in DefineObjProperty()
332 CFXJS_ObjDefinition* pObjDef = in DefineObjAllProperties() local
334 pObjDef->GetInstanceTemplate()->SetNamedPropertyHandler(pPropGet, pPropPut, in DefineObjAllProperties()
343 CFXJS_ObjDefinition* pObjDef = in DefineObjConst() local
345 pObjDef->GetInstanceTemplate()->Set(m_isolate, sConstName, pDefault); in DefineObjConst()
397 CFXJS_ObjDefinition* pObjDef = CFXJS_ObjDefinition::ForID(m_isolate, i); in InitializeEngine() local
398 if (pObjDef->m_ObjType == FXJSOBJTYPE_GLOBAL) { in InitializeEngine()
404 if (pObjDef->m_pConstructor) { in InitializeEngine()
405 pObjDef->m_pConstructor(this, v8Context->Global() in InitializeEngine()
410 } else if (pObjDef->m_ObjType == FXJSOBJTYPE_STATIC) { in InitializeEngine()
412 v8::String::NewFromUtf8(m_isolate, pObjDef->m_ObjName, in InitializeEngine()
414 strlen(pObjDef->m_ObjName)) in InitializeEngine()
440 CFXJS_ObjDefinition* pObjDef = CFXJS_ObjDefinition::ForID(m_isolate, i); in ReleaseEngine() local
442 if (pObjDef->m_ObjType == FXJSOBJTYPE_GLOBAL) { in ReleaseEngine()
452 if (pObjDef->m_pDestructor) in ReleaseEngine()
453 pObjDef->m_pDestructor(this, pObj); in ReleaseEngine()
512 CFXJS_ObjDefinition* pObjDef = in NewFxDynamicObj() local
515 if (!pObjDef->GetInstanceTemplate()->NewInstance(context).ToLocal(&obj)) in NewFxDynamicObj()
520 if (pObjDef->m_pConstructor) in NewFxDynamicObj()
521 pObjDef->m_pConstructor(this, obj); in NewFxDynamicObj()