Lines Matching refs:pObj
31 v8::Local<v8::Object> pObj) { in SetInObject() argument
32 if (pObj->InternalFieldCount() == 2) { in SetInObject()
33 pObj->SetAlignedPointerInInternalField(0, pData); in SetInObject()
34 pObj->SetAlignedPointerInInternalField( in SetInObject()
39 static CFXJS_PerObjectData* GetFromObject(v8::Local<v8::Object> pObj) { in GetFromObject() argument
40 if (pObj.IsEmpty() || pObj->InternalFieldCount() != 2 || in GetFromObject()
41 pObj->GetAlignedPointerFromInternalField(1) != in GetFromObject()
46 pObj->GetAlignedPointerFromInternalField(0)); in GetFromObject()
263 int CFXJS_Engine::GetObjDefnID(v8::Local<v8::Object> pObj) { in GetObjDefnID() argument
264 CFXJS_PerObjectData* pData = CFXJS_PerObjectData::GetFromObject(pObj); in GetObjDefnID()
274 void CFXJS_Engine::FreeObjectPrivate(v8::Local<v8::Object> pObj) { in FreeObjectPrivate() argument
275 CFXJS_PerObjectData* pData = CFXJS_PerObjectData::GetFromObject(pObj); in FreeObjectPrivate()
276 pObj->SetAlignedPointerInInternalField(0, nullptr); in FreeObjectPrivate()
277 pObj->SetAlignedPointerInInternalField(1, nullptr); in FreeObjectPrivate()
441 v8::Local<v8::Object> pObj; in ReleaseEngine() local
443 pObj = in ReleaseEngine()
446 pObj = v8::Local<v8::Object>::New(m_isolate, *m_StaticObjects[i]); in ReleaseEngine()
451 if (!pObj.IsEmpty()) { in ReleaseEngine()
453 pObjDef->m_pDestructor(this, pObj); in ReleaseEngine()
454 FreeObjectPrivate(pObj); in ReleaseEngine()
550 void CFXJS_Engine::SetObjectPrivate(v8::Local<v8::Object> pObj, void* p) { in SetObjectPrivate() argument
552 CFXJS_PerObjectData::GetFromObject(pObj); in SetObjectPrivate()
558 void* CFXJS_Engine::GetObjectPrivate(v8::Local<v8::Object> pObj) { in GetObjectPrivate() argument
559 CFXJS_PerObjectData* pData = CFXJS_PerObjectData::GetFromObject(pObj); in GetObjectPrivate()
560 if (!pData && !pObj.IsEmpty()) { in GetObjectPrivate()
562 v8::Local<v8::Value> v = pObj->GetPrototype(); in GetObjectPrivate()
573 v8::Local<v8::Object> pObj, in GetObjectProperty() argument
575 if (pObj.IsEmpty()) in GetObjectProperty()
578 if (!pObj->Get(m_isolate->GetCurrentContext(), in GetObjectProperty()
586 v8::Local<v8::Object> pObj) { in GetObjectPropertyNames() argument
587 if (pObj.IsEmpty()) in GetObjectPropertyNames()
592 if (!pObj->GetPropertyNames(context).ToLocal(&val)) in GetObjectPropertyNames()
603 void CFXJS_Engine::PutObjectProperty(v8::Local<v8::Object> pObj, in PutObjectProperty() argument
606 if (pObj.IsEmpty()) in PutObjectProperty()
608 pObj->Set(m_isolate->GetCurrentContext(), in PutObjectProperty()