Lines Matching refs:BaseObject
35 BaseObject::BaseObject(Environment* env, v8::Local<v8::Object> object) in BaseObject() function
36 : BaseObject(env->principal_realm(), object) { in BaseObject()
42 v8::Local<v8::FunctionTemplate> BaseObject::GetConstructorTemplate( in GetConstructorTemplate()
44 return BaseObject::GetConstructorTemplate(env->isolate_data()); in GetConstructorTemplate()
47 void BaseObject::Detach() { in Detach()
52 v8::Global<v8::Object>& BaseObject::persistent() { in persistent()
57 v8::Local<v8::Object> BaseObject::object() const { in object()
61 v8::Local<v8::Object> BaseObject::object(v8::Isolate* isolate) const { in object()
71 Environment* BaseObject::env() const { in env()
75 Realm* BaseObject::realm() const { in realm()
79 void BaseObject::TagNodeObject(v8::Local<v8::Object> object) { in TagNodeObject()
80 DCHECK_GE(object->InternalFieldCount(), BaseObject::kInternalFieldCount); in TagNodeObject()
81 object->SetAlignedPointerInInternalField(BaseObject::kEmbedderType, in TagNodeObject()
85 void BaseObject::SetInternalFields(v8::Local<v8::Object> object, void* slot) { in SetInternalFields()
87 object->SetAlignedPointerInInternalField(BaseObject::kSlot, slot); in SetInternalFields()
90 BaseObject* BaseObject::FromJSObject(v8::Local<v8::Value> value) { in FromJSObject()
92 DCHECK_GE(obj->InternalFieldCount(), BaseObject::kInternalFieldCount); in FromJSObject()
93 return static_cast<BaseObject*>( in FromJSObject()
94 obj->GetAlignedPointerFromInternalField(BaseObject::kSlot)); in FromJSObject()
98 T* BaseObject::FromJSObject(v8::Local<v8::Value> object) { in FromJSObject()
102 void BaseObject::OnGCCollect() { in OnGCCollect()
106 void BaseObject::ClearWeak() { in ClearWeak()
113 bool BaseObject::IsWeakOrDetached() const { in IsWeakOrDetached()
117 const PointerData* pd = const_cast<BaseObject*>(this)->pointer_data(); in IsWeakOrDetached()
121 v8::EmbedderGraph::Node::Detachedness BaseObject::GetDetachedness() const { in GetDetachedness()
127 void BaseObject::InternalFieldGet( in InternalFieldGet()
134 void BaseObject::InternalFieldSet(v8::Local<v8::String> property, in InternalFieldSet()
142 bool BaseObject::has_pointer_data() const { in has_pointer_data()
147 BaseObject::PointerData*
159 BaseObject* BaseObjectPtrImpl<T, kIsWeak>::get_base_object() const { in get_base_object()