Home | History | Annotate | Download | only in jsapi

Lines Matching full:pobj

350     v8::Local<v8::Object> pObj;
352 pObj =
355 pObj = v8::Local<v8::Object>::New(pIsolate, *pStaticObjects->at(i));
360 if (!pObj.IsEmpty()) {
362 pObjDef->m_pDestructor(pObj);
363 FXJS_FreePrivate(pObj);
461 int FXJS_GetObjDefnID(v8::Local<v8::Object> pObj) {
462 if (pObj.IsEmpty() || !pObj->InternalFieldCount())
465 pObj->GetAlignedPointerFromInternalField(0));
481 const wchar_t* FXJS_GetTypeof(v8::Local<v8::Value> pObj) {
482 if (pObj.IsEmpty())
484 if (pObj->IsString())
486 if (pObj->IsNumber())
488 if (pObj->IsBoolean())
490 if (pObj->IsDate())
492 if (pObj->IsObject())
494 if (pObj->IsNull())
496 if (pObj->IsUndefined())
502 v8::Local<v8::Object> pObj,
504 if (pObj.IsEmpty() || !pObj->InternalFieldCount())
507 pObj->GetAlignedPointerFromInternalField(0));
513 void* FXJS_GetPrivate(v8::Isolate* pIsolate, v8::Local<v8::Object> pObj) {
514 if (pObj.IsEmpty())
517 if (pObj->InternalFieldCount()) {
519 pObj->GetAlignedPointerFromInternalField(0));
522 v8::Local<v8::Value> v = pObj->GetPrototype();
538 void FXJS_FreePrivate(v8::Local<v8::Object> pObj) {
539 if (pObj.IsEmpty() || !pObj->InternalFieldCount())
541 FXJS_FreePrivate(pObj->GetAlignedPointerFromInternalField(0));
542 pObj->SetAlignedPointerInInternalField(0, NULL);
557 v8::Local<v8::Object> pObj,
559 if (pObj.IsEmpty())
562 if (!pObj->Get(pIsolate->GetCurrentContext(),
569 v8::Local<v8::Object> pObj) {
570 if (pObj.IsEmpty())
573 if (!pObj->GetPropertyNames(pIsolate->GetCurrentContext()).ToLocal(&val))
579 v8::Local<v8::Object> pObj,
582 if (pObj.IsEmpty())
584 pObj->Set(pIsolate->GetCurrentContext(),
590 v8::Local<v8::Object> pObj,
593 if (pObj.IsEmpty())
595 pObj->Set(pIsolate->GetCurrentContext(),
601 v8::Local<v8::Object> pObj,
604 if (pObj.IsEmpty())
606 pObj->Set(pIsolate->GetCurrentContext(),
612 v8::Local<v8::Object> pObj,
615 if (pObj.IsEmpty())
617 pObj->Set(pIsolate->GetCurrentContext(),
623 v8::Local<v8::Object> pObj,
626 if (pObj.IsEmpty())
628 pObj->Set(pIsolate->GetCurrentContext(),
634 v8::Local<v8::Object> pObj,
637 if (pObj.IsEmpty())
639 pObj->Set(pIsolate->GetCurrentContext(),
644 v8::Local<v8::Object> pObj,
646 if (pObj.IsEmpty())
648 pObj->Set(pIsolate->GetCurrentContext(),
702 v8::Local<v8::Object> pObj) {
703 if (pObj.IsEmpty())
705 return pObj->Clone();
709 v8::Local<v8::Array> pObj) {
710 if (pObj.IsEmpty())
712 return pObj->Clone();