/arkcompiler/ets_runtime/ecmascript/tests/ |
D | object_factory_test.cpp | 88 …EXPECT_TRUE(cls->GetPrototype() == GetGlobal(thread)->GetObjectFunctionPrototype().GetTaggedValue(… in HWTEST_F_L0() 92 auto *prototype = cls->GetPrototype().GetTaggedObject(); in HWTEST_F_L0() 96 EXPECT_TRUE(prototype == newObjCls->GetPrototype().GetTaggedObject()); in HWTEST_F_L0() 98 EXPECT_TRUE(prototype != newObjCls->GetPrototype().GetTaggedObject()); in HWTEST_F_L0() 125 EXPECT_TRUE(cls->GetPrototype() == GetGlobal(thread)->GetFunctionPrototype().GetTaggedValue()); in HWTEST_F_L0()
|
D | js_hclass_test.cpp | 65 EXPECT_EQ(objectClass->GetPrototype(), JSTaggedValue::Null()); in HWTEST_F_L0() 142 …EXPECT_EQ(JSTaggedValue::SameValue(objectClass->GetPrototype(), cloneClass->GetPrototype()), true); in HWTEST_F_L0() 153 …EXPECT_EQ(JSTaggedValue::SameValue(objectClass->GetPrototype(), cloneClass->GetPrototype()), true); in HWTEST_F_L0() 347 EXPECT_EQ(newClass->GetPrototype(), funcPrototype.GetTaggedValue()); in HWTEST_F_L0() 430 EXPECT_EQ(objectClass->GetPrototype(), nullHandle.GetTaggedValue()); in HWTEST_F_L0() 432 EXPECT_EQ(objectClass->GetPrototype(), objectFuncPrototype.GetTaggedValue()); in HWTEST_F_L0()
|
D | js_forin_iterator_test.cpp | 56 EXPECT_TRUE(JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(grandfather)).IsNull()); in HWTEST_F_L0()
|
D | js_proxy_test.cpp | 324 …JSTaggedValue::SameValue(JSTaggedValue::GetPrototype(thread, targetHandle), proto.GetTaggedValue()… in HWTEST_F_L0() 332 …EXPECT_TRUE(JSTaggedValue::SameValue(JSProxy::GetPrototype(thread, proxyHandle), proto.GetTaggedVa… in HWTEST_F_L0() 343 …EXPECT_TRUE(JSTaggedValue::SameValue(JSProxy::GetPrototype(thread, proxyHandle2), JSTaggedValue::N… in HWTEST_F_L0() 369 …JSTaggedValue::SameValue(JSTaggedValue::GetPrototype(thread, targetHandle), proto.GetTaggedValue()… in HWTEST_F_L0()
|
D | js_object_test.cpp | 361 JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(grandfather))); in HWTEST_F_L0() 362 …JSHandle<JSTaggedValue> testFather(thread, JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedVa… in HWTEST_F_L0() 363 …JSHandle<JSTaggedValue> testSon(thread, JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue… in HWTEST_F_L0() 449 …EXPECT_EQ(JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(son)), father.GetTaggedValue… in HWTEST_F_L0() 450 …EXPECT_EQ(JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(father)), grandfather.GetTag… in HWTEST_F_L0() 451 …EXPECT_EQ(JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(grandfather)), JSTaggedValue… in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ |
D | js_for_in_iterator.cpp | 44 JSTaggedValue proto = hclass->GetPrototype(); in CheckObjProto() 48 return hclass->GetPrototype().GetTaggedObject()->GetClass() == in CheckObjProto() 145 JSTaggedValue proto = JSTaggedValue::GetPrototype(thread, object); in NextInternal()
|
D | global_env.cpp | 55 JSObject::GetPrototype(JSHandle<JSObject>(GetStringFunction()))); in GetStringPrototypeFunctionByName()
|
D | js_proxy.h | 32 static JSTaggedValue GetPrototype(JSThread *thread, const JSHandle<JSProxy> &proxy);
|
D | object_fast_operator-inl.h | 105 holder = hclass->GetPrototype(); in GetPropertyByName() 163 holder = hclass->GetPrototype(); in SetPropertyByName() 200 holder = hclass->GetPrototype(); in SetPropertyByName() 272 holder = JSObject::Cast(holder)->GetJSHClass()->GetPrototype(); in GetPropertyByIndex() 328 holder = JSObject::Cast(holder)->GetJSHClass()->GetPrototype(); in SetPropertyByIndex()
|
D | js_hclass.cpp | 519 JSTaggedValue proto = jshclass->GetPrototype(); in EnableProtoChangeMarker() 576 JSTaggedValue proto = user->GetPrototype(); in RegisterOnProtoChain() 609 if (!jshclass->GetPrototype().IsECMAObject()) { in UnregisterOnProtoChain() 619 JSTaggedValue proto = jshclass->GetPrototype(); in UnregisterOnProtoChain()
|
D | js_function.h | 125 return JSHClass::Cast(protoOrHClass.GetTaggedObject())->GetPrototype(); in GetFunctionPrototype() 135 proto = JSHClass::Cast(proto.GetTaggedObject())->GetPrototype(); in SetFunctionPrototype()
|
D | js_proxy.cpp | 50 JSTaggedValue JSProxy::GetPrototype(JSThread *thread, const JSHandle<JSProxy> &proxy) in GetPrototype() function in panda::ecmascript::JSProxy 71 return JSTaggedValue::GetPrototype(thread, targetHandle); in GetPrototype() 96 JSTaggedValue targetProto = JSTaggedValue::GetPrototype(thread, targetHandle); in GetPrototype() 158 JSTaggedValue targetProto = JSTaggedValue::GetPrototype(thread, targetHandle); in SetPrototype()
|
D | js_tagged_value.cpp | 822 objFunc->SetProtoOrHClass(thread, cachedJSHClass->GetPrototype()); in SetPrototype() 829 JSTaggedValue JSTaggedValue::GetPrototype(JSThread *thread, const JSHandle<JSTaggedValue> &obj) in GetPrototype() function in panda::ecmascript::JSTaggedValue 835 return JSProxy::GetPrototype(thread, JSHandle<JSProxy>(obj)); in GetPrototype() 837 return JSObject::GetPrototype(JSHandle<JSObject>(obj)); in GetPrototype() 1032 return JSTaggedValue::GetPrototype(thread, obj); in GetSuperBase()
|
D | js_hclass-inl.h | 231 SetPrototype(thread, jshclass->GetPrototype()); in Copy()
|
D | js_object.cpp | 1172 JSTaggedValue JSObject::GetPrototype(const JSHandle<JSObject> &obj) in GetPrototype() function in panda::ecmascript::JSObject 1175 return hclass->GetPrototype(); in GetPrototype() 1181 JSTaggedValue current = JSObject::GetPrototype(obj); in SetPrototype() 1199 …tempProtoHandle.Update(JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(tempProtoHandle… in SetPrototype() 1311 currentObj.Update(GetPrototype(currentObj)); in GetAllPropertyKeys() 1851 if (hclass->GetPrototype() != env->GetObjectFunctionPrototype().GetTaggedValue()) { in ToPropertyDescriptorFast() 1854 if (JSObject::Cast(hclass->GetPrototype().GetTaggedObject())->GetClass() != in ToPropertyDescriptorFast() 2138 ihc->SetPrototype(thread, oldHC->GetPrototype()); in CreateObjectFromProperties()
|
D | subtyping_operator.cpp | 225 JSHandle<JSTaggedValue> prototype(thread, oldHClass->GetPrototype()); in TryMaintainTSSubtyping()
|
D | object_operator.cpp | 262 JSTaggedValue proto = JSTaggedValue::GetPrototype(thread_, holder_); in GlobalLookupProperty() 284 JSTaggedValue proto = JSTaggedValue::GetPrototype(thread_, holder_); in LookupProperty()
|
/arkcompiler/ets_runtime/ecmascript/containers/tests/ |
D | containers_queue_test.cpp | 114 JSTaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(queue)); in HWTEST_F_L0()
|
D | containers_stack_test.cpp | 133 JSTaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(stack)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/napi/test/ |
D | jsnapi_tests.cpp | 391 Local<JSValueRef> protoType = function->GetPrototype(vm_); in HWTEST_F_L0() 395 protoType = object->GetPrototype(vm_); in HWTEST_F_L0() 399 protoType = native->GetPrototype(vm_); in HWTEST_F_L0() 793 …JSHandle<JSTaggedValue> mapPrototypeProto(thread_, JSTaggedValue::GetPrototype(thread_, mapPrototy… in HWTEST_F_L0() 798 JSHandle<JSTaggedValue> mapProto(thread_, JSTaggedValue::GetPrototype(thread_, map)); in HWTEST_F_L0() 817 …JSHandle<JSTaggedValue> sonPrototypeProto(thread_, JSTaggedValue::GetPrototype(thread_, sonPrototy… in HWTEST_F_L0() 820 JSHandle<JSTaggedValue> sonProto(thread_, JSTaggedValue::GetPrototype(thread_, map)); in HWTEST_F_L0()
|
/arkcompiler/ets_runtime/ecmascript/ic/ |
D | ic_runtime.cpp | 52 JSTaggedValue proto = hclass->GetPrototype(); in UpdateLoadHandler()
|
/arkcompiler/ets_runtime/ecmascript/builtins/ |
D | builtins_object.cpp | 454 return JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(obj)); in GetPrototypeOf() 732 msgValueHandle.Update(JSTaggedValue::GetPrototype(thread, msgValueHandle)); in IsPrototypeOf() 911 return JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(obj)); in ProtoGetter()
|
D | builtins_reflect.cpp | 194 return JSTaggedValue::GetPrototype(thread, val); in ReflectGetPrototypeOf()
|
/arkcompiler/ets_runtime/ecmascript/pgo_profiler/ |
D | pgo_profiler.cpp | 131 auto superFuncValue = JSTaggedValue::GetPrototype(thread, ctorValue); in ProfileDefineClass()
|
/arkcompiler/ets_runtime/ecmascript/builtins/tests/ |
D | builtins_object_test.cpp | 110 …JSTaggedValue resultProto = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(jtHandle)); in HWTEST_F_L0() 129 …JSTaggedValue resultProtoTg = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(jtHandle… in HWTEST_F_L0() 150 …JSTaggedValue resultProtoVn = JSTaggedValue::GetPrototype(thread, JSHandle<JSTaggedValue>(jtHandle… in HWTEST_F_L0() 210 JSTaggedValue resultProto = JSTaggedValue::GetPrototype(thread, jtHandle); in HWTEST_F_L0()
|